Compare commits

...
3700 Commits
Author SHA1 Message Date
nobody 2c2381e666 This commit was manufactured by cvs2svn to create tag 'MCS_0_26'.
svn path=/tags/MCS_0_26/mcs/; revision=17313
2003-08-13 20:59:43 +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
Paolo Molaro 15ed41cd9e Try to fix the mess for platforms where the included libgc doesn't compile.
svn path=/trunk/mono/; revision=15653
2003-06-26 13:29:46 +00:00
Paolo Molaro 6ce9805a33 Thu Jun 26 12:13:25 CEST 2003 Paolo Molaro <[email protected]>
* class.c: leak fix.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* atomic.c: Delete the useless compile warning

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	So here we go again:

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

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

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

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

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

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

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

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

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

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

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

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

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

	* Makefile.am (SUBDIRS): Added libgc.

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

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

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

	* ServicePoint.cs: added SendContinue property.

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

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

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

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

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

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

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

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

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

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

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

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

	* mini.c (optimize_branches): bug fixes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Initialise some structs passed to syscalls, noticed by valgrind.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* mini.c (mini_get_opcode_for_method): inline IEEERemainder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Kill SoapBindingUse, we only use this during validation.

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

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

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

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

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

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

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

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

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

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

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

The result is still not handled though.

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

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

	(Invoke): Use new TypeStubInfo/MethodStubInfo instead.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* anonymous.cs: new file.

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

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

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

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

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

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

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

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

	Improve test.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	This fixes long-standing 30485.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* more docu

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	The renaming (reported was slightly wrong). Corrections:

	ConvertImplicitStandard -> ImplicitConversionStandard
	ConvertExplicitStandard -> ExplicitConversionStandard

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

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

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

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

	* README.tests : Update accordingly.

	* makefile : Add new test.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* jay.1: Document the -p parameter.

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

	Perform the following renames:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CORLIB OUT-OF-SYNC WARNING!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

svn path=/trunk/mono/; revision=14325
2003-05-06 10:49:11 +00:00
Jackson Harper 15aadaa330 * ILParser.jay: Emit INSTR_I8 instructions as int
instructions. Implement label lists, emit switch instruction.

svn path=/trunk/mcs/; revision=14324
2003-05-06 08:00:01 +00:00
Jackson Harper 3259f77d02 Add SwitchInstr.cs to build
svn path=/trunk/mcs/; revision=14323
2003-05-06 07:57:37 +00:00
Jackson Harper 3949ab02b2 * SwitchInstr.cs: New file - implementation of switch instructions
svn path=/trunk/mcs/; revision=14322
2003-05-06 07:57:09 +00:00
Jackson Harper 8860436028 * ILParser.jay: Add labels to methods, add branching instructions.
svn path=/trunk/mcs/; revision=14321
2003-05-06 07:19:02 +00:00
Jackson Harper 551223c4d1 Add BranchInstr to build.
svn path=/trunk/mcs/; revision=14320
2003-05-06 07:17:54 +00:00
Jackson Harper 885ed5b96e * MethodDef.cs: Add ability to add and emit labels
* BranchInstr.cs: New file - Branch instructions

svn path=/trunk/mcs/; revision=14319
2003-05-06 06:54:58 +00:00
Gonzalo Paniagua Javier 44e72453ac 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpException.cs: encode as HTML the inner exception that
	is appended as a comment at the end of error pages.

	* System.Web.Compilation/AspGenerator.cs: fully support including files,
	ie., treat them just as C treats #includes.

	* System.Web.UI/RootBuilder.cs: throw exception when the tagprefix
	is not valid or not found.

svn path=/trunk/mcs/; revision=14316
2003-05-06 01:31:40 +00:00
Ben Maurer b2e008962d PathTest.cs
Added new tests for GetFullPath () that include a path with
	. and ..

svn path=/trunk/mcs/; revision=14315
2003-05-05 23:10:15 +00:00
Ben Maurer 0040417501 * Directory.cs (GetLogicalDrives) Marked as MonoTODO
because we need to implement the method on Windows.
* Path.cs
	(CanonicalizePath) Added new function to get
	rid of . and .. in path names. Need to figure out what
	other functions should call this.
	(GetFullPath) Added call to the above function. Fixes
	bug 42303

svn path=/trunk/mcs/; revision=14314
2003-05-05 23:07:20 +00:00
Miguel de Icaza ff12eea628 Improve flow tests
svn path=/trunk/mcs/; revision=14313
2003-05-05 21:49:18 +00:00
Miguel de Icaza 23b50fc726 Improve test
svn path=/trunk/mcs/; revision=14312
2003-05-05 21:46:44 +00:00
Miguel de Icaza 213afe01ac 2003-05-05 Miguel de Icaza <[email protected]>
* expression.cs (New.AddressOf): Implement interface
	IMemoryLocation.  This is used when the `new' operator is used in
	the context of an invocation to a method on a value type.

	See http://bugzilla.ximian.com/show_bug.cgi?id=#42390 for an
	example.

svn path=/trunk/mcs/; revision=14311
2003-05-05 21:38:17 +00:00
Miguel de Icaza c0561a28d3 2003-05-05 Miguel de Icaza <[email protected]>
* namespace.cs: Also check the using aliases here.

	* driver.cs: Move the test for using validity after the types have
	been entered, so we do a single pass that also includes the using
	aliases.

svn path=/trunk/mcs/; revision=14310
2003-05-05 21:21:45 +00:00
Miguel de Icaza 31cb7d7d7c 2003-05-05 Miguel de Icaza <[email protected]>
* statement.cs (Try.Resolve): Avoid crashing if there is a failure
	in the regular case.   CreateSiblingForFinally is doing extra
	error checking.

svn path=/trunk/mcs/; revision=14309
2003-05-05 21:05:28 +00:00
Ben Maurer aca89f8243 * AUTHORS: Added self
svn path=/trunk/mcs/; revision=14308
2003-05-05 20:44:16 +00:00
Miguel de Icaza 45a9f53e36 2003-05-05 Miguel de Icaza <[email protected]>
* attribute.cs (GetAttributeArgumentExpression): Store the result
	on an out value, and use the return value to indicate failure
	instead of using null (which is a valid return for Constant.GetValue).

	* statement.cs: Perform the analysis flow for the increment
	portion after the statement, because this will be the real flow of
	execution.  Fixes #42385

svn path=/trunk/mcs/; revision=14307
2003-05-05 20:21:21 +00:00
Ville Palo 784f0b1029 2003-05-05 Ville Palo <[email protected]>
* DirectoryInfoTest.cs: new file.

svn path=/trunk/mcs/; revision=14306
2003-05-05 16:45:34 +00:00
Dietmar Maurer 5da6eb5e70 use jerome's test case instead
svn path=/trunk/mono/; revision=14305
2003-05-05 16:08:50 +00:00
Gonzalo Paniagua Javier c7781c7170 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: return after processing @Register.

svn path=/trunk/mcs/; revision=14304
2003-05-05 15:51:42 +00:00
Johannes Roith 9ba38631dc update windows setup script to 0.24.
svn path=/trunk/mcs/; revision=14302
2003-05-05 15:36:34 +00:00
Dietmar Maurer 6ec02b2f1d another test
svn path=/trunk/mono/; revision=14300
2003-05-05 13:58:00 +00:00
Dietmar Maurer ad80383295 2003-05-05 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): dont touch code inside exception clauses (fix bug 38136)

svn path=/trunk/mono/; revision=14299
2003-05-05 13:39:57 +00:00
Gonzalo Paniagua Javier 7b43a7b458 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs:
        (Select): don't create arrays if not needed.
        (Poll): call Select_internal directly.

svn path=/trunk/mcs/; revision=14298
2003-05-05 13:36:06 +00:00
Gonzalo Paniagua Javier b5220446d5 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* io-layer/handles.c: added some debugging code. Call GC_gcollect
	before creating a new handle. It makes Lupus' test run smoother and
	faster (from 62 to 83 request per second). Notice that calling
	GC_finalizer_notifier if needed (GC_should_invoke_finalizer ()) does
	not improve nor degrade the performance, so i don't do it.

	* metadata/socket-io.c:
	(Select_internal): allow NULLs, don't create arrays if not needed.
	Coupled with Socket.cs changes.

	* metadata/threadpool.c:
	(mono_thread_pool_add): use GC_MALLOC to allocate the ASyncCall and
	register a finalizer for it that will close the semaphore handle. This
	fixes the leak and make Lupus' test run with > 4080 loops.

svn path=/trunk/mono/; revision=14297
2003-05-05 13:35:52 +00:00
Atsushi Eno 1f41e79798 2003-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().

svn path=/trunk/mcs/; revision=14296
2003-05-05 13:17:45 +00:00
Atsushi Eno 200c1c2393 2003-05-05 Atsushi Enomoto <[email protected]>
* xml.xsd : fixed invalid close tag.

svn path=/trunk/mcs/; revision=14295
2003-05-05 13:15:00 +00:00
Dick Porter c5ace327ac Build fix for cygwin
svn path=/trunk/mono/; revision=14294
2003-05-05 12:56:07 +00:00
Dietmar Maurer b12ed66b9b 2003-05-05 Dietmar Maurer <[email protected]>
* exceptions-x86.c (ves_icall_get_frame_info): also skip remoting
	wrappers (fix bug 42122)

svn path=/trunk/mono/; revision=14293
2003-05-05 11:23:40 +00:00
Dietmar Maurer 9528f1bf08 2003-05-05 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_struct_to_ptr): added fixes from
	Jerome Laban (bug #42287)

svn path=/trunk/mono/; revision=14292
2003-05-05 10:44:58 +00:00
Miguel de Icaza ca65d0afb6 2003-05-05 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext.EmitArgument,
	EmitContext.EmitStoreArgument): New helper functions when the
	RemapToProxy flag is set.

	* expression.cs (ParameterReference.EmitLdarg): Expose this useful
	function.

	Add support for remapping parameters.

	* iterators.cs: Propagate parameter values;  Store parameter
	values in the proxy classes.

	* ecore.cs (FieldExpr): Fix an obvious bug.  static fields do not
	need a proxy reference;  I do not know what I was thinking

svn path=/trunk/mcs/; revision=14290
2003-05-05 04:18:44 +00:00
Miguel de Icaza 1bae0f1e89 Add new test
svn path=/trunk/mcs/; revision=14289
2003-05-05 04:15:38 +00:00
Miguel de Icaza f3864951f7 2003-05-04 Miguel de Icaza <[email protected]>
* cs-parser.jay (constructor_initializer): catch another error,
	and display nice message.

svn path=/trunk/mcs/; revision=14288
2003-05-05 02:39:53 +00:00
Miguel de Icaza 3aef6ebbbd another
svn path=/trunk/mcs/; revision=14287
2003-05-05 02:17:03 +00:00
Miguel de Icaza c58ff286fa 2003-05-04 Miguel de Icaza <[email protected]>
* cs-parser.jay (field_declaration): catch void field declaration
	to flag a better error.

	* class.cs (MemberBase.CheckBase): Report an error instead of a
	warning if a new protected member is declared in a struct.
	(Field.Define): catch the error of readonly/volatile.

	* ecore.cs (FieldExpr.EmitAssign): reuse the field lookup.

	(FieldExpr.AddressOf): ditto.  Catch error where the address of a
	volatile variable is taken

svn path=/trunk/mcs/; revision=14286
2003-05-05 02:12:29 +00:00
Miguel de Icaza 8a19a04f3a Another error
svn path=/trunk/mcs/; revision=14285
2003-05-05 02:11:32 +00:00
Miguel de Icaza b202f7b5b7 Add new error
svn path=/trunk/mcs/; revision=14284
2003-05-05 02:06:16 +00:00
Miguel de Icaza 6ce07425d7 Add another error
svn path=/trunk/mcs/; revision=14283
2003-05-05 01:59:20 +00:00
Miguel de Icaza 2f1334a84a More errors
svn path=/trunk/mcs/; revision=14282
2003-05-05 01:43:00 +00:00
Miguel de Icaza ef2304ff21 fix
svn path=/trunk/mono/; revision=14281
2003-05-04 23:58:15 +00:00
Gonzalo Paniagua Javier 4af0c80ce6 CompilerParameters.ReferencedAssemblies do not have a set accessor
svn path=/trunk/mcs/; revision=14280
2003-05-04 23:51:16 +00:00
Sebastien Pouliot 054ab5cbfc 2003-05-04 Sebastien Pouliot <[email protected]>
* Updated for screenshots of Certificate Viewer

svn path=/trunk/mono/; revision=14279
2003-05-04 23:30:26 +00:00
Sebastien Pouliot 4204458f55 2003-05-04 Sebastien Pouliot <[email protected]>
Two screenshots of Mono Certificate Viewer (1 SWF and 1 GTK#)

svn path=/trunk/mono/; revision=14278
2003-05-04 23:27:26 +00:00
Atsushi Eno d52f62f25a 2003-05-05 Atsushi Enomoto <[email protected]>
* RdpPattern.cs : added RdpAttribute.expandRef(). UnresolvedRef had
	  remained in attribute patterns.

svn path=/trunk/mcs/; revision=14277
2003-05-04 22:43:38 +00:00
Atsushi Eno 31557e6d45 2003-05-05 Atsushi Enomoto <[email protected]>
* RelaxngReader.cs : ReadExternalRef() hadn't resolved base uri.

svn path=/trunk/mcs/; revision=14276
2003-05-04 22:43:05 +00:00
Jackson Harper 02b027219b * ILParser.jay: Use new MiscInstr.ldstr for ldstr, add INSTR_Rs
svn path=/trunk/mcs/; revision=14275
2003-05-04 21:18:48 +00:00
Jackson Harper 0518f0e355 * ILParser.jay: Use new MiscInstr.ldstr for ldstr, add INSTR_Rs
svn path=/trunk/mcs/; revision=14274
2003-05-04 21:18:10 +00:00
Jackson Harper cc3c144064 Add new instructions to build.
svn path=/trunk/mcs/; revision=14273
2003-05-04 21:15:57 +00:00
Jackson Harper 47e7b00e4f * LdcInstr.cs: New file - lcd* instructions
* MiscInstr.cs: New file - Just an enum that gives me constant
	values for instructions PEAPI does not define in an enum
	* InstrTable.cs: Use new MiscInstr constants instead of string values.

svn path=/trunk/mcs/; revision=14272
2003-05-04 21:15:11 +00:00
Jackson Harper f367fa1a6a * ILParser.jay: Set int64's masquerading as int32 to upper and
lower bounds if neccasary. NEED TO TEST this behavoir on windows.

svn path=/trunk/mcs/; revision=14271
2003-05-04 19:53:30 +00:00
Atsushi Eno 8a10bad05d 2003-05-05 Atsushi Enomoto <[email protected]>
* System.XML_linux_test.args : added XmlConvertTests.cs

svn path=/trunk/mcs/; revision=14270
2003-05-04 19:51:47 +00:00
Atsushi Eno a0d55b7f0e 2003-05-05 Atsushi Enomoto <[email protected]>
* added XmlConvertTests.cs.

svn path=/trunk/mcs/; revision=14269
2003-05-04 19:51:07 +00:00
Atsushi Eno 0ee09c9717 2003-05-05 Atsushi Enomoto <[email protected]>
* ChangeLog : Added missing ChangeLog of 2003-04-25.
	* XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
	  separators. Added experimental method ToEnum().
	* XmlSerializationReader.cs : unconfirmed implementation of
	  ReadSerializable() and ToEnum().
	* XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
	  is null then no output will be written.
	  Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
	  to use custom formatted name.

svn path=/trunk/mcs/; revision=14268
2003-05-04 19:48:24 +00:00
Atsushi Eno 64ebf63446 2003-05-05 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
	  EncodeName() now correctly encodes invalid names.
	  Result string of ToString(DateTime) contains "fffffff".

svn path=/trunk/mcs/; revision=14267
2003-05-04 19:46:12 +00:00
Paolo Molaro 503bf31822 Another missing conv nop.
svn path=/trunk/mono/; revision=14265
2003-05-04 18:33:46 +00:00
Martin Baulig e2c4c247eb Ignore methods from other application domains.
svn path=/trunk/mono/; revision=14262
2003-05-04 16:39:04 +00:00
Martin Baulig aa0a95f8df 2003-05-04 Martin Baulig <[email protected]>
* mini.h (mono_jit_init, mono_jit_cleanup): Added prototypes.

	* driver.c: s/MONO_OPT_SAHRED/MONO_OPT_SHARED/g.
	s/mini_set_defaults/mono_set_defaults/g.

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

svn path=/trunk/mono/; revision=14260
2003-05-04 16:33:46 +00:00
Martin Baulig 7f15556100 Ooops, we still need to initialize `image_file'.
svn path=/trunk/mono/; revision=14257
2003-05-04 16:17:43 +00:00
Gonzalo Paniagua Javier 2e75afc53b Set the assembly version correctly
svn path=/trunk/mcs/; revision=14255
2003-05-04 15:15:26 +00:00
Gonzalo Paniagua Javier 10ba48bc8f 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* System.Reflection/Assembly.cs: implemented GetSatelliteAssembly.

	* System.Resources/ResourceManager.cs: enabled the code that calls
	GetSatelliteAssembly and ignore the exception thrown if the assembly
	cannot be loaded.

svn path=/trunk/mcs/; revision=14252
2003-05-04 14:49:01 +00:00
Alp Toker b7165d94db Linebreak
svn path=/trunk/mono/; revision=14251
2003-05-04 13:21:58 +00:00
Martin Baulig 607531470b 2003-05-04 Martin Baulig <[email protected]>
* driver.c: s/mini_parse_default_optimizations/mono_parse_default_optimizations/g.

svn path=/trunk/mono/; revision=14249
2003-05-04 12:47:46 +00:00
Martin Baulig 35c5ebc55c 2003-05-02 Martin Baulig <[email protected]>
* debug-mono-symfile.h
	(MonoSymbolFile): Moved declaration into mono-debug.h.
	(MonoDebugMethodJitInfo): Likewise.
	(mono_debug_open_mono_symbol_file): Take the MonoDebugHandle as
	argument.
	(_mono_debug_address_from_il_offset): Take a
	MonoDebugMethodJitInfo instead of a MonoDebugMethodInfo.

	* mono-debug.h
	(MonoDebugDomainData): New struct.
	(mono_debug_get_domain_data): New function.
	(mono_debug_add_method): Take an additional `MonoDomain *'
	argument.
	(mono_debug_source_location_from_address): Likewise.
	(mono_debug_il_offset_from_address): Likewise.
	(mono_debug_address_from_il_offset): Likewise.

svn path=/trunk/mono/; revision=14245
2003-05-04 12:24:27 +00:00
Paolo Molaro 2c63947362 Sun May 4 11:48:08 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg: add missing lreg: OP_LCONV_TO_U8 (lreg) rule
	(reported by Don Roberts).

svn path=/trunk/mono/; revision=14244
2003-05-04 09:56:27 +00:00
Ville Palo 3be8442e3d 2003-05-04 Ville Palo <[email protected]>
* FileInfoTest.cs: new file.
	* FileStreamTest.cs: new tests for Seek ()

svn path=/trunk/mcs/; revision=14243
2003-05-04 09:38:30 +00:00
Gonzalo Paniagua Javier a08b0012ec 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs:
	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/TagType.cs:
	* System.Web.UI/TemplateParser.cs: Added support for server side
	includes.

svn path=/trunk/mcs/; revision=14242
2003-05-04 02:50:04 +00:00
Gonzalo Paniagua Javier b76faa4b6e 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs:
	(.ctor): fixed parameters passed to FileNotFoundException.

svn path=/trunk/mcs/; revision=14241
2003-05-04 02:43:21 +00:00
César Natarén b5d51ec559 Reflect changes from the grammar file
svn path=/trunk/mcs/; revision=14240
2003-05-04 01:57:01 +00:00
César Natarén a29b49da3f Added ChangeLog entry
svn path=/trunk/mcs/; revision=14239
2003-05-04 00:43:52 +00:00
César Natarén 5e14d0427c Added some more lexical and syntatic grammar changes. See ChangeLog entry from 2003-05-03.
svn path=/trunk/mcs/; revision=14238
2003-05-04 00:37:57 +00:00
Ben Maurer 6322ae65d9 *** empty log message ***
svn path=/trunk/mcs/; revision=14237
2003-05-04 00:21:28 +00:00
Gonzalo Paniagua Javier a74989d730 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs: added reader/writer for .po files.

svn path=/trunk/mcs/; revision=14235
2003-05-04 00:02:41 +00:00
Gonzalo Paniagua Javier 66896ebced 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* ResourceManager.cs: fixed the name for the file when the culture is
	not de invariant culture. Commented out the GetSatelliteAssembly code
	to avoid NotImplementedException being thrown.

svn path=/trunk/mcs/; revision=14234
2003-05-03 23:59:05 +00:00
Ben Maurer bbbe9173a8 Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.
svn path=/trunk/mcs/; revision=14233
2003-05-03 17:41:57 +00:00
Gonzalo Paniagua Javier 7bf1b420b6 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
* HttpWriter.cs: don't do anything in Flush. Fixes #42249.

svn path=/trunk/mcs/; revision=14232
2003-05-03 14:59:14 +00:00
Gonzalo Paniagua Javier df578562f2 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/CSCompiler.cs: actually add the list of
	referenced assemblies to the compiler options. Throw a
	CompilationException if there's an error.

	* System.Web.Compilation/CachingCompiler.cs: added a method to compile
	directly from a source file.

	* System.Web.UI/TemplateControl.cs: fixed the flags used to find the
	methods that are automatically hooked up on events.

	* System.Web.UI/TemplateParser.cs: don't compile a source file directly.
	Use the cache instead.

svn path=/trunk/mcs/; revision=14231
2003-05-03 13:50:08 +00:00
Ben Maurer a3f5596b27 * ArrayList.cs
Added methods to support IList wrappers
* ArrayListTest.cs
	Tests for the above* ArrayList.cs
	Added methods to support IList wrappers

svn path=/trunk/mcs/; revision=14229
2003-05-03 00:25:30 +00:00
Alp Toker 16507a9e6c 2003-05-02 Alp Toker <[email protected]>
* data/config.in: new dll mapping entry for libglade

svn path=/trunk/mono/; revision=14227
2003-05-02 22:59:53 +00:00
Miguel de Icaza 15c76f020f Add paragraph
svn path=/trunk/mono/; revision=14226
2003-05-02 22:38:50 +00:00
Miguel de Icaza b376eb89f9 update man page
svn path=/trunk/mono/; revision=14225
2003-05-02 22:37:59 +00:00
Miguel de Icaza fe0b1c7170 2003-05-02 Miguel de Icaza <[email protected]>
* statement.cs (Fixed.Resolve): Report an error if we are not in
	an unsafe context.

svn path=/trunk/mcs/; revision=14223
2003-05-02 22:35:37 +00:00
Miguel de Icaza 6c727c4d22 2003-05-02 Miguel de Icaza <[email protected]>
* XmlReflectionImporter.cs: one of theImportTypeMapping mappings
	had a void return value.

svn path=/trunk/mcs/; revision=14222
2003-05-02 21:28:29 +00:00
Alp Toker fc13afe78f 2003-05-02 Alp Toker <[email protected]>
* cilc.cs: Print usage info

svn path=/trunk/mcs/; revision=14221
2003-05-02 18:47:12 +00:00
Alp Toker 7115299185 Added cilc man page
svn path=/trunk/mono/; revision=14220
2003-05-02 18:45:41 +00:00
Miguel de Icaza bc9f3a243d Add -lm
svn path=/trunk/mono/; revision=14219
2003-05-02 17:44:17 +00:00
Paolo Molaro fbb4c81218 Fri May 2 18:36:45 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: temporarily work around two bugs for this release.

svn path=/trunk/mono/; revision=14218
2003-05-02 16:44:30 +00:00
Aleksey Ryabchuk c77694a885 * Control.cs : call OnTextChange
* UpdownBase.cs 
	* DomainUpDown.cs : some more implementation
	* TextBox.cs : TextAlign, use base.CreateParams
	* TextBoxBase.cs : use base.CreateParams
	* Win32enums.cs : styles for edit box

svn path=/trunk/mcs/; revision=14217
2003-05-02 16:02:37 +00:00
Paolo Molaro 7f6b8a27bc Fri May 2 17:37:29 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: avoid linking libmono with GMODULE_LIBS, because
	that contains -export-dynamic and it makes using the ld script
	useless.
	* mini.h, main.c, driver.c: s/mini_main/mono_main/g.

svn path=/trunk/mono/; revision=14216
2003-05-02 15:46:20 +00:00
Miguel de Icaza 9d08e70799 oops
svn path=/trunk/mono/; revision=14215
2003-05-02 15:33:45 +00:00
Miguel de Icaza 41bb454425 2003-05-02 Miguel de Icaza <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Use explicit file names
	for the target exe binaries.

	Copy cilc.exe and secutil.exe from the right paths to the right
	location.

	Add missing assemblies.

svn path=/trunk/mono/; revision=14214
2003-05-02 15:31:12 +00:00
Miguel de Icaza 3ab11116c6 Small fix
svn path=/trunk/mono/; revision=14213
2003-05-02 15:28:32 +00:00
Dick Porter ce3970277f Forgot this one when making cilc build on cygwin
svn path=/trunk/mcs/; revision=14212
2003-05-02 15:10:57 +00:00
Dick Porter 8feae20143 2003-05-02 Dick Porter <[email protected]>
* sockets.c: Rearrange closesocket() and socket_close_private(),
	and remember to unref the handle, so we don't leak socket handles.
	Fix from Pelle Johnsen <[email protected]>

svn path=/trunk/mono/; revision=14211
2003-05-02 14:52:20 +00:00
Jackson Harper 880551b90b * AssemblyInfo.cs: Bump up version number
svn path=/trunk/mcs/; revision=14210
2003-05-02 14:49:19 +00:00
Paolo Molaro 689f9ce2f3 Fri May 2 12:52:32 CEST 2003 Paolo Molaro <[email protected]>
* mini.h, mini-x86.c, driver.c: disable optimizations not available on a
	specific cpu.

svn path=/trunk/mono/; revision=14209
2003-05-02 11:01:02 +00:00
Dick Porter 375b2929fb Fix cygwin build
svn path=/trunk/mcs/; revision=14208
2003-05-02 10:52:12 +00:00
Gonzalo Paniagua Javier 340a21e940 2003-05-02 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: get the right item Type for the property we're reading
	fromt the data source.

svn path=/trunk/mcs/; revision=14205
2003-05-02 09:57:31 +00:00
Jackson Harper 4607b223d0 * CodeGen.cs: Define the contents of types after all types have
been resolved, this avoids the infinite loop that would occur if a
	type was a member of its base type.
	* TypeDef.cs: Method to define contents after being defined.

svn path=/trunk/mcs/; revision=14204
2003-05-02 06:19:51 +00:00
Jackson Harper b50c86dc49 * TypeManager.cs: Check if type is defined before defining it.
svn path=/trunk/mcs/; revision=14203
2003-05-02 05:58:08 +00:00
Jackson Harper f4c2a7bb73 * TypeManager.cs: Check if type is defined before defining it.
svn path=/trunk/mcs/; revision=14202
2003-05-02 05:58:08 +00:00
Jackson Harper b0d8044623 * ILParser.jay: Fix a bunch of conversions, implement hexbytes
svn path=/trunk/mcs/; revision=14201
2003-05-02 05:55:39 +00:00
Jackson Harper 15db8e68a2 * CodeGen.cs: Add outer classes to typedefs if necesary
* InstrTable.cs: ldtoken instruction is a INSTR_TOK token
	* TypeDef.cs: Add outer class property

svn path=/trunk/mcs/; revision=14200
2003-05-02 05:53:46 +00:00
Pedro Martínez Juliá a82dc0d14e 2003-05-01 Pedro Mart�nez Juli� <[email protected]>
* Environment.cs: Changed the method GetFolderPath because it must
	return at least a directory name (not null).

	* Convert.cs: In ToType, if the destination type is unknown, try to
	cast the value to object (then, the calling method will downcast it
	to the type it wants).

svn path=/trunk/mcs/; revision=14199
2003-05-02 03:42:27 +00:00
Miguel de Icaza ea6e4bea2a 2003-05-01 Miguel de Icaza <[email protected]>
* typemanager.cs: reuse the code that handles type clashes for
	delegates and enumerations.

svn path=/trunk/mcs/; revision=14198
2003-05-02 01:54:32 +00:00
Duncan Mak b56bccbbe9 * makefile:
* makefile.gnu: Add 'cilc' to the build.

svn path=/trunk/mcs/; revision=14197
2003-05-02 00:37:21 +00:00
Duncan Mak 20f308fc57 * scripts/Makefile.am:
* runtime/Makefile.am: Install cilc and ilasm.

svn path=/trunk/mono/; revision=14196
2003-05-02 00:36:15 +00:00
Malte Hildingson ba7d50d8da * tramp.c (mono_create_trampoline): tiny register allocation fix for reference types
svn path=/trunk/mono/; revision=14195
2003-05-01 23:42:01 +00:00
Alp Toker 9e4fb47c5a 2003-05-01 Alp Toker <[email protected]>
* cilc.cs: Support arguments, clean up some gcc warnings
        * Test.cs, demo.c: More extensive test

svn path=/trunk/mcs/; revision=14193
2003-05-01 20:19:36 +00:00
Rafael Teixeira 27c9ad9ec3 initial support for preprocessor commands
svn path=/trunk/mcs/; revision=14192
2003-05-01 19:58:26 +00:00
Gonzalo Paniagua Javier a3e7d18173 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HtmlizedException.cs: added more virtual methods.

	* System.Web/HttpException.cs:  some work on the output when there's
	a source file present.

	* System.Web.Compilation/AspGenerator.cs: copy the location before
	setting the value for the control builders.

	* System.Web.Compilation/BaseCompiler.cs: changed parameters for
	CompilationException.

	* System.Web.Compilation/CompilationException.cs: it takes now line
	numbers and error descriptions from the CompilerErrorCollection.

	* System.Web.Compilation/Location.cs: used when a copy of an ILocation
	is needed.

	* System.Web.Compilation/ParseException.cs: implemented new methods
	to provide line numbers and souce file.

	* System.Web.Compilation/TemplateControlCompiler.cs: throw a
	ParseException where appropiate.

	* System.Web.UI/BaseParser.cs: Location property is now here. Added a
	couple of convenience methods to throw a ParseException.

	* System.Web.UI/TemplateParser.cs:
	* System.Web.UI/TemplateControlParser.cs:
	* System.Web.UI/PageParser.cs: throw ParseException where appropiate.

svn path=/trunk/mcs/; revision=14191
2003-05-01 19:34:32 +00:00
Paolo Molaro 01c027c151 Added assertion to trigger the bug in mcs.
svn path=/trunk/mono/; revision=14190
2003-05-01 18:36:08 +00:00
Paolo Molaro e7407151f5 Thu May 1 19:40:37 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: one more check for null type in custom attrs.

svn path=/trunk/mono/; revision=14189
2003-05-01 17:48:38 +00:00
Miguel de Icaza 71ca2d5c1f 2003-05-01 Miguel de Icaza <[email protected]>
* class.cs (Report28): Always report.

svn path=/trunk/mcs/; revision=14188
2003-05-01 16:48:10 +00:00
Gonzalo Paniagua Javier b2bbb467ec 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: avoid warning (comparison is always false due to limited
	range of data type).

svn path=/trunk/mono/; revision=14186
2003-05-01 15:06:35 +00:00
Paolo Molaro a661145c6d More tests.
svn path=/trunk/mono/; revision=14184
2003-05-01 13:53:37 +00:00
Paolo Molaro b2bb897f4b Thu May 1 15:28:21 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: make sure leave calls all the needed finally blocks,
	even when the target jumps out of multiple exception clauses.

svn path=/trunk/mono/; revision=14183
2003-05-01 13:36:58 +00:00
Paolo Molaro 3220c951f5 Thu May 1 15:18:26 CEST 2003 Paolo Molaro <[email protected]>
* ldscript, Makefile.am: add linker script to reduce the number of
	exported symbols (should also fix the issues with libwine defining
	some of the same symbols in io-layer).

svn path=/trunk/mono/; revision=14182
2003-05-01 13:27:34 +00:00
Zoltan Varga f7385a22c5 2003-05-01 Zoltan Varga <[email protected]>
* driver.c (mini_main): Avoid assertion when no file name is given on
	the command line.

svn path=/trunk/mono/; revision=14181
2003-05-01 09:58:06 +00:00
Miguel de Icaza 8540459845 2003-05-01 Miguel de Icaza <[email protected]>
* expression.cs (EncodeAsAttribute): Allow nulls here.

svn path=/trunk/mcs/; revision=14178
2003-05-01 09:30:14 +00:00
Jackson Harper fb4f10adc9 Fix typo
svn path=/trunk/mcs/; revision=14177
2003-05-01 05:16:20 +00:00
Jackson Harper 3e85ac95d2 forgot
svn path=/trunk/mcs/; revision=14176
2003-05-01 05:12:02 +00:00
Jackson Harper f8ccb3dfbe * ILParser.jay: Implement non marshalled methodheads, method
attributes, impl attributes, imit simple int and ldstr instructions.

svn path=/trunk/mcs/; revision=14175
2003-05-01 05:10:41 +00:00
Jackson Harper 0a56b53f82 * makefile: Add instructions to build
* makefile.gnu: Add instructions to build

svn path=/trunk/mcs/; revision=14174
2003-05-01 05:09:57 +00:00
Jackson Harper 88342370e3 * MethodDef.cs: Accept and emit instructions.
* CodeGen.cs: Fix typo
	* IInstr.cs: New file - Interface for instructions that are added to methods
	* IntInstr.cs: New file - Instruction that takes a single int
	param
	* LdstrInstr.cs: New file - ldstr instruction (the only
	instruction that takes a string parameter)

svn path=/trunk/mcs/; revision=14173
2003-05-01 05:09:15 +00:00
Gonzalo Paniagua Javier 78003e13e9 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: flush the writers when done. Fixes bug #42040.

svn path=/trunk/mcs/; revision=14172
2003-05-01 03:16:35 +00:00
Gonzalo Paniagua Javier 00ad416fb4 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* icall.c: throw an exception in Type.GetField if the argument 'name'
	is NULL.

svn path=/trunk/mono/; revision=14171
2003-05-01 02:04:37 +00:00
Gonzalo Paniagua Javier ce55913aed 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: also support data bind syntax
	inside tags not processed as controls. Added debugging method.

	* System.Web.Compilation/TemplateControlCompiler.cs: reset the number
	of data binding handlers in the proper place. Small fix when getting the
	container type.

	* System.Web.UI/ApplicationFileParser.cs: use the generator to actually
	parse the file.

	* System.Web.UI/ControlBuilder.cs: small fix in NamingContainerType
	because TemplateBuilders have a null ControlType. When a control is
	appended to a parent, assign the child's parent.

	* System.Web.UI/UserControlParser.cs: fixed the value of InputFile.

	IBuySpy works again!

svn path=/trunk/mcs/; revision=14170
2003-05-01 00:54:04 +00:00
Gonzalo Paniagua Javier 201982bea9 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/TemplateControlCompiler.cs: correctly set
	the TemplateSourceDirectory value.

	* System.Web.UI/ApplicationFileParser.cs: store the Context and
	override BaseVirtualDir so that it's the application path.

	* System.Web.UI/BaseParser.cs: removed CurrentVirtualPath property.

	* System.Web.UI/TemplateControlParser.cs: use BaseVirtualDir.

	* System.Web.UI/UserControlParser.cs: removed CurrentVirtualPath.

svn path=/trunk/mcs/; revision=14168
2003-04-30 20:07:26 +00:00
Gonzalo Paniagua Javier b25312c41b 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: handle code render syntax in tag attributes.

	* AspParser.cs: the constructor now takes a TextReader.

	* TemplateControlCompiler.cs: removed comment.

svn path=/trunk/mcs/; revision=14166
2003-04-30 19:42:58 +00:00
Gonzalo Paniagua Javier 792f08f69e 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: always reference all the assemblies in bin
	directory.

svn path=/trunk/mcs/; revision=14165
2003-04-30 17:35:04 +00:00
Gonzalo Paniagua Javier 38a3d0f4af 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: added support for data bound properties.

svn path=/trunk/mcs/; revision=14164
2003-04-30 16:52:45 +00:00
Marco Ridoni 8e7b3c2791 A lot of assorted fixes and additions
- Compound operators added
- Member access now work correctly
- A lot of array fixes/improvements
- LateIndexGet/Set calls are generated correctly
- Overloading in constructors fixed
- Array access when the array is a parameter fixed
- Invocation resolution improved
- Added readonly modifier for properties
- Many more little and not-so-little things I can't remember :-(

svn path=/trunk/mcs/; revision=14162
2003-04-30 16:46:58 +00:00
Aleksey Ryabchuk a9e86af2f9 prevent pages from being added to the TabControl multiple times
svn path=/trunk/mcs/; revision=14161
2003-04-30 16:31:54 +00:00
Aleksey Ryabchuk 4d43030b04 fixed typo
svn path=/trunk/mcs/; revision=14160
2003-04-30 15:26:39 +00:00
Aleksey Ryabchuk 242d710a1e * Control.cs : some fixes, added call to OnControlAdded, update visibility flag in Show and Hide
* GroupBox.cs
	* Label.cs
	* ButtoBase.cs : use base.CreateParams
	* PictureBox.cs : call base.OnResize
	* RadioButton.cs : implemented
	* TabControl.cs
	* TabPage.cs : some fixes

svn path=/trunk/mcs/; revision=14159
2003-04-30 15:12:30 +00:00
Paolo Molaro 27720be157 Documented --version.
svn path=/trunk/mono/; revision=14158
2003-04-30 14:19:48 +00:00
Paolo Molaro 98e986c48f Wed Apr 30 15:33:11 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: added --version/-V command line option.
	Added the inline optimization in the regression tests.

svn path=/trunk/mono/; revision=14157
2003-04-30 13:41:29 +00:00
Paolo Molaro c367494ed2 Wed Apr 30 15:16:02 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, basic-calls.cs: when inlining, save arguments to locals according
	to the type in the method signature (fixes bug#42134).

svn path=/trunk/mono/; revision=14156
2003-04-30 13:26:26 +00:00
Paolo Molaro 34f46aeec6 More tests.
svn path=/trunk/mono/; revision=14155
2003-04-30 13:13:33 +00:00
Paolo Molaro 0dd585b785 Test case for bug 42135.
svn path=/trunk/mono/; revision=14154
2003-04-30 10:58:09 +00:00
Paolo Molaro ea1fa598c8 Wed Apr 30 12:38:44 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: when inlining, check this is not null only when needed (bug #42135).

svn path=/trunk/mono/; revision=14153
2003-04-30 10:46:49 +00:00
Paolo Molaro 9e7d1fecdd Wed Apr 30 11:44:36 CEST 2003 Paolo Molaro <[email protected]>
* mini-ppc.h, tramp-pcc.c: type fixes from Max Horn <[email protected]>.

svn path=/trunk/mono/; revision=14152
2003-04-30 09:52:53 +00:00
Paolo Molaro 1579736ef2 Wed Apr 30 10:53:09 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: fixed handling of enums in named arguments to custom
	attributes (bug #42123).

svn path=/trunk/mono/; revision=14151
2003-04-30 09:11:02 +00:00
Nick Drochak 8befc720b4 2003-04-30 Nick Drochak <[email protected]>
* Factories.cs: Change weird characters that broke build on windows.

svn path=/trunk/mcs/; revision=14150
2003-04-30 08:45:33 +00:00
Paolo Molaro b53a549187 Fix build.
svn path=/trunk/mcs/; revision=14149
2003-04-30 07:26:15 +00:00
Gonzalo Paniagua Javier b9453c1af3 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* driver.c: fixed bug #42100.

svn path=/trunk/mono/; revision=14148
2003-04-30 07:14:18 +00:00
Gonzalo Paniagua Javier d98923274f 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41522.

svn path=/trunk/mcs/; revision=14147
2003-04-30 07:02:10 +00:00
Gonzalo Paniagua Javier 5024c27411 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* EnumTest.cs: tests from bug #41522 by Richar Lee.

svn path=/trunk/mcs/; revision=14146
2003-04-30 07:00:38 +00:00
Gonzalo Paniagua Javier dd1121ef7d 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* Label.cs:
	* TextBox.cs: added control builder attribute.

svn path=/trunk/mcs/; revision=14144
2003-04-30 05:04:37 +00:00
Gonzalo Paniagua Javier a1ddbcdbe5 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlImage.cs:
	* HtmlInputControl.cs:
	* HtmlSelect.cs: added control builder attribute.

	* HtmlSelectBuilder.cs: builder for HtmlSelect.

	* HtmlControlBuilder.cs: common builder for all HtmlControls.

svn path=/trunk/mcs/; revision=14143
2003-04-30 05:03:59 +00:00
Gonzalo Paniagua Javier a0a0d602bc 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: it works now. Prior to these changes, we
	were using the compiler directly.

	* BaseParser.cs: added some useful properties and methods.

	* CodeBuilder.cs: use ILocation.
	* CodeRenderBuilder.cs: use ILocation.
	* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.

	* ControlBuilder.cs: made it useful.

	* DataBindingBuilder.cs: the control type for data bound text is
	DataBoundLiteralControl now.

	* ObjectTagBuilder.cs: store some object tag attributes.

	* PageParser.cs: handle page-only directives.

	* RootBuilder.cs: bah.
	* SimpleWebHandlerParser.cs: made it dummy.
	* TemplateControl.cs: Modified file.

	* TemplateControlParser.cs: handle directives that are common to pages
	and user controls.

	* TemplateParser.cs: utility methods and handling of directives that
	are common to app, page and user controls.

	* UserControl.cs: added ControlBuilderAttribute.

	* UserControlControlBuilder.cs: builder for user controls.
	* UserControlParser.cs: use the new interfaces.

svn path=/trunk/mcs/; revision=14142
2003-04-30 05:02:54 +00:00
Gonzalo Paniagua Javier 3004c1401a removed test file
svn path=/trunk/mcs/; revision=14141
2003-04-30 05:00:11 +00:00
Gonzalo Paniagua Javier e80814a23c 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
	instead of their names.

	* AspElements.cs: removed. No longer needed.

	* AspGenerator.cs: this file is now in charge of interfacing between
	the parser and the compiler. It manages the creation of the
	ControlBuilder tree and the compilation of the CodeDOM tree.

	* AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
	of different Types, tags are just and id and a set of attributes.
	Implement ILocation interface.

	* AspTokenizer.cs: added a few methods to help the parser implementing
	ILocation.

	* BaseCompiler.cs: handles the portions of the CodeDOM tree that are
	common to appliaction, page and user control, including the actual
	compilation and error handling.

	* CSCompiler.cs: compiles C# files using CodeDOM interfaces.

	* CachingCompiler.cs: simplified to use the new interfaces.

	* CompilationException.cs: it's now using CompilationResult to report
	errors.

	* CompilationResult.cs: Removed file.

	* Directive.cs: to check for the validity of a directive.

	* GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
	in BaseCompiler.

	* ILocation.cs: interface used to now the exact place where a parse
	error happens.

	* PageCompiler.cs: generates a couple of methods that are only used in
	pages.

	* ParseException.cs: use the ILocation interface.

	* TagAttributes.cs: handles the attributes of the tags parsed.

	* TagType.cs: an enum for the different kinds of tags.

	* TemplateControlCompiler.cs: this is the one that does most of the
	conversion from teh ControlBuilder tree into a CodeDOM tree.

	* UserControlCompiler.cs: simplified as most of the work is done in
	its base classes.

	* WebServiceCompiler.cs: dummy.

svn path=/trunk/mcs/; revision=14140
2003-04-30 04:56:01 +00:00
Gonzalo Paniagua Javier f0e2f3702f 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlizedException.cs: simplified to cope with the new interface.

	* HttpApplicationFactory.cs: use the application file parser to get the
	application Type.

	* HttpException.cs: small changes. Needs some more work on
	ParseExceptions.

svn path=/trunk/mcs/; revision=14139
2003-04-30 04:52:31 +00:00
Gonzalo Paniagua Javier 6332214bdd *** empty log message ***
svn path=/trunk/mcs/; revision=14138
2003-04-30 04:51:20 +00:00
Miguel de Icaza 4a6f5ee0ee Flush
svn path=/trunk/mcs/; revision=14134
2003-04-30 04:15:07 +00:00
Miguel de Icaza 092c839ba0 Small workaround for the stack thing.
Fetch the Action
Post the action.

svn path=/trunk/mcs/; revision=14133
2003-04-30 03:33:59 +00:00
Miguel de Icaza 0ab8a5a974 2003-04-29 Miguel de Icaza <[email protected]>
* SoapHttpClientProtocol.cs (CreateMessage): Extract information
	from the method to be called.

	* SoapDocumentMethodAttribute.cs: Do not initialize all the fields
	on the attribute at bootstrap, for default values, just compute
	them when queried.

	* SoapMessage.cs (SetStage): New internal method, used to register
	the stage as we move along the soap pipeline.

svn path=/trunk/mcs/; revision=14130
2003-04-30 02:31:42 +00:00
Miguel de Icaza 058ec5ae73 2003-04-29 Miguel de Icaza <[email protected]>
* LogicalMethodInfo.cs: Most of this is implemented.  Its only
	missing a few bits in the Create() method.

	* SoapHttpClientProtocol.cs: Begin implementation of Invoke, which
	lead to other dependencies to be implemented.

	* LogicalMethodInfo.cs: Mostly complete.  It is only missing the
	async features (BeginInvoke/EndInvoke) on a LogicalMethodInfo.

	* WebClientProtocol.cs (GetWebRequest): Track the web request, so
	we can abort it later.
	(Abort): Call abort on the underlying transport.

svn path=/trunk/mcs/; revision=14129
2003-04-30 01:09:58 +00:00
Miguel de Icaza 7ab0c9dff7 2003-04-29 Miguel de Icaza <[email protected]>
* WebClient.cs (DownloadData): Close the underlyng stream.
	(DownloadFile): Use using, so the file gets closed.

svn path=/trunk/mcs/; revision=14128
2003-04-30 01:05:47 +00:00
Gonzalo Paniagua Javier 0552cb15e1 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: add quotes around out assembly name.

svn path=/trunk/mcs/; revision=14127
2003-04-29 23:00:12 +00:00
Paolo Molaro 09b9628d2f Tue Apr 29 19:15:10 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: use the right array element type and handle
	a null for a Type argument, too.

svn path=/trunk/mono/; revision=14124
2003-04-29 17:23:14 +00:00
Miguel de Icaza 341a9ad777 update nant build file
svn path=/trunk/mcs/; revision=14123
2003-04-29 17:09:52 +00:00
Miguel de Icaza f860d0280b Add RelaxNG to the build
svn path=/trunk/mcs/; revision=14122
2003-04-29 17:08:57 +00:00
Miguel de Icaza dbf2df63c8 Another one
svn path=/trunk/mcs/; revision=14121
2003-04-29 17:08:46 +00:00
Miguel de Icaza 658fa35659 Fix makefile
svn path=/trunk/mcs/; revision=14120
2003-04-29 17:07:02 +00:00
Atsushi Eno 724cc96704 2003-04-30 Atsushi Enomoto <[email protected]>
* list.unix,
	  list: fixed incorrect reference to Util.cs (Misc.cs).

svn path=/trunk/mcs/; revision=14119
2003-04-29 17:02:35 +00:00
Miguel de Icaza 9ef30dbbe5 remove debugging message
svn path=/trunk/mcs/; revision=14118
2003-04-29 16:52:42 +00:00
Miguel de Icaza f3f0578595 2003-04-28 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.GetAttributeArgumentExpression): Moved
	the functionality for testing whether an expression is valid for
	an attribute here.  Also handle the case of arrays of elements
	being stored.

	* expression.cs (ArrayCreation.EncodeAsAttribute): Add support for
	encoding a linear array into an array of objects that are suitable
	to be passed to an CustomAttributeBuilder.

svn path=/trunk/mcs/; revision=14117
2003-04-29 16:30:23 +00:00
Aleksey Ryabchuk 4b0bb314f4 * Control.cs : call OnResize from OnSizeChanged
* TabControl.cs : small fixes
	* Win32enums.cs : constants for ToolTip notifications

svn path=/trunk/mcs/; revision=14116
2003-04-29 16:11:40 +00:00
Ville Palo 1b94b1450d 2003-04-29 Ville Palo <[email protected]>
* FileStreamTest.cs: Tests for Flush() adn  one one more test for
	Ctor exceptions

svn path=/trunk/mcs/; revision=14115
2003-04-29 15:55:33 +00:00
Paolo Molaro 857406848c Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <[email protected]>
* Syscall.cs: remove the unsafe mess.

svn path=/trunk/mcs/; revision=14113
2003-04-29 15:02:04 +00:00
Atsushi Eno e874695e53 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RdpNameClasses.cs, RdpObjects.cs, RdpPatterns.cs
	  and Util.cs.

svn path=/trunk/mcs/; revision=14112
2003-04-29 14:19:58 +00:00
Dietmar Maurer 28caf3e937 2003-04-29 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): UNBOX need to CAST objects first

svn path=/trunk/mono/; revision=14111
2003-04-29 14:05:12 +00:00
Paolo Molaro 14a3f04061 -1 actually is emitted on NULL.
svn path=/trunk/mono/; revision=14110
2003-04-29 13:58:33 +00:00
Paolo Molaro 9bf3ebb013 Tue Apr 29 15:46:00 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: handle arrays as arguments to custom attributes.

svn path=/trunk/mono/; revision=14109
2003-04-29 13:54:04 +00:00
Gaurav Vaish 10a6800375 2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Some more methods.

svn path=/trunk/mcs/; revision=14108
2003-04-29 13:18:00 +00:00
Gaurav Vaish b6ea95d397 2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobilePage.cs          : Adapter { get; }           - Stubbed.

svn path=/trunk/mcs/; revision=14107
2003-04-29 13:17:31 +00:00
Dietmar Maurer 78239d51b2 *** empty log message ***
svn path=/trunk/mono/; revision=14106
2003-04-29 12:16:03 +00:00
Paolo Molaro e8ecdb0059 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <[email protected]>
* Enum.cs: protect with the lock also the lookup (bug #41841).

svn path=/trunk/mcs/; revision=14105
2003-04-29 12:06:54 +00:00
Paolo Molaro 1cbd8b9c3e Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <[email protected]>
* MonoType.cs: allow a null name if InvokeMember is called with
	BindingFlags.CreateInstance set.

svn path=/trunk/mcs/; revision=14103
2003-04-29 11:32:27 +00:00
Paolo Molaro 0cedec22a2 Tue Apr 29 11:43:01 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: handle a string value in a custom attr
	ctor that takes an object.

svn path=/trunk/mono/; revision=14102
2003-04-29 09:52:45 +00:00
Dietmar Maurer 97dea8974b 2003-04-29 Dietmar Maurer <[email protected]>
* marshal.c (mono_mb_emit_restore_result): support MONO_TYPE_PTR
	(fix bug #42063)

svn path=/trunk/mono/; revision=14101
2003-04-29 09:50:04 +00:00
Dietmar Maurer 5e070e768e cleanups
svn path=/trunk/mono/; revision=14100
2003-04-29 09:21:18 +00:00
Dietmar Maurer d73c8caaa7 2003-04-29 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (JITTEST_PROG): use mini/mono

svn path=/trunk/mono/; revision=14099
2003-04-29 08:25:32 +00:00
Atsushi Eno c1e1f79f64 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, list, list.unix, makefile.gnu and
	  Commons.Xml.Relaxng.build.

svn path=/trunk/mcs/; revision=14098
2003-04-29 07:46:50 +00:00
Atsushi Eno 5297e06804 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RdpPatternTests.cs, RelaxngReaderTests.cs,
	  RelaxngValidatingReaderTests.cs, makefile.gnu,
	  Commons.Xml.Relaxng_test.args and Commons.Xml.Relaxng_test.build.

svn path=/trunk/mcs/; revision=14097
2003-04-29 07:44:44 +00:00
Atsushi Eno 38167d8949 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, SimpleElementPattern1.xml, SimpleElementPattern1.rng,
	  SimpleElementPattern2.xml, SimpleElementPattern2.rng, team.xml,
	  team.rng.

svn path=/trunk/mcs/; revision=14096
2003-04-29 07:38:39 +00:00
Atsushi Eno f62be9ec7b 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RelaxngReader.cs, RelaxngValidatingReader.cs,
	  RngGrammar.cs, RngNameClasses.cs, RngPattern.cs, RngPatternType.cs
	  and Misc.cs.

svn path=/trunk/mcs/; revision=14093
2003-04-29 06:19:18 +00:00
Atsushi Eno 1c434cdc6e 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, XmlDefaultReader.cs.

svn path=/trunk/mcs/; revision=14092
2003-04-29 06:07:27 +00:00
Jackson Harper 0e1902633f * InstrTable.cs: Much simpler system. All tokens go into one
hashtable now. There is no reason to have them seperated out.

svn path=/trunk/mcs/; revision=14091
2003-04-29 04:22:14 +00:00
Jackson Harper 9dbc77114a * ILTokenizer.cs: Get instructions from table and check if they
are null instead of checking if they exist then getting them.

svn path=/trunk/mcs/; revision=14090
2003-04-29 04:20:20 +00:00
Gonzalo Paniagua Javier 11887304d2 2003-04-29 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs:
	(CompileAssemblyFromDomBatch): add the assemblies referenced by the
	CodeCompileUnits to the options.

svn path=/trunk/mcs/; revision=14088
2003-04-29 01:31:55 +00:00
Miguel de Icaza 746a51e972 Improve
svn path=/trunk/mcs/; revision=14087
2003-04-29 01:17:46 +00:00
Gonzalo Paniagua Javier 0561f188b9 2003-04-29 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: set NativeCompilerReturnValue.

svn path=/trunk/mcs/; revision=14086
2003-04-29 01:02:40 +00:00
Miguel de Icaza e3220f2f59 2003-04-28 Miguel de Icaza <[email protected]>
* MethodBuilder.cs: Mono allows the parameter position to be zero
	to indicate the "returns:" attribute.

svn path=/trunk/mcs/; revision=14085
2003-04-29 00:54:01 +00:00
Miguel de Icaza bb70a0084a 2003-04-28 Miguel de Icaza <[email protected]>
* delegate.cs: Check unsafe types being used outside of an Unsafe context.

svn path=/trunk/mcs/; revision=14084
2003-04-29 00:52:43 +00:00
Per Arneng 9da46b6420 updated with changes from Tobias DiPasquale
svn path=/trunk/mcs/; revision=14083
2003-04-29 00:40:49 +00:00
Miguel de Icaza 96f4fb4106 update
svn path=/trunk/mono/; revision=14082
2003-04-29 00:24:58 +00:00
Miguel de Icaza 672bff2489 More iterators update, almost there. Only parameter remapping is missing
2003-04-28  Miguel de Icaza  <[email protected]>

	* ecore.cs: (FieldExpr): Handle field remapping here.

	* iteratators.cs: Pass the instance variable (if the method is an
	instance method) to the constructors, so we can access the field
	variables on the class.

	TODO: Test this with structs.  I think the THIS variable on
	structs might have to be a pointer, and not a refenrece

svn path=/trunk/mcs/; revision=14081
2003-04-28 22:27:03 +00:00
Miguel de Icaza 24e4e2b4de Updates
svn path=/trunk/mono/; revision=14080
2003-04-28 21:33:59 +00:00
Piers Haken bfb442041c 2003-04-28 Piers Haken <[email protected]>
* Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens

svn path=/trunk/mcs/; revision=14078
2003-04-28 21:00:34 +00:00
Gonzalo Paniagua Javier 5c56fe4edc 2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
	(GenerateSnippetStatement): use WriteLine instead of Write.

svn path=/trunk/mcs/; revision=14075
2003-04-28 18:31:18 +00:00
Alexandre Pigolkine c831579fe6 small improvements
svn path=/trunk/mcs/; revision=14074
2003-04-28 18:28:45 +00:00
Gonzalo Paniagua Javier 184e462129 added /unsafe
svn path=/trunk/mcs/; revision=14073
2003-04-28 17:19:09 +00:00
Miguel de Icaza 02267f0fcf remove debugging message
svn path=/trunk/mcs/; revision=14072
2003-04-28 16:54:18 +00:00
Paolo Molaro 4d13d9cf77 Temporary workaround.
svn path=/trunk/mono/; revision=14071
2003-04-28 16:47:14 +00:00
Atsushi Eno 796f1b26d3 2003-04-29 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added WriteTo.
	* XmlReaderCommonTests.cs,
	  XmlTextReader.cs : fixed ReadInnerXml (check correct position.)
	  Reverted EmptyElementWithStartAndEndTag, EmptyElementWithAttribute,
	  and StartAndEndTagWithAttribute to XmlTextReaderTests.cs (because
	  they requires IsEmptyElement = false, which is always true for
	  XmlNodeReader).

svn path=/trunk/mcs/; revision=14070
2003-04-28 15:42:21 +00:00
Atsushi Eno 53b90248da 2003-04-29 Atsushi Enomoto <[email protected]>
* XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
	* XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
	  MoveTo*Attribute(),
	  Fixed this[] to work correctly against XmlDeclarations.
	  Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
	  (which may prevent validations etc.)
	* XmlReader.cs,
	  XmlNodeReader.cs,
	  XmlTextReader.cs : Fixed ReadString() to be compliant with each
	  other.
	* XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.

svn path=/trunk/mcs/; revision=14069
2003-04-28 15:40:54 +00:00
Paolo Molaro 7406378d5e Mon Apr 28 17:03:14 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: moved most of the code required to do inlining to its own
	function so it can be reused. Inline also ctors if appropriate.

svn path=/trunk/mono/; revision=14068
2003-04-28 15:11:17 +00:00
Gonzalo Paniagua Javier 09477e7c4b 2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: reverted my previous patch.

svn path=/trunk/mcs/; revision=14067
2003-04-28 13:16:47 +00:00
Zoltan Varga 6da71e99e4 2003-04-28 Zoltan Varga <[email protected]>
* Makefile.am: Link with -export-dynamic so shared libs loaded by
	the runtime can call mono API functions.

svn path=/trunk/mono/; revision=14065
2003-04-28 06:59:15 +00:00
Zoltan Varga 34a20553df 2003-04-28 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetNestedType): Fixed warnings.

svn path=/trunk/mono/; revision=14064
2003-04-28 06:53:18 +00:00
Miguel de Icaza 017f16f64f Bug fixes + support for locals in iterators. Only parameters are missing.
2003-04-27  Miguel de Icaza  <[email protected]>

	* codegen.cs (EmitContext.Mapvariable): Adds a mechanism to map
	local variables to fields in a proxy class.

	* iterators.cs (PopulateProxy): Rename our internal fields to
	<XXX>.
	Create a <THIS> field if we are an instance method, so we can
	reference our parent container variables.
	(MapVariable): Called back from the EmitContext code to enter a
	new variable to field mapping into the proxy class (we just create
	a FieldBuilder).

	* expression.cs
	(LocalVariableReference.{Emit,EmitAssign,AddressOf}): Add support
	for using the remapped locals to fields.

	I placed the code here, because that gives the same semantics to
	local variables, and only changes the Emit code.

	* statement.cs (Fixed.Resolve): it is not allowed to have fixed
	statements inside iterators.
	(VariableInfo): Add a FieldBuilder for the cases when we are
	remapping local variables to fields in a proxy class

	* ecore.cs (SimpleNameResolve): Avoid testing two times for
	current_block != null.

	* statement.cs (Swithc.SimpleSwitchEmit): Removed code that did
	not cope with strings, as it has been moved to the
	TableSwitchEmit.  Fixed bug in switch generation.

svn path=/trunk/mcs/; revision=14063
2003-04-28 02:31:11 +00:00
Miguel de Icaza 7be4c981f7 Forgot this file
svn path=/trunk/mcs/; revision=14062
2003-04-27 20:30:22 +00:00
Miguel de Icaza ad822fc775 update faq
svn path=/trunk/mono/; revision=14061
2003-04-27 20:29:44 +00:00
Lluis Sanchez 3dc6ac7df6 * TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
	  some channel properties.

svn path=/trunk/mcs/; revision=14060
2003-04-27 20:15:54 +00:00
Gonzalo Paniagua Javier afeee9032f 2003-04-27 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: added missing man pages.
	* mini.1: moved to mono.1
	* mono.1: moved to oldmono.1
	* oldmono.1: new file.

svn path=/trunk/mono/; revision=14059
2003-04-27 18:28:27 +00:00
Martin Baulig b50646f5c8 Reflect latest changes in the debugging API.
svn path=/trunk/mono/; revision=14055
2003-04-27 18:03:14 +00:00
Martin Baulig f853629316 2003-04-27 Martin Baulig <[email protected]>
* debug-mini.c (mono_debug_init_method): Added
	`guint32 breakpoint_id' argument; if the method has a breakpoint,
	send a notification to the debugger.

	* mini.c (mono_method_to_ir): Don't insert a breakpoint if we're
	running in the Mono Debugger, just pass the breakpoint number to
	mono_debug_init_method().

	* tramp-x86.c, tramp-ppc.c: Removed the breakpoint trampolines.

svn path=/trunk/mono/; revision=14054
2003-04-27 18:02:14 +00:00
Martin Baulig fe3768227b Removed a G_BREAKPOINT() which was just there for debugging.
svn path=/trunk/mono/; revision=14053
2003-04-27 17:58:31 +00:00
Martin Baulig 60013ad801 2003-04-27 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
	MONO_DEBUGGER_EVENT_BREAKPOINT_TRAMPOLINE to
	MONO_DEBUGGER_EVENT_BREAKPOINT.
	(mono_breakpoint_trampoline_code): Removed.
	(mono_debugger_event_handler): The last argument is now a
	`guint32'.
	(mono_debugger_insert_breakpoint_full): Removed the
	`use_trampoline' argument.
	(mono_debugger_method_has_breakpoint): Likewise.
	(mono_debugger_trampoline_breakpoint_callback): Renamed to
	mono_debugger_breakpoint_callback(); take the method and
	breakpoint number as arguments.

svn path=/trunk/mono/; revision=14052
2003-04-27 17:58:09 +00:00
Miguel de Icaza 39dc822527 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (New.DoResolve): Provide more context for the user
	when reporting an error.

svn path=/trunk/mcs/; revision=14051
2003-04-27 17:53:30 +00:00
Miguel de Icaza 15d2274306 2003-04-27 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.LoadFromPtr): Use ldind_i when loading

svn path=/trunk/mcs/; revision=14050
2003-04-27 17:47:03 +00:00
Miguel de Icaza eb9fc0f52c Fix to the make install on windows
svn path=/trunk/mcs/; revision=14049
2003-04-27 17:07:38 +00:00
Miguel de Icaza c4c56418c4 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.DoResolve): When we get a type back,
	check the permissions for it.  Note than in a type-resolution
	context the check was already present in DeclSpace.ResolveType,
	but was missing from the MemberAccess.

svn path=/trunk/mcs/; revision=14048
2003-04-27 17:04:34 +00:00
Miguel de Icaza a381714cc0 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.CheckIndices): warn if the user has
	more nested levels of expressions, but there are no more
	dimensions specified.  Avoids crash on bug 41906.

svn path=/trunk/mcs/; revision=14047
2003-04-27 16:51:50 +00:00
Malte Hildingson 0b1cf86def * tramp.c (alloc_code_buff): posix memory protection.
(mono_create_trampoline): new string marshaling + minor fixes.
(mono_create_method_pointer): delegates fix.

svn path=/trunk/mono/; revision=14046
2003-04-27 16:04:54 +00:00
Zoltan Varga 573ffe6929 Added myself.
svn path=/trunk/mono/; revision=14045
2003-04-27 15:40:26 +00:00
Sergey Chaban b56e21a388 arm-WMMX.h: initial WirelessMMX support for ARM codegen;
svn path=/trunk/mono/; revision=14044
2003-04-27 14:50:16 +00:00
Sergey Chaban a99e59f2e3 * ARM codegen update;
svn path=/trunk/mono/; revision=14043
2003-04-27 14:47:57 +00:00
Zoltan Varga a6c5ca40bc 2003-04-27 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Remove workaround for bug #41550 since it is fixed
	now.

svn path=/trunk/mcs/; revision=14042
2003-04-27 13:56:23 +00:00
Gonzalo Paniagua Javier 7cb2e5bf5a 2003-04-27 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41841.

svn path=/trunk/mcs/; revision=14041
2003-04-27 12:27:13 +00:00
Paolo Molaro d63614ec3a Shut up cvs (from [email protected] (Urs C. Muff)).
svn path=/trunk/mono/; revision=14040
2003-04-27 11:43:59 +00:00
Paolo Molaro 61d2440e5d Make the debugging output off by default.
svn path=/trunk/mono/; revision=14039
2003-04-27 11:40:11 +00:00
Paolo Molaro cc3580f40c Sun Apr 27 13:27:59 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: check for arraytypemismatch.

svn path=/trunk/mono/; revision=14038
2003-04-27 11:35:36 +00:00
Paolo Molaro 768ab9fc90 Sun Apr 27 13:18:04 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: allow some more unsafe compares.

svn path=/trunk/mono/; revision=14037
2003-04-27 11:25:46 +00:00
Gonzalo Paniagua Javier a474f3bee3 added RuntimeEnvironment.cs
svn path=/trunk/mcs/; revision=14036
2003-04-27 11:18:46 +00:00
Miguel de Icaza 60faf4618e more updates
svn path=/trunk/mono/; revision=14035
2003-04-27 08:05:04 +00:00
Miguel de Icaza 7ad93fa073 Update FAQ
svn path=/trunk/mono/; revision=14034
2003-04-27 07:38:01 +00:00
Pedro Martínez Juliá da7d9b37c4 2003-04-27 Pedro Mart�nez Juli� <[email protected]>
* XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
    source document from a file.

svn path=/trunk/mcs/; revision=14033
2003-04-27 02:24:20 +00:00
Pedro Martínez Juliá 861d194aaf 2003-04-26 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
    date formats. I think that it's needed support to auto-detect
    DateTime format through PgSql server configuration.

svn path=/trunk/mcs/; revision=14032
2003-04-26 21:06:24 +00:00
Atsushi Eno 83f150d6c5 2003-04-27 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs,
	  XmlTextReaderTests.cs : Moved many tests to CommonTests.

svn path=/trunk/mcs/; revision=14031
2003-04-26 19:08:34 +00:00
Atsushi Eno 5ffc7747ea 2003-04-27 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
	  content EntityReference correctly.
	* XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
	  HasAttributes, indexers, MoveTo*Attribute() and Read() ).
	  Modified Skip() to call Read () explicitly.
	* XmlTextReader.cs :
	  Fixed ReadInnerXml() which ignored EndElement token in certain cases.
	  Implemented MoveToAttribute (local, ns), and modified GetAttribute()
	  in relation to this change.
	  Attributes for XmlDeclaration are now correctly set.
	* XmlTextWriter.cs : WriteRaw() is now different from WriteString().
	  Simplified WriteAttributes() for XmlDeclaration.

svn path=/trunk/mcs/; revision=14030
2003-04-26 19:07:44 +00:00
Miguel de Icaza ddcfda9282 Remove team
svn path=/trunk/mono/; revision=14029
2003-04-26 18:29:36 +00:00
Paolo Molaro f8d685582b Missing from earlier commit:-/
svn path=/trunk/mono/; revision=14028
2003-04-26 17:59:24 +00:00
Gonzalo Paniagua Javier 026e61873a 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* ColorConverter.cs:
	(ConvertFrom): return a system or named color if there's one that fits
	teh values parsed with Color.FromArgb.

svn path=/trunk/mcs/; revision=14027
2003-04-26 17:46:05 +00:00
Paolo Molaro 89e982d093 Sat Apr 26 19:25:31 CEST 2003 Paolo Molaro <[email protected]>
* metadata.c: fix off by one when loading parameters attributes.

svn path=/trunk/mono/; revision=14026
2003-04-26 17:33:21 +00:00
Gonzalo Paniagua Javier b0af053a52 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs:
	(GetPropertyImpl): handle BindingFlags.IgnoreCase.

svn path=/trunk/mcs/; revision=14025
2003-04-26 16:59:05 +00:00
Paolo Molaro 38a8fb14d5 Sat Apr 26 11:55:41 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c, Makefile.am: make distcheck works (partially from
	a patch by Richard Lee <[email protected]>).
	* regset.c, regset.h: removed, they are unused.

svn path=/trunk/mono/; revision=14024
2003-04-26 10:11:17 +00:00
Miguel de Icaza e7690bd882 Small bug fix, to render better an acurrate error
svn path=/trunk/mcs/; revision=14023
2003-04-26 06:21:19 +00:00
Atsushi Eno 98dbcfda5e 2003-04-26 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
	  Depth property fix.

svn path=/trunk/mcs/; revision=14021
2003-04-26 04:32:43 +00:00
Miguel de Icaza 3fbc527fff 2003-04-26 Miguel de Icaza <[email protected]>
* statement.cs (Block): replace Implicit bool, for a generic
	flags.
	New flag: `Unchecked'.  This is used during the EmitMeta phase
	(which is out-of-line with the regular Resolve/Emit process for a
	statement, as this is done ahead of time, but still gets a chance
	to call constant resolve).

	(Block.Flags): new enum for adding a new flag.

	(Block.EmitMeta): track the state of unchecked.

	(Unchecked): Set the "UnChecked" flags on any blocks we enclose,
	to enable constant resolution to work there as well.

svn path=/trunk/mcs/; revision=14020
2003-04-26 04:27:42 +00:00
Miguel de Icaza 19882e1176 2003-04-26 Miguel de Icaza <[email protected]>
* XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
	`AllowMultiple' flags.

svn path=/trunk/mcs/; revision=14019
2003-04-26 04:26:12 +00:00
Miguel de Icaza 374d9a020d Add test
svn path=/trunk/mcs/; revision=14018
2003-04-26 04:07:17 +00:00
Alexandre Pigolkine b11b4472a0 list.unix modified
svn path=/trunk/mcs/; revision=14017
2003-04-26 03:46:01 +00:00
Alexandre Pigolkine d38ed50132 some implementation added
svn path=/trunk/mcs/; revision=14016
2003-04-26 03:44:25 +00:00
Alexandre Pigolkine 93acf0d2fb first checkin
svn path=/trunk/mcs/; revision=14015
2003-04-26 03:37:46 +00:00
Alexandre Pigolkine ac04ab2cdc first implementation
svn path=/trunk/mcs/; revision=14014
2003-04-26 03:34:52 +00:00
Alexandre Pigolkine 313f46544f first checkin
svn path=/trunk/mcs/; revision=14013
2003-04-26 03:32:37 +00:00
Alexandre Pigolkine b03d89d1ac delegate function calls to implementation
svn path=/trunk/mcs/; revision=14012
2003-04-26 03:27:49 +00:00
Alexandre Pigolkine 506d24e9d2 switch to Linux style line terminators
svn path=/trunk/mcs/; revision=14011
2003-04-26 03:08:23 +00:00
Alexandre Pigolkine 79721b9318 GC stubs for Mini, EntryPoints for Win32 API
svn path=/trunk/mcs/; revision=14010
2003-04-26 02:56:19 +00:00
Gonzalo Paniagua Javier c798aff03a 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
	([email protected]).

svn path=/trunk/mcs/; revision=14009
2003-04-26 02:09:15 +00:00
Miguel de Icaza 6fe8a9ca80 Fix the build
svn path=/trunk/mcs/; revision=14008
2003-04-26 02:02:04 +00:00
Miguel de Icaza 3ab7b5ab3c Begin
svn path=/trunk/mcs/; revision=14007
2003-04-26 01:59:49 +00:00
Miguel de Icaza 8c392f71a0 2003-04-25 Miguel de Icaza <[email protected]>
* SystemInformation.cs (ComputerName): Implement this.

svn path=/trunk/mcs/; revision=14006
2003-04-26 01:56:19 +00:00
Aleksey Ryabchuk fb6577638a * Control.cs : check if control is already in control collection, Created property,
ControlCollection.RemoveAt reimplemented using ControlCollection.Remove
	* TabControl.cs
	* TabPage.cs : some more implementation
	* win32structs.cs: TCITEMHEADER replaced with TCITEM

svn path=/trunk/mcs/; revision=14004
2003-04-25 16:19:02 +00:00
Gonzalo Paniagua Javier 9a5a136256 2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* CodeEventReferenceExpression.cs: fixed typo that prevented event
	name from being set.

svn path=/trunk/mcs/; revision=14003
2003-04-25 16:16:49 +00:00
Paolo Molaro 9585b985b4 Fixed warning.
svn path=/trunk/mono/; revision=14002
2003-04-25 15:44:51 +00:00
Paolo Molaro 1ea697d516 Add mini to the windows build, too.
svn path=/trunk/mono/; revision=14001
2003-04-25 15:12:27 +00:00
Ville Palo 0578918ed0 2003-04-25 Ville Palo <[email protected]>
* FileTest.cs: more tests..

svn path=/trunk/mcs/; revision=14000
2003-04-25 14:12:05 +00:00
Dick Porter b0f1925ac2 2003-04-25 Dick Porter <[email protected]>
* driver.c: Usage reports the name as 'mono' not 'mini'
	* exceptions-x86.c: Build and run on freebsd

svn path=/trunk/mono/; revision=13999
2003-04-25 12:07:28 +00:00
Dietmar Maurer ed5e82f2ed another test
svn path=/trunk/mono/; revision=13998
2003-04-25 08:22:09 +00:00
Dietmar Maurer 42978deb20 2003-04-25 Dietmar Maurer <[email protected]>
* BinaryReader.cs (Read): make sure the buffer is big enough (fix
	bug # 40702)

svn path=/trunk/mcs/; revision=13997
2003-04-25 07:51:23 +00:00
Atsushi Eno 551cf034be 2003-04-25 Atsushi Enomoto <[email protected]>
* added XmlReflectionImporterTests.cs : added. (by Erik)

svn path=/trunk/mcs/; revision=13996
2003-04-25 03:17:46 +00:00
Atsushi Eno 95ef9ce2ec 2003-04-25 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : added some WriteNode() related testcases.

svn path=/trunk/mcs/; revision=13995
2003-04-25 03:17:06 +00:00
Atsushi Eno 444f1401b8 2003-04-25 Atsushi Enomoto <[email protected]>
* TypeTranslator.cs : patch by Erik LeBel. Array consideration.
	* XmlReflectionImporter.cs : patch by Erik LeBel.
	  Now uses XmlRootAttribute to determine element name.

svn path=/trunk/mcs/; revision=13994
2003-04-25 03:16:32 +00:00
Atsushi Eno 5fc9c2af02 2003-04-25 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : fixed Load() to set baseURI correctly.
	* XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
	* XmlTextReader.cs :
	  fixed Depth. When it's on StartElement, Depth was already incremented.
	  fixed private SaveProperty(), which moved away its saved properties
	  when MoveToElement was called repeatedly.
	* XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
	* XmlWriter.cs :
	  WriteAttributes() refactory (for XMLDecl).
	  WriteNode() don't Read() when the reader is Initial state, let other
	  invokation to Read(). In case of Element, it should write entire
	  element. In case of Attribute, it shouldn't Read().
	  WriteStartDocument() should omit standalone decl. when there is no
	  explicit value.

svn path=/trunk/mcs/; revision=13993
2003-04-25 03:15:33 +00:00
Miguel de Icaza 2f0fca000f Add another test
svn path=/trunk/mcs/; revision=13992
2003-04-25 01:22:41 +00:00
Miguel de Icaza ec8381a1b9 Support for iterators, part 1. The only missing functionality is the
remapping of parameters and local variables to proxy values.  I have a
kludge, but will soon have the right thing.

Also a few bugs fixes that I did while implementing iterators.

To use iterators, you need to pass -v2 to the compiler

2003-04-22  Miguel de Icaza  <[email protected]>

	* typemanager.cs (ienumerable_type): Also look up
	System.Collections.IEnumerable.

2003-04-21  Miguel de Icaza  <[email protected]>

	TODO: Test more than one conditional per method.

	* class.cs (Indexer.Define): Report the location where the user is
	referencing the unsupported feature.

	(MethodData): Overload the use of `conditionals' to
	minimize the creation of needless ArrayLists.   This saves roughly
	212kb on my machine.

	(Method): Implement the new IIteratorContainer interface.
	(Method.SetYields): Implement the method by setting the ModFlags
	to contain METHOD_YIELDS.

	* expression.cs (Unary.ResolveOperator): Use expr_type, not Expr,
	which just got set to null.

	* iterators.cs: New file.

	(Yield, YieldBreak): New statements.

	* statement.cs (Return.Resolve): Flag an error if we are used in
	an iterator method.

	* codegen.cs (InIterator): New flag set if the code is being
	compiled in an iterator method.

	* modifiers.cs: New flag METHOD_YIELDS.  This modifier is an
	internal modifier, and we just use it to avoid adding extra
	fields, as this is seldom used.

	* cs-parser.jay: Add yield_statement (yield and yield break).

	* driver.cs: New flag -v2 to turn on version 2 features.

	* cs-tokenizer.cs (Tokenizer): Add yield and __yield to the
	hashtable when v2 is enabled.

svn path=/trunk/mcs/; revision=13991
2003-04-25 01:21:59 +00:00
Pedro Martínez Juliá a76707a721 2003-04-25 Pedro Mart�nez Juli� <[email protected]>
* SqlEditorSharp.cs: Change: Glib -> GLib.

    * sqlsharpgtk.cs: Correct method calls because they
    changed in GTK#.

    * makefile.gnu: Reference gdk-sharp in assembly list.

    * FileSelectionDialog.cs: Update method calls (GTK#).

    * DataGrid.cs: Fix a type of a variable.

svn path=/trunk/mcs/; revision=13990
2003-04-25 00:54:43 +00:00
Alp Toker b1ded6515f 2003-04-25 Alp Toker <[email protected]>
* Initial release of cilc

svn path=/trunk/mcs/; revision=13989
2003-04-25 00:02:48 +00:00
Gonzalo Paniagua Javier 9ea1da42e8 2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs:
	(QuoteSnippetString): add a few common escape sequences.

	* System.CodeDom.Compiler/CodeGenerator.cs:
	(GenerateCodePrimitive): special case strings and chars (bool was
	already a special case). Throw an exception if the type is not a
	primitive type.

svn path=/trunk/mcs/; revision=13987
2003-04-24 23:01:27 +00:00
Miguel de Icaza 6419036c57 2003-04-24 Miguel de Icaza <[email protected]>
* WebClient.cs (DownloadData): Instead of using a MemoryStream,
	keep track of all the small chunks in an ArrayList.  The
	MemoryStream had the property of reallocating itself, and the
	problem was that MemoryStream.GetBuffer would return the buffer
	(correctly), but not something of the right size.  So clients of
	DownloadData would get the extra unused bytes as part of the
	result.

	The solution would have been to make another copy at this point,
	instead, we only keep the small allocations around in the
	ArrayList, and we only do one large allocation at the end.

	* HttpWebResponse.cs: If there is a Content-Length header, pass
	this information to our HttpWebResponseStream, so it knows when to
	stop, instead of waiting for the stream to be shut down by the
	other end.

	* HttpWebRequest.cs: Only set the `delay-header-writing' mode on
	the underlying stream if the method will do a content transfer and
	no Content-Length was provided. If not (HEAD and GET or
	Content-Length provided), keep going.

svn path=/trunk/mcs/; revision=13986
2003-04-24 22:50:29 +00:00
Ville Palo 19142165d3 2003-04-24 Ville Palo <[email protected]>
* FileTest.cs: Fixed tests and added some.

svn path=/trunk/mcs/; revision=13983
2003-04-24 18:28:44 +00:00
Piers Haken fa21e422a0 gzip errors.txt
svn path=/trunk/mcs/; revision=13982
2003-04-24 18:18:04 +00:00
Paolo Molaro 71c6498f87 Fix compilation.
svn path=/trunk/mcs/; revision=13980
2003-04-24 17:12:47 +00:00
Aleksey Ryabchuk bf2cfd5f08 * Control.cs: change to CreateControlInstance function
* Panel.cs:   use base CreateParams
	* TabControl.cs
	* TabPage : started implementing
	* win32Enums.cs
	* win32Structs.cs
	* win32functions.cs : messages, styles for TabControl

svn path=/trunk/mcs/; revision=13979
2003-04-24 16:28:54 +00:00
Pedro Martínez Juliá 1097060b18 2003-04-24 Pedro Martnez Juli <[email protected]>
* BufferedStream.cs: Test if it's possible to seek in a Stream
    before access to Position. This prevents the exception thrown when
    the stream is System.Net.Sockets.NetworkStream.

svn path=/trunk/mcs/; revision=13978
2003-04-24 16:26:16 +00:00
Paolo Molaro 1fdd7279f9 Thu Apr 24 17:11:03 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: rename mono and libmono to oldmono and liboldmono.

svn path=/trunk/mono/; revision=13977
2003-04-24 15:18:47 +00:00
Paolo Molaro 5433324ae9 Thu Apr 24 17:09:03 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: install the program with the 'mono' name and
	the library as libmono instead of mini and libmini.

svn path=/trunk/mono/; revision=13976
2003-04-24 15:17:40 +00:00
Paolo Molaro 09dcfa9654 Thu Apr 24 17:08:07 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: provide the APIs for the embedding interface of the old jit.

svn path=/trunk/mono/; revision=13975
2003-04-24 15:15:42 +00:00
Martin Baulig 46672b06f2 Ooops, increment symfile->generation here.
svn path=/trunk/mono/; revision=13968
2003-04-24 10:44:45 +00:00
Martin Baulig 19b1329c9d 2003-04-24 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_io_layer): Put this back.

svn path=/trunk/mono/; revision=13965
2003-04-24 09:59:47 +00:00
Dietmar Maurer e495e77b14 2003-04-23 Dietmar Maurer <[email protected]>
* jit-icalls.c (helper_stelem_ref): impl. (fix bug 41775)

svn path=/trunk/mono/; revision=13963
2003-04-24 09:16:28 +00:00
Martin Baulig 311f42e5bb 2003-04-24 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Moved all code which interacts with the
	Mono Debugger here.

	* debug-mono-symfile.c: This code now just deals with the symbol
	file itself, the debugger code is now in mono-debug-debugger.c.

svn path=/trunk/mono/; revision=13962
2003-04-24 08:00:17 +00:00
Gonzalo Paniagua Javier 56a046cb27 It's official: I gotta sleep
svn path=/trunk/mcs/; revision=13961
2003-04-24 06:42:42 +00:00
Gonzalo Paniagua Javier fd6f5a46b5 2003-04-24 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: implemented
	GenerateSnippetMember and some little fixes.

	* System.CodeDom/CodeMemberProperty.cs: fixed HasGet and HasSet to
	actually generate code for the property.

	* System.CodeDom.Compiler/CodeGenerator.cs: more fixes and sorted the
	output.

	* System.CodeDom.Compiler/IndentedTextWriter.cs: don't output tabs in
	WriteLine ().

svn path=/trunk/mcs/; revision=13960
2003-04-24 06:32:22 +00:00
César Natarén ff1fba34dd Added photo.
svn path=/trunk/mono/; revision=13959
2003-04-24 03:33:59 +00:00
Sebastien Pouliot 838adda109 2003-04-23 Sebastien Pouliot <[email protected]>
* PublisherTest.cs: Updated to NUnit2 style.
	* PublisherMembershipConditionTest.cs: Updated to NUnit2 style.
	* StrongNameTest.cs: Updated to NUnit2 style.

svn path=/trunk/mcs/; revision=13958
2003-04-24 03:28:43 +00:00
Sebastien Pouliot 0b078308e8 2003-04-23 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed issues for null certificate
	(special case where object exists without any certificate)
	which made PublisherTest fails.

svn path=/trunk/mcs/; revision=13957
2003-04-24 03:03:39 +00:00
Miguel de Icaza 57fc826262 2003-04-23 Miguel de Icaza <[email protected]>
* HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
	the ContentLength specified on the request.  If that happens, we
	have to accumulate all the data written, and once we accumulate
	the data, we send it off.

	Notice that the documentation in .NET is actually incorrect, they
	state that setting ContentLength is mandatory.  It is not.

svn path=/trunk/mcs/; revision=13956
2003-04-24 02:02:05 +00:00
Alexandre Pigolkine fff6857aaa new painting code, BackColor logic, ControlStyles
svn path=/trunk/mcs/; revision=13955
2003-04-24 00:08:24 +00:00
Sebastien Pouliot 1d59246b37 2003-04-23 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed GetHashCode for null certificate
	(special case where object exists without any certificate)
	which made PublisherTest fails.

svn path=/trunk/mcs/; revision=13954
2003-04-24 00:01:42 +00:00
Miguel de Icaza 0eed5bae7d Add MIT X11 LICENSE to the class dir
svn path=/trunk/mcs/; revision=13946
2003-04-23 20:34:30 +00:00
Martin Baulig 4d0c758ae5 Don't call mono_debug_update(), it's not needed.
svn path=/trunk/mono/; revision=13944
2003-04-23 17:17:20 +00:00
Martin Baulig 0adff78bdf 2003-04-23 Martin Baulig <[email protected]>
* interp.c: When running with --dieonex, use the debugging code to
	print source lines in the backtrace.

svn path=/trunk/mono/; revision=13942
2003-04-23 16:52:01 +00:00
Martin Baulig 39fff62408 2003-04-23 Martin Baulig <[email protected]>
* mono-debug.c (mono_debug_source_location_from_il_offset):
	New method; like mono_debug_source_location_from_address(), but
	takes an IL offset instead of a machine address.

svn path=/trunk/mono/; revision=13941
2003-04-23 16:50:36 +00:00
Martin Baulig cf42e5090b Actually enable the debugging stuff.
svn path=/trunk/mono/; revision=13940
2003-04-23 16:38:16 +00:00
Martin Baulig 89e5f09ff1 Check whether debugging is actually enabled.
svn path=/trunk/mono/; revision=13939
2003-04-23 16:38:02 +00:00
Martin Baulig 466b2f274f Don't crash if debugging is disabled.
svn path=/trunk/mono/; revision=13938
2003-04-23 16:37:42 +00:00
Martin Baulig 9cfecba269 2003-04-23 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoDebugLineNumberEntry): Removed the
	`line' field; this is now computed by the debugger.

svn path=/trunk/mono/; revision=13935
2003-04-23 15:34:59 +00:00
Martin Baulig d4902ab7c7 Added a comment.
svn path=/trunk/mono/; revision=13934
2003-04-23 15:29:19 +00:00
Martin Baulig 63b9585e95 debug.h doesn't exist anymore.
svn path=/trunk/mono/; revision=13933
2003-04-23 15:27:08 +00:00
Martin Baulig 45a6f2679f Added some API documentation.
svn path=/trunk/mono/; revision=13932
2003-04-23 15:25:51 +00:00
Martin Baulig f6ed813205 2003-04-23 Martin Baulig <[email protected]>
* tramp-x86.c, tramp-ppc.c: Reenable the debugger breakpoint interface.

	* driver.c: Added `--debug' command line argument to enable
	debugging support.

svn path=/trunk/mono/; revision=13930
2003-04-23 15:02:13 +00:00
Martin Baulig 5183fc3d4a 2003-04-23 Martin Baulig <[email protected]>
* debug.[ch]: Removed.  The code is now in
	../metadata/mono-debug.[ch] and mono-debug-debugger.[ch].

	* debug-stabs.c, debug-dwarf2.c: Removed; nobody used this for the
	last six months.

svn path=/trunk/mono/; revision=13929
2003-04-23 14:58:51 +00:00
Martin Baulig 7a95685e8f 2003-04-23 Martin Baulig <[email protected]>
* mono.c: The `--debug' command line argument doesn't take any
	arguments anymore, removed the `--debug-args' argument.

svn path=/trunk/mono/; revision=13928
2003-04-23 14:57:20 +00:00
Martin Baulig c8bccc1178 Reflect latest API changes.
svn path=/trunk/mono/; revision=13927
2003-04-23 14:56:02 +00:00
Martin Baulig f3b6ef91a5 mono_debug_make_symbols() is now known as mono_debug_update().
svn path=/trunk/mono/; revision=13926
2003-04-23 14:55:00 +00:00
Martin Baulig 94e99554ee This was just an ugly hack for the debugger; removed it.
svn path=/trunk/mono/; revision=13925
2003-04-23 14:54:26 +00:00
Martin Baulig d695c5db93 2003-04-23 Martin Baulig <[email protected]>
* debug-jit.c (mono_debug_add_method): Renamed this to
	mono_debug_jit_add_method(); create the JIT-specific data
	structure and pass it to mono_debug_add_method().

svn path=/trunk/mono/; revision=13924
2003-04-23 14:53:21 +00:00
Martin Baulig 40f688aae7 2003-04-23 Martin Baulig <[email protected]>
* debug.[ch]: Removed.  The code is now in
	../metadata/mono-debug.[ch] and mono-debug-debugger.[ch].

	* debug-stabs.c, debug-dwarf2.c: Removed; nobody used this for the
	last six months.

svn path=/trunk/mono/; revision=13923
2003-04-23 14:51:26 +00:00
Martin Baulig 4ed6f96303 2003-04-23 Martin Baulig <[email protected]>
* mono-debug.[ch]: New files.  This is the new debugging interface.

	* mono-debug-debugger.[ch]: New files.  Moved all code which
	interacts with the Mono Debugger here.

svn path=/trunk/mono/; revision=13922
2003-04-23 14:48:28 +00:00
Gonzalo Paniagua Javier 2d82e07cc0 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: beautified conditional
	statements. Implemented GenerateConstructor and GenerateTypeConstructor.

	* System.CodeDom.Compiler/CodeGenerator.cs:
	(GenerateCompileUnitStart):
	(GenerateCompileUnitEnd): removed debug output.
	(GeneratePrimitiveExpression): handle null and bool as special cases.
	(GenerateType): added type constructor and constructor calls.

svn path=/trunk/mcs/; revision=13921
2003-04-23 14:28:32 +00:00
Aleksey Ryabchuk b2a68da589 * Application.cs : new internal functions enterModalLoop, exitModalLoop
* Button.cs : changes in DialogResult and OnClick
	* Control.cs : new internal getOwnerWindow method, recreate child windows in RecreateHandle as well
	* form.cs : implementation of modal forms
	* win32enums.cs :  constants for GetWindow function
	* win32functions.cs : GetWindow , IsDialogMessage added

svn path=/trunk/mcs/; revision=13920
2003-04-23 10:55:47 +00:00
Gonzalo Paniagua Javier 39773c5884 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* XmlReader.cs: reverted last patch. It breaks System.Configuration
	because 1. it considers XmlDeclaration as content and 2. always
	returns XmlNodeType.None.

svn path=/trunk/mcs/; revision=13919
2003-04-23 09:32:29 +00:00
Alp Toker 48708a3d87 2003-04-23 Alp Toker <[email protected]>
* PrimalityTests.cs: Mark PrimalityTest as non-CLS-compliant (build fix)

svn path=/trunk/mcs/; revision=13918
2003-04-23 06:05:00 +00:00
Nick Drochak 64e5a8b8de 2003-04-23 Nick Drochak <[email protected]>
* ArrayTest.cs: Disambiguate overloads now in .NET 1.1.

svn path=/trunk/mcs/; revision=13917
2003-04-23 04:34:56 +00:00
Sebastien Pouliot 5997f8df88 2003-04-22 Sebastien Pouliot <[email protected]>
* corlib_test.build: Excluded Mono.Math unit tests (as the class
	isn't available under MS implementation).
	* corlib_linux_test.args: Added all Mono.Math unit test files.
	* corlib_test.args: Added all Mono.Math unit test files.

svn path=/trunk/mcs/; revision=13916
2003-04-23 02:01:47 +00:00
Sebastien Pouliot acbb40ff83 *** empty log message ***
svn path=/trunk/mcs/; revision=13915
2003-04-23 01:49:06 +00:00
Sebastien Pouliot 3eeb96704f 2003-04-22 Sebastien Pouliot <[email protected]>
* ArithmeticBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* BigIntegerSetTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* BitwiseTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* GcdBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* ModInverseBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* ModRingTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* PrimeGenerationTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* PrimeTestingTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* SearchGeneratorTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13914
2003-04-23 01:48:23 +00:00
Sebastien Pouliot 79e958e986 2003-04-22 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Changed key generation to use the
	new BigInteger class (commited for Ben Maurer).
	* RSACryptoServiceProvider.cs: Changed key generation to use the
	new BigInteger class (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13913
2003-04-23 01:46:32 +00:00
Sebastien Pouliot 7ddeb0cdf3 2003-04-22 Sebastien Pouliot <[email protected]>
* BigInteger.cs: New, much faster, version by Ben Maurer.
	Warning: this version requires "unsafe" compilation switch
	(which isn't a problem in corlib but may be elsewhere)

svn path=/trunk/mcs/; revision=13912
2003-04-23 01:45:50 +00:00
Sebastien Pouliot 4e17051a48 2003-04-22 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: New. Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).
	* PrimeGeneratorBase.cs: New. Abstract Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).
	* SequentialSearchPrimeGeneratorBase.cs: New. Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13911
2003-04-23 01:45:14 +00:00
Sebastien Pouliot 32963fd52a 2003-04-22 Sebastien Pouliot <[email protected]>
* ConfidenceFactor.cs: New. Enum for prime quality.
	Support for BigInteger (commited for Ben Maurer).
	* PrimalityTests.cs: New. Tests for primality.
	Support for BigInteger (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13910
2003-04-23 01:44:13 +00:00
Miguel de Icaza 740977aa4c Revert
svn path=/trunk/mcs/; revision=13909
2003-04-22 22:10:48 +00:00
Miguel de Icaza c5b8c54887 Oops, do not override
svn path=/trunk/mcs/; revision=13908
2003-04-22 22:10:09 +00:00
Miguel de Icaza 578d0b0d85 More backup
svn path=/trunk/mcs/; revision=13907
2003-04-22 22:08:32 +00:00
Miguel de Icaza b427c40024 Add version 2 tests
svn path=/trunk/mcs/; revision=13906
2003-04-22 21:33:10 +00:00
Miguel de Icaza 176b8768a9 Archive these files from my generics tree
svn path=/trunk/mcs/; revision=13905
2003-04-22 21:30:45 +00:00
Jonathan Pryor 19f6f0523c Added new question: Why not implement SWF on top of Gtk+?
svn path=/trunk/mono/; revision=13904
2003-04-22 20:20:29 +00:00
Ville Palo df627302b0 2003-04-22 Ville Palo <[email protected]>
* Directory.cs: clean up --> performance improvment. Some exceptions
	are now checked in File.cs.
	* File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.

svn path=/trunk/mcs/; revision=13903
2003-04-22 18:41:46 +00:00
Pedro Martínez Juliá e3d2afd1d8 2003-04-22 Pedro Mart�nez Juli� <[email protected]>
* NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
    CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).

2003-04-22  Pedro Mart�nez Juli�  <[email protected]>

    * FloatingPointFormatter.cs: Little fixes for get the same results
    as MS.NET and show a message when something goes wrong with the
    parser of Custom Formats.

svn path=/trunk/mcs/; revision=13902
2003-04-22 18:11:43 +00:00
Atsushi Eno ae5864eff3 2003-04-23 Atsushi Enomoto <[email protected]>
* Added missing ChangeLog of 4/4/2003.
	* XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
	  (write prefix instead of ns.)
	* XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
	* XmlTextReader.cs : modified to call Read() instead of ReadContent().
	  (It may be required for decorated reader such as XmlValidatingReader.)
	  Changed Read() error message for mismatch end tag.
	* XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
	* XmlReader.cs : Corrected misinterpreted MoveToContent() method.

svn path=/trunk/mcs/; revision=13901
2003-04-22 17:55:29 +00:00
Ville Palo d7094817af 2003-04-22 Ville Palo <[email protected]>
* FileTest.cs: More tests.

svn path=/trunk/mcs/; revision=13900
2003-04-22 17:38:40 +00:00
Miguel de Icaza 0099401d45 Work around for MCS bug: #41607
svn path=/trunk/mcs/; revision=13898
2003-04-22 16:21:43 +00:00
Dietmar Maurer 2e93cf4dfa 2003-04-22 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): set the cil_code address (fix bug 41525)

svn path=/trunk/mono/; revision=13896
2003-04-22 15:09:24 +00:00
Lluis Sanchez 90e1004acd no message
svn path=/trunk/mono/; revision=13895
2003-04-22 14:44:28 +00:00
Nick Drochak 40a1a4284c Flush
svn path=/trunk/mcs/; revision=13894
2003-04-22 14:34:09 +00:00
Nick Drochak 1a7e08b05a 2003-04-22 Nick Drochak <[email protected]>
* Double.cs (ToString):
	* Single.cs (ToString): Handle case where param is a CultureInfo.

svn path=/trunk/mcs/; revision=13893
2003-04-22 14:32:55 +00:00
Dietmar Maurer c41fd03f8b 2003-04-22 Dietmar Maurer <[email protected]>
* domain.c (mono_init): initialize mono_defaults.monitor_class

svn path=/trunk/mono/; revision=13892
2003-04-22 13:47:45 +00:00
Aleksey Ryabchuk 4896b7ef2f * Control.cs : implementation of docking
* Form.cs    : small changes regarding resizing of MDI client window
	* StatusBar.cs : update parts on Layout event, new style to prevent resizing be the system

svn path=/trunk/mcs/; revision=13888
2003-04-22 11:06:42 +00:00
Gaurav Vaish d6475cb8db 2003-04-22 Gaurav Vaish <[email protected]>
* team.xml - Not a nerd, yet!

svn path=/trunk/mono/; revision=13885
2003-04-22 07:09:02 +00:00
Miguel de Icaza 2fb4170a2a update
svn path=/trunk/mono/; revision=13884
2003-04-22 06:57:03 +00:00
Miguel de Icaza 8bff73e5bc update man page
svn path=/trunk/mono/; revision=13883
2003-04-22 05:26:15 +00:00
Miguel de Icaza 9f5e946243 Add IExpando interface
svn path=/trunk/mcs/; revision=13882
2003-04-22 05:22:35 +00:00
Miguel de Icaza 897e002231 More error loving
svn path=/trunk/mcs/; revision=13881
2003-04-22 05:17:45 +00:00
César Natarén e8c7f9ff50 ChangeLog entry, and makefile.gnu little fixes.
svn path=/trunk/mcs/; revision=13880
2003-04-22 05:13:27 +00:00
César Natarén 28221a264a Added/Committed the files for antlr.debug.misc.
svn path=/trunk/mcs/; revision=13879
2003-04-22 05:06:54 +00:00
César Natarén a200b9de38 Added files from directory antlr.debug. See ChangeLog entry from April 21.
svn path=/trunk/mcs/; revision=13878
2003-04-22 05:04:03 +00:00
César Natarén 6f81b6ebc9 Added/Commited antlr.collections.impl
svn path=/trunk/mcs/; revision=13877
2003-04-22 05:01:35 +00:00
Miguel de Icaza ace8a6524d Another error
svn path=/trunk/mcs/; revision=13876
2003-04-22 05:00:58 +00:00
Miguel de Icaza 474a22db35 Add another
svn path=/trunk/mcs/; revision=13875
2003-04-22 04:59:17 +00:00
César Natarén a12efbc26e Added Antlr.Runtime/antlr.collections and Antlr.Runtime/antlr.collections/AST.cs.
svn path=/trunk/mcs/; revision=13874
2003-04-22 04:59:15 +00:00
César Natarén 1c571dfe5d Added Antlr.Runtime/antlr, needed for compiling the files generated by antlr compiler/compiler.
svn path=/trunk/mcs/; revision=13873
2003-04-22 04:56:13 +00:00
Miguel de Icaza 99de138a5a 2003-04-21 Miguel de Icaza <[email protected]>
* reflection.c (method_encode_code): Add a spicy exception to help
	future compiler authors.

svn path=/trunk/mono/; revision=13872
2003-04-22 01:56:04 +00:00
Sebastien Pouliot 1bdbed3f21 2003-04-21 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Fixed DateTime issue by setting
	CultureInfo to "". Thanks Nick!

svn path=/trunk/mcs/; revision=13871
2003-04-22 01:27:44 +00:00
Rafael Teixeira d3c2244f89 Lots of stubs from Peter Van Isacker, that I'd started to flesh in - compilable
svn path=/trunk/mcs/; revision=13870
2003-04-22 00:53:47 +00:00
Gonzalo Paniagua Javier 0911729c1a 2003-04-22 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: patch from [email protected] (Bernie Solomon)
	that fixes bug #41684.

svn path=/trunk/mcs/; revision=13869
2003-04-22 00:19:52 +00:00
Martin Baulig f4508e132a 2003-04-21 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
	Make this work with relative pathnames; g_filename_to_uri() needs
	an absolute filename.

svn path=/trunk/mono/; revision=13867
2003-04-21 21:58:49 +00:00
Martin Baulig 969819a737 Copied them over again from ../jit/.
svn path=/trunk/mono/; revision=13865
2003-04-21 21:15:46 +00:00
Martin Baulig 1aff70f197 2003-04-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): Splitted into mono_debug_init() and
	mono_debug_init_2().
	(mono_debug_open_image): Don't open referenced assemblies; this is
	done automatically by the code in assembly.c.

	* mono.c (main_thread_handler): Call mono_debug_init() before
	opening the assembly because we need to install the assembly load
	hook before doing so.

svn path=/trunk/mono/; revision=13864
2003-04-21 21:14:43 +00:00
Miguel de Icaza 5617f7acd3 More updates
svn path=/trunk/mono/; revision=13862
2003-04-21 19:22:14 +00:00
Ville Palo c87c8e8b14 2003-04-21 Ville Palo <[email protected]>
* Directory.cs: lots of fixes.
	  - Added GetXXXtimeUtc () (v1.1) methods.
	  - Added SetXXXtimeUtc () (v1.1) methods.

svn path=/trunk/mcs/; revision=13861
2003-04-21 19:20:47 +00:00
Ville Palo 547eb6120f 2003-04-21 Ville Palo <[email protected]>
* DirectoryTest.cs: lots of new tests. and some fixes and clean ups

svn path=/trunk/mcs/; revision=13859
2003-04-21 19:14:00 +00:00
Miguel de Icaza b803c7a8b8 Flush
svn path=/trunk/mono/; revision=13858
2003-04-21 19:02:16 +00:00
Miguel de Icaza e63eb68286 Sigh
svn path=/trunk/mcs/; revision=13857
2003-04-21 18:52:22 +00:00
Jaime Anguiano Olarra 99532b2d4a Yes. Here I am.
svn path=/trunk/mono/; revision=13856
2003-04-21 18:08:54 +00:00
Nick Drochak f7fa6d289f 003-04-20 Nick Drochak <[email protected]>
* Remove nunit version 1

svn path=/trunk/mcs/; revision=13845
2003-04-21 13:35:38 +00:00
Nick Drochak 38be1c6f5f 2003-04-15 Nick Drochak <[email protected]>
* Remove nunit version 1

svn path=/trunk/mcs/; revision=13844
2003-04-21 13:30:25 +00:00
Ville Palo b863c13b78 2003-04-21 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/DirectoryTest.cs
	* corlib_test.args: added System.IO/DirectoryTest.cs

svn path=/trunk/mcs/; revision=13843
2003-04-21 12:06:56 +00:00
V Kaluzhny 91119a9dc1 Kaluzhny: CompanyName, CurrentCulture, ExecutablePath, ProductName, ProductVersion properties
svn path=/trunk/mcs/; revision=13842
2003-04-21 06:48:50 +00:00
V Kaluzhny a70162c75f Kaluzhny: add myself to the contributors
svn path=/trunk/mono/; revision=13841
2003-04-21 06:16:44 +00:00
Miguel de Icaza c3d9e2920e Add new error
svn path=/trunk/mcs/; revision=13840
2003-04-21 06:16:36 +00:00
Miguel de Icaza f60bb6f671 2003-04-20 Miguel de Icaza <[email protected]>
* typemanager.cs (TypeManager.NamespaceClash): Use to check if
	there is already a namespace defined with this name.

	(TypeManager.InitCoreTypes): Remove the temporary workaround, as
	people upgraded their corlibs.

	(TypeManager.CoreLookupType): Use LookupTypeDirect, as we
	always use fully qualified types, no need to use the compiler
	front end.

	(TypeManager.IsNamespace): Use binarysearch.

	* class.cs (AddClass, AddStruct, AddInterface, AddEvent,
	AddDelegate): I did not quite use the new IsValid API properly: I
	have to pass the short-name and the fullname.  I was passing only
	the basename instead of the fullname sometimes.

	(TypeContainer.DefineType): call NamespaceClash.

	* interface.cs (Interface.DefineType): use NamespaceClash before
	defining the type.

	* delegate.cs (Delegate.DefineType): use NamespaceClash before
	defining the type.

	* enum.cs: (Enum.DefineType): use NamespaceClash before
	defining the type.

svn path=/trunk/mcs/; revision=13839
2003-04-21 00:55:11 +00:00
César Natarén 9999e81a2b Added ChangeLog
svn path=/trunk/mcs/; revision=13838
2003-04-21 00:42:45 +00:00
Sebastien Pouliot 90b478b859 picture added
svn path=/trunk/mono/; revision=13837
2003-04-21 00:40:12 +00:00
Sebastien Pouliot c4db3b3643 *** empty log message ***
svn path=/trunk/mono/; revision=13836
2003-04-21 00:38:52 +00:00
César Natarén 54c0060f81 Added the files: makefile.gnu and unix.args.
svn path=/trunk/mcs/; revision=13835
2003-04-21 00:38:44 +00:00
César Natarén 951b6034bc Made some changes to get closer to Microsoft.JScript public API and for the building process. See ChangeLog entries from April's 19 and 20.
svn path=/trunk/mcs/; revision=13834
2003-04-20 23:10:59 +00:00
Miguel de Icaza a1b6fa9f75 Add new error: namespace clashes
svn path=/trunk/mcs/; revision=13833
2003-04-20 22:36:57 +00:00
Miguel de Icaza 6b4897725b 2003-04-20 Miguel de Icaza <[email protected]>
* ILGenerator.cs (EmitCall): Implement.

	Flag a few unimplemented methods with MonoTODO, make coding style
	for method definitions Mono consistent.

svn path=/trunk/mcs/; revision=13832
2003-04-20 20:57:47 +00:00
Miguel de Icaza 098b548d8a 2003-04-20 Miguel de Icaza <[email protected]>
* StringReaderTest.cs: Update test to include read-past-the-end

svn path=/trunk/mcs/; revision=13831
2003-04-20 20:32:27 +00:00
Miguel de Icaza 48bc1af95e 2003-04-20 Igor Nosyryev <[email protected]>
* StringReader.cs (Read): Increment nextChar by charsToRead
	instead of count, that will guarantee that the next time the
	method is called, it will return 0 on an empty string rather than
	throwing an exception

svn path=/trunk/mcs/; revision=13830
2003-04-20 20:25:57 +00:00
Alan Tam de96f3b8b7 2003-04-20 Alan Tam <[email protected]>
* DataRelationCollection.cs: Fix a bug that prevent relations
        from being added via DataSet.

svn path=/trunk/mcs/; revision=13826
2003-04-20 17:56:54 +00:00
Gonzalo Paniagua Javier 817687daa6 Added 3 new files
svn path=/trunk/mcs/; revision=13825
2003-04-20 17:00:30 +00:00
Gonzalo Paniagua Javier f5e116b15c 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: line and fileName are protected now.

	* CodeBuilder.cs: base class for the next 2 files.
	* CodeRenderBuilder.cs: builder for code render.
	* DataBindingBuilder.cs: builder for data binding.

svn path=/trunk/mcs/; revision=13824
2003-04-20 16:59:53 +00:00
Gonzalo Paniagua Javier 139868e0c8 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* list: sorted, added a couple of missing files and 3 new ones.
	* System.Web.Compilation/AspComponentFoundry.cs: added GetComponentType
	method.
	* System.Web.UI/ITagNameToTypeMapper.cs: made it internal.

	* System.Web.UI/ObjectTagBuilder.cs: builder for
	<object runat="server"> tag.
	* System.Web.UI/ObjectTag.cs:
	* System.Web.UI/RootBuilder.cs: initial builder.

svn path=/trunk/mcs/; revision=13823
2003-04-20 15:25:58 +00:00
Ville Palo 498d86ed5e 2003-04-20 Ville Palo <[email protected]>
* DirectoryTest.cs: new file

svn path=/trunk/mcs/; revision=13822
2003-04-20 15:05:49 +00:00
Jackson Harper 9dcf8b59fb "oops forgot to commit"
svn path=/trunk/mcs/; revision=13821
2003-04-20 09:10:58 +00:00
Jackson Harper 06d8ca1ad7 * makefile: Add DataDef to build
* makefile.gnu: Add DataDef to build

svn path=/trunk/mcs/; revision=13820
2003-04-20 09:10:08 +00:00
Jackson Harper 1908653a50 * ILParser.jay: Define data, fix repeat_opt allways being set.
svn path=/trunk/mcs/; revision=13819
2003-04-20 09:08:49 +00:00
Jackson Harper b693bf29f4 * CodeGen.cs: Add method to add data
* FieldDef.cs: Add method to set a fields value
	* TypeDef.cs: Add method to add data
	* DataDef.cs: New file - Definition of a data constant

svn path=/trunk/mcs/; revision=13818
2003-04-20 09:05:29 +00:00
Miguel de Icaza 244c4415f5 2003-04-20 Miguel de Icaza <[email protected]>
* typemanager.cs (: 3-line patch that gives us some tasty 11%
	speed increase.  First, use the negative_hits cache when we get a
	negative.  Second, add the type with its full original name
	instead of the new . and + encoded name (reflection uses + to
	separate type from a nested type).  Use LookupTypeReflection
	directly which bypasses the type->name hashtable (that we already
	know does not contain the type.

	* decl.cs (DeclSpace.ResolveTypeExpr): track the
	location/container type.

	* driver.cs: When passing utf8, use directly the UTF8Encoding.

svn path=/trunk/mcs/; revision=13817
2003-04-20 05:22:49 +00:00
Miguel de Icaza 870294c019 2003-04-20 Miguel de Icaza <[email protected]>
* driver.cs: Use CodePage not WindowsCodePage.

svn path=/trunk/mcs/; revision=13816
2003-04-20 04:35:53 +00:00
Miguel de Icaza 6a21212aa7 Flush
svn path=/trunk/mono/; revision=13809
2003-04-19 21:24:51 +00:00
Miguel de Icaza c5118cc145 2003-04-19 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.Resolve): Test whether an instance
	method is being referenced in the method group from a static
	context, and report error 120 if so.

svn path=/trunk/mcs/; revision=13808
2003-04-19 21:18:35 +00:00
Ben Maurer e1a749dce7 Ok, it seem that the last patch did not fix everything. This one should
Before, if there was a one-line block (such as in if (x) do_something;) and a non-one-line block after, the statement of the second block would be removed, and its bracket put on the first statement.

svn path=/trunk/mcs/; revision=13807
2003-04-19 21:17:33 +00:00
César Natarén b8cc1c6720 Added some classes from the public API of Microsoft.JScript.
svn path=/trunk/mcs/; revision=13806
2003-04-19 20:10:13 +00:00
Miguel de Icaza 169bd3302b 2003-04-19 Miguel de Icaza <[email protected]>
* typemanager.cs: Add intermediate namespaces (if a namespace A.B
	is created, we create the A namespace).

svn path=/trunk/mcs/; revision=13805
2003-04-19 20:03:07 +00:00
Miguel de Icaza 1ef43d21e8 2003-04-19 Miguel de Icaza <[email protected]>
* cs-parser.jay: A namespace also introduces a DeclarationFound.
	Fixes #41591

svn path=/trunk/mcs/; revision=13804
2003-04-19 19:47:21 +00:00
Ben Maurer 48fabe053a Made monostyle.cs able to run on itself.
svn path=/trunk/mcs/; revision=13803
2003-04-19 19:39:12 +00:00
Miguel de Icaza 0e7d559312 add relaxng validating reader
svn path=/trunk/mono/; revision=13802
2003-04-19 19:24:57 +00:00
Miguel de Icaza 17e3776188 update docs
svn path=/trunk/mono/; revision=13801
2003-04-19 17:40:06 +00:00
Zoltan Varga fbcb9178f4 2003-04-19 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Enable the last changes again since they no
	longer break the corlib_cmp build.

svn path=/trunk/mcs/; revision=13800
2003-04-19 08:56:01 +00:00
Jackson Harper 48ccb93d74 * FieldDef.cs: Change peapi fielddef name.
* MethodDef.cs: Change peapi methoddef name.

svn path=/trunk/mcs/; revision=13799
2003-04-19 05:16:31 +00:00
Ville Palo f40f59cdc5 2003-04-19 Ville Palo <[email protected]>
* BufferedStream.cs: Some fixes, mostly throwing exceptions.
	* MemoryStream.cs: Changed the order of exception checking
	* StringReader.cs: little clean up

svn path=/trunk/mcs/; revision=13798
2003-04-19 02:17:25 +00:00
Ville Palo f987c87f6e 2003-04-19 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/BufferedStreamTest.cs
	* corlib_test.args: added System.IO/BufferedStreamTest.cs

svn path=/trunk/mcs/; revision=13797
2003-04-19 01:31:55 +00:00
Miguel de Icaza 9867adaf8d 2003-04-18 Miguel de Icaza <[email protected]>
* typemanager.cs (GetReferenceType, GetPointerType): In .NET each
	invocation to ModuleBuilder.GetType with the same values will
	return a new type instance, so we need to cache its return
	values.

svn path=/trunk/mcs/; revision=13796
2003-04-18 22:45:45 +00:00
Duncan Mak ca427119d4 Make it handle TextInfo, NumberFormatInfo, and
some other fixes.

svn path=/trunk/mcs/; revision=13795
2003-04-18 22:39:03 +00:00
Duncan Mak 543f256589 Add ThreeLetterWindowsLanguageName
svn path=/trunk/mcs/; revision=13794
2003-04-18 22:38:09 +00:00
Miguel de Icaza 4f33e4b426 2003-04-18 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Only allow the compare
	operators on enums if they are of the same type.

svn path=/trunk/mcs/; revision=13793
2003-04-18 22:35:18 +00:00
Miguel de Icaza 0584c52754 Another test file
svn path=/trunk/mcs/; revision=13792
2003-04-18 22:28:42 +00:00
Miguel de Icaza 1dbc33f407 2003-04-18 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ImplicitReferenceConversion): handle target
	types of ValueType on their own case.  Before we were giving them
	the same treatment as objects.

svn path=/trunk/mcs/; revision=13791
2003-04-18 22:16:40 +00:00
Miguel de Icaza 953f1c05b7 Type.Namespace can return null for <PrivateImplDetails>
svn path=/trunk/mcs/; revision=13790
2003-04-18 21:35:58 +00:00
Miguel de Icaza fdb5da7159 2003-04-18 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.IsValid): IsValid takes the short name and
	fullname.  Short name is used to compare against container name.
	Fullname is used to check against defined namespace names.

	* class.cs (AddProperty, AddField, AddClass, AddStruct, AddEnum,
	AddDelegate, AddEvent): Pass new parameter to DeclSpace.IsValid

svn path=/trunk/mcs/; revision=13789
2003-04-18 21:21:24 +00:00
Miguel de Icaza 1ba6956e61 Couple of fixes to the build: clash of name and parent name
svn path=/trunk/mcs/; revision=13788
2003-04-18 21:06:38 +00:00
Miguel de Icaza 8696292ac4 2003-04-18 Miguel de Icaza <[email protected]>
* class.cs (Method.CheckBase): Call parent.
	(MemberBase.CheckBase): Check for protected members on sealed
	classes.
	(PropertyBase.CheckBase): Call parent.
	(Field.Define): Call parent.

svn path=/trunk/mcs/; revision=13787
2003-04-18 21:02:56 +00:00
Miguel de Icaza cec7845e67 Add new error test
svn path=/trunk/mcs/; revision=13786
2003-04-18 21:02:36 +00:00
Miguel de Icaza fa1afa3621 add windows target
svn path=/trunk/mcs/; revision=13785
2003-04-18 20:49:00 +00:00
Miguel de Icaza 7e803eb16d Exclude RuntimeHelpers from the res version
svn path=/trunk/mcs/; revision=13784
2003-04-18 20:47:54 +00:00
Miguel de Icaza ce76b2bc2d Exclude RuntimeHelpers from the compare version
svn path=/trunk/mcs/; revision=13783
2003-04-18 20:46:43 +00:00
Miguel de Icaza d5459b3976 Fix makefile, sorry about that
svn path=/trunk/mcs/; revision=13782
2003-04-18 20:44:24 +00:00
Miguel de Icaza d5aa66c24e Work around bug in CSC from .NET 1.1 bug
svn path=/trunk/mcs/; revision=13781
2003-04-18 20:44:10 +00:00
Miguel de Icaza 718e8fbd7d Remove unused variable
svn path=/trunk/mcs/; revision=13780
2003-04-18 20:38:39 +00:00
Zoltan Varga dd6d272eaf 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Back out these changes as they break the windows
	build.

svn path=/trunk/mcs/; revision=13779
2003-04-18 20:29:04 +00:00
Eduardo Garcia Cebollero 1aea5d1c55 Added my Data And Fixed �The XML. (A <contributor> added himself after
the end of the </contrinutors>

svn path=/trunk/mono/; revision=13778
2003-04-18 20:02:32 +00:00
Miguel de Icaza cd86d072be A first batch of improvements.
2003-04-18  Miguel de Icaza  <[email protected]>

	* report.cs: Negative error codes are now mapped to 8000 - code,
	so that the display is render more nicely.

	* typemanager.cs: Do not use try/catch, instead report a regular
	error.

	(GetPointerType, GetReferenceType): These methods provide
	mechanisms to obtain the T* and T& from a T.  We had the code
	previously scattered around the code base, and it also used
	TypeManager.LookupType that would go through plenty of caches.
	This one goes directly to the type source.

	In some places we did the Type.GetType followed by
	ModuleBuilder.GetType, but not in others, so this unifies the
	processing as well.

	* namespace.cs (VerifyUsing): Perform a non-lazy approach to using
	statements now that we have namespace information.

	* typemanager.cs (IsNamespace): New method, returns whether the
	string presented is a namespace or not.

	(ComputeNamespaces): New public entry point, computes the list of
	available namespaces, using the GetNamespaces API call in Mono, or
	the slower version in MS.NET.

	Now before we start the semantic analysis phase, we have a
	complete list of namespaces including everything that the user has
	provided.

	Deleted old code to cache namespaces in .nsc files.

svn path=/trunk/mcs/; revision=13777
2003-04-18 19:31:46 +00:00
Miguel de Icaza 2215379b30 More updates
svn path=/trunk/mono/; revision=13775
2003-04-18 18:29:48 +00:00
Miguel de Icaza 0b0280f31c We are stricter every day
svn path=/trunk/mcs/; revision=13773
2003-04-18 18:05:29 +00:00
Zoltan Varga 0576e591c1 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpersTest.cs: Added tests for Equals() and GetHashCode ()
	methods.

svn path=/trunk/mcs/; revision=13772
2003-04-18 17:53:34 +00:00
Zoltan Varga 8f5fb1127b 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Implement Equals and GetHashCode methods from
	NET 1.1.

svn path=/trunk/mcs/; revision=13771
2003-04-18 17:50:48 +00:00
Zoltan Varga deb52b6560 2003-04-18 Zoltan Varga <[email protected]>
* icall.c: Track name changes in Object and ValueType.

svn path=/trunk/mono/; revision=13770
2003-04-18 17:47:53 +00:00
Zoltan Varga 6482189856 2003-04-18 Zoltan Varga <[email protected]>
* Object.cs ValueType.cs: Make the Object::GetHashCode() and
	ValueType::Equals() icalls static non-virtual, so they can be called
	by the code in RuntimeHelpers.

svn path=/trunk/mcs/; revision=13769
2003-04-18 17:44:49 +00:00
Miguel de Icaza f018e90f7b Update Gtk#
svn path=/trunk/mono/; revision=13768
2003-04-18 17:09:58 +00:00
Miguel de Icaza 264a0c168a Add more comments
svn path=/trunk/mono/; revision=13767
2003-04-18 16:42:33 +00:00
Miguel de Icaza b87ebecbb7 Add more comments
svn path=/trunk/mono/; revision=13766
2003-04-18 16:35:09 +00:00
Miguel de Icaza 12bc090fe6 2003-04-18 Miguel de Icaza <[email protected]>
* Delegate.cs (operator ==): Do not crash if the second argument
	is null.  Bug fix submitted by Juan Cri.

svn path=/trunk/mcs/; revision=13765
2003-04-18 14:07:33 +00:00
Eduardo Garcia Cebollero 578db4ac40 2003-04-18 Eduardo Garcia Cebollero <[email protected]>
* Array.cs: Deleted the exception in Array.Initialize(), it looks
        like the method do nothing for C#, is still a MonoTODO until
        we find a compiler that uses that.

svn path=/trunk/mcs/; revision=13764
2003-04-18 14:04:45 +00:00
Miguel de Icaza 58cd257abe Add two errors
svn path=/trunk/mcs/; revision=13763
2003-04-18 13:51:39 +00:00
Dietmar Maurer ff3b76bd2f 2003-04-18 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_stack_size): size should be a multiple of
	sizeof (gpointer)

svn path=/trunk/mono/; revision=13762
2003-04-18 09:56:37 +00:00
Jackson Harper 386ec059bf * makefile: Add new types to build
* makefile.gnu: Add new types to build

svn path=/trunk/mcs/; revision=13761
2003-04-18 06:38:09 +00:00
Jackson Harper 3aa309994b * MethodDef.cs: New file - definition of a method.
* ParamDef.cs: New file - definition of a parameter to a method
	* TypeDef.cs: Add method definitions, set intransit flag to false
	before defining members, so a false circular reference is not
	created.
	* CodeGen.cs: Add methods to add method definitions

svn path=/trunk/mcs/; revision=13760
2003-04-18 06:36:00 +00:00
Jackson Harper 0063f7bb1f * ILParser.jay: Add external types to the extern type table.
svn path=/trunk/mcs/; revision=13759
2003-04-18 04:53:19 +00:00
Jackson Harper 7ac503721d * ExternTypeRef.cs: external types are classrefs
svn path=/trunk/mcs/; revision=13758
2003-04-18 04:45:37 +00:00
Jackson Harper 7cbea259db * AssemblyInfo.cs: Increase version number.
svn path=/trunk/mcs/; revision=13757
2003-04-18 04:16:45 +00:00
Jackson Harper a7202691a2 * PeapiTypeRef.cs: New file - base wrapper for type refs that are
just peapi types.
	* PrimitiveTypeRef.cs: New file - A primitive type (char, int, string)

svn path=/trunk/mcs/; revision=13756
2003-04-18 04:11:00 +00:00
Jackson Harper 6db5fb0c4f * Driver.cs: Call new codegen methods.
* makefile: Add new types to build
	* makefile.gnu: Add new types to build

svn path=/trunk/mcs/; revision=13755
2003-04-18 04:08:03 +00:00
Jackson Harper c764c105f4 * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
* TypeManager.cs: Rewrite - Just a simple table for looking up
	typedefs
	* ExternTable.cs: Create ClassRef's instead of Classes
	* Location.cs: Make compile
	* CodeGen.cs: Use new tree system

svn path=/trunk/mcs/; revision=13754
2003-04-18 04:05:31 +00:00
Jackson Harper c44542cb4e * ILParser.jay: Use new types and methods to build a tree.
svn path=/trunk/mcs/; revision=13753
2003-04-18 04:04:18 +00:00
Jackson Harper 888f7ee24d * ExternTypeRef.cs: New file - Represents a reference to a type in
an external assembly
	* FieldDef.cs: New file - Represents a field definition
	* IClassRef.cs: New file - Interface that classrefs must
	implement. This needs some more thought though because once a
	classref has been modified it is no longer a classref.
	* ITypeRef.cs: New file - Interface that references to types must
	implement
	* TypeDef.cs: New file - Represents the a class definition, and
	will hold all of the classes members.

svn path=/trunk/mcs/; revision=13752
2003-04-18 03:52:17 +00:00
Gonzalo Paniagua Javier 40a6048bc4 little tweak to prevent 2 seconds pause when no finalizers pending
svn path=/trunk/mono/; revision=13750
2003-04-18 02:19:15 +00:00
Miguel de Icaza 7f515f93fe Rename for more appropriate naming
svn path=/trunk/mcs/; revision=13748
2003-04-18 02:15:38 +00:00
Miguel de Icaza 2748600510 Missing Changelog entry
svn path=/trunk/mcs/; revision=13747
2003-04-18 02:15:06 +00:00
Miguel de Icaza a11d375e19 missing changelog entry
svn path=/trunk/mcs/; revision=13746
2003-04-18 02:14:03 +00:00
Duncan Mak b509012ee5 Remove these files
svn path=/trunk/mcs/; revision=13745
2003-04-18 02:03:24 +00:00
Miguel de Icaza c5e6d6e6f4 2003-04-17 Miguel de Icaza <[email protected]>
* class.cs: (TypeContainer.DefineDefaultConstructor): Use the
	class/struct location definition Location for the implicit
	constructor location.

	(Operator.Define): Use the location of the operator for the
	implicit Method definition.

	(Constructor.Emit): use the constructor location for the implicit
	base initializer constructor.

svn path=/trunk/mcs/; revision=13744
2003-04-18 01:52:51 +00:00
Miguel de Icaza 596a57ce07 Add small intro
svn path=/trunk/mono/; revision=13743
2003-04-18 00:28:31 +00:00
Miguel de Icaza 037871443d Update mini-doc.txt
svn path=/trunk/mono/; revision=13742
2003-04-18 00:23:09 +00:00
Miguel de Icaza 05c03d1ce4 Update with links to CORBA.Remoting
svn path=/trunk/mono/; revision=13741
2003-04-17 23:52:30 +00:00
Eduardo Garcia Cebollero be5d77ab4e 2003-04-18 Eduardo Garcia Cebollero <[email protected]>
* ArrayTest.cs: added a few more tests to test Array.Initialize()
        and added some [Test] atributes to the tests.

svn path=/trunk/mcs/; revision=13740
2003-04-17 23:02:55 +00:00
Miguel de Icaza 147ded2fb6 2003-04-17 Miguel de Icaza <[email protected]>
* ecore.cs: Remove ITypeExpression.  This interface is now gone,
	and the Expression class now contains two new methods:

	ResolveAsTypeStep and ResolveAsTypeTerminal.  This is used to
	isolate type lookup from the rest of the resolution process.

	Since we use Expressions to hold type definitions due to the way
	we parse the input we have historically overloaded Resolve to
	perform the Type lookups if a special flag is passed.  Now this is
	eliminated and two methods take their place.

	The differences in the two methods between xStep and xTerminal is
	that xStep is involved in our current lookup system that uses
	SimpleNames to compose a name, while xTerminal is used just to
	catch the case where the simplename lookup failed.

svn path=/trunk/mcs/; revision=13739
2003-04-17 22:19:07 +00:00
Joel Basson 2a5abfdcaa 2003-04-17 Joel Basson <[email protected]>
* ComboBox.cs
* ColorDialog.cs
* Improved functionality in RadioBox.cs
* Fix some things that were broken with the update to gtk-sharp-0.8

svn path=/trunk/mcs/; revision=13738
2003-04-17 21:33:13 +00:00
Pedro Martínez Juliá f2d32eb17c 2003-04-17 Pedro Mart�nez Juli� <[email protected]>
* Timer.cs: Change the position of two lines because they were
    before the "if" that ensures the integrity. After this, the first of
    that two lines was producing a NullReferenceException.

svn path=/trunk/mcs/; revision=13737
2003-04-17 20:35:41 +00:00
Gonzalo Paniagua Javier e8ff538f3f 2003-04-17 Gonzalo Paniagua Javier <[email protected]>
* jit/jit.c:
	(mono_jit_cleanup): moved mono_runtime_cleanup call after the call to
	mono_domain_finalize.

	* mini/mini.c:
	(mini_cleanup): moved mono_runtime_cleanup call after the call to
	mono_domain_finalize.
	(mini_method_compile): use mono_method_profile* if the the option is
	enabled.

	* metadata/gc.c:
	(internal_domain_finalize): moved into mono_domain_finalize. No need
	to create another thread because the finalizers will be run in the
	finalizer thread.

	(ves_icall_System_GC_WaitForPendingFinalizers): implemented.
	(finalizer_notify): if shutting down, wait 2 seconds for the finalizers
	to be run (MS does this too).

svn path=/trunk/mono/; revision=13733
2003-04-17 19:38:23 +00:00
Zoltan Varga 1b09f05340 Added tests for the 'synchronized' method attribute.
svn path=/trunk/mono/; revision=13732
2003-04-17 18:18:21 +00:00
Zoltan Varga 1454d9ece6 2003-04-17 Zoltan Varga <[email protected]>
* tramp-x86.c (mono_arch_create_jit_trampoline): Subsitute synchronized
	methods with their wrapper.

	* tramp-ppc.c (mono_arch_create_jit_trampoline): Subsitute synchronized
	methods with their wrapper.

	* jit-icalls.c (mono_ldvirtfn): Subsitute synchronized methods with
	their wrapper.

	* mini.c (mono_method_to_ir): Subsitute synchronized methods with their
	wrapper.

	* mini.c (mono_method_check_inlining): Avoid inlining synchronized
	methods.

svn path=/trunk/mono/; revision=13731
2003-04-17 18:14:54 +00:00
Miguel de Icaza 8908a91bda update pic, add pic
svn path=/trunk/mono/; revision=13729
2003-04-17 17:57:02 +00:00
Zoltan Varga 957de1cef4 Oops.
svn path=/trunk/mono/; revision=13726
2003-04-17 16:18:29 +00:00
Zoltan Varga 902a8adb9b 2003-04-17 Zoltan Varga <[email protected]>
* object.c (mono_class_compute_gc_descriptor): Update comment.

	* loader.h marshal.h marshal.c: Added synchronized method wrappers.

	* image.h: Add synchronized wrapper cache.

	* image.c (do_mono_image_open): Initialize cache.

	* reflection.c (create_dynamic_mono_image): Initialize cache.

svn path=/trunk/mono/; revision=13725
2003-04-17 16:12:18 +00:00
Aleksey Ryabchuk 721482243a * Control.cs : implementation of scale functions, bug-fix in ControlCollection.Add
* Form.cs    : implementation of ScaleCore method

svn path=/trunk/mcs/; revision=13724
2003-04-17 15:49:08 +00:00
Dietmar Maurer bdc937d13c *** empty log message ***
svn path=/trunk/mono/; revision=13723
2003-04-17 15:33:14 +00:00
Tim Coleman 79372baef9 2003-04-17 Tim Coleman <[email protected]>
* team.xml:
	* team/timc.png:
		Added my lovely face.

svn path=/trunk/mono/; revision=13722
2003-04-17 15:10:03 +00:00
Zoltan Varga fa79becab9 2003-04-17 Zoltan Varga <[email protected]>
* ILGenerator.cs: Implement EmitWriteLine methods.

svn path=/trunk/mcs/; revision=13721
2003-04-17 14:55:25 +00:00
Nick Drochak 017ed01b6f Oops.
svn path=/trunk/mcs/; revision=13720
2003-04-17 14:50:02 +00:00
Nick Drochak 57fc0877ff 2003-04-15 Nick Drochak <[email protected]>
* makefile: Remove nunit version 1 from build

svn path=/trunk/mcs/; revision=13719
2003-04-17 14:47:23 +00:00
Nick Drochak 0686139ff0 2003-04-17 Nick Drochak <[email protected]>
* makefile.gnu: get the nunit dll from class/lib now.
	* DateAndTimeTest.cs: Ignore test that hangs mono.

svn path=/trunk/mcs/; revision=13718
2003-04-17 14:45:41 +00:00
Nick Drochak 5134c1083a 2003-04-17 Nick Drochak <[email protected]>
* UserPreferenceCategory.cs: Fix typo.
	* SystemEvents.cs: Fix inheritance.

svn path=/trunk/mcs/; revision=13717
2003-04-17 14:43:16 +00:00
Gonzalo Paniagua Javier dd020c9afa removed writeline
svn path=/trunk/mcs/; revision=13716
2003-04-17 14:42:34 +00:00
Nick Drochak d87186bca8 2003-04-17 Nick Drochak <[email protected]>
* makefile.gnu: The Test dir does not contain a unit test.

svn path=/trunk/mcs/; revision=13715
2003-04-17 14:38:58 +00:00
Nick Drochak 40b2b50599 2003-04-17 Nick Drochak <[email protected]>
* DoubleTest.cs: Output some more debug info.

svn path=/trunk/mcs/; revision=13714
2003-04-17 14:27:44 +00:00
Aleksey Ryabchuk 649d846c6e * ImageList.cs
* ImageListStreamer.cs : started to implement
	* Control.cs : changes in implementation of size-related functions
	* Form.cs    : small modifications to reflect changes in Contol class

svn path=/trunk/mcs/; revision=13713
2003-04-17 14:26:55 +00:00
Nick Drochak dd2030c6a8 2003-04-17 Nick Drochak <[email protected]>
* StackFrameTest.cs: Use nunit version 2 style.

svn path=/trunk/mcs/; revision=13712
2003-04-17 14:26:02 +00:00
Nick Drochak b4be90f537 2003-04-17 Nick Drochak <[email protected]>
* DSATest.cs: Use nunit version 2 style to test throw.
	* HMACSHA1Test.cs: Eliminate compiler warning.

svn path=/trunk/mcs/; revision=13711
2003-04-17 14:24:09 +00:00
Dietmar Maurer 6f78d8cad8 *** empty log message ***
svn path=/trunk/mono/; revision=13707
2003-04-17 11:59:33 +00:00
Dietmar Maurer 3bb64dffeb *** empty log message ***
svn path=/trunk/mono/; revision=13706
2003-04-17 11:53:56 +00:00
Zoltan Varga fbab364407 2003-04-17 Zoltan Varga <[email protected]>
* TypeBuilder.cs (CreateType): Avoid creating a default constructor
	for the global type.

svn path=/trunk/mcs/; revision=13705
2003-04-17 11:29:54 +00:00
Dietmar Maurer 91739ddbee another test
svn path=/trunk/mono/; revision=13704
2003-04-17 09:52:06 +00:00
Dietmar Maurer 89f7f22d1f 2003-04-17 Dietmar Maurer <[email protected]>
* exceptions-x86.c (mono_arch_handle_exception): fix for bug 36252

svn path=/trunk/mono/; revision=13703
2003-04-17 09:21:01 +00:00
Miguel de Icaza 3e1189e244 Small fix
svn path=/trunk/mcs/; revision=13701
2003-04-17 02:32:17 +00:00
Miguel de Icaza f275a93559 2003-04-16 Miguel de Icaza <[email protected]>
* interface.cs (PopulateMethod): Do not lookup the types twice.
	We were doing it once during SemanticAnalysis and once during
	PopulateMethod.

svn path=/trunk/mcs/; revision=13700
2003-04-17 02:13:36 +00:00
Nick Drochak 4d8e97fd2b forgot this one too.
svn path=/trunk/mcs/; revision=13699
2003-04-17 02:00:43 +00:00
Nick Drochak 8a91b76a90 2003-04-17 Nick Drochak <[email protected]>
* library.make: Only try to run the unit tests if there is a Test
	directory.

svn path=/trunk/mcs/; revision=13698
2003-04-17 01:57:39 +00:00
Miguel de Icaza a9a495b2a9 Update mini docs
svn path=/trunk/mono/; revision=13697
2003-04-16 23:26:42 +00:00
Miguel de Icaza 5fabf25603 Improve test
svn path=/trunk/mcs/; revision=13696
2003-04-16 22:09:29 +00:00
Miguel de Icaza e23ff97411 2003-04-16 Miguel de Icaza <[email protected]>
* cs-parser.jay: Due to our hack in the grammar, things like A.B[]
	in local variable type definitions, were being returned as a
	SimpleName (we decomposed everything into a string), that is
	because primary_expression was being used instead of a type in the
	grammar (reduce/reduce conflicts).

	The part that was wrong is that we converted the expression into a
	string (an oversimplification in one hand, compounded with primary
	expressions doing string concatenation).

	So things like:

	A.B.C [] x;

	Would return "A.B.C[]" as a SimpleName.  This stopped things like
	using clauses from working on this particular context.  And a type
	was being matched directly against "A.B.C[]".

	We now use the correct approach, and allow for ComposedCast to be
	part of the unary expression.  So the "A.B.C []" become a composed
	cast of "A.B.C" (as a nested group of MemberAccess with a
	SimpleName at the end) plus the rank composition "[]".

	Also fixes 35567

svn path=/trunk/mcs/; revision=13695
2003-04-16 22:01:52 +00:00
Miguel de Icaza d1c014d03d Add GC_DONT_GC to the docs
svn path=/trunk/mono/; revision=13691
2003-04-16 18:15:33 +00:00
Ville Palo ccd3a09e3a me
svn path=/trunk/mono/; revision=13690
2003-04-16 17:10:49 +00:00
Ville Palo e0b06361af 2003-04-16 Ville Palo <[email protected]>
* BufferedStreamTest.cs: new file

svn path=/trunk/mcs/; revision=13689
2003-04-16 17:03:30 +00:00
Dietmar Maurer 1e223435aa code cleanup
svn path=/trunk/mono/; revision=13688
2003-04-16 16:00:11 +00:00
Dietmar Maurer f41a90ba56 2003-04-16 Dietmar Maurer <[email protected]>
* mini.c (mono_compile_create_var): use g_malloc/g_realloc instead
	of the mempool. This is slightly faster and uses less memory

svn path=/trunk/mono/; revision=13687
2003-04-16 15:08:39 +00:00
Paolo Molaro a644474d36 Wed Apr 16 12:53:10 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: avoid O(n) allocation for variables.

svn path=/trunk/mono/; revision=13683
2003-04-16 11:00:35 +00:00
Charles Iliya Krempeaux ca158d3a9a 2003-04-16 Charles Iliya Krempeaux <[email protected]>
* doc/web/team.xml : Added myself to it.

svn path=/trunk/mono/; revision=13679
2003-04-16 08:27:30 +00:00
Gaurav Vaish 24b5cce43d 2003-04-16 Gaurav Vaish
* gvaish.png: Heh! Adjusting brightness. ;-)

svn path=/trunk/mono/; revision=13678
2003-04-16 05:18:50 +00:00
Gonzalo Paniagua Javier ff78fb1c13 2003-04-16 Gonzalo Paniagua Javier <[email protected]>
* BufferTest.cs: added a few more tests for testing buffer length.
	Patch by Jerome Laban <[email protected]>

svn path=/trunk/mcs/; revision=13676
2003-04-16 02:18:52 +00:00
Gonzalo Paniagua Javier c4c0a69ad8 2003-04-16 Gonzalo Paniagua Javier <[email protected]>
* icall.c: patch by Jerome Laban <[email protected]> that fixes
	ves_icall_System_Buffer_ByteLengthInternal.

svn path=/trunk/mono/; revision=13675
2003-04-16 02:14:20 +00:00
Miguel de Icaza e11b4646e6 2003-04-15 Miguel de Icaza <[email protected]>
* TypeBuilder.cs (DefineDefaultConstructor): Make it generate code
	by default for a default constructor.  This is what the MS runtime
	does.  The PythonNet code expected this.

	(TypeBuilder.GetConstructorImpl): Implement this.

	(TypeBuilder.CreateType): If there are no constructors defined, we
	create one.

svn path=/trunk/mcs/; revision=13674
2003-04-15 22:11:38 +00:00
Paolo Molaro 2c86763032 Tue Apr 15 19:13:41 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: handle items on the stack after inlining methods.

svn path=/trunk/mono/; revision=13668
2003-04-15 17:21:12 +00:00
Nick Drochak 319020c255 Added my picture.
svn path=/trunk/mono/; revision=13667
2003-04-15 14:55:00 +00:00
Nick Drochak 9973a9a057 A face only a mother could love...
svn path=/trunk/mono/; revision=13666
2003-04-15 14:50:28 +00:00
Gonzalo Paniagua Javier d03408886f added my *ahem* picture
svn path=/trunk/mono/; revision=13664
2003-04-15 14:18:20 +00:00
Paolo Molaro 0fea8ca175 Tue Apr 15 14:17:57 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: make the method->opcode optimization dependent
	on MONO_OPT_INSTRINS and do it lazily.

svn path=/trunk/mono/; revision=13659
2003-04-15 12:29:08 +00:00
Paolo Molaro 886292d308 Tue Apr 15 14:15:39 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: print overall results at the end of regression run.

svn path=/trunk/mono/; revision=13658
2003-04-15 12:22:56 +00:00
Paolo Molaro 5b77acb035 Tue Apr 15 13:56:55 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: setup klass->nested_in earlier. Allow
	a dash in the assembly name.

svn path=/trunk/mono/; revision=13657
2003-04-15 12:04:40 +00:00
Paolo Molaro cb3b921f1e Tue Apr 15 13:50:41 CEST 2003 Paolo Molaro <[email protected]>
* ModuleBuilder.cs, TypeBuilder.cs: set nesting_type before
	calling setup_internal_class ().

svn path=/trunk/mcs/; revision=13656
2003-04-15 11:58:30 +00:00
Dietmar Maurer a7a5803009 2003-04-15 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_to_unmanaged): dont access
	type->data.klass for MONO_TYPE_OBJECT
	(mono_type_to_unmanaged): consider System.Delegate class

svn path=/trunk/mono/; revision=13655
2003-04-15 11:49:42 +00:00
Alejandro Sánchez Acosta d662df640e Fixed Mono Hispano url.
svn path=/trunk/mono/; revision=13654
2003-04-15 11:10:31 +00:00
Alejandro Sánchez Acosta 63160b9c7b Fixed monohispano url.
svn path=/trunk/mono/; revision=13653
2003-04-15 11:06:39 +00:00
Alejandro Sánchez Acosta 09b1ba3e96 fixed monohispano url
svn path=/trunk/mono/; revision=13652
2003-04-15 11:03:26 +00:00
Alejandro Sánchez Acosta 20c7ba0f70 Added myself.
svn path=/trunk/mono/; revision=13651
2003-04-15 10:30:31 +00:00
Aleksey Ryabchuk 1970ee8cfa *** empty log message ***
svn path=/trunk/mono/; revision=13650
2003-04-15 09:49:23 +00:00
Aleksey Ryabchuk 219bdcde6f *** empty log message ***
svn path=/trunk/mono/; revision=13649
2003-04-15 09:33:27 +00:00
Paolo Molaro 2c176a5bb6 Tue Apr 15 11:18:46 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg: don't overwrite symbolic registers.

svn path=/trunk/mono/; revision=13648
2003-04-15 09:26:27 +00:00
Paolo Molaro 1dddb13db9 Tue Apr 15 11:16:05 CEST 2003 Paolo Molaro <[email protected]>
* class.c: just setup supertypes in the proper place instead of
	initializing the full element class for arrays.

svn path=/trunk/mono/; revision=13647
2003-04-15 09:24:43 +00:00
Paolo Molaro c2a32be016 Tue Apr 15 11:03:25 CEST 2003 Paolo Molaro <[email protected]>
* class.c: ensure the element class of arrays is initialized.
	Setup the supertype info for array classes, too.

svn path=/trunk/mono/; revision=13646
2003-04-15 09:11:55 +00:00
Aleksey Ryabchuk 9b4c97ae85 don't assign window ID when it was already assigned by the system
svn path=/trunk/mcs/; revision=13645
2003-04-15 08:47:38 +00:00
Tim Haynes 9876e0d4ab Added myself
svn path=/trunk/mono/; revision=13644
2003-04-15 08:33:01 +00:00
Hector E. Gomez Morales 85a974fc16 Added my picture.
svn path=/trunk/mono/; revision=13643
2003-04-15 07:39:28 +00:00
Nick Drochak 788a4347c2 2003-04-15 Nick Drochak <[email protected]>
* Use nunit version 2.

svn path=/trunk/mcs/; revision=13640
2003-04-15 05:34:08 +00:00
Nick Drochak 8cb38e4413 2003-04-15 Nick Drochak <[email protected]>
* Use nunit version 2.

svn path=/trunk/mcs/; revision=13639
2003-04-15 05:25:23 +00:00
Eduardo Garcia Cebollero 073ea38184 Oooops, compilation of the test fixed, thanks to gonzalo for reporting
svn path=/trunk/mcs/; revision=13637
2003-04-15 03:59:36 +00:00
Duncan Mak 02bfb578f8 Make it a bit cleaner.
svn path=/trunk/mcs/; revision=13636
2003-04-15 03:57:15 +00:00
Duncan Mak 7e486ce379 * makefile: Added a makefile.
* write-source.cs: A new program to write out C# source from the
XML files.

* src/MonoCulture.cs: A skeleton class for the other
culture-specific classes.

svn path=/trunk/mcs/; revision=13635
2003-04-15 03:53:15 +00:00
Eduardo Garcia Cebollero f70aeacd3e 2003-04-15 Eduardo Garcia Cebollero <[email protected]>
* CaseInsensitiveComparer.cs: Fixed Compare Method (now works
        like MS.NET) and implemented the
        CaseInsensitiveComparerTest(culture) constructor.

svn path=/trunk/mcs/; revision=13634
2003-04-15 03:33:33 +00:00
Eduardo Garcia Cebollero 17a8392827 2003-04-15 Eduardo Garcia Cebollero <[email protected]>
* CaseInsensitiveComparerTest.cs: Fixed Compare Method (now works
        like MS.NET) and implemented the
        CaseInsensitiveComparerTest(culture) constructor.

svn path=/trunk/mcs/; revision=13633
2003-04-15 03:30:01 +00:00
Gonzalo Paniagua Javier f9e281c517 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
* list: added CollectionBuilder and TemplateBuilder.
	* System.Web.UI/CollectionBuilder.cs:
	* System.Web.UI/TemplateBuilder.cs: new classes derived from
	ControlBuilder that represent a property or a ITemplate.

	* System.Web.UI/ControlBuilder.cs: implemented all the missing bits.
	* System.Web.UI/TemplateParser.cs: added mapping from tag name to
	Type feature.

svn path=/trunk/mcs/; revision=13632
2003-04-15 03:00:06 +00:00
Jean-Marc Andre fb27acfda0 *** empty log message ***
svn path=/trunk/mono/; revision=13620
2003-04-14 22:13:03 +00:00
Ville Palo a9de8761a3 2003-04-14 Ville Palo <[email protected]>
* BinaryWriter.cs: Fixed decimal writing and lots of
	ObjectDisposedExceptions added.

svn path=/trunk/mcs/; revision=13619
2003-04-14 19:43:26 +00:00
Alexandre Pigolkine 54c9d67661 C friendly version
svn path=/trunk/mcs/; revision=13618
2003-04-14 19:30:09 +00:00
Reggie Burnett 7799fe3d07 Added myself to team.xml page
svn path=/trunk/mono/; revision=13617
2003-04-14 19:25:49 +00:00
Miguel de Icaza 089f0503ab 2003-04-14 Miguel de Icaza <[email protected]>
* Delegate.cs (Delegate): Seems like a typo, we were checking the
	wrong variable.

svn path=/trunk/mcs/; revision=13615
2003-04-14 18:58:30 +00:00
Miguel de Icaza 7cf3f0d465 2003-04-14 Miguel de Icaza <[email protected]>
* MonoType.cs: Make GetNestedType an external method implementation.

svn path=/trunk/mcs/; revision=13612
2003-04-14 18:26:58 +00:00
Lee Mallabone 3dbb461f79 I'm just this guy...
svn path=/trunk/mono/; revision=13611
2003-04-14 18:26:01 +00:00
Miguel de Icaza 7ff6f5197b 2003-04-14 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_Type_GetNestedType): Add new internal call.

svn path=/trunk/mono/; revision=13610
2003-04-14 18:25:49 +00:00
Alexandre Pigolkine 64011f9ba1 personal data added
svn path=/trunk/mono/; revision=13609
2003-04-14 18:20:43 +00:00
Ville Palo 3b32460033 2003-04-14 Ville Palo <[email protected]>
* BinaryWriterTest.cs: Added new file.

svn path=/trunk/mcs/; revision=13604
2003-04-14 17:40:18 +00:00
Paolo Molaro 875158944b Mon Apr 14 17:41:34 CEST 2003 Paolo Molaro <[email protected]>
* inssel-x86.brg: fix conversion from long to float.

svn path=/trunk/mono/; revision=13598
2003-04-14 16:02:30 +00:00
Dick Porter 99a47c5926 <AOL/>
svn path=/trunk/mono/; revision=13596
2003-04-14 15:53:49 +00:00
Dietmar Maurer c3abb59640 use the computed value to avoid dead code elimination
svn path=/trunk/mono/; revision=13594
2003-04-14 15:14:52 +00:00
Mark Crichton 180a36095a Shamelessly added Mark Crichton (me) to the list.
svn path=/trunk/mono/; revision=13593
2003-04-14 15:10:45 +00:00
Nick Drochak 3bdec4ec57 2003-04-14 Nick Drochak <[email protected]>
* makefile.gnu: library location has changed.

svn path=/trunk/mcs/; revision=13591
2003-04-14 14:18:58 +00:00
Dietmar Maurer 9195031eea another benchmark
svn path=/trunk/mono/; revision=13590
2003-04-14 13:24:44 +00:00
Daniel Morgan 3c3c4d3d8b 2003-04-14 Daniel Morgan <[email protected]>
* SqlSharpDataAdapter.cs: added new file
	as a special data adapter for SQL#

	* SqlEditorSharp.cs: allow the use of
	syntax highlighting of SQL keywords or not
	via a property and default to false

	* makefile.gnu
	* win32.make: add SqlSharpDataAdapter.cs to
	the build

	* sqlsharpgtk.cs: handle a key pressed event
	when the user presses F5 to execute the SQL
	in the editor's buffer.  Also, add an Edit menu, but
	its menu options currently are placeholders

svn path=/trunk/mcs/; revision=13589
2003-04-14 13:05:43 +00:00
Dietmar Maurer 731511a095 another test
svn path=/trunk/mono/; revision=13587
2003-04-14 12:49:05 +00:00
Gaurav Vaish f01e552d75 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Initial implementation.
* HtmlControlAdapter.cs : Corrected the namesapce.

svn path=/trunk/mcs/; revision=13586
2003-04-14 12:30:45 +00:00
Gaurav Vaish 087e75b336 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs     : Initial implementation.

svn path=/trunk/mcs/; revision=13585
2003-04-14 08:39:34 +00:00
Gaurav Vaish 7fbbaed9de 2003-04-14 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.UI.MobileControls.Adapters  : Added directory.

svn path=/trunk/mcs/; revision=13584
2003-04-14 07:30:41 +00:00
Ville Palo 716c8ab73d 2003-04-13 Ville Palo <[email protected]>
* BinaryReader.cs: Fix to ReadDecimal() method.

svn path=/trunk/mcs/; revision=13583
2003-04-13 17:44:35 +00:00
Ravi Pratap M 3856b60709 Make my picture smaller - now you can't see what I look like ;-)
svn path=/trunk/mono/; revision=13582
2003-04-13 17:16:15 +00:00
Ravi Pratap M 4f7c231910 Add my picture
svn path=/trunk/mono/; revision=13581
2003-04-13 17:11:42 +00:00
Ravi Pratap M 34c9496b9f Add myself to this :-)
svn path=/trunk/mono/; revision=13580
2003-04-13 17:09:56 +00:00
Ville Palo dc0c2afe6a 2003-04-13 Ville Palo <[email protected]>
* StringReader.cs: Added some ObjectDisposedExceptions.
	* StringWriter.cs: Added some ObjectDisposedExceptions.
	* BinaryReader.cs: Added some ObjectDisposedExceptions.

svn path=/trunk/mcs/; revision=13576
2003-04-13 13:13:20 +00:00
Ville Palo 5e4ad18d4c 2003-04-13 Ville Palo <[email protected]>
* BinaryStreamReader.cs: Added lots of tests. Somehow I missed that
	there are already testcases for BinaryStreamReader :/

svn path=/trunk/mcs/; revision=13575
2003-04-13 12:55:58 +00:00
Gonzalo Paniagua Javier fc7150f5cd 2003-04-13 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41294.

svn path=/trunk/mcs/; revision=13573
2003-04-13 12:15:44 +00:00
Gonzalo Paniagua Javier 6047cf0ae2 2003-04-13 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: fixed the windows build. This is an mcs bug. I'll
	fill a bug report.

svn path=/trunk/mcs/; revision=13572
2003-04-13 03:17:05 +00:00
Miguel de Icaza 84355e9716 2003-04-12 Miguel de Icaza <[email protected]>
* Encoding.cs: Enabled the code paths that we did have commented
	out, they seem to work now.

svn path=/trunk/mcs/; revision=13567
2003-04-12 19:33:25 +00:00
Gonzalo Paniagua Javier ccc24c6dd4 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: fixed bug #40182 and made more unit test pass.

svn path=/trunk/mcs/; revision=13566
2003-04-12 18:14:36 +00:00
Gonzalo Paniagua Javier 8d79b93f10 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* FileStreamTest.cs: added more tests by Gert Driesen
	([email protected]).

svn path=/trunk/mcs/; revision=13565
2003-04-12 18:12:19 +00:00
Atsushi Eno 81167b2142 2003-04-13 Atsushi Enomoto <[email protected]>
* more removed testcases from here.

svn path=/trunk/mcs/; revision=13564
2003-04-12 18:00:55 +00:00
Atsushi Eno d077a1e100 2003-04-13 Atsushi Enomoto <[email protected]>
* removed testcases from here.

svn path=/trunk/mcs/; revision=13563
2003-04-12 17:46:49 +00:00
Atsushi Eno c4e81f0fdd *** empty log message ***
svn path=/trunk/mono/; revision=13562
2003-04-12 17:22:44 +00:00
Ville Palo e266aedeab 2003-04-12 Ville Palo <[email protected]>
* UniqueConstraint.cs: one tiny fix.

svn path=/trunk/mcs/; revision=13561
2003-04-12 17:09:46 +00:00
Gonzalo Paniagua Javier 905844433a 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* SelectNodesTests.cs: moved...
	* System.Xml.XPath/SelectNodesTests.cs: ...here

svn path=/trunk/mcs/; revision=13560
2003-04-12 16:11:52 +00:00
Ville Palo 26688be557 2003-04-12 Ville Palo <[email protected]>
* FileStreamTest.cs: Tiny fixes.

svn path=/trunk/mcs/; revision=13559
2003-04-12 16:09:50 +00:00
Zoltan Varga 2f71fda6d4 2003-04-12 Zoltan Varga <[email protected]>
* get.c (dis_stringify_modifiers): Print a space between custom modifers.
	* get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
	* main.c: Print klass name at the end of each method to make it easier
	to find a given method.

svn path=/trunk/mono/; revision=13556
2003-04-12 15:30:38 +00:00
Atsushi Eno 5fb6444ff6 2003-04-13 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs: quick fix to comment out TestExternalDocument.
	* XmlDocumentTests.cs : quick fix to comment out LoadExternalUri and
	  LoadDocumentWithIgnoreSection.

svn path=/trunk/mcs/; revision=13555
2003-04-12 15:16:05 +00:00
Atsushi Eno 6eb08033a3 2003-04-12 Atsushi Enomoto <[email protected]>
* moved testcases into each namespace-named directories.
	  fixed System.XML_linux_test.args and MonoMicro.test.csproj
	  along with it.
	* added XmlFiles directory for test xml files.

svn path=/trunk/mcs/; revision=13554
2003-04-12 14:07:03 +00:00
Atsushi Eno 77f29f40d0 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13553
2003-04-12 13:53:22 +00:00
Atsushi Eno a438ed51eb 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file along with this new directory.

svn path=/trunk/mcs/; revision=13552
2003-04-12 13:50:55 +00:00
Atsushi Eno 4d2802ba1b 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13551
2003-04-12 13:43:23 +00:00
Atsushi Eno 140a4ec73a 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.
	* added XmlSerializerTests.cs and XmlSerializerTestClasses.cs
	  (by Erik Lebel)

svn path=/trunk/mcs/; revision=13550
2003-04-12 13:41:24 +00:00
Atsushi Eno bef07b2478 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find ChangeLog entries before than this day.

svn path=/trunk/mcs/; revision=13549
2003-04-12 13:39:49 +00:00
Ville Palo c43549091e 2003-04-12 Ville Palo <[email protected]>
* FileStreamTest.cs More tests.

svn path=/trunk/mcs/; revision=13547
2003-04-12 11:01:24 +00:00
Duncan Mak 01c5d0d027 Add some more docs.
svn path=/trunk/mcs/; revision=13546
2003-04-12 05:48:07 +00:00
Duncan Mak ea94385264 * README: Added to explain how to fill out the CultureInfo XML files.
svn path=/trunk/mcs/; revision=13544
2003-04-12 05:20:32 +00:00
Duncan Mak 726ce621c4 2003-04-12 Duncan Mak <[email protected]>
* Data/CultureInfo.xsd: XML schema for the XML files.

	* Data/*.xml: Modify the DisplayName element to allow for more
	flexible translation.

svn path=/trunk/mcs/; revision=13543
2003-04-12 05:18:21 +00:00
Duncan Mak db28357158 2003-04-11 Duncan Mak <[email protected]>
* Data/??.xml: Remove the empty Parent element in the neutral cultures.

svn path=/trunk/mcs/; revision=13541
2003-04-12 04:07:37 +00:00
Duncan Mak 7430a1d549 Move ChangeLog to the parent folder.
svn path=/trunk/mcs/; revision=13540
2003-04-12 04:05:32 +00:00
Duncan Mak ab93c620a9 Move ChangeLog is the parent folder
svn path=/trunk/mcs/; revision=13539
2003-04-12 04:04:58 +00:00
Duncan Mak 3da0645b3d 2003-04-11 Duncan Mak <[email protected]>
* *.xml: Remove the IsNeutralCulture information and add in specific
        culture information as well.

svn path=/trunk/mcs/; revision=13538
2003-04-12 03:17:25 +00:00
Sebastien Pouliot e673bb57c1 2003-04-12 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Commented ToString() test because of the
	dates included within (which makes the comparison with a pre-
	generated value difficult).

svn path=/trunk/mcs/; revision=13537
2003-04-12 03:05:44 +00:00
Duncan Mak 1e378e1881 Revert the last patch.
svn path=/trunk/mcs/; revision=13536
2003-04-12 02:57:34 +00:00
Duncan Mak d02dd8b00c 2003-04-11 Duncan Mak <[email protected]>
* Mono.Globalization/Data/*.xml: Check in XML files used in
        the implementation of System.Globalization.

svn path=/trunk/mcs/; revision=13535
2003-04-12 02:49:45 +00:00
Sebastien Pouliot 13bfc6eb36 2003-04-11 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Corrected end-of-line issue for Linux.

svn path=/trunk/mcs/; revision=13534
2003-04-12 02:37:02 +00:00
Sebastien Pouliot 1a404f02da Gonzalo's idea - Sounded cool ;-)
svn path=/trunk/mono/; revision=13533
2003-04-12 01:39:35 +00:00
Gonzalo Paniagua Javier 943d0451fa 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: fixes bug #41180.

svn path=/trunk/mcs/; revision=13532
2003-04-12 01:17:38 +00:00
Gonzalo Paniagua Javier 86e691c9d4 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixes bug #40910, part 2.

svn path=/trunk/mcs/; revision=13531
2003-04-11 23:44:18 +00:00
Gonzalo Paniagua Javier fcdeb151e0 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: re-added -m option when running cygpath. This way,
	MONO_ASSEMBLIES and MONO_CFG_DIR will contain '/' as directory
	separator.
	* mono-config.c: same codepath for locating mono config file for WIN32
	and the rest.
	* assembly.c: if mono_assembly_setrootdir is called, don't override
	the value set.

svn path=/trunk/mono/; revision=13530
2003-04-11 23:19:35 +00:00
Gonzalo Paniagua Javier 6dde46c6f5 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: patch by Urs Muff <[email protected]> that fixes
	MONO_ASSEMBLIES variable.

svn path=/trunk/mono/; revision=13529
2003-04-11 22:14:22 +00:00
Miguel de Icaza 9f0530a979 Update
svn path=/trunk/mono/; revision=13527
2003-04-11 20:14:17 +00:00
Aleksey Ryabchuk a124f398c9 some new functions implemented, using BitVector32
instead of declaring separate boolean varibales for every control status

svn path=/trunk/mcs/; revision=13525
2003-04-11 16:09:29 +00:00
Dick Porter 229c39e249 2003-04-11 Dick Porter <[email protected]>
* atomic.h: ARM atomic operations by Malte Hildingson
	<[email protected]>

svn path=/trunk/mono/; revision=13524
2003-04-11 15:42:59 +00:00
Jaime Anguiano Olarra a68ed6a77d Fixed.
svn path=/trunk/mcs/; revision=13523
2003-04-11 14:55:39 +00:00
Jaime Anguiano Olarra 5ef41d6554 Fixed test.
svn path=/trunk/mcs/; revision=13522
2003-04-11 14:41:24 +00:00
Aleksey Ryabchuk 2207f5e9ec some changes related to implementation of MDI interface
svn path=/trunk/mcs/; revision=13521
2003-04-11 13:29:38 +00:00
Ville Palo d548fe6354 2003-04-11 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/FileStreamTest.cs
	* corlib_test.args: added System.IO/FileStreamTest.cs

svn path=/trunk/mcs/; revision=13520
2003-04-11 13:23:31 +00:00
Ville Palo 8f8adbfd03 2003-04-11 Ville Palo <[email protected]>
* FileStreamTest.cs: File Added and some tests in it.

svn path=/trunk/mcs/; revision=13519
2003-04-11 13:19:14 +00:00
Ville Palo 283ec1b4a7 2003-04-11 Ville Palo <[email protected]>
* FileStream.cs: Added new methods Lock () and Unlock ()

svn path=/trunk/mcs/; revision=13518
2003-04-11 13:16:00 +00:00
Per Arneng ff89213061 Fixed my info that was overwritten in v 1.35
svn path=/trunk/mono/; revision=13517
2003-04-11 11:51:37 +00:00
Paolo Molaro 9e34143e9e Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <[email protected]>
* Assembly.cs: added GetNamespaces() icall.

svn path=/trunk/mcs/; revision=13513
2003-04-11 11:13:21 +00:00
Paolo Molaro 4d6a2e7913 Fri Apr 11 12:44:15 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: added Assembly::GetNamespaces() icall.

svn path=/trunk/mono/; revision=13512
2003-04-11 10:51:47 +00:00
Dietmar Maurer 6c32b8acc4 2003-04-11 Dietmar Maurer <[email protected]>
* String.cs (Equals): avoid the internal call, code cleanups

svn path=/trunk/mcs/; revision=13511
2003-04-11 09:50:00 +00:00
Dietmar Maurer 1a1c8a713d 2003-04-11 Dietmar Maurer <[email protected]>
* mini.c (mini_init): use an opcode for get_Chars (OP_GETCHR)

svn path=/trunk/mono/; revision=13510
2003-04-11 09:29:55 +00:00
Aleksey Ryabchuk 3d00203882 2003-04-11 Aleksey Ryabchuk <[email protected]>
* Control.cs : init bounds in ctor, invisible parking window
	* TrackBar.cs
	* ProgressBar.cs.cs
	* DateTimePicker.cs
	* StatusBar.cs : use base version of CreateParams
	* ScrollableControl.cs : use base version of CreateParams, removed CS_VREDRAW, CS_HREDRAW styles
	* Form.cs : reset parent back to zero for the main form
	* StatusBarPanel.cs : small bug-fix

svn path=/trunk/mcs/; revision=13509
2003-04-11 09:20:33 +00:00
Dietmar Maurer 7c992788da dded the new mono book
svn path=/trunk/mono/; revision=13508
2003-04-11 09:11:47 +00:00
César Natarén e8312e7413 Changes caused by the new continue_statement, break_statement, return_statement, throw_statement, and single line comments.
svn path=/trunk/mcs/; revision=13507
2003-04-11 08:44:52 +00:00
César Natarén 4dd02b85dc Added continue_statement, break_statement, return_statement, throw_statement and single line comments, syntatic and lexical rules.
svn path=/trunk/mcs/; revision=13506
2003-04-11 08:42:28 +00:00
Ville Palo 9d400a5cc7 2003-04-11 Ville Palo <[email protected]>
* StringReader.cs: Throws exceptions if constructor parameter is null.

svn path=/trunk/mcs/; revision=13505
2003-04-11 07:51:25 +00:00
Ville Palo a7447b9b99 2003-04-11 Ville Palo <[email protected]>
* StringReaderTest.cs: Tests for close and some exceptions

svn path=/trunk/mcs/; revision=13504
2003-04-11 07:12:54 +00:00
Ville Palo c6e41a7221 2003-04-11 Ville Palo <[email protected]>
* StringWriter.cs: Now throws an exception if StringBuilder parameter
	is null

svn path=/trunk/mcs/; revision=13503
2003-04-11 06:55:51 +00:00
Ville Palo 00e7a8d810 2003-04-11 Ville Palo <[email protected]>
* StringWriterTest.cs: Added some Exception tests.

svn path=/trunk/mcs/; revision=13502
2003-04-11 06:52:50 +00:00
Paolo Molaro 946eacab12 Fri Apr 11 08:29:50 CEST 2003 Paolo Molaro <[email protected]>
* StringBuilder.cs: cache the result from ToString().

svn path=/trunk/mcs/; revision=13501
2003-04-11 06:37:31 +00:00
Miguel de Icaza 8f56fc7453 2003-04-10 Miguel de Icaza <[email protected]>
* decl.cs (CheckAccessLevel): Implement the NestedPrivate rules
	for the access level checking.

svn path=/trunk/mcs/; revision=13500
2003-04-11 03:17:27 +00:00
Miguel de Icaza ac09cc9280 Update tests: add test that passes, add new test
svn path=/trunk/mcs/; revision=13499
2003-04-11 03:14:05 +00:00
Miguel de Icaza bdd8f9fee5 Remove useless test
svn path=/trunk/mcs/; revision=13498
2003-04-11 03:13:17 +00:00
Miguel de Icaza e919a8ad14 Add private nested public test
svn path=/trunk/mcs/; revision=13497
2003-04-11 03:04:28 +00:00
Christopher Bockner 6e9b8aa4e7 Changes to prepare for LOB locators.
svn path=/trunk/mcs/; revision=13496
2003-04-11 02:38:02 +00:00
Christopher Bockner 81e33ad3e6 :i
Base class for LOB locator support.
:

svn path=/trunk/mcs/; revision=13495
2003-04-11 02:33:00 +00:00
Duncan Mak 48c03884da * doc/web/render-team-page.cs (Compare): Correctly fix
ContributorComparer.
(RenderHtml): Add some SetAttribute loving to make it render prettier.

* doc/web/team.xml: Revert excessive indenting.

svn path=/trunk/mono/; revision=13494
2003-04-11 01:49:43 +00:00
Miguel de Icaza a00fea65af 2003-04-10 Miguel de Icaza <[email protected]>
* class.cs: Cosmetic changes.  Renamed `TypeContainer parent' to
	`TypeContainer container', because I kept getting confused when I
	was debugging this code.

svn path=/trunk/mcs/; revision=13493
2003-04-11 01:46:36 +00:00
Alan Tam 8031abb099 2003-04-11 Alan Tam <[email protected]>
* Convert.cs: fixed bug #41085.

svn path=/trunk/mcs/; revision=13492
2003-04-11 01:44:50 +00:00
Jackson Harper 7afd85376c forgot changelog
svn path=/trunk/mcs/; revision=13491
2003-04-11 01:36:45 +00:00
Miguel de Icaza 428cc69862 2003-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Indexers): Instead of tracking getters/setters,
	we now track them in parallel.  We create one arraylist less, but
	most importantly it is possible now for the LValue code to find a
	matching get for a set.

	(IndexerAccess.DoResolveLValue): Update the code.
	GetIndexersForType has been modified already to extract all the
	indexers from a type.  The code assumed it did not.

	Also make the code set the correct return type for the indexer.
	This was fixed a long time ago for properties, but was missing for
	indexers.  It used to be void_type.

svn path=/trunk/mcs/; revision=13490
2003-04-11 01:32:00 +00:00
Miguel de Icaza 049e08b8a1 Improve test
svn path=/trunk/mcs/; revision=13489
2003-04-11 01:29:33 +00:00
Miguel de Icaza 216dfb88ee 2003-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.Emit): Test first for doubles instead of
	floats, as they are more common.

	(Binary.EmitBranchable): Use the .un version of the branch opcodes
	when dealing with floats and the <=, >= operators.  This fixes bug
	#39314

svn path=/trunk/mcs/; revision=13488
2003-04-11 00:14:12 +00:00
Miguel de Icaza 3abd8fc4b2 2003-04-10 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.EmitArrayForeach): bug fix: The code used
	to load the array value by emitting a load on the foreach variable
	type.  This was incorrect.

	We now emit the code to load an element using the the array
	variable type, and then we emit the conversion operator.

	Fixed #40176

svn path=/trunk/mcs/; revision=13487
2003-04-10 22:16:12 +00:00
Miguel de Icaza 0b8c2ad6c9 Improve test
svn path=/trunk/mcs/; revision=13486
2003-04-10 22:15:22 +00:00
Gonzalo Paniagua Javier 6eeba2658a 2003-04-10 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: fix from Jaak <[email protected]>.

svn path=/trunk/mono/; revision=13484
2003-04-10 19:10:50 +00:00
Miguel de Icaza 804b62586c 2003-04-09 Miguel de Icaza <[email protected]>
* class.cs (MethodSignature.InheritableMemberSignatureCompare):
	test for protection before we test for signatures.

	(MethodSignature.ToString): implement.

svn path=/trunk/mcs/; revision=13482
2003-04-10 18:52:35 +00:00
Lluis Sanchez 2a0d9ff0eb * RemotingProxy.cs: Added support for Async and OneWay messages.
svn path=/trunk/mcs/; revision=13480
2003-04-10 16:31:02 +00:00
Lluis Sanchez 3b88bcc6a6 * AsyncResult.cs: implemented some methods.
* ClientContextTerminatorSink.cs: Improved support for Async and OneWay messages.
	* MonoMethodMessage.cs: Added member needed to support Async messages.
	* ServerObjectTerminatorSink.cs: Improved support for Async and OneWay messages.

svn path=/trunk/mcs/; revision=13479
2003-04-10 16:30:23 +00:00
Lluis Sanchez fc5a9fcae9 * CrossContextChannel.cs: Improved support for OneWay and Async messages.
svn path=/trunk/mcs/; revision=13478
2003-04-10 16:29:44 +00:00
Lluis Sanchez b96d07f2cc * ChannelDataStore.cs: renamed some members to match MS.NET.
* ChannelServices.cs: renamed ChannelInfoStore an its members to match MS.NET.
	* CrossAppDomainChannel.cs: Renamed CrossAppDomainChannelData to match MS.NET.
	  Added processId property to CrossAppDomainData. Now it is checked in CreateSink.

svn path=/trunk/mcs/; revision=13477
2003-04-10 16:29:13 +00:00
Lluis Sanchez b1afe4ab46 * ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
* RemotingServices.cs: Added method to help support Async messages.
	* RemotingConfiguration.cs: Implemented property ProcessID.

svn path=/trunk/mcs/; revision=13476
2003-04-10 16:26:53 +00:00
Lluis Sanchez c8a7d2ab1e * AppDomain.cs: Added internal method for getting process guid.
svn path=/trunk/mcs/; revision=13475
2003-04-10 16:24:54 +00:00
Lluis Sanchez ed25c92f05 * appdomain.c,appdomain.h,icall.c: Added internal method that returns the process guid
* object.c: fixed bug in the construction of vtable for proxies

svn path=/trunk/mono/; revision=13474
2003-04-10 16:24:11 +00:00
Zoltan Varga 8bd5b55ee1 2003-04-10 Zoltan Varga <[email protected]>
* mini.c (mono_type_blittable): MONO_TYPE_OBJECT is blittable.

	* driver.c: Added --print-vtable option as in the old JIT.

svn path=/trunk/mono/; revision=13473
2003-04-10 15:59:42 +00:00
Paolo Molaro 9b69ee35af Thu Apr 10 17:43:49 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg, exceptions.cs: fix conversions from long, too.

svn path=/trunk/mono/; revision=13472
2003-04-10 15:51:45 +00:00
Zoltan Varga 8c601f7229 2003-04-10 Zoltan Varga <[email protected]>
* object.c (mono_array_new): Mark mono_array_new as an icall.

svn path=/trunk/mono/; revision=13471
2003-04-10 15:51:12 +00:00
Ville Palo 436abe8b41 2003-04-10 Ville Palo <[email protected]>
* StringWriterTest.cs: Added couple of tests.

svn path=/trunk/mcs/; revision=13470
2003-04-10 15:24:45 +00:00
Ville Palo 241b0c546d 2003-04-10 Ville Palo <[email protected]>
* ConvertTest.cs: Added some tests for ToXXX methods.
	TestConvertFromNull ()

svn path=/trunk/mcs/; revision=13469
2003-04-10 15:10:56 +00:00
Paolo Molaro d026b21b7c Thu Apr 10 16:27:43 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg, basic.cs: fixed checked conversions to byte and short.

svn path=/trunk/mono/; revision=13468
2003-04-10 14:36:43 +00:00
Zoltan Varga 9ed5cd1182 2003-04-10 Zoltan Varga <[email protected]>
* attribute.cs: Avoid allocation of ArrayLists in the common case.

svn path=/trunk/mcs/; revision=13462
2003-04-10 12:07:15 +00:00
Gonzalo Paniagua Javier a5ebf4415a 2003-04-10 Gonzalo Paniagua Javier <[email protected]>
* class.c: fixed test for public method when overriding interfaces.
	Closes bug #40970.

svn path=/trunk/mono/; revision=13461
2003-04-10 02:23:21 +00:00
Hector E. Gomez Morales d402477896 Added my person to the team page :).
svn path=/trunk/mono/; revision=13460
2003-04-10 02:08:45 +00:00
Ben Maurer 97b341b2ca oops
svn path=/trunk/mono/; revision=13459
2003-04-10 01:30:02 +00:00
Daniel Morgan 2c6823a9b4 add myself to team
svn path=/trunk/mono/; revision=13458
2003-04-10 01:23:12 +00:00
Miguel de Icaza f841baf0cf Remove writeLine
svn path=/trunk/mcs/; revision=13457
2003-04-09 22:47:52 +00:00
Miguel de Icaza f75cab58dd 2003-04-09 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduceNegative): Add missing minus sign
	to the case where we reduced into a LongConstant.

svn path=/trunk/mcs/; revision=13456
2003-04-09 21:00:06 +00:00
Miguel de Icaza 46f7ab94bf 2003-04-09 Miguel de Icaza <[email protected]>
* decl.cs (CheckAccessLevel): If the type is an array, we can not
	depend on whether the information is acurrate, because the
	Microsoft runtime will always claim that the array type is public,
	regardless of the real state.

	If the type is a pointer, another problem happens: the type is
	reported as non-public in Microsoft.

	In both cases we have to call CheckAccessLevel recursively with
	the underlying type as the argument to be tested.

svn path=/trunk/mcs/; revision=13455
2003-04-09 20:54:34 +00:00
Miguel de Icaza ca9a73b073 2003-04-08 Miguel de Icaza <[email protected]>
* assign.cs (Assign.Emit): If we are dealing with a compound
	assignment expression, we should use the code path that stores the
	intermediate result in a temporary value.  This fixes #40903.

	*expression.cs (Indirection.ToString): Provide ToString method for
	debugging.

svn path=/trunk/mcs/; revision=13454
2003-04-09 20:36:16 +00:00
Miguel de Icaza b350cd5180 Add new test
svn path=/trunk/mcs/; revision=13453
2003-04-09 20:33:05 +00:00
Zoltan Varga 3e72c88756 2003-04-09 Zoltan Varga <[email protected]>
* mini.c regalloc.c regalloc.h: Fix memory leak.

svn path=/trunk/mono/; revision=13452
2003-04-09 19:39:17 +00:00
Ville Palo 7dd9e284ca 2003-04-09 Ville Palo <[email protected]>
* Array.cs: Little fix to compare () method.

svn path=/trunk/mcs/; revision=13451
2003-04-09 18:20:11 +00:00
Zoltan Varga 2d96be39fb 2003-04-09 Zoltan Varga <[email protected]>
* String.cs (Equals): Add trivial optimization.

svn path=/trunk/mcs/; revision=13448
2003-04-09 16:27:31 +00:00
Ville Palo bb545ff142 2003-04-09 Ville Palo <[email protected]>
* ArraListTest.cs: Added little test for Sort ().

svn path=/trunk/mcs/; revision=13444
2003-04-09 15:26:01 +00:00
Dietmar Maurer fae766196f 2003-04-09 Dietmar Maurer <[email protected]>
* aot.c (mono_aot_get_method): register all used strings

svn path=/trunk/mono/; revision=13443
2003-04-09 15:21:31 +00:00
Dick Porter 279b670078 2003-04-09 Dick Porter <[email protected]>
* Thread.cs: Make sure a reference to the ThreadStart delegate is
	held.  There's no telling how long it will be before
	Thread.Start() is called, and GC might destroy the delegate.
	Thread() and Start() need to be rewritten so that the runtime
	creates the new thread when Start() is called, which will simplify
	the code a great deal.

svn path=/trunk/mcs/; revision=13442
2003-04-09 14:26:26 +00:00
Paolo Molaro 857cd7e466 Wed Apr 9 15:22:18 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: always intern strings references with ldstr at compile time.

svn path=/trunk/mono/; revision=13441
2003-04-09 13:30:17 +00:00
Paolo Molaro 786e6ee719 Wed Apr 9 15:19:41 CEST 2003 Paolo Molaro <[email protected]>
* appdomain.h, domain.c: added mono_domain_foreach() to
	be able to access the currently loaded appdomains.
	* object.c: make string interning work across sppdomains.
	Mark some functions for use as icalls.

svn path=/trunk/mono/; revision=13440
2003-04-09 13:28:46 +00:00
Gaurav Vaish dbd346859a 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* Style.cs               : Implements interfaces now.

svn path=/trunk/mcs/; revision=13439
2003-04-09 11:48:05 +00:00
Zoltan Varga ea71384d57 2003-04-09 Zoltan Varga <[email protected]>
* class.c reflection.c: Fix memory leaks reported by ccmalloc.

	* reflection.h reflection.c: Allocate long living data using
	GC_MALLOC_ATOMIC so the collector does not need to scan it.

	* reflection.c: Double the allocation size in streams instead of
	increasing it, to prevent unneccesary copying on large assemblies.

	* reflection.c (mono_reflection_create_runtime_class): Avoid vtable
	creation if the assembly does not have the Run flag set.

svn path=/trunk/mono/; revision=13438
2003-04-09 11:29:19 +00:00
Martin Baulig 58a563b3d2 Ooops, this is the correct test-190.cs file.
svn path=/trunk/mcs/; revision=13437
2003-04-09 10:59:26 +00:00
Gonzalo Paniagua Javier 826ea1867c 2003-04-09 Gonzalo Paniagua Javier <[email protected]>
* list: added Watcher.cs
	* System.Web.Caching/CacheDependency.cs:
	* System.Web.Caching/CacheEntry.cs:
	* System.Web.Caching/Watcher.cs: added a FileSystemWatcher-like class for dependency
	checking.

svn path=/trunk/mcs/; revision=13436
2003-04-09 05:12:44 +00:00
César Natarén ff20e99d5e Added more syntatic rules: if_statement, while and for-in statements, initial array_litetal definition, and elision.
svn path=/trunk/mcs/; revision=13435
2003-04-09 03:13:08 +00:00
Miguel de Icaza 7ebf680003 Add README
svn path=/trunk/mono/; revision=13434
2003-04-08 23:51:53 +00:00
Miguel de Icaza 8019f330dc Sync with changes we lost
svn path=/trunk/mcs/; revision=13433
2003-04-08 23:05:26 +00:00
Miguel de Icaza 0ba3e6406b 2003-04-08 Zoltan Varga <[email protected]>
* class.cs: Null out fields holding references to Block objects so
        they can be garbage collected.

        * expression.cs (OverloadResolve): Remove unused local.

svn path=/trunk/mcs/; revision=13432
2003-04-08 23:04:36 +00:00
Miguel de Icaza eb21182aca 2003-04-07 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveBoolean): Don't call ec.Mark().

	* codegen.cs (EmitContext.EmitTopBlock): Don't call Mark() on the
	location.  [FIXME: The location argument which gets passed to this
	method is sometimes wrong!]

svn path=/trunk/mcs/; revision=13431
2003-04-08 23:02:44 +00:00
Miguel de Icaza 39ee734cdd 2003-04-07 Miguel de Icaza <[email protected]>
* expression.cs (Indirection.EmitAssign): We were using the
	temporary, but returning immediately instead of continuing the
	EmitAssing flow.

svn path=/trunk/mcs/; revision=13430
2003-04-08 23:02:40 +00:00
Miguel de Icaza 4bfd24f6ef 2003-04-07 Miguel de Icaza <[email protected]>
* expression.cs (Indirection.EmitAssign): We were using the
	temporary, but returning immediately instead of continuing the
	EmitAssing flow.

svn path=/trunk/mcs/; revision=13429
2003-04-08 23:02:35 +00:00
Miguel de Icaza 7c4082c199 2003-04-06 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Don't report an error
	if it's a nested child, but also deriving from the outer class.
	See test 190.cs.

svn path=/trunk/mcs/; revision=13428
2003-04-08 23:02:27 +00:00
Miguel de Icaza c96e22f7f8 2003-04-06 Martin Baulig <[email protected]>
* typemanager.cs (IsNestedChildOf): Make this work if it's a
	nested child, but also deriving from the outer class.  See
	test-190.cs.
	(FilterWithClosure): We may access private members of the outer
	class if we're a nested child and deriving from the outer class.
	(RealMemberLookup): Only set `closure_private_ok' if the
	`original_bf' contained BindingFlags.NonPublic.

svn path=/trunk/mcs/; revision=13427
2003-04-08 23:02:23 +00:00
Miguel de Icaza ea4a88af03 2003-04-07 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.CurrentFile): New public field.
	(EmitContext.Mark): Use the CurrentFile to check whether the
	location is in the correct file.
	(EmitContext.EmitTopBlock): Initialize CurrentFile here.

svn path=/trunk/mcs/; revision=13426
2003-04-08 23:02:19 +00:00
Miguel de Icaza 6be6c970a8 2003-04-05 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #40670.

svn path=/trunk/mcs/; revision=13425
2003-04-08 23:02:13 +00:00
Miguel de Icaza 1513d1358b Fix compilation.
svn path=/trunk/mcs/; revision=13424
2003-04-08 23:02:09 +00:00
Miguel de Icaza 750162e52c 2003-04-02 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Do not allow abstract events to have
	initializers.

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

	* cs-parser.jay: Add error productions for ADD/REMOVE missing a
	block in event declarations.

svn path=/trunk/mcs/; revision=13423
2003-04-08 23:02:06 +00:00
Miguel de Icaza 868aa5bf2a 2003-04-01 Miguel de Icaza <[email protected]>
* expression.cs (Is.Emit): For action `LeaveOnStack' we were
	leaving a class on the stack instead of a boolean value (int
	0/1).  Change the code so we compare against null, and then the

svn path=/trunk/mcs/; revision=13422
2003-04-08 23:01:57 +00:00
Miguel de Icaza b1e901b752 2003-04-01 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): We were checking for the
	parent class being sealed too late.

	* expression.cs (Binary.Emit): For <= and >= when dealing with
	floating point values, use cgt.un and clt.un instead of cgt and
	clt alone.

svn path=/trunk/mcs/; revision=13421
2003-04-08 23:01:49 +00:00
Miguel de Icaza 530a1248ac 2003-04-01 Zoltan Varga <[email protected]>
* statement.cs: Apply the same optimization as MS: skip the
	GetEnumerator returning an IEnumerator, and use the one returning a
	CharEnumerator instead. This allows us to avoid the try-finally block
	and the boxing.

svn path=/trunk/mcs/; revision=13420
2003-04-08 23:01:33 +00:00
Miguel de Icaza 02b221c725 2003-03-31 Gaurav Vaish <[email protected]>
* cs-parser.jay: Attributes cannot be applied to
                 namespaces. Fixes #40473

svn path=/trunk/mcs/; revision=13419
2003-04-08 23:01:29 +00:00
Miguel de Icaza 3cc554e7f3 2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* class.cs:
	(Add*): check if the name is valid using the full name for constants,
	fields, properties and events.

svn path=/trunk/mcs/; revision=13418
2003-04-08 23:01:25 +00:00
Miguel de Icaza 55e795d821 2003-03-28 Miguel de Icaza <[email protected]>
* enum.cs (Enum.DefineType, Enum.IsValidEnumConstant): Also allow
	char constants to be part of the enumeration.

svn path=/trunk/mcs/; revision=13417
2003-04-08 23:01:16 +00:00
Miguel de Icaza daf2941ef5 2003-02-25 Miguel de Icaza <[email protected]>
* makefile (all): Make it so that doing `make' will run the
	default tests depending on Windows/Linux.

svn path=/trunk/mcs/; revision=13416
2003-04-08 23:01:10 +00:00
Miguel de Icaza d863762571 2003-03-28 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.CheckPairedOperators): Report error for missmatch on
	operator true/false as required by the spec.

svn path=/trunk/mcs/; revision=13415
2003-04-08 23:01:02 +00:00
Miguel de Icaza 5151adffcf 2003-03-28 Miguel de Icaza <[email protected]>
* expression.cs (Unary.ResolveOperator): In LogicalNot, do an
	implicit conversion to boolean.

	* statement.cs (Statement.ResolveBoolean): A boolean expression is
	also one where the type implements `operator true'.

	* ecore.cs (Expression.GetOperatorTrue): New helper routine to
	get an expression that will invoke operator true based on an
	expression.

	(GetConversionOperators): Removed the hack that called op_True
	here.

	(Expression.ResolveBoolean): Move this from Statement.

svn path=/trunk/mcs/; revision=13414
2003-04-08 23:00:53 +00:00
Miguel de Icaza 4d05e87642 2003-03-17 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): do not allow initialization of initonly
	fields on derived classes

svn path=/trunk/mcs/; revision=13413
2003-04-08 23:00:44 +00:00
Miguel de Icaza e6e9af2563 2003-03-13 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Call ig.BeginScope() and
	ig.EndScope() when compiling with debugging info; call
	LocalBuilder.SetLocalSymInfo _after_ opening the scope.

svn path=/trunk/mcs/; revision=13412
2003-04-08 23:00:40 +00:00
Miguel de Icaza 2c4c92f20e 2003-03-08 Miguel de Icaza <[email protected]>
* expression.cs (Indexers): Do not construct immediately, allow
	for new members to be appended as we go.  Fixes 38143

svn path=/trunk/mcs/; revision=13411
2003-04-08 23:00:36 +00:00
Miguel de Icaza 42b55aec5d 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: save/restore context when resolving an unchecked
	expression.

svn path=/trunk/mcs/; revision=13410
2003-04-08 23:00:32 +00:00
Miguel de Icaza d58dfc1eac 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: save/restore context when resolving an unchecked
	expression.

svn path=/trunk/mcs/; revision=13409
2003-04-08 23:00:28 +00:00
Miguel de Icaza 0cbd025cf0 2003-03-05 Miguel de Icaza <[email protected]>
* cfold.cs: Catch division by zero in modulus operator during
	constant folding.

svn path=/trunk/mcs/; revision=13408
2003-04-08 23:00:19 +00:00
Miguel de Icaza 0a1d0fccf2 2003-03-03 Miguel de Icaza <[email protected]>
* interface.cs (Interface.DefineMembers): Avoid defining members
	twice.

svn path=/trunk/mcs/; revision=13407
2003-04-08 23:00:15 +00:00
Miguel de Icaza 9b39c6c34a 2003-02-27 Miguel de Icaza <[email protected]>
* driver.cs: handle the +/- options for -noconfig

svn path=/trunk/mcs/; revision=13406
2003-04-08 23:00:10 +00:00
Miguel de Icaza f2e22082ee 2003-02-27 Miguel de Icaza <[email protected]>
* statement.cs (Unchecked.Resolve): Also track the state in the Resolve phase.

svn path=/trunk/mcs/; revision=13405
2003-04-08 23:00:05 +00:00
Miguel de Icaza 77a6d41be3 2003-02-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.MemberLookup): Don't create a
	MethodGroupExpr for something which is not a method.  Fixes #38291.

svn path=/trunk/mcs/; revision=13404
2003-04-08 23:00:01 +00:00
Miguel de Icaza 6efb4e80b7 2003-02-25 Miguel de Icaza <[email protected]>
* class.cs (MemberBase.CheckParameters): Also check that the type
	is unmanaged if it is a pointer.

	* expression.cs (SizeOf.Resolve): Add location information.

	* statement.cs (Block.EmitMeta): Flag error (208) if a pointer to
	a managed type is declared.

svn path=/trunk/mcs/; revision=13403
2003-04-08 22:59:55 +00:00
Miguel de Icaza b47e196e20 2003-02-25 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Check for the
	parameter modifiers as well.  Fixes bug 38606

svn path=/trunk/mcs/; revision=13402
2003-04-08 22:59:41 +00:00
Miguel de Icaza 4355fe217b 2003-02-25 Miguel de Icaza <[email protected]>
* class.cs: Very sad.  Am backing out the speed up changes
	introduced by the ArrayList -> Array in the TypeContainer, as they
	were not actually that much faster, and introduced a bug (no error
	reports on duplicated methods).

svn path=/trunk/mcs/; revision=13401
2003-04-08 22:59:33 +00:00
Miguel de Icaza d97c25e525 Another change. Use target.Resolve instead of LValueResolve.
Although we are resolving for LValues, we will let the Assign code
	take care of that (it will be called again from Resolve).  This
	basically allows code like this:

	class X { X operator + (X x, object o) {} X this [int idx] { get; set; } }
	class Y { void A (X x) { x [0] += o; }

	The problem was that the indexer was trying to resolve for
	set_Item (idx, object o) and never finding one.  The real set_Item
	was set_Item (idx, X).  By delaying the process we get the right
	semantics.

	Fixes bug: 36505

svn path=/trunk/mcs/; revision=13400
2003-04-08 22:59:25 +00:00
Miguel de Icaza e0e9bb689c 2003-02-25 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign.DoLResolve): Resolve the original
	source first, this will guarantee that we have a valid expression
	before calling in lower levels functions that will require a
	resolved object.  Then use this original_source in the
	target.ResolveLValue instead of the original source that was
	passed to us.

svn path=/trunk/mcs/; revision=13399
2003-04-08 22:59:20 +00:00
Miguel de Icaza 38580df340 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Override this and set ec.CurrentBlock
	while calling DoEmit ().

	* codegen.cs (EmitContext.Mark): Don't mark locations in other
	source files; if you use the #line directive inside a method, the
	compiler stops emitting line numbers for the debugger until it
	reaches the end of the method or another #line directive which
	restores the original file.

svn path=/trunk/mcs/; revision=13398
2003-04-08 22:59:16 +00:00
Miguel de Icaza 44bbacdcd6 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #37708.

svn path=/trunk/mcs/; revision=13397
2003-04-08 22:59:12 +00:00
Miguel de Icaza 53414e607d 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (Block.AddChildVariableNames): We need to call this
	recursively, not just for our immediate children.

svn path=/trunk/mcs/; revision=13396
2003-04-08 22:59:07 +00:00
Miguel de Icaza dafbc5c3d8 2003-02-23 Martin Baulig <[email protected]>
* class.cs (Event.Define): Always make the field private, like csc does.

	* typemanager.cs (TypeManager.RealMemberLookup): Make events
	actually work, fixes bug #37521.

svn path=/trunk/mcs/; revision=13395
2003-04-08 22:59:03 +00:00
Miguel de Icaza 88103e6974 2003-02-23 Miguel de Icaza <[email protected]>
* delegate.cs: When creating the various temporary "Parameters"
	classes, make sure that we call the ComputeAndDefineParameterTypes
	on those new parameters (just like we do with the formal ones), to
	allow them to be resolved in the context of the DeclSpace.

	This fixes the bug that Dick observed in Bugzilla #38530.

svn path=/trunk/mcs/; revision=13394
2003-04-08 22:58:55 +00:00
Miguel de Icaza 7dc38cf4d8 2003-02-22 Miguel de Icaza <[email protected]>
* expression.cs (ResolveMemberAccess): When resolving a constant,
	do not attempt to pull a constant if the value was not able to
	generate a valid constant.

	* const.cs (LookupConstantValue): Do not report more errors than required.

svn path=/trunk/mcs/; revision=13393
2003-04-08 22:58:50 +00:00
Miguel de Icaza 8b9135bb06 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: fixes bug #38328.

svn path=/trunk/mcs/; revision=13392
2003-04-08 22:58:42 +00:00
Miguel de Icaza d42decc08b 2003-02-18 Miguel de Icaza <[email protected]>
* class.cs: Changed all the various members that can be part of a
	class from being an ArrayList to be an Array of the right type.
	During the DefineType type_list, interface_list, delegate_list and
	enum_list are turned into types, interfaces, delegates and enums
	arrays.

	And during the member population, indexer_list, event_list,
	constant_list, field_list, instance_constructor_list, method_list,
	operator_list and property_list are turned into their real arrays.

	Although we could probably perform this operation earlier, for
	good error reporting we need to keep the lists and remove the
	lists for longer than required.

	This optimization was triggered by Paolo profiling the compiler
	speed on the output of `gen-sample-program.pl' perl script.

	* decl.cs (DeclSpace.ResolveType): Set the ContainerType, so we do
	not crash in methods like MemberLookupFailed that use this field.

	This problem arises when the compiler fails to resolve a type
	during interface type definition for example.

svn path=/trunk/mcs/; revision=13391
2003-04-08 22:58:33 +00:00
Miguel de Icaza 76027b1f33 2003-02-18 Miguel de Icaza <[email protected]>
* expression.cs (Indexers.GetIndexersForType): Interfaces do not
	inherit from System.Object, so we have to stop at null, not only
	when reaching System.Object.

svn path=/trunk/mcs/; revision=13390
2003-04-08 22:58:25 +00:00
Miguel de Icaza 24587d53b2 2003-02-17 Miguel de Icaza <[email protected]>
* expression.cs: (Indexers.GetIndexersForType): Martin's fix used
	DeclaredOnly because the parent indexer might have had a different
	name, but did not loop until the top of the hierarchy was reached.

	The problem this one fixes is 35492: when a class implemented an
	indexer from an interface, we were getting the interface method
	(which was abstract) and we were flagging an error (can not invoke
	abstract method).

	This also keeps bug 33089 functioning, and test-148 functioning.

svn path=/trunk/mcs/; revision=13389
2003-04-08 22:58:16 +00:00
Miguel de Icaza c6b3671075 2003-02-17 Miguel de Icaza <[email protected]>
* typemanager.cs (IsSpecialMethod): The correct way of figuring
	out if a method is special is to see if it is declared in a
	property or event, or whether it is one of the predefined operator
	names.   This should fix correctly #36804.

svn path=/trunk/mcs/; revision=13388
2003-04-08 22:58:08 +00:00
Miguel de Icaza eefac6832b 2003-02-15 Miguel de Icaza <[email protected]>
The goal here is to remove the dependency on EmptyCast.Peel ().
	Killing it completely.

	The problem is that currently in a number of places where
	constants are expected, we have to "probe" for an EmptyCast, and
	Peel, which is not the correct thing to do, as this will be
	repetitive and will likely lead to errors.

	The idea is to remove any EmptyCasts that are used in casts that
	can be reduced to constants, so we only have to cope with
	constants.

	This bug hunt was triggered by Bug 37363 and the desire to remove
	the duplicate pattern where we were "peeling" emptycasts to check
	whether they were constants.  Now constants will always be
	constants.

	* ecore.cs: Use an enumconstant here instead of wrapping with
	EmptyCast.

	* expression.cs (Cast.TryReduce): Ah, the tricky EnumConstant was
	throwing me off.  By handling this we can get rid of a few hacks.

	* statement.cs (Switch): Removed Peel() code.

svn path=/trunk/mcs/; revision=13387
2003-04-08 22:58:00 +00:00
Miguel de Icaza f91d3bd508 2003-02-14 Miguel de Icaza <[email protected]>
* class.cs: Location information for error 508

svn path=/trunk/mcs/; revision=13386
2003-04-08 22:57:52 +00:00
Miguel de Icaza 4a7aa05aa0 2003-02-14 Miguel de Icaza <[email protected]>
* expression.cs (New.DoResolve): Add a guard against double
	resolution of an expression.

	The New DoResolve might be called twice when initializing field
	expressions (see EmitFieldInitializers, the call to
	GetInitializerExpression will perform a resolve on the expression,
	and later the assign will trigger another resolution

	This leads to bugs (#37014)

svn path=/trunk/mcs/; revision=13385
2003-04-08 22:57:44 +00:00
Miguel de Icaza 7aa778e859 2003-02-14 Miguel de Icaza <[email protected]>
* delegate.cs: The signature for EndInvoke should contain any ref
	or out parameters as well.  We were not doing this in the past.

svn path=/trunk/mcs/; revision=13384
2003-04-08 22:57:36 +00:00
Miguel de Icaza f3e90935dd 2003-02-14 Miguel de Icaza <[email protected]>
* class.cs (Field.Define): Do not overwrite the type definition
	inside the `volatile' group.  Turns out that volatile enumerations
	were changing the type here to perform a validity test, which
	broke conversions.

svn path=/trunk/mcs/; revision=13383
2003-04-08 22:57:32 +00:00
Miguel de Icaza 7461e052dd 2003-02-12 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): In the particular case of This
	and structs, we do not want to load the instance variable

svn path=/trunk/mcs/; revision=13382
2003-04-08 22:57:23 +00:00
Miguel de Icaza 74fc847409 Oops. Wrongg ChangeLog entry
svn path=/trunk/mcs/; revision=13381
2003-04-08 22:57:19 +00:00
Miguel de Icaza a348ea0eb4 2003-02-12 Zoltan Varga <[email protected]>
* attribute.cs (ApplyAttributes): apply all MethodImplAttributes, not
	just InternalCall.

svn path=/trunk/mcs/; revision=13380
2003-04-08 22:57:15 +00:00
Miguel de Icaza cf7e1e5628 2003-02-09 Martin Baulig <[email protected]>
* namespace.cs (Namespace..ctor): Added SourceFile argument.
	(Namespace.DefineNamespaces): New static public method; this is
	called when we're compiling with debugging to add all namespaces
	to the symbol file.

	* tree.cs (Tree.RecordNamespace): Added SourceFile argument and
	pass it to the Namespace's .ctor.

	* symbolwriter.cs (SymbolWriter.OpenMethod): Added TypeContainer
	and MethodBase arguments; pass the namespace ID to the symwriter;
	pass the MethodBase instead of the token to the symwriter.
	(SymbolWriter.DefineNamespace): New method to add a namespace to
	the symbol file.

svn path=/trunk/mcs/; revision=13379
2003-04-08 22:57:11 +00:00
Miguel de Icaza bc69e56f24 2003-02-09 Martin Baulig <[email protected]>
* symbolwriter.cs: New file.  This is a wrapper around
	ISymbolWriter with a cleaner API.  We'll dynamically Invoke()
	methods here in near future.

svn path=/trunk/mcs/; revision=13378
2003-04-08 22:57:03 +00:00
Miguel de Icaza 7aad6339d5 2003-02-09 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.Mark): Just pass the arguments to
	ILGenerator.MarkSequencePoint() which are actually used by the
	symbol writer.

svn path=/trunk/mcs/; revision=13377
2003-04-08 22:56:53 +00:00
Miguel de Icaza c5d4072717 2003-02-09 Martin Baulig <[email protected]>
* location.cs (SourceFile): New public sealed class.  This
	contains the name and an index which is used in the location's token.
	(Location): Reserve an appropriate number of bits in the token for
	the source file instead of walking over that list, this gives us a
	really huge performance improvement when compiling with debugging.

	* driver.cs (Driver.parse, Driver.tokenize_file): Take a
	`SourceFile' argument instead of a string.
	(Driver.ProcessFile): Add all the files via Location.AddFile(),
	but don't parse/tokenize here, we need to generate the list of all
	source files before we do that.
	(Driver.ProcessFiles): New static function.  Parses/tokenizes all
	the files.

	* cs-parser.jay (CSharpParser): Take a `SourceFile' argument
	instead of a string.

	* cs-tokenizer.cs (Tokenizer): Take `SourceFile' argument instead
	of a string.

svn path=/trunk/mcs/; revision=13376
2003-04-08 22:56:49 +00:00
Miguel de Icaza c90aea77f0 Hmm, no, this was wrong.
svn path=/trunk/mcs/; revision=13375
2003-04-08 22:56:44 +00:00
Miguel de Icaza a6fb2aa8b6 2003-02-09 Martin Baulig <[email protected]>
* driver.cs (Driver.SetupDefaultDefines): Define `__MonoRuntime__'
	if we're using mono's corlib.

svn path=/trunk/mcs/; revision=13374
2003-04-08 22:56:40 +00:00
Miguel de Icaza d122ad75f2 2003-02-09 Martin Baulig <[email protected]>
* cs-tokenizer.cs (Tokenizer.PreProcessLine): Also reset the
	filename on `#line default'.

svn path=/trunk/mcs/; revision=13373
2003-04-08 22:56:35 +00:00
Miguel de Icaza 7437c120de Sat Feb 8 17:03:16 CET 2003 Paolo Molaro <[email protected]>
* statement.cs: don't clear the pinned var when the fixed statement
	returns from the method (fixes bug#37752).

svn path=/trunk/mcs/; revision=13372
2003-04-08 22:56:31 +00:00
Miguel de Icaza 369f4c9226 Sat Feb 8 12:58:06 CET 2003 Paolo Molaro <[email protected]>
* typemanager.cs: fix from [email protected] (Marcus Urban)
	to IsValueType ().

svn path=/trunk/mcs/; revision=13371
2003-04-08 22:56:27 +00:00
Miguel de Icaza e00b52e19b 2003-02-07 Martin Baulig <[email protected]>
* driver.cs: Removed the `--debug-args' command line argument.

	* codegen.cs (CodeGen.SaveSymbols): Removed, this is now done
	automatically by the AsssemblyBuilder.
	(CodeGen.InitializeSymbolWriter): We don't need to call any
	initialization function on the symbol writer anymore.  This method
	doesn't take any arguments.

svn path=/trunk/mcs/; revision=13370
2003-04-08 22:56:23 +00:00
Miguel de Icaza d44f5f90c5 2003-02-03 Miguel de Icaza <[email protected]>
* driver.cs: (AddAssemblyAndDeps, LoadAssembly): Enter the types
	from referenced assemblies as well.

svn path=/trunk/mcs/; revision=13369
2003-04-08 22:56:18 +00:00
Miguel de Icaza 601fc335db 2003-02-02 Martin Baulig <[email protected]>
* class.cs (MethodData.Emit): Generate debugging info for external methods.

svn path=/trunk/mcs/; revision=13368
2003-04-08 22:56:14 +00:00
Miguel de Icaza 76025b5a58 2003-02-02 Martin Baulig <[email protected]>
* class.cs (Constructor.Emit): Open the symbol writer before
	emitting the constructor initializer.
	(ConstructorInitializer.Emit): Call ec.Mark() to allow
	single-stepping through constructor initializers.

svn path=/trunk/mcs/; revision=13367
2003-04-08 22:56:06 +00:00
Miguel de Icaza e92ab90ca7 2003-01-30 Miguel de Icaza <[email protected]>
* class.cs: Handle error 549: do not allow virtual methods in
	sealed classes.

svn path=/trunk/mcs/; revision=13366
2003-04-08 22:55:47 +00:00
Miguel de Icaza ef8ff88f37 Check access levels when resolving types
svn path=/trunk/mcs/; revision=13365
2003-04-08 22:55:38 +00:00
Miguel de Icaza 825eb30433 Add parameters and locals set in catch blocks that might return to set vector
svn path=/trunk/mcs/; revision=13364
2003-04-08 22:55:34 +00:00
Miguel de Icaza 86dd89feb8 2003-01-29 Miguel de Icaza <[email protected]>
* class.cs (Operator): Set the SpecialName flags for operators.

	* expression.cs (Invocation.DoResolve): Only block calls to
	accessors and operators on SpecialName methods.

	(Cast.TryReduce): Handle conversions from char constants.

svn path=/trunk/mcs/; revision=13363
2003-04-08 22:55:30 +00:00
Miguel de Icaza 04495ff65d Tue Jan 28 17:30:57 CET 2003 Paolo Molaro <[email protected]>
* statement.cs: small memory and time optimization in FlowBranching.

svn path=/trunk/mcs/; revision=13362
2003-04-08 22:55:18 +00:00
Miguel de Icaza ffad00c8ad 2003-01-28 Pedro Mart <[email protected]>
* expression.cs (IndexerAccess.DoResolveLValue): Resolve the same
        problem that the last fix but in the other sid (Set).

        * expression.cs (IndexerAccess.DoResolve): Fix a problem with a null

svn path=/trunk/mcs/; revision=13361
2003-04-08 22:55:14 +00:00
Miguel de Icaza 9cbab57694 Combine some if statements.
svn path=/trunk/mcs/; revision=13360
2003-04-08 22:55:06 +00:00
Miguel de Icaza d72f938fa1 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: fixed bug #37187.

svn path=/trunk/mcs/; revision=13359
2003-04-08 22:54:58 +00:00
Miguel de Icaza 2d1822f649 2003-01-27 Pedro Martinez Juli� <[email protected]>
* expression.cs (IndexerAccess.DoResolve): Before trying to resolve
	any indexer, it's needed to build a list with all the indexers in the
	hierarchy (AllGetters), else we have problems. Fixes #35653.

svn path=/trunk/mcs/; revision=13358
2003-04-08 22:54:54 +00:00
Miguel de Icaza 650d6f558d 2003-01-23 Miguel de Icaza <[email protected]>
* class.cs (MethodData.Define): It is wrong for an interface
	implementation to be static in both cases: explicit and implicit.
	We were only handling this in one case.

	Improve the if situation there to not have negations.

	* class.cs (Field.Define): Turns out that we do not need to check
	the unsafe bit on field definition, only on usage.  Remove the test.

svn path=/trunk/mcs/; revision=13357
2003-04-08 22:54:46 +00:00
Miguel de Icaza b537810f7d 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: use assembly.Location instead of Codebase (the latest
	patch made mcs fail when using MS assemblies).

svn path=/trunk/mcs/; revision=13356
2003-04-08 22:54:38 +00:00
Miguel de Icaza 3de91ae8b2 2003-01-21 Tim Haynes <[email protected]>
* driver.cs: use DirectorySeparatorChar instead of a hardcoded "/" to
	get the path to *corlib.dll.

svn path=/trunk/mcs/; revision=13355
2003-04-08 22:54:34 +00:00
Miguel de Icaza 3b6488d60f delete garbage
svn path=/trunk/mcs/; revision=13354
2003-04-08 22:54:29 +00:00
Miguel de Icaza 0a6c7864fa 2003-01-21 Nick Drochak <[email protected]>
* cs-tokenizer.cs:
	* pending.cs:
	* typemanager.cs: Remove compiler warnings

svn path=/trunk/mcs/; revision=13353
2003-04-08 22:54:25 +00:00
Miguel de Icaza 75072803c7 ~head -4 ChangeLog~
svn path=/trunk/mcs/; revision=13352
2003-04-08 22:54:20 +00:00
Miguel de Icaza 89f27edea4 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs: little fixes to line numbering when #line is used.

svn path=/trunk/mcs/; revision=13351
2003-04-08 22:54:12 +00:00
Miguel de Icaza 806465eff9 2003-01-18 Zoltan Varga <[email protected]>
* class.cs (Constructor::Emit): Emit debugging info for constructors.

svn path=/trunk/mcs/; revision=13350
2003-04-08 22:54:08 +00:00
Miguel de Icaza 548f623472 2003-01-17 Miguel de Icaza <[email protected]>
* cs-parser.jay: Small fix: we were not comparing the constructor
	name correctly.   Thanks to Zoltan for the initial pointer.

svn path=/trunk/mcs/; revision=13349
2003-04-08 22:54:00 +00:00
Miguel de Icaza 3be493f965 Set file name when specified with #line
svn path=/trunk/mcs/; revision=13348
2003-04-08 22:53:55 +00:00
Miguel de Icaza ff0dc6bdde 2003-01-15 Miguel de Icaza <[email protected]>
* cs-parser.jay: Only perform the constructor checks here if we
	are named like the class;  This will help provider a better
	error.  The constructor path is taken when a type definition is
	not found, but most likely the user forgot to add the type, so
	report that rather than the constructor error.

svn path=/trunk/mcs/; revision=13347
2003-04-08 22:53:51 +00:00
Miguel de Icaza 80c18c04dc Tue Jan 14 10:36:49 CET 2003 Paolo Molaro <[email protected]>
* class.cs, rootcontext.cs: small changes to avoid unnecessary memory
	allocations.

svn path=/trunk/mcs/; revision=13346
2003-04-08 22:53:47 +00:00
Miguel de Icaza 23958af563 Add cleanup call.
svn path=/trunk/mcs/; revision=13345
2003-04-08 22:53:39 +00:00
Miguel de Icaza e3a23424cd 2003-01-13 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.

* skeleton.cs (cleanpup): Rename to cleanup to make it look more consistent.

* cs-tokenizer.cs (Cleanup): Rename to 'cleanup' to make it more
consistent with other methods.

svn path=/trunk/mcs/; revision=13344
2003-04-08 22:53:35 +00:00
Miguel de Icaza 9cd7be04bd Add Cleanup method, also fix #region error messages.
svn path=/trunk/mcs/; revision=13343
2003-04-08 22:53:31 +00:00
Miguel de Icaza a89d362791 Sun Jan 12 19:58:42 CET 2003 Paolo Molaro <[email protected]>
* attribute.cs: only set GuidAttr to true when we have a
	GuidAttribute.

svn path=/trunk/mcs/; revision=13342
2003-04-08 22:53:27 +00:00
Miguel de Icaza 3e56bf7fe5 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* ecore.cs:
	* expression.cs:
	* typemanager.cs: fixes to allow mcs compile corlib with the new
	Type.IsSubclassOf fix.

svn path=/trunk/mcs/; revision=13341
2003-04-08 22:53:23 +00:00
Miguel de Icaza 5cea06ed93 2003-01-08 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference.DoResolve): Classify a
	constant as a value, not as a variable.   Also, set the type for
	the variable.

svn path=/trunk/mcs/; revision=13340
2003-04-08 22:53:15 +00:00
Miguel de Icaza eff7ccf053 2003-01-08 Miguel de Icaza <[email protected]>
* cs-parser.jay (fixed_statement): take a type instead of a
	pointer_type, so we can produce a better error message later.

	* statement.cs (Fixed.Resolve): Flag types that are not pointers
	as an error.

svn path=/trunk/mcs/; revision=13339
2003-04-08 22:53:07 +00:00
Miguel de Icaza 3ea8fd7d39 2003-01-08 Miguel de Icaza <[email protected]>
* statement.cs: First populate the pinned variables, then emit the
	statement, then clear the variables.  Before I was emitting the
	code once for each fixed piece.

svn path=/trunk/mcs/; revision=13338
2003-04-08 22:53:03 +00:00
Miguel de Icaza 6289e1de36 2003-01-08 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.MergeChild): A break in a
	SWITCH_SECTION does not leave a loop.  Fixes #36155.

svn path=/trunk/mcs/; revision=13337
2003-04-08 22:52:59 +00:00
Miguel de Icaza fb3483b318 2003-01-08 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.CheckOutParameters): `struct_params'
	lives in the same number space than `param_map'.  Fixes #36154.

svn path=/trunk/mcs/; revision=13336
2003-04-08 22:52:55 +00:00
Miguel de Icaza b73267aeb4 2003-01-07 Miguel de Icaza <[email protected]>
* cs-parser.jay (constructor_declaration): Set the
	Constructor.ModFlags before probing for it.  This makes the
	compiler report 514, 515 and 132 (the code was there, but got
	broken).

svn path=/trunk/mcs/; revision=13335
2003-04-08 22:52:49 +00:00
Miguel de Icaza 8ea6918491 2003-01-07 Miguel de Icaza <[email protected]>
* statement.cs (Goto.Resolve): Set `Returns' to ALWAYS.
	(GotoDefault.Resolve): Set `Returns' to ALWAYS.
	(GotoCase.Resolve): Set `Returns' to ALWAYS. Fixes the test-49 problem on windows

svn path=/trunk/mcs/; revision=13334
2003-04-08 22:52:45 +00:00
Miguel de Icaza 3dad594e29 Tue Jan 7 18:32:24 CET 2003 Paolo Molaro <[email protected]>
* enum.cs: create the enum static fields using the enum type.

svn path=/trunk/mcs/; revision=13333
2003-04-08 22:52:41 +00:00
Miguel de Icaza d5936fd486 Tue Jan 7 18:23:44 CET 2003 Paolo Molaro <[email protected]>
* class.cs: don't try to create the ParamBuilder for the return
	type if it's not needed (and handle it breaking for the ms runtime
	anyway).

svn path=/trunk/mcs/; revision=13332
2003-04-08 22:52:37 +00:00
Miguel de Icaza 7692d402b6 Add REGION flag to #region directives, and add checks to make sure that regions are being poped correctly
svn path=/trunk/mcs/; revision=13331
2003-04-08 22:52:29 +00:00
Miguel de Icaza 713564ea93 2002-12-29 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (get_cmd_arg): Fixups to allow \r to terminate
	the command.   This showed up while compiling the JANET source
	code, which used \r as its only newline separator.

svn path=/trunk/mcs/; revision=13330
2003-04-08 22:52:25 +00:00
Miguel de Icaza bee3c24c90 2002-12-28 Miguel de Icaza <[email protected]>
* class.cs (Method.Define): If we are an operator (because it
	reuses our code), then set the SpecialName and HideBySig.  #36128

svn path=/trunk/mcs/; revision=13329
2003-04-08 22:52:21 +00:00
Miguel de Icaza 4d4435aa41 2002-12-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.DoResolve): Do not allow methods with
	SpecialName to be invoked.

svn path=/trunk/mcs/; revision=13328
2003-04-08 22:52:12 +00:00
Miguel de Icaza 01459794d7 2002-12-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.DoResolve): Do not allow methods with
	SpecialName to be invoked.

svn path=/trunk/mcs/; revision=13327
2003-04-08 22:52:09 +00:00
Miguel de Icaza 522b354ae1 2002-12-21 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Small fix to the parser: compute the ascii
	number before adding it.

svn path=/trunk/mcs/; revision=13326
2003-04-08 22:52:01 +00:00
Miguel de Icaza c3a784969d 2002-12-21 Ravi Pratap <[email protected]>
* ecore.cs (StandardImplicitConversion): When in an unsafe
	context, we allow conversion between void * to any other pointer
	type. This fixes bug #35973.

svn path=/trunk/mcs/; revision=13325
2003-04-08 22:51:56 +00:00
Miguel de Icaza 4c72648ebe Oops, revert debugging code
svn path=/trunk/mcs/; revision=13324
2003-04-08 22:51:52 +00:00
Miguel de Icaza 830380101f Use Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless outputs are used
svn path=/trunk/mcs/; revision=13323
2003-04-08 22:51:48 +00:00
Miguel de Icaza 2322340461 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* rootcontext.cs: fixed compilation of corlib.

svn path=/trunk/mcs/; revision=13322
2003-04-08 22:51:44 +00:00
Miguel de Icaza 890f6df8d2 2002-12-19 Miguel de Icaza <[email protected]>
* attribute.cs (Attributes.Contains): Add new method.

	* class.cs (MethodCore.LabelParameters): if the parameter is an
	`out' parameter, check that no attribute `[In]' has been passed.

svn path=/trunk/mcs/; revision=13321
2003-04-08 22:51:40 +00:00
Miguel de Icaza b1ea17e0b8 2002-12-14 Jaroslaw Kowalski <[email protected]>
* decl.cs: Added special case to allow overrides on "protected
	internal" methods

svn path=/trunk/mcs/; revision=13320
2003-04-08 22:51:32 +00:00
Miguel de Icaza b33ead382a 2002-12-18 Ravi Pratap <[email protected]>
* attribute.cs (Attributes.AddAttributeSection): Rename to this
	since it makes much more sense.

	(Attributes.ctor): Don't require a Location parameter.

	* rootcontext.cs (AddGlobalAttributeSection): Rename again.

	* attribute.cs (ApplyAttributes): Remove extra Location parameters
	since we already have that information per attribute.

	* everywhere : make appropriate changes.

	* class.cs (LabelParameters): Write the code which actually
	applies attributes to the return type. We can't do this on the MS
	.NET runtime so we flag a warning in the case an exception is
	thrown.

svn path=/trunk/mcs/; revision=13319
2003-04-08 22:51:28 +00:00
Miguel de Icaza a613caeffb 2002-12-18 Miguel de Icaza <[email protected]>
* const.cs: Handle implicit null conversions here too.

svn path=/trunk/mcs/; revision=13318
2003-04-08 22:51:20 +00:00
Miguel de Icaza 9488ca4732 2002-12-17 Ravi Pratap <[email protected]>
* class.cs (MethodCore.LabelParameters): Remove the extra
	Type [] parameter since it is completely unnecessary. Instead
	pass in the method's attributes so that we can extract
	the "return" attribute.

svn path=/trunk/mcs/; revision=13317
2003-04-08 22:51:16 +00:00
Miguel de Icaza ce9c099ac0 2002-12-17 Miguel de Icaza <[email protected]>
* cs-parser.jay (parse): Use Report.Error to flag errors instead
	of ignoring it and letting the compile continue.

	* typemanager.cs (ChangeType): use an extra argument to return an
	error condition instead of throwing an exception.

svn path=/trunk/mcs/; revision=13316
2003-04-08 22:51:08 +00:00
Miguel de Icaza 8b9064eba2 2002-12-15 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduce): mimic the code for the regular
	code path.  Perform an implicit cast in the cases where we can
	implicitly convert to one of the integral types, and then reduce
	based on that constant.   This fixes bug #35483.

svn path=/trunk/mcs/; revision=13315
2003-04-08 22:51:04 +00:00
Miguel de Icaza 9abfb1651d 2002-12-14 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixed cut & paste error in GetRemoveMethod.

svn path=/trunk/mcs/; revision=13314
2003-04-08 22:50:56 +00:00
Miguel de Icaza 2a6517f3c7 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: fixed bug #35489.

svn path=/trunk/mcs/; revision=13313
2003-04-08 22:50:52 +00:00
Miguel de Icaza ff40beaedf 2002-12-12 Miguel de Icaza <[email protected]>
* class.cs: Remove some dead code.

	* cs-parser.jay: Estimate the number of methods needed
	(RootContext.MethodCount);

	* cs-tokenizer.cs: Use char arrays for parsing identifiers and
	numbers instead of StringBuilders.

	* support.cs (PtrHashtable): Add constructor with initial size;
	We can now reduce reallocations of the method table.

svn path=/trunk/mcs/; revision=13312
2003-04-08 22:50:48 +00:00
César Natarén f15ac05199 Added more syntatic and lexical rules. See ChangeLog.
svn path=/trunk/mcs/; revision=13310
2003-04-08 19:40:20 +00:00
Miguel de Icaza 005d5a1473 2003-04-08 Miguel de Icaza <[email protected]>
* System.Data.OracleClient/OracleConnection.cs: Apply fix from
	David Pickens <[email protected]>

svn path=/trunk/mcs/; revision=13305
2003-04-08 17:48:17 +00:00
Rafael Teixeira 6a5bfb1d61 Adding Rafael Teixeira
svn path=/trunk/mono/; revision=13303
2003-04-08 14:14:09 +00:00
Paolo Molaro ddcc8f35a8 Tue Apr 8 11:41:26 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: add BUILT_SOURCES.

svn path=/trunk/mono/; revision=13300
2003-04-08 09:48:46 +00:00
Paolo Molaro c12430c9d6 Tue Apr 8 11:37:29 CEST 2003 Paolo Molaro <[email protected]>
* atomic.h: fix macosx build by "Urs C. Muff" <[email protected]>.

svn path=/trunk/mono/; revision=13299
2003-04-08 09:45:23 +00:00
Paolo Molaro 91fe0d562a Tue Apr 8 11:19:53 CEST 2003 Paolo Molaro <[email protected]>
* class.h: avoid the C++ keywords in header files (Jerome Laban
	spotted and fixed this).

svn path=/trunk/mono/; revision=13298
2003-04-08 09:27:56 +00:00
Jackson Harper f53336fad6 * ILParser.jay: Implement data items
svn path=/trunk/mcs/; revision=13297
2003-04-08 06:30:13 +00:00
Martin Willemoes Hansen a442753c9d * Stubed rest of System.Drawing.Design
svn path=/trunk/mcs/; revision=13296
2003-04-08 06:10:25 +00:00
Jackson Harper 843827a5a2 * TypeRef.cs: Return FieldDef when adding a field def to a class
svn path=/trunk/mcs/; revision=13295
2003-04-08 05:46:09 +00:00
Jackson Harper 4e3957507e * ILParser.jay: Implement most field features
svn path=/trunk/mcs/; revision=13294
2003-04-08 05:42:26 +00:00
Dennis Hayes e67272e231 updated copyrights and converted to unix style newlines
svn path=/trunk/mcs/; revision=13293
2003-04-08 02:41:38 +00:00
Dennis Hayes 7a9439f74f converted to unix newlines and rolled copyright to 2002/3
svn path=/trunk/mcs/; revision=13292
2003-04-08 02:28:15 +00:00
Sebastien Pouliot 527e26adfa *** empty log message ***
svn path=/trunk/mono/; revision=13291
2003-04-08 02:26:04 +00:00
Dennis Hayes 80978e873d updated checkout list
svn path=/trunk/mcs/; revision=13290
2003-04-08 02:17:17 +00:00
Dennis Hayes a6b9dd0fac removed inherited members, removed a throw not implmented, added comments
svn path=/trunk/mcs/; revision=13289
2003-04-08 02:15:56 +00:00
Gonzalo Paniagua Javier ec86030b4c 2003-04-08 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed bug #40910.

svn path=/trunk/mcs/; revision=13288
2003-04-08 01:29:30 +00:00
Miguel de Icaza d92fc50bc0 Update
svn path=/trunk/mono/; revision=13286
2003-04-07 23:41:33 +00:00
Miguel de Icaza 226eb14b61 First pass at mini man page
svn path=/trunk/mono/; revision=13285
2003-04-07 18:51:29 +00:00
Martin Baulig 3dccd821a8 2003-04-07 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.CurrentFile): New public field.
	(EmitContext.Mark): Use the CurrentFile to check whether the
	location is in the correct file.
	(EmitContext.EmitTopBlock): Initialize CurrentFile here.

svn path=/trunk/mcs/; revision=13284
2003-04-07 17:52:44 +00:00
Martin Baulig bcd5465dcf 2003-04-07 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveBoolean): Don't call ec.Mark().

	* codegen.cs (EmitContext.EmitTopBlock): Don't call Mark() on the
	location.  [FIXME: The location argument which gets passed to this
	method is sometimes wrong!]

svn path=/trunk/mcs/; revision=13283
2003-04-07 16:59:03 +00:00
Paolo Molaro 0cde9ce3e6 Mon Apr 7 16:31:34 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: give a better error message when the assembly to execute
	doesn't have an entry point.

svn path=/trunk/mono/; revision=13280
2003-04-07 14:31:54 +00:00
Dietmar Maurer 55917d33a1 2003-04-07 Dietmar Maurer <[email protected]>
* Makefile.am: added hack for automake

svn path=/trunk/mono/; revision=13278
2003-04-07 14:24:58 +00:00
Dietmar Maurer db4619a711 *** empty log message ***
svn path=/trunk/mono/; revision=13276
2003-04-07 14:00:52 +00:00
Dietmar Maurer 61bb56e984 2003-04-07 Dietmar Maurer <[email protected]>
* mono/mini/mini.c (mono_save_args): always copy arguments to keep
	correct sematics.

	* mono/mini/ssa.c (mono_ssa_avoid_copies): don't optimize calls

svn path=/trunk/mono/; revision=13275
2003-04-07 13:57:52 +00:00
Nick Drochak c40833f1c0 2003-04-07 Nick Drochak <[email protected]>
* codegen.cs: Be more verbose when we can't find the symbol writer dll.

svn path=/trunk/mcs/; revision=13274
2003-04-07 13:54:16 +00:00
Martin Baulig a8f85636ca 2003-04-07 Martin Baulig <[email protected]>
* mono/mini/: Added this directory to the build; install `mini'
	and `libmini.la'.

svn path=/trunk/mono/; revision=13268
2003-04-07 12:37:36 +00:00
Dietmar Maurer 40a261fb83 some experimental code - disabled
svn path=/trunk/mono/; revision=13267
2003-04-07 11:43:27 +00:00
Gaurav Vaish f942ad8b26 2003-04-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItem.cs      : Completed.

svn path=/trunk/mcs/; revision=13266
2003-04-07 11:24:39 +00:00
Piers Haken 011004ad7f 2003-03-07 Piers Haken <[email protected]>
* Tokenizer.cs: allow '.'s in NCNames

svn path=/trunk/mcs/; revision=13265
2003-04-07 11:15:36 +00:00
Dietmar Maurer 171cc673c8 another inlining test
svn path=/trunk/mono/; revision=13264
2003-04-07 11:14:15 +00:00
Dietmar Maurer 1d94fee9a9 2003-04-07 Dietmar Maurer <[email protected]>
* mono/mini/ssa.c (mono_ssa_avoid_copies): don't optimize calls

svn path=/trunk/mono/; revision=13263
2003-04-07 11:08:22 +00:00
Piers Haken 7576c51d60 2003-03-07 Piers Haken <[email protected]>
* Exression.cs:
	* DefaultContext.cs:
		fixed function argument resolution

svn path=/trunk/mcs/; revision=13262
2003-04-07 10:55:13 +00:00
Gaurav Vaish 02d84105b4 2003-04-07 Gaurav Vaish
* team.xml - Anti-Spamify the email address

svn path=/trunk/mono/; revision=13261
2003-04-07 08:45:46 +00:00
Duncan Mak 93acf29e0c Fix ContributorComparer.
svn path=/trunk/mono/; revision=13260
2003-04-07 08:09:47 +00:00
Gonzalo Paniagua Javier 7c5837d278 Make it work again
svn path=/trunk/mono/; revision=13259
2003-04-07 00:20:35 +00:00
Sebastien Pouliot 5ec87b08dc 2003-04-06 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
	* DSACryptoServiceProvider.cs: Fix bug where key generation always
	resulted in 1024 bits keypair.
	* KeySizes.cs: Added internal IsLegalKeySize and IsLegal to avoid
	duplication in both AsymmetricAlgorithm and SymmetricAlgorithm.
	* RC2.cs: Modified to use IsLegalKeySize from KeySizes.cs.
	* RSACryptoServiceProvider.cs: Fix bug where key generation always
	resulted in 1024 bits keypair. Should fix unit test failure under
	Linux.
	* SymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.

svn path=/trunk/mcs/; revision=13256
2003-04-06 22:03:51 +00:00
Martin Baulig 1a4800e8e4 2003-04-06 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Don't report an error
	if it's a nested child, but also deriving from the outer class.
	See test 190.cs.

svn path=/trunk/mcs/; revision=13251
2003-04-06 21:41:27 +00:00
Martin Baulig cd19ec807f 2003-04-06 Martin Baulig <[email protected]>
* test-190.cs: New test.

svn path=/trunk/mcs/; revision=13249
2003-04-06 21:31:49 +00:00
Martin Baulig 12f129c9a9 2003-04-06 Martin Baulig <[email protected]>
* typemanager.cs (IsNestedChildOf): Make this work if it's a
	nested child, but also deriving from the outer class.  See
	test-190.cs.
	(FilterWithClosure): We may access private members of the outer
	class if we're a nested child and deriving from the outer class.
	(RealMemberLookup): Only set `closure_private_ok' if the
	`original_bf' contained BindingFlags.NonPublic.

svn path=/trunk/mcs/; revision=13248
2003-04-06 21:31:26 +00:00
Martin Baulig 6c30df32d2 Ooops, forgot to commit this. This will actually fix #40670.
svn path=/trunk/mcs/; revision=13247
2003-04-06 20:50:15 +00:00
Sebastien Pouliot 39dffd7dca 2003-04-06 Sebastien Pouliot <[email protected]>
* corlib_test.args: added X509CertificateTest.cs

svn path=/trunk/mcs/; revision=13246
2003-04-06 16:01:20 +00:00
Sebastien Pouliot da75e4e65f 2003-04-06 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added X509CertificateTest.cs

svn path=/trunk/mcs/; revision=13245
2003-04-06 14:04:58 +00:00
Sebastien Pouliot 33dae0da5e 2003-04-06 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Partial fix for bug #40689 (workaround). Does not
	throw a NotSupportedException on closing a CryptoStream in read mode
	(like MS does but unlike MS documents).

svn path=/trunk/mcs/; revision=13244
2003-04-06 13:56:50 +00:00
Alexandre Pigolkine bbbbc2c96b initial implementation of MDI interface; Attempt to minimize fliker effect
svn path=/trunk/mcs/; revision=13243
2003-04-06 12:22:19 +00:00
Gonzalo Paniagua Javier 2b32d6104c added myself
svn path=/trunk/mono/; revision=13242
2003-04-06 10:54:09 +00:00
Gonzalo Paniagua Javier 6202fa4948 2003-04-06 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_unhandled_exception): fill in the arguments for the
	UnhandledException event. Only trigger that event for the default
	domain (as MS does).

svn path=/trunk/mono/; revision=13239
2003-04-06 10:17:19 +00:00
Jackson Harper 2566174917 * ILParser.jay: Set type parameter index
svn path=/trunk/mcs/; revision=13236
2003-04-06 08:14:19 +00:00
Jackson Harper d3183de616 * PEAPI.cs: Add indexes to GenericParameters, make string index
always a full 4 bytes.

svn path=/trunk/mcs/; revision=13235
2003-04-06 08:12:36 +00:00
Pedro Martínez Juliá af12dcffdf Modify my image entry.
svn path=/trunk/mono/; revision=13234
2003-04-06 07:25:33 +00:00
Jackson Harper f18ee79d99 Add my picture
svn path=/trunk/mono/; revision=13233
2003-04-06 06:01:27 +00:00
Jackson Harper 0333475e72 My picture.
svn path=/trunk/mono/; revision=13232
2003-04-06 06:00:13 +00:00
Miguel de Icaza 321654ad5b Commit. Please do not reformat gratuitously
svn path=/trunk/mono/; revision=13231
2003-04-06 05:52:50 +00:00
Ben Maurer 8bfde8a4b2 Added myself
svn path=/trunk/mono/; revision=13228
2003-04-06 04:50:51 +00:00
Jackson Harper b1607420fa remove classref references
svn path=/trunk/mcs/; revision=13227
2003-04-06 03:10:02 +00:00
Jackson Harper 432090f977 * ILParser.jay: Emit parameterized types
svn path=/trunk/mcs/; revision=13224
2003-04-06 00:29:49 +00:00
Jackson Harper b5d446baea * PEAPI.cs: Add GenericParameter table, and method to add generic
parameters.

svn path=/trunk/mcs/; revision=13223
2003-04-06 00:25:17 +00:00
Per Arneng 635d8da519 forgot one thing
svn path=/trunk/mono/; revision=13222
2003-04-05 23:41:42 +00:00
Per Arneng c43ac3f702 Added photo
svn path=/trunk/mono/; revision=13221
2003-04-05 23:10:51 +00:00
Miguel de Icaza 23c7c0e55c Flush
svn path=/trunk/mono/; revision=13218
2003-04-05 21:27:29 +00:00
Miguel de Icaza 0815482dd1 2003-04-05 Miguel de Icaza <[email protected]>
* jit.c (check_inlining): honor the NOINLING atttribute.

svn path=/trunk/mono/; revision=13216
2003-04-05 20:56:20 +00:00
Miguel de Icaza 3017ddec88 2003-04-05 Miguel de Icaza <[email protected]>
* mini.c (mono_method_check_inlining): Honor the
	METHOD_IMPL_ATTRIBUTE_NOINLINING flag.

svn path=/trunk/mono/; revision=13215
2003-04-05 20:53:55 +00:00
Jonathan Pryor ec96e63788 Add myself to the Mono Team page.
svn path=/trunk/mono/; revision=13208
2003-04-05 19:43:39 +00:00
Martin Baulig 3218ee5fd1 2003-04-05 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #40670.

svn path=/trunk/mcs/; revision=13207
2003-04-05 19:32:07 +00:00
Miguel de Icaza 06e358c27a Make it build, quick setup for now
svn path=/trunk/mono/; revision=13206
2003-04-05 19:22:22 +00:00
Miguel de Icaza 5a710fa941 New compilation engine for Mono
svn path=/trunk/mono/; revision=13205
2003-04-05 19:21:32 +00:00
Martin Baulig 64655bb5ff 2003-04-05 Martin Baulig <[email protected]>
* test-189.cs: New test for bug #40670.

svn path=/trunk/mcs/; revision=13204
2003-04-05 19:10:02 +00:00
Miguel de Icaza 62012c26d0 2003-04-05 Miguel de Icaza <[email protected]>
* Console.cs: Make stderr, stdout and stdin use synchronized
	versions of the their readers/writers.

2003-03-20  Miguel de Icaza  <[email protected]>

	* Thread.cs (CurrentCuluture): use the invaraint culture instead
	of "" for the current_culture setting.

2003-04-05  Miguel de Icaza  <[email protected]>

	* TextWriter.cs: Implemented Synchronized method.

	* TextReader.cs: Implemented Synchronized method.

svn path=/trunk/mcs/; revision=13203
2003-04-05 19:00:53 +00:00
Miguel de Icaza acd6b76952 Add pedro
svn path=/trunk/mono/; revision=13202
2003-04-05 17:52:45 +00:00
Patrik Torstensson 672e1916c0 2003-04-05 Patrik Torstensson
Added my self.

svn path=/trunk/mono/; revision=13201
2003-04-05 17:20:25 +00:00
Ville Palo 4244bdbf3d 2003-04-05 Ville Palo <[email protected]>
* DataTable.cs: Remove UniqueConstraints when adding new ones

svn path=/trunk/mcs/; revision=13200
2003-04-05 16:09:26 +00:00
Lluis Sanchez 4958ea6df5 Added myself
svn path=/trunk/mono/; revision=13198
2003-04-05 13:02:18 +00:00
Nick Drochak 543d4d2259 2003-04-05 Nick Drochak <[email protected]>
* makefile.gnu: revert. debugger support not installed by default in mcs

svn path=/trunk/mcs/; revision=13197
2003-04-05 12:30:50 +00:00
Gaurav Vaish a5dfb07fd8 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : HasCapability(string, string)
                             - In words how to implement it.

svn path=/trunk/mcs/; revision=13196
2003-04-05 10:42:20 +00:00
Gaurav Vaish 5f4782a70f 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : More methods.
* DeviceFilterDictionary.cs: Used by MobCaps for filtering
                             the capabilities. Init impl.

svn path=/trunk/mcs/; revision=13195
2003-04-05 10:30:10 +00:00
Martin Willemoes Hansen c833d7d521 Added my picture
svn path=/trunk/mono/; revision=13194
2003-04-05 10:12:36 +00:00
Gaurav Vaish 2202465d13 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : Completed all properties.
                             Thanks to the tool that I made.
* ErrorHandlerModule.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=13193
2003-04-05 09:57:21 +00:00
Nick Drochak 16453f8cce Shameless self-promotion
svn path=/trunk/mono/; revision=13192
2003-04-05 09:32:38 +00:00
Pedro Martínez Juliá a233ad6461 Changing my entry
svn path=/trunk/mono/; revision=13191
2003-04-05 08:48:46 +00:00
Gaurav Vaish 294b0d88c4 2003-04-05 Gaurav Vaish
* team.xml: Added myself as a contributor!

svn path=/trunk/mono/; revision=13190
2003-04-05 08:28:06 +00:00
Gaurav Vaish 04e41ecadf 2003-04-05 Gaurav Vaish
* gvaish.png: Add my photo also. ;-)

svn path=/trunk/mono/; revision=13189
2003-04-05 08:25:54 +00:00
Ville Palo 6dc108df79 2003-04-05 Ville Palo <[email protected]>
* DataTableTest.cs: little fix.

svn path=/trunk/mcs/; revision=13188
2003-04-05 08:21:02 +00:00
Nick Drochak 27b20bb34d oops
svn path=/trunk/mcs/; revision=13187
2003-04-05 08:15:47 +00:00
Nick Drochak 1c704865ca 2003-04-05 Nick Drochak <[email protected]>
* PathTest.cs: Use nunit2 convention for exception test.

svn path=/trunk/mcs/; revision=13186
2003-04-05 08:01:03 +00:00
Alan Tam cd3e7d1f92 Add me to the team page.
svn path=/trunk/mono/; revision=13185
2003-04-05 07:52:05 +00:00
Nick Drochak c0d3fb7d98 2003-04-05 Nick Drochak <[email protected]>
* makefile.gnu: compile with debug.

svn path=/trunk/mcs/; revision=13184
2003-04-05 07:47:21 +00:00
Nick Drochak b8cc21d389 Add Nick
svn path=/trunk/mono/; revision=13183
2003-04-05 07:36:13 +00:00
Jackson Harper 0c147c7591 * ILParser.jay: Add parameterized method declarations.
svn path=/trunk/mcs/; revision=13182
2003-04-05 03:41:29 +00:00
Jackson Harper 7e344367a3 Add I
svn path=/trunk/mono/; revision=13181
2003-04-05 03:32:22 +00:00
César Natarén 7c035d225c Added myself to the team page.
svn path=/trunk/mono/; revision=13180
2003-04-05 02:19:29 +00:00
Sebastien Pouliot 445805ede0 *** empty log message ***
svn path=/trunk/mono/; revision=13179
2003-04-05 00:54:42 +00:00
Per Arneng c3ef6d3d63 added myself ;)
svn path=/trunk/mono/; revision=13177
2003-04-04 23:17:39 +00:00
Miguel de Icaza 971d41e525 Do not close
svn path=/trunk/mcs/; revision=13174
2003-04-04 23:00:45 +00:00
Miguel de Icaza fc54e20ad8 2003-04-04 Miguel de Icaza <[email protected]>
* FileStream.cs (Read, ReadByte, Seek): throw
	ObjectDisposedException if the handle has been released.

	(Read): Throw exceptions specified in the spec.

	(Read, Write, ReadSegment, WriteSegment): There is no requirement for any
	instance methods of FileStream to be thread safe, so remove all
	the calls to lock on the object

svn path=/trunk/mcs/; revision=13172
2003-04-04 22:49:02 +00:00
Piers Haken c725e633af added schema
svn path=/trunk/mono/; revision=13171
2003-04-04 22:07:13 +00:00
Miguel de Icaza 958d5a1363 put image back
svn path=/trunk/mono/; revision=13170
2003-04-04 22:04:19 +00:00
Johannes Roith ac65955bf0 fix: display icon
svn path=/trunk/mono/; revision=13169
2003-04-04 21:57:03 +00:00
Miguel de Icaza d1a5a277e8 Flush
svn path=/trunk/mono/; revision=13168
2003-04-04 21:55:25 +00:00
Miguel de Icaza 9898616b87 update
svn path=/trunk/mono/; revision=13167
2003-04-04 21:53:25 +00:00
Johannes Roith 0e3c8237f2 photo.
svn path=/trunk/mono/; revision=13166
2003-04-04 21:50:39 +00:00
Johannes Roith 1c04b48fdf add myself
svn path=/trunk/mono/; revision=13165
2003-04-04 21:45:01 +00:00
Martin Willemoes Hansen 671f13be37 *** empty log message ***
svn path=/trunk/mono/; revision=13164
2003-04-04 21:30:45 +00:00
Piers Haken 239e4454f7 added myself
svn path=/trunk/mono/; revision=13163
2003-04-04 21:28:19 +00:00
Martin Willemoes Hansen 0cb2e024ce team.xml
svn path=/trunk/mono/; revision=13162
2003-04-04 21:20:57 +00:00
Tim Coleman 81f5d2bede *** empty log message ***
svn path=/trunk/mono/; revision=13161
2003-04-04 21:15:42 +00:00
Marco Ridoni 05a30ab477 Added Marco Ridoni
svn path=/trunk/mono/; revision=13160
2003-04-04 21:05:17 +00:00
Alp Toker 6385b5baf1 Team entry
svn path=/trunk/mono/; revision=13159
2003-04-04 20:46:15 +00:00
Duncan Mak 431c7bb129 XML Serialization isn't completely working yet ;(
svn path=/trunk/mono/; revision=13158
2003-04-04 20:31:47 +00:00
Duncan Mak 005f28ec07 Fixity Fix
svn path=/trunk/mono/; revision=13157
2003-04-04 20:27:56 +00:00
Duncan Mak 05b50ddc7e Client for writing out team.xml entries
svn path=/trunk/mono/; revision=13156
2003-04-04 20:16:21 +00:00
Miguel de Icaza 1ef49f374d Update
svn path=/trunk/mono/; revision=13155
2003-04-04 20:16:03 +00:00
Pedro Martínez Juliá 36ab9f0237 Added my entry
svn path=/trunk/mono/; revision=13154
2003-04-04 20:02:15 +00:00
Duncan Mak 538b2a6cb3 * doc/web/render-team-page.cs: Make it use 'none.png' if no image
are specified in the XML.

svn path=/trunk/mono/; revision=13153
2003-04-04 19:47:10 +00:00
Duncan Mak 7928a673e0 Add images
svn path=/trunk/mono/; revision=13152
2003-04-04 19:42:33 +00:00
Juli Mallett c7bd4a719b Add myself to the team listing, cause I'm still around. Hopefully
the stuff deals well with lack of certain fields.

svn path=/trunk/mono/; revision=13151
2003-04-04 19:35:57 +00:00
Ville Palo e003486356 2003-04-04 Ville Palo <[email protected]>
* DataColumnCollection.cs: Little 'case sensitive' fix

svn path=/trunk/mcs/; revision=13150
2003-04-04 19:31:24 +00:00
Duncan Mak 42f3c14d3f Fix stupid typo.
svn path=/trunk/mono/; revision=13149
2003-04-04 19:30:51 +00:00
Duncan Mak 61d26f37fd * doc/web/team.xml: Remove the comment.
* doc/web/render-team-page.cs: Make it not output a full HTML file.

svn path=/trunk/mono/; revision=13148
2003-04-04 19:21:27 +00:00
Duncan Mak 1f16adccf7 * doc/web/commands:
* doc/web/makefile: Add team page information.

* doc/web/team.xml:
* doc/web/render-team-page.cs: Code for rendering a team page.

svn path=/trunk/mono/; revision=13147
2003-04-04 19:10:48 +00:00
Ville Palo 35d1e92f06 2003-04-04 Ville Palo <[email protected]>
* DataRow.cs: AutoIncrement handling to Constructor
	* DataRowCollection.cs: This doesnt need anymore AutoIncrements

svn path=/trunk/mcs/; revision=13146
2003-04-04 19:07:33 +00:00
Zoltan Varga 2ffefe3109 2003-04-04 Zoltan Varga <[email protected]>
* object.c: Improve typed allocation stuff based on suggestions from
	Paolo. Also turn it on if the GC library supports it.

svn path=/trunk/mono/; revision=13145
2003-04-04 18:17:47 +00:00
Zoltan Varga d1db987a3c 2003-04-04 Zoltan Varga <[email protected]>
* configure.in: Added check for GC_gcj_malloc.

svn path=/trunk/mono/; revision=13144
2003-04-04 18:12:03 +00:00
Gaurav Vaish 43bab8e08a 2003-04-04 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecificChoice.cs: FindAndApplyProperty(...) - Bug fix.
* Style.cs               : Added several properties.

svn path=/trunk/mcs/; revision=13143
2003-04-04 16:54:44 +00:00
Miguel de Icaza dba52fe4ee Update
svn path=/trunk/mono/; revision=13142
2003-04-04 16:39:53 +00:00
Martin Willemoes Hansen 0b1a1f28a4 * man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.

svn path=/trunk/mono/; revision=13141
2003-04-04 15:42:47 +00:00
Gaurav Vaish d8d228eb8f 2003-04-04 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecificChoice.cs: HasTemplates { get; },
                         : FindAndApplyEvent(...)     - Completed
                         : FindAndApplyProperty(...),
                         : CheckOnPageEvaluator(...)  - Init impl.

svn path=/trunk/mcs/; revision=13140
2003-04-04 15:35:44 +00:00
Dick Porter 43b38fedfc 2003-04-04 Dick Porter <[email protected]>
* Version.cs: Make operator== and operator!= cope with null
	objects.  Didn't change operator<, operator<=, operator> or
	operator>= because its not meaningful to use those to compare
	against null, and throwing a NullReferenceException is probably
	the best thing to do there anyway.

	Fixes bug 40720.

svn path=/trunk/mcs/; revision=13139
2003-04-04 15:06:21 +00:00
Jackson Harper b81135714a * ILParser.jay: Add parameterized types to classes.
svn path=/trunk/mcs/; revision=13130
2003-04-04 05:09:38 +00:00
Jackson Harper 170b829ed5 * ILToken.cs: Add open angle bracket, and close angle bracket tokens.
svn path=/trunk/mcs/; revision=13129
2003-04-04 05:07:59 +00:00
Jackson Harper 9f8cd9c0b1 new test
svn path=/trunk/mcs/; revision=13128
2003-04-04 05:05:09 +00:00
Miguel de Icaza 4538855a25 Memory friendly InflaterInputStream.cs
svn path=/trunk/mcs/; revision=13113
2003-04-04 04:12:58 +00:00
César Natarén 7792a826f8 Added syntatic rules for: switch_statement, case_block, case_clauses, case_clause, default_clause, labelled_statement, try_statement, catch_exp, finally_exp, with_statement, object_literal, ( expression ), property_name_and_value_list, property_name, expression.
svn path=/trunk/mcs/; revision=13112
2003-04-04 04:04:50 +00:00
Zoltan Varga cc63aff65e 2003-04-03 Zoltan Varga <[email protected]>
* object.c object.h class.h: Added experimental typed allocation
	facility using the interfaces in gc_gcj.h.

	* os/gc_wrapper.h: Added new include files.

svn path=/trunk/mono/; revision=13077
2003-04-03 21:40:42 +00:00
Martin Baulig 8ef024cf2f Ooops, forgot a debugging #ifdef.
svn path=/trunk/mono/; revision=13075
2003-04-03 20:16:49 +00:00
Martin Baulig 69f5dde9af 2003-04-03 Martin Baulig <[email protected]>
The following change is conditional to `WITH_INCLUDED_LIBGC'
	which is not yet enabled by default.

	* threads.c (SuspendThread, ResumeThread): Fully implemented this.
	(gc_init): New static function; install a signal handler for
	SIGPWR which is used to suspend threads.  [FIXME: it SIGPWR
	doesn't exist on all Unix systems, we need to find another
	signal].
	(mono_wapi_push_thread_stack): New public function.  Tells the
	garbage collector about the current stack pointer of a suspended
	thread.

svn path=/trunk/mono/; revision=13074
2003-04-03 20:15:54 +00:00
Martin Baulig fcd5dfa02e 2003-04-03 Martin Baulig <[email protected]>
* timed-thread.h (TimedThread): Added `suspended_sem',
	`suspend_count' and `stack_ptr'.

svn path=/trunk/mono/; revision=13073
2003-04-03 20:09:46 +00:00
Miguel de Icaza 80c2e08cb3 Flush
svn path=/trunk/mono/; revision=13072
2003-04-03 19:46:42 +00:00
Miguel de Icaza c042de9936 Flush
svn path=/trunk/mono/; revision=13071
2003-04-03 19:20:22 +00:00
Atsushi Eno c169d32335 2003-04-04 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Load() now closes the given XmlReader.
	  Don't allow creation of XmlTextReader for Doctype. (workaround.)
	* XmlInputStream.cs : It now closes its internal stream explicitly.
	* XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
	* XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
	* XmlParserInput.cs : added Close() method.
	* XmlReader.cs : MoveToContent() should (1) not Read in case of empty
	  element, and (2) MoveToElement() in case of attribute.
	* XmlTextReader.cs : Close() now actually closes source TextReaders.

svn path=/trunk/mcs/; revision=13070
2003-04-03 19:03:17 +00:00
Martin Baulig aa5c7d0f89 2003-04-03 Martin Baulig <[email protected]>
All the following changes are conditional to `WITH_INCLUDED_LIBGC'
	which is not yet enabled by default.

	* gc.c (mono_gc_init): Set the gc_thread_vtable to our thread
	functions.
	(mono_gc_lock, mono_gc_unlock): New static functions.

	* threads.c (mono_gc_stop_world, mono_gc_start_world): New public
	functions; stop/start the world for the garbage collector.  This
	is using the windows API; we need to complete the SuspendThread()/
	ResumeThread() implementation in the io-layer to make this work on Unix.
	(mono_gc_push_all_stacks): New public function; tells the garbage
	collector about the stack pointers from all managed threads.

svn path=/trunk/mono/; revision=13065
2003-04-03 16:41:01 +00:00
Martin Baulig 338988a5c0 2003-04-03 Martin Baulig <[email protected]>
* object.h (MonoThread): Added `gpointer stack_ptr'.

	* threads.c (start_wrapper): Save the stack pointer in `stack_ptr'.

svn path=/trunk/mono/; revision=13064
2003-04-03 16:29:15 +00:00
Martin Baulig bf4f9529dc 2003-04-03 Martin Baulig <[email protected]>
* Makefile.am: It's called `cygpath -w', not `cygpath -m'.

svn path=/trunk/mono/; revision=13063
2003-04-03 16:23:46 +00:00
Lluis Sanchez 4c203f4e93 * TcpMessageIO.cs: Changed header format to match MS.NET. Based on the patch
sent by Jose Lu�s Mart�n.
	* TcpClientTransportSink.cs: Added Content-Type header. Improved support
	  for OneWay messages.

svn path=/trunk/mcs/; revision=13061
2003-04-03 15:32:16 +00:00
Lluis Sanchez 29397612b2 * TcpMessageIO.cs: Changed header format to match MS.NET. Based on the patch
sent by Jose Lu�s Mart�n.
	* TcpClientTransportSink.cs: Added Content-Type header. Improved support
	  for OneWay messages.

svn path=/trunk/mcs/; revision=13060
2003-04-03 15:32:16 +00:00
Zoltan Varga 1c643ba777 2003-04-03 Zoltan Varga <[email protected]>
* reflection.c (typebuilder_setup_fields): Initialize field.first and
	field.last.

svn path=/trunk/mono/; revision=13059
2003-04-03 15:16:15 +00:00
Gaurav Vaish f2f215350f 2003-04-03 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecific.cs      : Almost done.
* DeviceSpecificChoice.cs: HasTemplates { get; } - Subbed.
* Style.cs               : Control      { get; } - Stubbed.
* MobileControl.cs       : FindClosestTemplateControl()
                                                 - Stubbed.

svn path=/trunk/mcs/; revision=13058
2003-04-03 14:16:15 +00:00
Rafael Teixeira f463ddfe40 bits
svn path=/trunk/mcs/; revision=13057
2003-04-03 13:20:56 +00:00
Jackson Harper 635805608f * ILParser.jay: Support most non-obsolete native types.
svn path=/trunk/mcs/; revision=13055
2003-04-03 07:18:52 +00:00
Jackson Harper 19d0bce9d7 * ILParser.jay: Proper names for native int and native uint
svn path=/trunk/mcs/; revision=13054
2003-04-03 06:10:50 +00:00
Miguel de Icaza b0e252192a 2003-04-02 Miguel de Icaza <[email protected]>
* loader.c (mono_lookup_internal_call): Report the corlib that is
	out of sync.

svn path=/trunk/mono/; revision=13053
2003-04-03 03:36:49 +00:00
Miguel de Icaza 45a6cd3519 Update debug info
svn path=/trunk/mono/; revision=13052
2003-04-03 03:22:31 +00:00
Duncan Mak e5b9d67bdb Temporarily remove the references to
Class.MustOverride to fix the build.

svn path=/trunk/mcs/; revision=13050
2003-04-03 00:55:22 +00:00
Gonzalo Paniagua Javier a81068f6cc remove nunit-gtk dir
svn path=/trunk/mcs/; revision=13049
2003-04-03 00:49:36 +00:00
Gonzalo Paniagua Javier 0492ccab51 moved to its own module
svn path=/trunk/mcs/; revision=13048
2003-04-03 00:48:37 +00:00
Marco Ridoni 41d2c3386b - A lot of fixes for array/variable declaration and initialization
- Fixed enums
- Removed a few conflicts from the grammar
- Added single-line If statement
- Fixed access modifiers for module members
- Started implementing MustOverride (not working yet)
- Added MyClass
- Added a couple of missing integral types

svn path=/trunk/mcs/; revision=13032
2003-04-02 17:55:20 +00:00
Marco Ridoni 50d1bfc535 - Added a preliminary test suite for regression testing
svn path=/trunk/mcs/; revision=13031
2003-04-02 17:52:40 +00:00
Marco Ridoni 866ca883b1 - Preliminary support for late binding in array access (needs support in
the runtime

svn path=/trunk/mcs/; revision=13030
2003-04-02 17:51:22 +00:00
Marco Ridoni b802097971 - Fixed default namespace (VB.NET wants it to be an empty string)
svn path=/trunk/mcs/; revision=13029
2003-04-02 17:50:15 +00:00
Paolo Molaro 4086eebfaf 2003-03-05 Aleksey Demakov <[email protected]>
* icall.c (ves_icall_type_GetTypeCode): fixed check for
	System.DBNull (it's class not valuetype).

svn path=/trunk/mono/; revision=13028
2003-04-02 17:19:46 +00:00
Paolo Molaro 474d78ed7f Wed Apr 2 18:37:35 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: set table_idx in MonoReflectionArrayMethod object even
	if the array method was already assigned a token (fixes bug#40646).

svn path=/trunk/mono/; revision=13027
2003-04-02 16:44:11 +00:00
Zoltan Varga bf3c59a420 2003-04-02 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Attempt type resolve even
	if no assembly is given.

svn path=/trunk/mono/; revision=13026
2003-04-02 15:18:54 +00:00
Zoltan Varga ef1be2f9f3 2003-04-02 Zoltan Varga <[email protected]>
* README.tests test-188.cs makefile: Added test-188.cs.

svn path=/trunk/mcs/; revision=13025
2003-04-02 14:21:02 +00:00
Gonzalo Paniagua Javier 043354e2de Forgot this
svn path=/trunk/mcs/; revision=13024
2003-04-02 13:01:10 +00:00
Miguel de Icaza 37dff1e527 2003-04-02 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Do not allow abstract events to have
	initializers.

2003-04-01  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Add error productions for ADD/REMOVE missing a
	block in event declarations.

svn path=/trunk/mcs/; revision=13023
2003-04-02 11:47:18 +00:00
Jackson Harper bd61f7e388 Initialize call conv
svn path=/trunk/mcs/; revision=13020
2003-04-02 08:09:09 +00:00
Jackson Harper 9d990ba9fd * ILParser.jay: Add Call conventions, fix primitive spelling.
svn path=/trunk/mcs/; revision=13019
2003-04-02 08:05:59 +00:00
Jackson Harper 01a00d3020 * ILParser.jay: Add TypedRef primative type.
svn path=/trunk/mcs/; revision=13018
2003-04-02 07:51:54 +00:00
Jackson Harper 621fdfafac * ILParser.jay: Support pinned, modreq, and modopt types.CVS: ----------------------------------------------------------------------
svn path=/trunk/mcs/; revision=13017
2003-04-02 07:46:35 +00:00
Jackson Harper ecd10525ee * ILParser.jay: Support pinned, modreq, and modopt types.
svn path=/trunk/mcs/; revision=13016
2003-04-02 07:45:43 +00:00
Gonzalo Paniagua Javier 1a88111987 2003-04-02 Gonzalo Paniagua Javier <[email protected]>
* Initial check in.

svn path=/trunk/mcs/; revision=13014
2003-04-02 02:56:45 +00:00
Sebastien Pouliot 8e55464830 2003-04-01 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Corrected fix (partially) for the lame PKCS1 v1.5
	signatures done without specifying an OID.

svn path=/trunk/mcs/; revision=13013
2003-04-02 02:51:44 +00:00
Gonzalo Paniagua Javier b64fcb2640 2003-04-02 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: fixed InvalidCastException.

svn path=/trunk/mcs/; revision=13012
2003-04-02 01:43:58 +00:00
Miguel de Icaza 546a2f1fd5 2003-04-01 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): If our instance expression is a
	value type, get its address.

svn path=/trunk/mcs/; revision=13011
2003-04-01 23:38:06 +00:00
Miguel de Icaza 40d08391d6 2003-04-01 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): We were checking for the
	parent class being sealed too late.

	* expression.cs (Binary.Emit): For <= and >= when dealing with
	floating point values, use cgt.un and clt.un instead of cgt and
	clt alone.

svn path=/trunk/mcs/; revision=13010
2003-04-01 22:52:49 +00:00
Zoltan Varga fad71b7980 2003-04-01 Zoltan Varga <[email protected]>
* statement.cs: Apply the same optimization as MS: skip the
	GetEnumerator returning an IEnumerator, and use the one returning a
	CharEnumerator instead. This allows us to avoid the try-finally block
	and the boxing.

svn path=/trunk/mcs/; revision=13009
2003-04-01 17:58:58 +00:00
Miguel de Icaza d62f48cb61 2003-04-01 Miguel de Icaza <[email protected]>
* metadata.h: Added the new tables.

	* row-indexes.h: Added definitions for new tables.

	* metadata.c: Add schemas for new tables, and add support for
	computing the sizes of them.

	* class.c: Update for handling the new type cases.

2003-03-31  Miguel de Icaza  <[email protected]>

	* main.c: Sorted command line options table by name.

	* dump.c: Add support for dumping the new generic tables.

	* monodis.1: Update man page.

svn path=/trunk/mono/; revision=13008
2003-04-01 17:50:01 +00:00
Miguel de Icaza 4f5ac0b608 A few updates
svn path=/trunk/mono/; revision=13004
2003-04-01 16:40:39 +00:00
Dietmar Maurer b71db4168c new macro MONO_TYPE_IS_VOID
svn path=/trunk/mono/; revision=13003
2003-04-01 14:41:51 +00:00
Jackson Harper a88af9ef25 * ILParser.jay: Use the CodeGen CompleteClass method when a class
is completed instead of setting the current class to null. This
	does some extra cleanup

svn path=/trunk/mcs/; revision=12999
2003-04-01 08:09:06 +00:00
Jackson Harper 86095977e2 * ClassTable.cs: Do not append a . to names that are not in a
namespace
* CodeGen.cs: Handle nested classes

svn path=/trunk/mcs/; revision=12998
2003-04-01 08:06:29 +00:00
Jackson Harper 16b8c6d907 * NumberHelper.cs: handle situations like this 21452. properly
svn path=/trunk/mcs/; revision=12997
2003-04-01 07:11:36 +00:00
Jackson Harper 2756eceee3 * ILParser.jay: Add bound arrays
svn path=/trunk/mcs/; revision=12996
2003-04-01 06:11:05 +00:00
Jackson Harper 8eada4e05b * test-10.il: New test, does some bounded array stuff
svn path=/trunk/mcs/; revision=12995
2003-04-01 06:07:42 +00:00
Jackson Harper dafe63a224 * ILTokenizer.cs: Handle Ellipsis
* NUmberHelper.cs: Handle situations like this 0... properly

svn path=/trunk/mcs/; revision=12994
2003-04-01 05:26:47 +00:00
Jackson Harper f525f96231 * ExternTable.cs: Remove some unsed fields.
svn path=/trunk/mcs/; revision=12993
2003-04-01 04:02:47 +00:00
Miguel de Icaza fceb9583a3 Flush:
svn path=/trunk/mono/; revision=12992
2003-03-31 23:44:55 +00:00
Martin Baulig 6d412d3e52 2003-03-31 Martin Baulig <[email protected]>
* debug.h (MonoDebuggerEvent): Removed
	MONO_DEBUGGER_EVENT_THREAD_CREATED.

	* jit.c (mono_thread_start_cb): Don't send the
	MONO_DEBUGGER_EVENT_THREAD_CREATED event.

svn path=/trunk/mono/; revision=12987
2003-03-31 21:23:58 +00:00
Martin Baulig 40319d87a1 2003-03-31 Martin Baulig <[email protected]>
* threads.h (MonoThreadCallbacks): Added `thread_created'.

	* threads.c (mono_thread_new_init): Call `thread_created' in the
	mono_thread_callbacks.

svn path=/trunk/mono/; revision=12986
2003-03-31 21:22:35 +00:00
Nick Drochak d52315c312 2003-03-31 Nick Drochak <[email protected]>
* Path.cs (GetDirectoryName): Throw proper execption when path is empty.

svn path=/trunk/mcs/; revision=12979
2003-03-31 14:35:33 +00:00
Lluis Sanchez 3588fa752f * loader.h: added marshalbyrefobject_class to mono_defaults
* domain.c: added initialization of mono_defaults.marshalbyrefobject_class
	* icall.c: ves_icall_InternalExecute: fixed bug in field setter and in the
	  generation of output parameters.
	  ves_icall_Remoting_RealProxy_GetTransparentProxy: added support for interfaces.
	* marshal.c: mono_remoting_wrapper(): avoided call through proxy when the type is
	  contextbound and the target object belongs to the context of the caller.
	* object.h: added context and unwrapped_server variables in MonoRealProxy.
	* object.c: Implemented support for interfaces and abstract classes
	  in mono_class_proxy_vtable. Fixed several methods to avoid unneeded calls through
	  proxy. Fixed problem when dealing with output parameters in mono_runtime_invoke_array.

svn path=/trunk/mono/; revision=12974
2003-03-31 14:27:47 +00:00
Martin Willemoes Hansen 9c784fbcfc * System.Drawing.Printing/PrinterUnitConvert.cs stubed
svn path=/trunk/mcs/; revision=12973
2003-03-31 14:14:49 +00:00
Gonzalo Paniagua Javier 71faeeccad *** empty log message ***
svn path=/trunk/mcs/; revision=12972
2003-03-31 14:02:50 +00:00
Martin Willemoes Hansen aefd66572b * Stubed System.Drawing.Design
svn path=/trunk/mcs/; revision=12971
2003-03-31 13:29:54 +00:00
Gonzalo Paniagua Javier c8a007a004 --target library
--unsafe --nostdlib --noconfig
-o ../lib/corlib_mcs.dll
Microsoft.Win32/RegistryKey.cs
Microsoft.Win32/Registry.cs
Microsoft.Win32/RegistryHive.cs
Mono/Runtime.cs
Mono.Math/BigInteger.cs
Mono.Security/ASN1.cs
Mono.Security/ASN1Convert.cs
Mono.Security.Cryptography/CryptoTools.cs
Mono.Security.Cryptography/PKCS1.cs
Mono.Security.Cryptography/HMACAlgorithm.cs
Mono.Security.Cryptography/MACAlgorithm.cs
Mono.Security.X509/X501Name.cs
Mono.Security.X509/X509Certificate.cs
Mono.Security.X509/X509Extension.cs
Mono.Security.X509/X509Extensions.cs
Mono.Security.X509/X520Attributes.cs
Mono.Xml/MiniParser.cs
System/Activator.cs
System/AppDomain.cs
System/AppDomainSetup.cs
System/AppDomainUnloadedException.cs
System/ApplicationException.cs
System/ArgIterator.cs
System/ArgumentException.cs
System/ArgumentNullException.cs
System/ArgumentOutOfRangeException.cs
System/ArithmeticException.cs
System/Array.cs
System/ArrayTypeMismatchException.cs
System/AssemblyLoadEventArgs.cs
System/AssemblyLoadEventHandler.cs
System/AsyncCallback.cs
System/Attribute.cs
System/AttributeTargets.cs
System/AttributeUsageAttribute.cs
System/BadImageFormatException.cs
System/BitConverter.cs
System/Boolean.cs
System/Buffer.cs
System/Byte.cs
System/CannotUnloadAppDomainException.cs
System/Char.cs
System/CharEnumerator.cs
System/CLSCompliantAttribute.cs
System/Console.cs
System/ContextBoundObject.cs
System/ContextMarshalException.cs
System/ContextStaticAttribute.cs
System/Convert.cs
System/CrossAppDomainDelegate.cs
System/DateTime.cs
System/DBNull.cs
System/Decimal.cs
System/DecimalFormatter.cs
System/Delegate.cs
System/DelegateSerializationHolder.cs
System/DivideByZeroException.cs
System/DllNotFoundException.cs
System/Double.cs
System/DoubleFormatter.cs
System/DuplicateWaitObjectException.cs
System/EntryPointNotFoundException.cs
System/Enum.cs
System/Environment.cs
System/EventArgs.cs
System/EventHandler.cs
System/Exception.cs
System/ExecutionEngineException.cs
System/FieldAccessException.cs
System/FlagsAttribute.cs
System/FloatingPointFormatter.cs
System/FormatException.cs
System/GC.cs
System/Guid.cs
System/IAppDomainSetup.cs
System/IAsyncResult.cs
System/ICloneable.cs
System/IComparable.cs
System/IConvertible.cs
System/ICustomFormatter.cs
System/IDisposable.cs
System/IFormatProvider.cs
System/IFormattable.cs
System/IndexOutOfRangeException.cs
System/Int16.cs
System/Int32.cs
System/Int64.cs
System/IntegerFormatter.cs
System/IntPtr.cs
System/InvalidCastException.cs
System/InvalidOperationException.cs
System/InvalidProgramException.cs
System/IServiceProvider.cs
System/LoaderOptimization.cs
System/LoaderOptimizationAttribute.cs
System/LocalDataStoreSlot.cs
System/MarshalByRefObject.cs
System/Math.cs
System/MemberAccessException.cs
System/MethodAccessException.cs
System/MissingFieldException.cs
System/MissingMemberException.cs
System/MissingMethodException.cs
System/MonoCustomAttrs.cs
System/MonoDummy.cs
System/MonoType.cs
System/MTAThreadAttribute.cs
System/MulticastDelegate.cs
System/MulticastNotSupportedException.cs
System/NonSerializedAttribute.cs
System/NotFiniteNumberException.cs
System/NotImplementedException.cs
System/NotSupportedException.cs
System/NullReferenceException.cs
System/Object.cs
System/ObjectDisposedException.cs
System/ObsoleteAttribute.cs
System/OperatingSystem.cs
System/OutOfMemoryException.cs
System/OverflowException.cs
System/ParamArrayAttribute.cs
System/PlatformID.cs
System/PlatformNotSupportedException.cs
System/Random.cs
System/RankException.cs
System/ResolveEventArgs.cs
System/ResolveEventHandler.cs
System/RuntimeArgumentHandle.cs
System/RuntimeFieldHandle.cs
System/RuntimeMethodHandle.cs
System/RuntimeTypeHandle.cs
System/SByte.cs
System/SerializableAttribute.cs
System/Single.cs
System/SingleFormatter.cs
System/StackOverflowException.cs
System/STAThreadAttribute.cs
System/String.cs
System/SystemException.cs
System/ThreadStaticAttribute.cs
System/TimeSpan.cs
System/TimeZone.cs
System/TODOAttribute.cs
System/Type.cs
System/TypeCode.cs
System/TypedReference.cs
System/TypeInitializationException.cs
System/TypeLoadException.cs
System/TypeUnloadedException.cs
System/UInt16.cs
System/UInt32.cs
System/UInt64.cs
System/UIntPtr.cs
System/UnauthorizedAccessException.cs
System/UnhandledExceptionEventArgs.cs
System/UnhandledExceptionEventHandler.cs
System/UnitySerializationHolder.cs
System/ValueType.cs
System/Version.cs
System/Void.cs
System/WeakReference.cs
System/_AppDomain.cs
System.Collections/ArrayList.cs
System.Collections/BitArray.cs
System.Collections/CaseInsensitiveComparer.cs
System.Collections/CaseInsensitiveHashCodeProvider.cs
System.Collections/CollectionBase.cs
System.Collections/Comparer.cs
System.Collections/DictionaryBase.cs
System.Collections/DictionaryEntry.cs
System.Collections/Hashtable.cs
System.Collections/ICollection.cs
System.Collections/IComparer.cs
System.Collections/IDictionary.cs
System.Collections/IDictionaryEnumerator.cs
System.Collections/IEnumerable.cs
System.Collections/IEnumerator.cs
System.Collections/IHashCodeProvider.cs
System.Collections/IList.cs
System.Collections/Queue.cs
System.Collections/ReadOnlyCollectionBase.cs
System.Collections/SortedList.cs
System.Collections/Stack.cs
System.Configuration.Assemblies/AssemblyHash.cs
System.Configuration.Assemblies/AssemblyHashAlgorithm.cs
System.Configuration.Assemblies/AssemblyVersionCompatibility.cs
System.Configuration.Assemblies/ProcessorID.cs
System.Diagnostics/ConditionalAttribute.cs
System.Diagnostics/DebuggableAttribute.cs
System.Diagnostics/Debugger.cs
System.Diagnostics/DebuggerHiddenAttribute.cs
System.Diagnostics/DebuggerStepThroughAttribute.cs
System.Diagnostics/StackFrame.cs
System.Diagnostics/StackTrace.cs
System.Diagnostics.SymbolStore/ISymbolBinder.cs
System.Diagnostics.SymbolStore/ISymbolDocument.cs
System.Diagnostics.SymbolStore/ISymbolDocumentWriter.cs
System.Diagnostics.SymbolStore/ISymbolMethod.cs
System.Diagnostics.SymbolStore/ISymbolNamespace.cs
System.Diagnostics.SymbolStore/ISymbolReader.cs
System.Diagnostics.SymbolStore/ISymbolScope.cs
System.Diagnostics.SymbolStore/ISymbolVariable.cs
System.Diagnostics.SymbolStore/ISymbolWriter.cs
System.Diagnostics.SymbolStore/SymAddressKind.cs
System.Diagnostics.SymbolStore/SymbolToken.cs
System.Diagnostics.SymbolStore/SymDocumentType.cs
System.Diagnostics.SymbolStore/SymLanguageType.cs
System.Diagnostics.SymbolStore/SymLanguageVendor.cs
System.Globalization/Calendar.cs
System.Globalization/CalendarWeekRule.cs
System.Globalization/CalendricalCalculations.cs
System.Globalization/CompareInfo.cs
System.Globalization/CompareOptions.cs
System.Globalization/CultureInfo.cs
System.Globalization/CultureTypes.cs
System.Globalization/DateTimeFormatInfo.cs
System.Globalization/DateTimeStyles.cs
System.Globalization/DaylightTime.cs
System.Globalization/GregorianCalendar.cs
System.Globalization/GregorianCalendarTypes.cs
System.Globalization/HebrewCalendar.cs
System.Globalization/HijriCalendar.cs
System.Globalization/JapaneseCalendar.cs
System.Globalization/JulianCalendar.cs
System.Globalization/KoreanCalendar.cs
System.Globalization/Locale.cs
System.Globalization/NumberFormatInfo.cs
System.Globalization/NumberStyles.cs
System.Globalization/RegionInfo.cs
System.Globalization/SortKey.cs
System.Globalization/StringInfo.cs
System.Globalization/TaiwanCalendar.cs
System.Globalization/TextElementEnumerator.cs
System.Globalization/TextInfo.cs
System.Globalization/ThaiBuddhistCalendar.cs
System.Globalization/UnicodeCategory.cs
System.IO/BinaryReader.cs
System.IO/BinaryWriter.cs
System.IO/BufferedStream.cs
System.IO/CheckArgument.cs
System.IO/CheckPermission.cs
System.IO/Directory.cs
System.IO/DirectoryInfo.cs
System.IO/DirectoryNotFoundException.cs
System.IO/EndOfStreamException.cs
System.IO/File.cs
System.IO/FileAccess.cs
System.IO/FileAttributes.cs
System.IO/FileInfo.cs
System.IO/FileLoadException.cs
System.IO/FileMode.cs
System.IO/FileNotFoundException.cs
System.IO/FileShare.cs
System.IO/FileStream.cs
System.IO/FileSystemInfo.cs
System.IO/IOException.cs
System.IO/MemoryStream.cs
System.IO/MonoIO.cs
System.IO/MonoIOError.cs
System.IO/MonoFileType.cs
System.IO/MonoIOStat.cs
System.IO/Path.cs
System.IO/PathTooLongException.cs
System.IO/SearchPattern.cs
System.IO/SeekOrigin.cs
System.IO/Stream.cs
System.IO/StreamReader.cs
System.IO/StreamWriter.cs
System.IO/StringReader.cs
System.IO/StringWriter.cs
System.IO/TextReader.cs
System.IO/TextWriter.cs
System.IO.IsolatedStorage/INormalizeForIsolatedStorage.cs
System.IO.IsolatedStorage/IsolatedStorage.cs
System.IO.IsolatedStorage/IsolatedStorageException.cs
System.IO.IsolatedStorage/IsolatedStorageFile.cs
System.IO.IsolatedStorage/IsolatedStorageInfo.cs
System.IO.IsolatedStorage/IsolatedStorageFileStream.cs
System.IO.IsolatedStorage/IsolatedStorageScope.cs
System.Reflection/AmbiguousMatchException.cs
System.Reflection/Assembly.cs
System.Reflection/AssemblyAlgorithmIdAttribute.cs
System.Reflection/AssemblyCompanyAttribute.cs
System.Reflection/AssemblyConfigurationAttribute.cs
System.Reflection/AssemblyCopyrightAttribute.cs
System.Reflection/AssemblyCultureAttribute.cs
System.Reflection/AssemblyDefaultAliasAttribute.cs
System.Reflection/AssemblyDelaySignAttribute.cs
System.Reflection/AssemblyDescriptionAttribute.cs
System.Reflection/AssemblyFileVersionAttribute.cs
System.Reflection/AssemblyFlagsAttribute.cs
System.Reflection/AssemblyInformationalVersionAttribute.cs
System.Reflection/AssemblyKeyFileAttribute.cs
System.Reflection/AssemblyKeyNameAttribute.cs
System.Reflection/AssemblyName.cs
System.Reflection/AssemblyNameFlags.cs
System.Reflection/AssemblyNameProxy.cs
System.Reflection/AssemblyProductAttribute.cs
System.Reflection/AssemblyTitleAttribute.cs
System.Reflection/AssemblyTradeMarkAttribute.cs
System.Reflection/AssemblyVersionAttribute.cs
System.Reflection/Binder.cs
System.Reflection/BindingFlags.cs
System.Reflection/CallingConventions.cs
System.Reflection/ConstructorInfo.cs
System.Reflection/CustomAttributeFormatException.cs
System.Reflection/DefaultMemberAttribute.cs
System.Reflection/EventAttributes.cs
System.Reflection/EventInfo.cs
System.Reflection/FieldAttributes.cs
System.Reflection/FieldInfo.cs
System.Reflection/ICustomAttributeProvider.cs
System.Reflection/InterfaceMapping.cs
System.Reflection/InvalidFilterCriteriaException.cs
System.Reflection/IReflect.cs
System.Reflection/ManifestResourceInfo.cs
System.Reflection/MemberFilter.cs
System.Reflection/MemberInfo.cs
System.Reflection/MemberTypes.cs
System.Reflection/MethodAttributes.cs
System.Reflection/MethodBase.cs
System.Reflection/MethodImplAttributes.cs
System.Reflection/MethodInfo.cs
System.Reflection/Missing.cs
System.Reflection/Module.cs
System.Reflection/ModuleResolveEventHandler.cs
System.Reflection/MonoEvent.cs
System.Reflection/MonoField.cs
System.Reflection/MonoMethod.cs
System.Reflection/MonoProperty.cs
System.Reflection/ParameterAttributes.cs
System.Reflection/ParameterInfo.cs
System.Reflection/ParameterModifier.cs
System.Reflection/PropertyAttributes.cs
System.Reflection/PropertyInfo.cs
System.Reflection/ReflectionTypeLoadException.cs
System.Reflection/ResourceAttributes.cs
System.Reflection/ResourceLocation.cs
System.Reflection/ReflectionSerializationHolder.cs
System.Reflection/StrongNameKeyPair.cs
System.Reflection/TargetException.cs
System.Reflection/TargetInvocationException.cs
System.Reflection/TargetParameterCountException.cs
System.Reflection/TypeAttributes.cs
System.Reflection/TypeDelegator.cs
System.Reflection/TypeFilter.cs
System.Reflection.Emit/AssemblyBuilder.cs
System.Reflection.Emit/AssemblyBuilderAccess.cs
System.Reflection.Emit/ConstructorBuilder.cs
System.Reflection.Emit/CustomAttributeBuilder.cs
System.Reflection.Emit/EnumBuilder.cs
System.Reflection.Emit/EventBuilder.cs
System.Reflection.Emit/EventToken.cs
System.Reflection.Emit/FieldBuilder.cs
System.Reflection.Emit/FieldToken.cs
System.Reflection.Emit/FlowControl.cs
System.Reflection.Emit/IMonoSymbolWriter.cs
System.Reflection.Emit/ILGenerator.cs
System.Reflection.Emit/Label.cs
System.Reflection.Emit/LocalBuilder.cs
System.Reflection.Emit/MethodBuilder.cs
System.Reflection.Emit/MethodToken.cs
System.Reflection.Emit/ModuleBuilder.cs
System.Reflection.Emit/MonoArrayMethod.cs
System.Reflection.Emit/OpCode.cs
System.Reflection.Emit/OpCodes.cs
System.Reflection.Emit/OpCodeType.cs
System.Reflection.Emit/OperandType.cs
System.Reflection.Emit/PackingSize.cs
System.Reflection.Emit/ParameterBuilder.cs
System.Reflection.Emit/ParameterToken.cs
System.Reflection.Emit/PEFileKinds.cs
System.Reflection.Emit/PropertyBuilder.cs
System.Reflection.Emit/PropertyToken.cs
System.Reflection.Emit/SignatureHelper.cs
System.Reflection.Emit/SignatureToken.cs
System.Reflection.Emit/StackBehaviour.cs
System.Reflection.Emit/StringToken.cs
System.Reflection.Emit/TypeBuilder.cs
System.Reflection.Emit/TypeToken.cs
System.Reflection.Emit/UnmanagedMarshal.cs
System.Resources/IResourceReader.cs
System.Resources/IResourceWriter.cs
System.Resources/MissingManifestResourceException.cs
System.Resources/NeutralResourcesLanguageAttribute.cs
System.Resources/ResourceManager.cs
System.Resources/ResourceReader.cs
System.Resources/ResourceSet.cs
System.Resources/ResourceWriter.cs
System.Resources/SatelliteContractVersionAttribute.cs
System.Runtime.CompilerServices/AccessedThroughPropertyAttribute.cs
System.Runtime.CompilerServices/CallConvCdecl.cs
System.Runtime.CompilerServices/CallConvFastcall.cs
System.Runtime.CompilerServices/CallConvThiscall.cs
System.Runtime.CompilerServices/CallConvStdcall.cs
System.Runtime.CompilerServices/CompilationRelaxationsAttribute.cs
System.Runtime.CompilerServices/CustomConstantAttribute.cs
System.Runtime.CompilerServices/DateTimeConstantAttribute.cs
System.Runtime.CompilerServices/DecimalConstantAttribute.cs
System.Runtime.CompilerServices/DiscardableAttribute.cs
System.Runtime.CompilerServices/IDispatchConstantAttribute.cs
System.Runtime.CompilerServices/IUnknownConstantAttribute.cs
System.Runtime.CompilerServices/IndexerNameAttribute.cs
System.Runtime.CompilerServices/MethodCodeType.cs
System.Runtime.CompilerServices/MethodImplAttribute.cs
System.Runtime.CompilerServices/MethodImplOptions.cs
System.Runtime.CompilerServices/RequiredAttributeAttribute.cs
System.Runtime.CompilerServices/RuntimeHelpers.cs
System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
System.Runtime.InteropServices/AutomationProxyAttribute.cs
System.Runtime.InteropServices/BINDPTR.cs
System.Runtime.InteropServices/CallingConvention.cs
System.Runtime.InteropServices/CharSet.cs
System.Runtime.InteropServices/ClassInterfaceAttribute.cs
System.Runtime.InteropServices/ClassInterfaceType.cs
System.Runtime.InteropServices/CoClassAttribute.cs
System.Runtime.InteropServices/ComAliasNameAttribute.cs
System.Runtime.InteropServices/ComConversionLossAttribute.cs
System.Runtime.InteropServices/COMException.cs
System.Runtime.InteropServices/ComEventInterfaceAttribute.cs
System.Runtime.InteropServices/ComImportAttribute.cs
System.Runtime.InteropServices/ComInterfaceType.cs
System.Runtime.InteropServices/ComMemberType.cs
System.Runtime.InteropServices/ComRegisterFunctionAttribute.cs
System.Runtime.InteropServices/ComUnregisterFunctionAttribute.cs
System.Runtime.InteropServices/ComVisible.cs
System.Runtime.InteropServices/DESCKIND.cs
System.Runtime.InteropServices/DISPPARAMS.cs
System.Runtime.InteropServices/DispIdAttribute.cs
System.Runtime.InteropServices/DllImportAttribute.cs
System.Runtime.InteropServices/EXCEPINFO.cs
System.Runtime.InteropServices/ExporterEventKind.cs
System.Runtime.InteropServices/ExternalException.cs
System.Runtime.InteropServices/FieldOffsetAttribute.cs
System.Runtime.InteropServices/GCHandle.cs
System.Runtime.InteropServices/GCHandleType.cs
System.Runtime.InteropServices/GuidAttribute.cs
System.Runtime.InteropServices/HandleRef.cs
System.Runtime.InteropServices/ICustomAdapter.cs
System.Runtime.InteropServices/ICustomFactory.cs
System.Runtime.InteropServices/ICustomMarshaler.cs
System.Runtime.InteropServices/INVOKEKIND.cs
System.Runtime.InteropServices/IRegistrationServices.cs
System.Runtime.InteropServices/ITypeLibConverter.cs
System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs
System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs
System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs
System.Runtime.InteropServices/ImportedFromTypeLibAttribute.cs
System.Runtime.InteropServices/ImporterEventKind.cs
System.Runtime.InteropServices/InAttribute.cs
System.Runtime.InteropServices/InterfaceTypeAttribute.cs
System.Runtime.InteropServices/LCIDConversionAttribute.cs
System.Runtime.InteropServices/LayoutKind.cs
System.Runtime.InteropServices/Marshal.cs
System.Runtime.InteropServices/MarshalAsAttribute.cs
System.Runtime.InteropServices/OptionalAttribute.cs
System.Runtime.InteropServices/OutAttribute.cs
System.Runtime.InteropServices/PreserveSigAttribute.cs
System.Runtime.InteropServices/PrimaryInteropAssemblyAttribute.cs
System.Runtime.InteropServices/SEHException.cs
System.Runtime.InteropServices/ProgIdAttribute.cs
System.Runtime.InteropServices/StructLayoutAttribute.cs
System.Runtime.InteropServices/TYPEKIND.cs
System.Runtime.InteropServices/TypeLibExporterFlags.cs
System.Runtime.InteropServices/TypeLibFuncAttribute.cs
System.Runtime.InteropServices/TypeLibFuncFlags.cs
System.Runtime.InteropServices/TypeLibTypeAttribute.cs
System.Runtime.InteropServices/TypeLibTypeFlags.cs
System.Runtime.InteropServices/TypeLibVarAttribute.cs
System.Runtime.InteropServices/TypeLibVarFlags.cs
System.Runtime.InteropServices/UCOMTypeComp.cs
System.Runtime.InteropServices/UCOMTypeInfo.cs
System.Runtime.InteropServices/UCOMTypeLib.cs
System.Runtime.InteropServices/UnmanagedType.cs
System.Runtime.InteropServices/VarEnum.cs
System.Runtime.Remoting/ActivatedClientTypeEntry.cs
System.Runtime.Remoting/ActivatedServiceTypeEntry.cs
System.Runtime.Remoting/EnvoyInfo.cs
System.Runtime.Remoting/IObjectHandle.cs
System.Runtime.Remoting/IChannelInfo.cs
System.Runtime.Remoting/Identity.cs
System.Runtime.Remoting/IEnvoyInfo.cs
System.Runtime.Remoting/IRemotingTypeInfo.cs
System.Runtime.Remoting/ObjectHandle.cs
System.Runtime.Remoting/ObjRef.cs
System.Runtime.Remoting/RemotingConfiguration.cs
System.Runtime.Remoting/RemotingException.cs
System.Runtime.Remoting/RemotingTimeoutException.cs
System.Runtime.Remoting/RemotingServices.cs
System.Runtime.Remoting/ServerException.cs
System.Runtime.Remoting/ServerIdentity.cs
System.Runtime.Remoting/TypeEntry.cs
System.Runtime.Remoting/TypeInfo.cs
System.Runtime.Remoting/WellKnownObjectMode.cs
System.Runtime.Remoting/WellKnownClientTypeEntry.cs
System.Runtime.Remoting/WellKnownServiceTypeEntry.cs
System.Runtime.Remoting.Activation/ActivationServices.cs
System.Runtime.Remoting.Activation/ActivatorLevel.cs
System.Runtime.Remoting.Activation/AppDomainLevelActivator.cs
System.Runtime.Remoting.Activation/ConstructionLevelActivator.cs
System.Runtime.Remoting.Activation/ContextLevelActivator.cs
System.Runtime.Remoting.Activation/IActivator.cs
System.Runtime.Remoting.Activation/IConstructionCallMessage.cs
System.Runtime.Remoting.Activation/IConstructionReturnMessage.cs
System.Runtime.Remoting.Activation/RemoteActivator.cs
System.Runtime.Remoting.Activation/RemoteActivationAttribute.cs
System.Runtime.Remoting.Activation/UrlAttribute.cs
System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.cs
System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.cs
System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs
System.Runtime.Remoting.Channels/ChannelDataStore.cs
System.Runtime.Remoting.Channels/ChannelServices.cs
System.Runtime.Remoting.Channels/ChannelSinkStackEntry.cs
System.Runtime.Remoting.Channels/ClientChannelSinkStack.cs
System.Runtime.Remoting.Channels/IChannel.cs
System.Runtime.Remoting.Channels/IChannelDataStore.cs
System.Runtime.Remoting.Channels/IChannelReceiver.cs
System.Runtime.Remoting.Channels/IChannelReceiverHook.cs
System.Runtime.Remoting.Channels/IChannelSender.cs
System.Runtime.Remoting.Channels/IChannelSinkBase.cs
System.Runtime.Remoting.Channels/IClientChannelSink.cs
System.Runtime.Remoting.Channels/IClientChannelSinkProvider.cs
System.Runtime.Remoting.Channels/IClientChannelSinkStack.cs
System.Runtime.Remoting.Channels/IClientFormatterSink.cs
System.Runtime.Remoting.Channels/IClientFormatterSinkProvider.cs
System.Runtime.Remoting.Channels/IClientResponseChannelSinkStack.cs
System.Runtime.Remoting.Channels/IServerResponseChannelSinkStack.cs
System.Runtime.Remoting.Channels/ServerDispatchSink.cs
System.Runtime.Remoting.Channels/ServerDispatchSinkProvider.cs
System.Runtime.Remoting.Channels/IServerChannelSink.cs
System.Runtime.Remoting.Channels/IServerChannelSinkProvider.cs
System.Runtime.Remoting.Channels/IServerChannelSinkStack.cs
System.Runtime.Remoting.Channels/IServerFormatterSinkProvider.cs
System.Runtime.Remoting.Channels/ITransportHeaders.cs
System.Runtime.Remoting.Channels/ServerChannelSinkStack.cs
System.Runtime.Remoting.Channels/ServerProcessing.cs
System.Runtime.Remoting.Channels/SinkProviderData.cs
System.Runtime.Remoting.Channels/TransportHeaders.cs
System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs
System.Runtime.Remoting.Contexts/Context.cs
System.Runtime.Remoting.Contexts/ContextAttribute.cs
System.Runtime.Remoting.Contexts/ContextProperty.cs
System.Runtime.Remoting.Contexts/CrossContextChannel.cs
System.Runtime.Remoting.Contexts/CrossContextDelegate.cs
System.Runtime.Remoting.Contexts/IContextAttribute.cs
System.Runtime.Remoting.Contexts/IContextProperty.cs
System.Runtime.Remoting.Contexts/IContributeClientContextSink.cs
System.Runtime.Remoting.Contexts/IContributeDynamicSink.cs
System.Runtime.Remoting.Contexts/IContributeEnvoySink.cs
System.Runtime.Remoting.Contexts/IContributeObjectSink.cs
System.Runtime.Remoting.Contexts/IContributeServerContextSink.cs
System.Runtime.Remoting.Contexts/IDynamicMessageSink.cs
System.Runtime.Remoting.Contexts/IDynamicProperty.cs
System.Runtime.Remoting.Lifetime/ClientSponsor.cs
System.Runtime.Remoting.Lifetime/ILease.cs
System.Runtime.Remoting.Lifetime/ISponsor.cs
System.Runtime.Remoting.Lifetime/Lease.cs
System.Runtime.Remoting.Lifetime/LeaseManager.cs
System.Runtime.Remoting.Lifetime/LeaseSink.cs
System.Runtime.Remoting.Lifetime/LeaseState.cs
System.Runtime.Remoting.Lifetime/LifetimeServices.cs
System.Runtime.Remoting.Messaging/ArgInfo.cs
System.Runtime.Remoting.Messaging/AsyncResult.cs
System.Runtime.Remoting.Messaging/CallContext.cs
System.Runtime.Remoting.Messaging/ClientContextTerminatorSink.cs
System.Runtime.Remoting.Messaging/ConstructionCall.cs
System.Runtime.Remoting.Messaging/ConstructionCallDictionary.cs
System.Runtime.Remoting.Messaging/ConstructionResponse.cs
System.Runtime.Remoting.Messaging/EnvoyTerminatorSink.cs
System.Runtime.Remoting.Messaging/Header.cs
System.Runtime.Remoting.Messaging/HeaderHandler.cs
System.Runtime.Remoting.Messaging/ErrorMessage.cs
System.Runtime.Remoting.Messaging/IInternalMessage.cs
System.Runtime.Remoting.Messaging/IMessage.cs
System.Runtime.Remoting.Messaging/IMessageCtrl.cs
System.Runtime.Remoting.Messaging/IMessageSink.cs
System.Runtime.Remoting.Messaging/IMethodCallMessage.cs
System.Runtime.Remoting.Messaging/IMethodMessage.cs
System.Runtime.Remoting.Messaging/IMethodReturnMessage.cs
System.Runtime.Remoting.Messaging/IRemotingFormatter.cs
System.Runtime.Remoting.Messaging/InternalMessageWrapper.cs
System.Runtime.Remoting.Messaging/LogicalCallContext.cs
System.Runtime.Remoting.Messaging/MessageSurrogateFilter.cs
System.Runtime.Remoting.Messaging/MethodCall.cs
System.Runtime.Remoting.Messaging/MethodCallMessageWrapper.cs
System.Runtime.Remoting.Messaging/MethodResponse.cs
System.Runtime.Remoting.Messaging/MethodCallDictionary.cs
System.Runtime.Remoting.Messaging/MethodDictionary.cs
System.Runtime.Remoting.Messaging/MethodReturnDictionary.cs
System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs
System.Runtime.Remoting.Messaging/OneWayAttribute.cs
System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.cs
System.Runtime.Remoting.Messaging/RemotingSurrogate.cs
System.Runtime.Remoting.Messaging/ReturnMessage.cs
System.Runtime.Remoting.Messaging/ServerContextTerminatorSink.cs
System.Runtime.Remoting.Messaging/ServerObjectTerminatorSink.cs
System.Runtime.Remoting.Messaging/StackBuilderSink.cs
System.Runtime.Remoting.Messaging/CADMessages.cs
System.Runtime.Remoting.Metadata/SoapAttribute.cs
System.Runtime.Remoting.Metadata/SoapFieldAttribute.cs
System.Runtime.Remoting.Metadata/SoapMethodAttribute.cs
System.Runtime.Remoting.Metadata/SoapOption.cs
System.Runtime.Remoting.Metadata/SoapParameterAttribute.cs
System.Runtime.Remoting.Metadata/SoapTypeAttribute.cs
System.Runtime.Remoting.Metadata/XmlFieldOrderOption.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/ISoapXsd.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapAnyUri.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapEntity.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapMonth.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNonNegativeInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapToken.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapBase64Binary.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapHexBinary.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapMonthDay.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNonPositiveInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYear.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDate.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapId.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNormalizedString.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDateTime.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapIdref.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNcName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNotation.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDay.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapIdrefs.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNegativeInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapPositiveInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNmtoken.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapQName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapEntities.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapLanguage.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNmtokens.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapTime.cs
System.Runtime.Remoting.Proxies/RealProxy.cs
System.Runtime.Remoting.Proxies/RemotingProxy.cs
System.Runtime.Remoting.Proxies/ProxyAttribute.cs
System.Runtime.Remoting.Services/ITrackingHandler.cs
System.Runtime.Remoting.Services/TrackingServices.cs
System.Runtime.Serialization/FormatterConverter.cs
System.Runtime.Serialization/FormatterServices.cs
System.Runtime.Serialization/IDeserializationCallback.cs
System.Runtime.Serialization/IFormatter.cs
System.Runtime.Serialization/IFormatterConverter.cs
System.Runtime.Serialization/IObjectReference.cs
System.Runtime.Serialization/ISerializable.cs
System.Runtime.Serialization/ISerializationSurrogate.cs
System.Runtime.Serialization/ISurrogateSelector.cs
System.Runtime.Serialization/ObjectIDGenerator.cs
System.Runtime.Serialization/ObjectManager.cs
System.Runtime.Serialization/SerializationBinder.cs
System.Runtime.Serialization/SerializationEntry.cs
System.Runtime.Serialization/SerializationException.cs
System.Runtime.Serialization/SerializationInfo.cs
System.Runtime.Serialization/SerializationInfoEnumerator.cs
System.Runtime.Serialization/StreamingContext.cs
System.Runtime.Serialization/StreamingContextStates.cs
System.Runtime.Serialization/SurrogateSelector.cs
System.Runtime.Serialization.Formatters/FormatterAssemblyStyle.cs
System.Runtime.Serialization.Formatters/FormatterTopObjectStyle.cs
System.Runtime.Serialization.Formatters/FormatterTypeStyle.cs
System.Runtime.Serialization.Formatters/IFieldInfo.cs
System.Runtime.Serialization.Formatters/InternalArrayTypeE.cs
System.Runtime.Serialization.Formatters/InternalElementTypeE.cs
System.Runtime.Serialization.Formatters/InternalMemberTypeE.cs
System.Runtime.Serialization.Formatters/InternalMemberValueE.cs
System.Runtime.Serialization.Formatters/InternalNameSpaceE.cs
System.Runtime.Serialization.Formatters/InternalObjectPositionE.cs
System.Runtime.Serialization.Formatters/InternalObjectTypeE.cs
System.Runtime.Serialization.Formatters/InternalParseStateE.cs
System.Runtime.Serialization.Formatters/InternalParseTypeE.cs
System.Runtime.Serialization.Formatters/InternalPrimitiveTypeE.cs
System.Runtime.Serialization.Formatters/InternalSerializerTypeE.cs
System.Runtime.Serialization.Formatters/ISoapMessage.cs
System.Runtime.Serialization.Formatters/ServerFault.cs
System.Runtime.Serialization.Formatters/SoapFault.cs
System.Runtime.Serialization.Formatters/SoapMessage.cs
System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs
System.Runtime.Serialization.Formatters.Binary/BinaryCommon.cs
System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs
System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs
System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs
System.Security/CodeAccessPermission.cs
System.Security/IEvidenceFactory.cs
System.Security/IPermission.cs
System.Security/ISecurityEncodable.cs
System.Security/ISecurityPolicyEncodable.cs
System.Security/IStackWalk.cs
System.Security/NamedPermissionSet.cs
System.Security/PermissionSet.cs
System.Security/PolicyLevelType.cs
System.Security/SecurityElement.cs
System.Security/SecurityException.cs
System.Security/SecurityManager.cs
System.Security/SecurityZone.cs
System.Security/SuppressUnmanagedCodeSecurityAttribute.cs
System.Security/UnverifiableCodeAttribute.cs
System.Security/VerificationException.cs
System.Security/XmlSyntaxException.cs
System.Security.Cryptography/AsymmetricAlgorithm.cs
System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.cs
System.Security.Cryptography/AsymmetricKeyExchangeFormatter.cs
System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
System.Security.Cryptography/AsymmetricSignatureFormatter.cs
System.Security.Cryptography/CipherMode.cs
System.Security.Cryptography/CryptoAPITransform.cs
System.Security.Cryptography/CryptoConfig.cs
System.Security.Cryptography/CryptographicException.cs
System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs
System.Security.Cryptography/CryptoStream.cs
System.Security.Cryptography/CryptoStreamMode.cs
System.Security.Cryptography/CspParameters.cs
System.Security.Cryptography/CspProviderFlags.cs
System.Security.Cryptography/DeriveBytes.cs
System.Security.Cryptography/DES.cs
System.Security.Cryptography/DESCryptoServiceProvider.cs
System.Security.Cryptography/DSA.cs
System.Security.Cryptography/DSACryptoServiceProvider.cs
System.Security.Cryptography/DSAParameters.cs
System.Security.Cryptography/DSASignatureDeformatter.cs
System.Security.Cryptography/DSASignatureFormatter.cs
System.Security.Cryptography/FromBase64Transform.cs
System.Security.Cryptography/HashAlgorithm.cs
System.Security.Cryptography/HMACSHA1.cs
System.Security.Cryptography/ICryptoTransform.cs
System.Security.Cryptography/KeyedHashAlgorithm.cs
System.Security.Cryptography/KeySizes.cs
System.Security.Cryptography/MACTripleDES.cs
System.Security.Cryptography/MaskGenerationMethod.cs
System.Security.Cryptography/MD5.cs
System.Security.Cryptography/MD5CryptoServiceProvider.cs
System.Security.Cryptography/PaddingMode.cs
System.Security.Cryptography/PasswordDeriveBytes.cs
System.Security.Cryptography/PKCS1MaskGenerationMethod.cs
System.Security.Cryptography/RandomNumberGenerator.cs
System.Security.Cryptography/RC2.cs
System.Security.Cryptography/RC2CryptoServiceProvider.cs
System.Security.Cryptography/Rijndael.cs
System.Security.Cryptography/RijndaelManaged.cs
System.Security.Cryptography/RNGCryptoServiceProvider.cs
System.Security.Cryptography/RSA.cs
System.Security.Cryptography/RSACryptoServiceProvider.cs
System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.cs
System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.cs
System.Security.Cryptography/RSAParameters.cs
System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.cs
System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.cs
System.Security.Cryptography/RSAPKCS1SignatureDeformatter.cs
System.Security.Cryptography/RSAPKCS1SignatureFormatter.cs
System.Security.Cryptography/SHA1.cs
System.Security.Cryptography/SHA1CryptoServiceProvider.cs
System.Security.Cryptography/SHA1Managed.cs
System.Security.Cryptography/SHA256.cs
System.Security.Cryptography/SHA256Managed.cs
System.Security.Cryptography/SHA384.cs
System.Security.Cryptography/SHA384Managed.cs
System.Security.Cryptography/SHA512.cs
System.Security.Cryptography/SHA512Managed.cs
System.Security.Cryptography/SignatureDescription.cs
System.Security.Cryptography/SymmetricAlgorithm.cs
System.Security.Cryptography/ToBase64Transform.cs
System.Security.Cryptography/TripleDES.cs
System.Security.Cryptography/TripleDESCryptoServiceProvider.cs
System.Security.Cryptography.X509Certificates/X509Certificate.cs
System.Security.Permissions/CodeAccessSecurityAttribute.cs
System.Security.Permissions/EnvironmentPermission.cs
System.Security.Permissions/EnvironmentPermissionAccess.cs
System.Security.Permissions/EnvironmentPermissionAttribute.cs
System.Security.Permissions/FileDialogPermissionAccess.cs
System.Security.Permissions/FileDialogPermissionAttribute.cs
System.Security.Permissions/FileIOPermission.cs
System.Security.Permissions/FileIOPermissionAccess.cs
System.Security.Permissions/FileIOPermissionAttribute.cs
System.Security.Permissions/IsolatedStorageContainment.cs
System.Security.Permissions/IsolatedStorageFilePermissionAttribute.cs
System.Security.Permissions/IsolatedStoragePermission.cs
System.Security.Permissions/IsolatedStoragePermissionAttribute.cs
System.Security.Permissions/IUnrestrictedPermission.cs
System.Security.Permissions/PermissionSetAttribute.cs
System.Security.Permissions/PermissionState.cs
System.Security.Permissions/PrincipalPermissionAttribute.cs
System.Security.Permissions/PublisherIdentityPermission.cs
System.Security.Permissions/ReflectionPermission.cs
System.Security.Permissions/ReflectionPermissionAttribute.cs
System.Security.Permissions/ReflectionPermissionFlag.cs
System.Security.Permissions/RegistryPermissionAccess.cs
System.Security.Permissions/RegistryPermissionAttribute.cs
System.Security.Permissions/SecurityAction.cs
System.Security.Permissions/SecurityAttribute.cs
System.Security.Permissions/SecurityPermission.cs
System.Security.Permissions/SecurityPermissionAttribute.cs
System.Security.Permissions/SecurityPermissionFlag.cs
System.Security.Permissions/SiteIdentityPermissionAttribute.cs
System.Security.Permissions/StrongNameIdentityPermission.cs
System.Security.Permissions/StrongNamePermissionAttribute.cs
System.Security.Permissions/StrongNamePublicKeyBlob.cs
System.Security.Permissions/UIPermissionAttribute.cs
System.Security.Permissions/UIPermissionClipboard.cs
System.Security.Permissions/UIPermissionWindow.cs
System.Security.Permissions/UrlIdentityPermissionAttribute.cs
System.Security.Permissions/ZoneIdentityPermissionAttribute.cs
System.Security.Policy/AllMembershipCondition.cs
System.Security.Policy/ApplicationDirectoryMembershipCondition.cs
System.Security.Policy/CodeGroup.cs
System.Security.Policy/Evidence.cs
System.Security.Policy/FileCodeGroup.cs
System.Security.Policy/IIdentityPermissionFactory.cs
System.Security.Policy/IMembershipCondition.cs
System.Security.Policy/PolicyException.cs
System.Security.Policy/PolicyLevel.cs
System.Security.Policy/PolicyStatement.cs
System.Security.Policy/PolicyStatementAttribute.cs
System.Security.Policy/Publisher.cs
System.Security.Policy/PublisherMembershipCondition.cs
System.Security.Policy/StrongName.cs
System.Security.Principal/GenericIdentity.cs
System.Security.Principal/GenericPrincipal.cs
System.Security.Principal/IIdentity.cs
System.Security.Principal/IPrincipal.cs
System.Security.Principal/PrincipalPolicy.cs
System.Security.Principal/WindowsAccountType.cs
System.Security.Principal/WindowsBuiltInRole.cs
System.Security.Principal/WindowsIdentity.cs
System.Security.Principal/WindowsImpersonationContext.cs
System.Text/ASCIIEncoding.cs
System.Text/Decoder.cs
System.Text/Encoder.cs
System.Text/Encoding.cs
System.Text/Latin1Encoding.cs
System.Text/StringBuilder.cs
System.Text/UnicodeEncoding.cs
System.Text/UTF7Encoding.cs
System.Text/UTF8Encoding.cs
System.Threading/ApartmentState.cs
System.Threading/AutoResetEvent.cs
System.Threading/Interlocked.cs
System.Threading/IOCompletionCallback.cs
System.Threading/LockCookie.cs
System.Threading/ManualResetEvent.cs
System.Threading/Monitor.cs
System.Threading/Mutex.cs
System.Threading/NativeEventCalls.cs
System.Threading/NativeOverlapped.cs
System.Threading/Overlapped.cs
System.Threading/ReaderWriterLock.cs
System.Threading/RegisteredWaitHandle.cs
System.Threading/SynchronizationLockException.cs
System.Threading/Thread.cs
System.Threading/ThreadAbortException.cs
System.Threading/ThreadInterruptedException.cs
System.Threading/ThreadPool.cs
System.Threading/ThreadPriority.cs
System.Threading/ThreadStart.cs
System.Threading/ThreadState.cs
System.Threading/ThreadStateException.cs
System.Threading/Timeout.cs
System.Threading/Timer.cs
System.Threading/TimerCallback.cs
System.Threading/WaitCallback.cs
System.Threading/WaitHandle.cs
System.Threading/WaitOrTimerCallback.cs

svn path=/trunk/mcs/; revision=12970
2003-03-31 13:01:52 +00:00
Nick Drochak 945a565def 2003-03-31 Nick Drochak <[email protected]>
* makefile.gnu: NUnit.Framework.dll now in class/lib

svn path=/trunk/mcs/; revision=12969
2003-03-31 12:50:26 +00:00
Martin Willemoes Hansen 36d0d9b8c3 * System.Drawing.Design/ToolboxItemCollection.cs stubed
svn path=/trunk/mcs/; revision=12968
2003-03-31 12:45:58 +00:00
Martin Willemoes Hansen 2076fb1c67 * Stubed rest of System.ComponentModel
svn path=/trunk/mcs/; revision=12967
2003-03-31 11:52:28 +00:00
Jackson Harper 25b9e08abd * ILParser.jay: Concat slashed names properly
svn path=/trunk/mcs/; revision=12966
2003-03-31 06:35:25 +00:00
Jackson Harper 185a70350d * ILParser.jay: Implement most of type
svn path=/trunk/mcs/; revision=12965
2003-03-31 06:27:46 +00:00
Gaurav Vaish 3f8564f03a 2003-03-29 Gaurav Vaish <[email protected]>
* cs1518-2.cs:   Added comment describing the error.

svn path=/trunk/mcs/; revision=12963
2003-03-31 05:39:45 +00:00
Gaurav Vaish 8a99bc3e53 2003-03-31 Gaurav Vaish <[email protected]>
* cs-parser.jay: Attributes cannot be applied to
                 namespaces. Fixes #40473

svn path=/trunk/mcs/; revision=12962
2003-03-31 05:37:47 +00:00
Gaurav Vaish 5fc1aa9054 2003-03-29 Gaurav Vaish <[email protected]>
* cs1518-2.cs:   Added new test.

svn path=/trunk/mcs/; revision=12959
2003-03-31 05:17:24 +00:00
Alan Tam 379eb4a957 2003-03-31 Alan Tam <[email protected]>
* makefile.gnu: Added System.Design to build

svn path=/trunk/mcs/; revision=12958
2003-03-31 04:39:40 +00:00
Alan Tam 8bafc0448b 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Removed from build.

svn path=/trunk/mcs/; revision=12957
2003-03-31 04:35:23 +00:00
Alan Tam a46d54ed9f 2003-03-31 Alan Tam <[email protected]>
* list.unix: Added UITypeEditor.cs.

svn path=/trunk/mcs/; revision=12956
2003-03-31 04:34:08 +00:00
Alan Tam 519d2fbd73 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Added
        * PaintValueEventArgs.cs: Fixed typo in namespace

svn path=/trunk/mcs/; revision=12955
2003-03-31 04:33:48 +00:00
Alan Tam 610134dc92 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Removed because it shan't be here

svn path=/trunk/mcs/; revision=12954
2003-03-31 04:21:41 +00:00
Alan Tam 7a748b73a7 2003-03-31 Alan Tam <[email protected]>
* library.build: Added back System.Design to build

svn path=/trunk/mcs/; revision=12953
2003-03-31 04:08:33 +00:00
Alan Tam 07c2636759 2003-03-31 Alan Tam <[email protected]>
* System.Design.build: added reference to System.Windows.Forms
        and System.Drawing assemblies

svn path=/trunk/mcs/; revision=12952
2003-03-31 03:59:01 +00:00
Alan Tam 1bfa3533bd 2003-03-31 Alan Tam <[email protected]>
* TODOAttribute.cs: Changed namespace

svn path=/trunk/mcs/; revision=12951
2003-03-31 03:58:33 +00:00
Alan Tam 0552c2143f 2003-03-31 Alan Tam <[email protected]
* CollectionEditor.cs: Fixed compilation errors.
        * ComponentDesigner.cs: Fixed compilation errors.

svn path=/trunk/mcs/; revision=12950
2003-03-31 03:58:05 +00:00
Jackson Harper 8c86bcc0a2 * ILParser.jay: Add code from old parser to declare and define classes.
svn path=/trunk/mcs/; revision=12949
2003-03-31 03:05:28 +00:00
Jackson Harper 9eb7e89c34 * ExternTable.cs: Add method to lookup classes with a full name,
instead of having to have namespace and name seperate.
	* ClassTable.cs: Make method that seprates full names into
	name/namespaces public.

svn path=/trunk/mcs/; revision=12948
2003-03-31 03:02:03 +00:00
Gonzalo Paniagua Javier 2b9350d0f7 Forgot this one
svn path=/trunk/mcs/; revision=12947
2003-03-30 23:56:26 +00:00
César Natarén f37bcba0d2 ChangeLog entry, README file added.
svn path=/trunk/mcs/; revision=12946
2003-03-30 23:25:11 +00:00
César Natarén 7fc918e0cd Added a readme file, explaining the dependencies and build process.
svn path=/trunk/mcs/; revision=12945
2003-03-30 23:23:07 +00:00
Jackson Harper c9b665aabf * InstrTable.cs: Add Calli, detabify
svn path=/trunk/mcs/; revision=12944
2003-03-30 23:12:24 +00:00
César Natarén de2bcd44f7 Added some files for the compiler's parsing phase (antlr generad files, and the grammar itself).
svn path=/trunk/mcs/; revision=12943
2003-03-30 23:06:01 +00:00
Jackson Harper 5ed08c588c * Driver.cs: de-tabbify
svn path=/trunk/mcs/; revision=12942
2003-03-30 22:58:14 +00:00
Jackson Harper d1840c7b03 * ILTokenizer.cs: Take some special cases into account.
svn path=/trunk/mcs/; revision=12941
2003-03-30 22:56:24 +00:00
Jackson Harper b65def38df * ILTables.cs: Remove 'ptr' I can't find documentation for this
keyword and ildasm does not esacpe it.

svn path=/trunk/mcs/; revision=12940
2003-03-30 22:53:20 +00:00
Jackson Harper 50af30bfd0 * ILParser.jay: New grammar that I haven't made a mess of, this
takes all the special cases into account much better.

svn path=/trunk/mcs/; revision=12939
2003-03-30 22:43:55 +00:00
Gonzalo Paniagua Javier fbc3f783d9 2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.

svn path=/trunk/mono/; revision=12938
2003-03-30 22:42:39 +00:00
Jackson Harper 814e6ad4c4 * NumberHelper.cs: handle sci, hex, and byte
do not handle all corner case
	will optimize soon

svn path=/trunk/mcs/; revision=12937
2003-03-30 22:41:17 +00:00
Gonzalo Paniagua Javier da67a0d871 2003-03-31 Stefan G�rling <[email protected]>
* list: added new files to System.Web.SessionState
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.SessionState/ISessionHandler.cs:
	* System.Web.SessionState/SessionInProcHandler.cs:
	* System.Web.SessionState/SessionStateModule.cs: initial implementation
	of InProc session.

svn path=/trunk/mcs/; revision=12936
2003-03-30 22:12:30 +00:00
Alexandre Pigolkine e9feac48b7 Fixed AllocCoTaskMem issure. Bug-fix for DTP.
svn path=/trunk/mcs/; revision=12935
2003-03-30 21:56:00 +00:00
Alan Tam b8893337c9 2003-03-31 Alan Tam <[email protected]>
* Handler.cs: Add CP936 and ENCgb2312 Encodings
	* CP936.cs: Added support for GB2312 Encoding
	* CP950.cs: Small fixes on SBCS range
	* DbcsEncoding.cs: Little fix
	* Gb2312Convert.cs: Support class for conversion table
	* gb2312.table: GB2312 conversion table
	The GB2312 Encoding is actually GB2312+GBK Encoding as in Windows

svn path=/trunk/mcs/; revision=12934
2003-03-30 20:44:33 +00:00
Miguel de Icaza cbc077561c System.Desisng build is broken
svn path=/trunk/mcs/; revision=12933
2003-03-30 20:34:06 +00:00
Miguel de Icaza c1b83059bf Add back
svn path=/trunk/mcs/; revision=12932
2003-03-30 20:33:08 +00:00
Miguel de Icaza 12b0fe847f Some changes to get it building
svn path=/trunk/mcs/; revision=12931
2003-03-30 20:26:48 +00:00
Alan Tam 96b3bb4519 2003-03-31 Alan Tam <[email protected]>
* DbcsEncoding.cs: Fix compilation error in Windows

svn path=/trunk/mcs/; revision=12930
2003-03-30 20:25:09 +00:00
Miguel de Icaza f2f2570cf3 Commit a few build fixers, but I can not fix it all: remove CJK until its fixed
svn path=/trunk/mcs/; revision=12929
2003-03-30 19:57:00 +00:00
Ben Maurer 5099ad0cdb Updated by TortoiseCVS
svn path=/trunk/mcs/; revision=12928
2003-03-30 19:16:22 +00:00
Alan Tam 827b8b8cc5 2003-03-30 Alan Tam <[email protected]>
* Handler.cs: Added encoding handler for CP950 and ENCbig5
	* DbcsEncoding.cs: A base class for all DBCS encodings
	* DbcsConvert.cs: A singleton class for all DBCS conversion tables
	* CP950.cs: Encoding and Decorder classes for Big5 Encoding
	* big5.table: The conversion table for Big5 Encoding
	CP932.cs can be made neater by using the new base class

svn path=/trunk/mcs/; revision=12924
2003-03-30 08:32:04 +00:00
Jackson Harper ccefbef646 * ILReader.cs: Instead of mainting a buffer let the reader handle
that, and use a stack for putting chars back. This is probably
	much slower and not nearly as cool but the old method was a little
	buggy and I was having trouble tracking things down. This can be
	optimized someday.

svn path=/trunk/mcs/; revision=12923
2003-03-30 08:14:50 +00:00
Jackson Harper d30d5847bb * InstrTable.cs: Add branch ops switch, and lc.r*, also fix some
typos for other ops.

svn path=/trunk/mcs/; revision=12922
2003-03-30 08:02:33 +00:00
Jackson Harper ba491a5309 * Driver.cs: Add switch to display parser debugging information.
svn path=/trunk/mcs/; revision=12921
2003-03-30 07:58:48 +00:00
Zoltan Varga cd6eba353c 2003-03-30 Zoltan Varga <[email protected]>
* class.h class.c (mono_class_is_subclass_of): New function.

	* icall.c (ves_icall_System_Array_FastCopy): Added optimized copy
	routines for most common case (calls from ArrayList::ToArray).

	* icall.c (ves_icall_System_Environment_Exit): Call profiler shutdown
	routine so programs which call Environment::Exit() can be profiled.

	* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle):
	Added MONO_ARCH_SAVE_REGS.

	* icall.c (ves_icall_type_is_subtype_of): Use new function.

svn path=/trunk/mono/; revision=12920
2003-03-29 23:59:30 +00:00
Zoltan Varga 9d2021c022 2003-03-30 Zoltan Varga <[email protected]>
* Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
	type checks and let it decide whenever a fast copy is possible.

svn path=/trunk/mcs/; revision=12919
2003-03-29 23:52:05 +00:00
Rafael Teixeira af17fc74b1 Location now handles column information, many parser rules corrected
svn path=/trunk/mcs/; revision=12918
2003-03-29 22:06:01 +00:00
Martin Willemoes Hansen f2d6020b23 *** empty log message ***
svn path=/trunk/mcs/; revision=12917
2003-03-29 18:44:34 +00:00
Martin Willemoes Hansen b1dae5fb1d * System.ComponentModel.Design.Serialization
Removed references to System.Web namespaces

svn path=/trunk/mcs/; revision=12916
2003-03-29 18:43:38 +00:00
Rafael Teixeira 54c9e05e43 correcting a recurring typo
svn path=/trunk/mcs/; revision=12915
2003-03-29 17:46:11 +00:00
Martin Willemoes Hansen 65a753f87a * Stubed System.ComponentModel/LicenseContext.cs
* Stubed System.ComponentModel/LicenseUsageMode.cs
        * Stubed rest of System.ComponentModel.Design

svn path=/trunk/mcs/; revision=12914
2003-03-29 17:37:15 +00:00
Gonzalo Paniagua Javier b34e4d6bfa Exclude System.ComponentModel.Design.Serialization from the windows build to avoid breakage
svn path=/trunk/mcs/; revision=12913
2003-03-29 17:15:07 +00:00
Gonzalo Paniagua Javier ad841452f8 The nunit2 dll is now in class/lib
svn path=/trunk/mcs/; revision=12912
2003-03-29 17:02:31 +00:00
Gonzalo Paniagua Javier bddd7fcb42 Fixety fix
svn path=/trunk/mcs/; revision=12911
2003-03-29 16:58:57 +00:00
Gonzalo Paniagua Javier 2293b41a56 Fixety fix
svn path=/trunk/mcs/; revision=12910
2003-03-29 16:19:04 +00:00
Nick Drochak f620fdfbcb 2002-03-29 Nick Drochak <[email protected]>
* makefile.gnu: link from where the dll is placed now

svn path=/trunk/mcs/; revision=12909
2003-03-29 16:16:27 +00:00
Nick Drochak 8ecd5df27f 2002-03-29 Nick Drochak <[email protected]>
* makefile.gnu: change 8 spaces to tabs

svn path=/trunk/mcs/; revision=12908
2003-03-29 14:47:37 +00:00
Nick Drochak c019f1eb0b 2002-03-29 Nick Drochak <[email protected]>
* BasicOperationsTest.cs: Moved into proper subdir
	* system_linux_test.args: Change path to above file

svn path=/trunk/mcs/; revision=12907
2003-03-29 14:45:42 +00:00
Martin Willemoes Hansen 7e0bdd636e * Stubed System.ComponentModel.Design
svn path=/trunk/mcs/; revision=12906
2003-03-29 13:08:10 +00:00
Martin Willemoes Hansen 5bfcd54bb9 *** empty log message ***
svn path=/trunk/mcs/; revision=12905
2003-03-29 13:06:28 +00:00
Martin Willemoes Hansen f16a6fd00f *** empty log message ***
svn path=/trunk/mcs/; revision=12904
2003-03-29 13:05:59 +00:00
Martin Willemoes Hansen 05313f9d20 * Stubed System.ComponentModel/InheritanceAttribute.cs
* Stubed System.ComponentModel/InheritanceLevel.cs
        * Stubed System.ComponentModel.Design/IDesignerFilter.cs
        * Stubed System.ComponentModel.Design/IInheritanceService.cs

svn path=/trunk/mcs/; revision=12903
2003-03-29 13:01:31 +00:00
Martin Willemoes Hansen d9aa2b30df * Added stub for System.Windows.Forms/IWindowsFormsEditorService.cs
svn path=/trunk/mcs/; revision=12902
2003-03-29 12:57:15 +00:00
Gonzalo Paniagua Javier 0b8f88a2af 2003-03-29 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.

svn path=/trunk/mcs/; revision=12900
2003-03-29 12:47:24 +00:00
Duncan Mak 92b143b3cc Fix the build
svn path=/trunk/mono/; revision=12898
2003-03-29 08:05:44 +00:00
Miguel de Icaza bb5130be22 2003-03-29 Miguel de Icaza <[email protected]>
* blob.h: Add a couple of new MonoType types definitions.

	* tabledefs.h: Add a couple of new call convs.

svn path=/trunk/mono/; revision=12897
2003-03-29 06:32:50 +00:00
Miguel de Icaza 1c11196f9f 2003-03-28 Miguel de Icaza <[email protected]>
* enum.cs (Enum.DefineType, Enum.IsValidEnumConstant): Also allow
	char constants to be part of the enumeration.

svn path=/trunk/mcs/; revision=12896
2003-03-28 23:27:26 +00:00
Miguel de Icaza 3b75ef90da 2003-02-25 Miguel de Icaza <[email protected]>
* makefile (all): Make it so that doing `make' will run the
	default tests depending on Windows/Linux.

svn path=/trunk/mcs/; revision=12895
2003-03-28 23:22:13 +00:00
Miguel de Icaza 6f02a96296 Update for conditional operator
svn path=/trunk/mcs/; revision=12894
2003-03-28 23:21:55 +00:00
Miguel de Icaza 03d4e4f037 Improve
svn path=/trunk/mcs/; revision=12893
2003-03-28 23:07:12 +00:00
Miguel de Icaza df52aeebd2 Add new error
svn path=/trunk/mcs/; revision=12892
2003-03-28 23:07:01 +00:00
Miguel de Icaza 67a7a99fe0 2003-03-28 Miguel de Icaza <[email protected]>
* expression.cs (Unary.ResolveOperator): In LogicalNot, do an
	implicit conversion to boolean.

	* statement.cs (Statement.ResolveBoolean): A boolean expression is
	also one where the type implements `operator true'.

	* ecore.cs (Expression.GetOperatorTrue): New helper routine to
	get an expression that will invoke operator true based on an
	expression.

	(GetConversionOperators): Removed the hack that called op_True
	here.

	(Expression.ResolveBoolean): Move this from Statement.

svn path=/trunk/mcs/; revision=12891
2003-03-28 22:51:57 +00:00
Alan Tam 9c15947e93 2003-03-29 Alan Tam <[email protected]>
* ToolboxBitmapAttribute: stubbed more constructors and fixed base class

svn path=/trunk/mcs/; revision=12888
2003-03-28 17:43:36 +00:00
Alan Tam 3ca5b82b5c 2003-03-29 Alan Tam <[email protected]>
* DataGrid.cs: stubbed a missing method

svn path=/trunk/mcs/; revision=12887
2003-03-28 17:08:48 +00:00
Miguel de Icaza 6d171a6d11 More
svn path=/trunk/mono/; revision=12886
2003-03-28 16:15:47 +00:00
Miguel de Icaza de0d7d0b9b Flush
svn path=/trunk/mono/; revision=12885
2003-03-28 16:09:44 +00:00
Dick Porter 474c210e63 2003-03-28 Dick Porter <[email protected]>
* atomic.h: PPC support gratiously donated to the public domain
	by John Duncan <[email protected]>

svn path=/trunk/mono/; revision=12882
2003-03-28 15:04:03 +00:00
Gonzalo Paniagua Javier 315c8a457f 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* CryptoStream.cs: fixed the previous fix. MS throws a NotSupportedExc
	when FlushFinalBlock is called twice. I've moved a few lines from Close
	to FlushFinalBlock and added the exception check.

svn path=/trunk/mcs/; revision=12879
2003-03-28 00:08:06 +00:00
Gonzalo Paniagua Javier 668bc9677f 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
	Fixes bug #40394.

svn path=/trunk/mcs/; revision=12878
2003-03-27 23:45:50 +00:00
Gonzalo Paniagua Javier 581122d879 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* AspTokenizer.cs: allow quotes inside server tags that are part of
	attribute values.

	* CachingCompiler.cs: no more 'FileNotFound' exceptions when the
	compilation fails.

svn path=/trunk/mcs/; revision=12877
2003-03-27 23:14:36 +00:00
Martin Willemoes Hansen fa24deadd0 * Stubed rest of System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=12875
2003-03-27 21:04:16 +00:00
Martin Willemoes Hansen c0819f5bcf * Moved classes which was belonging to the System assembly.
* Added CodeDomSerializerException.cs stub

svn path=/trunk/mcs/; revision=12874
2003-03-27 20:31:45 +00:00
Martin Willemoes Hansen 7543f1e152 * Moved classes which was belonging to the System assembly.
* Added unix build environment

svn path=/trunk/mcs/; revision=12873
2003-03-27 20:30:14 +00:00
Martin Willemoes Hansen 2c0f542975 * Made initial stubing of System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=12872
2003-03-27 20:26:34 +00:00
Ville Palo db024539d9 2003-03-27 Ville Palo <[email protected]>
* DataTable.cs: Some fixes to PrimaryKey etc...
	* UniqueConstraint.cs: Little clean up

svn path=/trunk/mcs/; revision=12871
2003-03-27 20:24:53 +00:00
Ville Palo c0fa47a98e 2003-03-27 Ville Palo <[email protected]>
* DataTable.cs: Tiny fix to ToString () -method

svn path=/trunk/mcs/; revision=12870
2003-03-27 19:33:08 +00:00
Dick Porter 460f583ef2 Fix for gcc 3.2 printing gratuitous warnings, and configure thinking a test
failed because some (any) output was printed

svn path=/trunk/mono/; revision=12868
2003-03-27 18:49:16 +00:00
Ville Palo 5c65bfeb02 2003-03-27 Ville Palo <[email protected]>
* ConstraintCollection.cs: Little fix.
	* DataColumn.cs: Added new internal method SetUnique()
	* UniqueConstraint.cs: some little fixes

svn path=/trunk/mcs/; revision=12867
2003-03-27 18:09:53 +00:00
Ville Palo 007db21a17 2003-03-27 Ville Palo <[email protected]>
* UniqueConstraintTest.cs: some minor fixes.

svn path=/trunk/mcs/; revision=12866
2003-03-27 17:08:29 +00:00
Zoltan Varga da265fe8c2 2003-03-27 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionDynamicAssembly): track changes in
	the layout of the class.

	* reflection.c (alloc_table): double the size on overflow to avoid
	unnecessary copying.

	* reflection.h reflection.c: If AssemblyBuilderAccess is Run, then
	avoid filling out metadata tables and blobs. Also set mb->ilgen to
	null so it can be garbage collected.

svn path=/trunk/mono/; revision=12865
2003-03-27 16:39:49 +00:00
Zoltan Varga 7ab9e20621 2003-03-27 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Added 'access' member, which is needed by the
	runtime.

svn path=/trunk/mcs/; revision=12864
2003-03-27 16:30:49 +00:00
Zoltan Varga d357a487a0 2003-03-27 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Return the resolved type
	only if it is in the assembly we searched.

	* reflection.c (ensure_runtime_vtable): Initialize method slots.

	* class.c (mono_class_setup_vtable): Set the slot of the overriding
	method.

svn path=/trunk/mono/; revision=12863
2003-03-27 10:42:43 +00:00
Gonzalo Paniagua Javier abebeaccec 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: generate correct appbase path. It was working with
	mcs but not with csc.

	* BaseCompiler.cs: quote arguments and removed GetRandomFileName.

	* CachingCompiler.cs: quote source file.

svn path=/trunk/mcs/; revision=12862
2003-03-27 03:44:38 +00:00
Alexandre Pigolkine 1024bbc148 Implementation of ToolTip and NumericUpDown/UpDownBase.
svn path=/trunk/mcs/; revision=12859
2003-03-26 23:44:37 +00:00
Ville Palo ab6a283aac 2003-03-26 Ville Palo <[email protected]>
* DataRowCollection.cs: Bugfixes, implementation,...

svn path=/trunk/mcs/; revision=12858
2003-03-26 19:59:21 +00:00
Ville Palo 293ee63fce 2003-03-26 Ville Palo <[email protected]>
* DataColumn.cs: If DataType if set to something else than short, int
	or long and AutoIncrement is true, AutoIncrement is must set to false.

svn path=/trunk/mcs/; revision=12857
2003-03-26 19:41:49 +00:00
Ville Palo bf40c618f9 2003-03-26 Ville Palo <[email protected]>
* DataRowCollectionTest.cs: Tests for AutoIncrement

svn path=/trunk/mcs/; revision=12856
2003-03-26 19:02:23 +00:00
Zoltan Varga 9c91014757 2003-03-26 Zoltan Varga <[email protected]>
* ILGenerator.cs: Implemented ThrowException.

svn path=/trunk/mcs/; revision=12855
2003-03-26 18:20:26 +00:00
Duncan Mak fb175d1aa9 2003-03-26 Duncan Mak <[email protected]>
* XmlTextWriter.cs (Write): A patch from Atsushi to fix
	prematurely ending the write, or something like that. It was
	causing us to chop off the end of the document when we're trying
	to generate XML Schemas.

svn path=/trunk/mcs/; revision=12854
2003-03-26 17:41:02 +00:00
Gonzalo Paniagua Javier 049a4f7fc7 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs:
	(GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.

svn path=/trunk/mcs/; revision=12853
2003-03-26 17:01:05 +00:00
Gonzalo Paniagua Javier a4b711d273 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: now the Inherits attribute works as expected for
	global.asax file.

svn path=/trunk/mcs/; revision=12852
2003-03-26 16:34:54 +00:00
Dietmar Maurer 20f4b7719a test inlining, not const. propagation
svn path=/trunk/mono/; revision=12851
2003-03-26 16:03:19 +00:00
Dietmar Maurer 3b1c67c9ae test the result
svn path=/trunk/mono/; revision=12850
2003-03-26 15:29:42 +00:00
Dietmar Maurer 066ab896f0 *** empty log message ***
svn path=/trunk/mono/; revision=12849
2003-03-26 15:24:53 +00:00
Gonzalo Paniagua Javier 60f283f286 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	(set_domain_search_path): allow 'file://blah'. It's an invalid URI,
	the right one is 'file:///blah', but MS allows it.
	* assembly.c:
	(mono_assembly_open): allow 'file://blah'

	Fixes bug #40306. Thanks to Mitko Iliev ([email protected]).

svn path=/trunk/mono/; revision=12848
2003-03-26 15:20:59 +00:00
Gonzalo Paniagua Javier ff0f1c0cd2 2003-03-26 Aleksey Demakov <[email protected]>
* socket-io.c: fixes bug #40310.

svn path=/trunk/mono/; revision=12847
2003-03-26 13:55:14 +00:00
Miguel de Icaza 9b841457c5 Flush
svn path=/trunk/mono/; revision=12845
2003-03-26 03:36:38 +00:00
Gonzalo Paniagua Javier 6e2a2c451b 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* DataRow.cs:
	(BeginEdit): fixed array bound problem when a column has been added.
	(EndEdit): just assign proposed to current as proposed is set to null.
	This also fixes another array boudn problem.

svn path=/trunk/mcs/; revision=12837
2003-03-26 00:30:27 +00:00
Marco Ridoni 7d9fa2b96b Fixed 'Is Nothing' relational expression, which now correctly checks null
references.

svn path=/trunk/mcs/; revision=12835
2003-03-25 23:26:34 +00:00
Marco Ridoni 0ba88d0941 TypeManager.GetConstructor() made public to allow call from driver.cs, since
Type.GetConstructor wouldn't work in dynamic assemblies.

svn path=/trunk/mcs/; revision=12834
2003-03-25 23:25:35 +00:00
Marco Ridoni b3a3dde75f A Main() function is automatically built if we're building a SWF Exe AND
we don't have a proper entry point and our main class is a SWF form. This
makes it possible to compile directly code generated by the VB.NET IDE

svn path=/trunk/mcs/; revision=12833
2003-03-25 23:24:01 +00:00
Miguel de Icaza dc80ba249c Update Index
svn path=/trunk/mono/; revision=12831
2003-03-25 20:59:34 +00:00
Duncan Mak d1e59ecdfb 2003-03-25 Duncan Mak <[email protected]>
* MonoXSD.cs: Added support for two command line arguments:

	   /output: specify the directory to put the generated schema.
	   /type:   specify a specific type in the assembly.

svn path=/trunk/mcs/; revision=12829
2003-03-25 18:51:56 +00:00
Miguel de Icaza 81d8ea4a04 Add -doc option from Ian
svn path=/trunk/mcs/; revision=12828
2003-03-25 18:30:59 +00:00
Ville Palo cbdfc86afc 2003-03-25 Ville Palo <[email protected]>
* DataTableTest.cs: Added test for PrimaryKey-property

svn path=/trunk/mcs/; revision=12827
2003-03-25 17:40:34 +00:00
Zoltan Varga d1f661ddbe 2003-03-25 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_parse_type): handle deeply nested
	types correctly.

	* reflection.c (mono_image_create_token): Use unique token values
	since they will be put into a hash table.

	* class.c (mono_class_setup_vtable): If a method occurs in more than
	one place in the vtable, and it gets overriden, then change the
	other occurances too.

	* marshal.c (mono_marshal_get_managed_wrapper): Added support for
	object as return type.

svn path=/trunk/mono/; revision=12825
2003-03-25 17:11:34 +00:00
Gonzalo Paniagua Javier d7ccbf93ae 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: fixed Url property.

svn path=/trunk/mcs/; revision=12824
2003-03-25 17:08:41 +00:00
Zoltan Varga 932ada6886 2003-03-25 Zoltan Varga <[email protected]>
* Activator.cs (CreateInstance): Call GetConstructor with the right
	arguments so the nonPublic argument is handled correctly.

svn path=/trunk/mcs/; revision=12821
2003-03-25 16:23:12 +00:00
Martin Willemoes Hansen c755b1b140 * Stubed System.Runtime.Remoting.MetadataServices
svn path=/trunk/mcs/; revision=12817
2003-03-25 12:34:05 +00:00
Zoltan Varga 12bd6c031b 2003-03-25 Zoltan Varga <[email protected]>
* Thread.cs: Fix visibility of ResetAbort().

svn path=/trunk/mcs/; revision=12812
2003-03-25 10:17:12 +00:00
Dietmar Maurer f185c06893 a test for cond. const propagation in switch statements
svn path=/trunk/mono/; revision=12811
2003-03-25 10:07:16 +00:00
Nick Drochak 81a2c8e934 2003/03/25 Nick Drochak <[email protected]>
* System_test.build: Use nunit2 to run the tests.

svn path=/trunk/mcs/; revision=12809
2003-03-25 08:39:07 +00:00
Nick Drochak d3ca64a84d 2003/03/25 Nick Drochak <[email protected]>
* DiagnosticsConfigurationHandlerTest.cs: Fix compiler warnings

svn path=/trunk/mcs/; revision=12808
2003-03-25 08:37:23 +00:00
Martin Willemoes Hansen faf2a34d0d * Stubed System.Runtime.Remoting.Metadata.W3cXsd2001
* Updated unix.args with the stubs

svn path=/trunk/mcs/; revision=12807
2003-03-25 07:57:58 +00:00
Miguel de Icaza 1a61ea90b9 Reformat changes, and add some small debugging information to catch errors
svn path=/trunk/mcs/; revision=12806
2003-03-25 05:01:35 +00:00
Miguel de Icaza 686e356135 Add support for Int32 types
svn path=/trunk/mcs/; revision=12805
2003-03-25 04:47:10 +00:00
Miguel de Icaza 1ac84338d0 just add some verbosity
svn path=/trunk/mcs/; revision=12804
2003-03-25 04:44:08 +00:00
Gonzalo Paniagua Javier 84d713011d 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: fixed bug #40123.

svn path=/trunk/mcs/; revision=12803
2003-03-25 02:48:08 +00:00
Gonzalo Paniagua Javier 45785e75e9 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: throw an exception is the response code is >= 300.

svn path=/trunk/mcs/; revision=12802
2003-03-25 02:22:27 +00:00
Duncan Mak 06e7fda3be 2003-03-24 Duncan Mak <[email protected]>
* MonoXSD.cs: Add support for having enums as a field in the
class. I overlooked this bit last week.

* makefile: Make it build with debug enabled by default.

svn path=/trunk/mcs/; revision=12801
2003-03-25 01:04:07 +00:00
Gonzalo Paniagua Javier a6b28539ae 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
	Added more checks and throws.
	Small fixes in Send to avoid duplicating the buffer.
	Moved CheckIfDisposed calls to the start of the methods instead of doing
	the check inside a finally clause.

svn path=/trunk/mcs/; revision=12798
2003-03-25 00:16:59 +00:00
Gonzalo Paniagua Javier c6e0f9e30c added install target and update makefiles
svn path=/trunk/mcs/; revision=12797
2003-03-25 00:05:16 +00:00
Alexandre Pigolkine 742bfac7ef Implementation of Collections for (Checked)ListBox; notification handling for DateTimePicker control
svn path=/trunk/mcs/; revision=12796
2003-03-24 23:28:11 +00:00
Marco Ridoni 9e0a1fe0b4 Initial support for invocation of (parent) constructors. Must implement
a few checks

svn path=/trunk/mcs/; revision=12795
2003-03-24 23:20:53 +00:00
Marco Ridoni 5b0e07dd80 - Added OVERRIDES, OVERLOADS, OVERRIDABLE, MUSTOVERRIDE, NOTOVERRIDABLE. Only
OVERRIDES actually works, for now.
- Fixed a bug in MyBase invocations (en expression list was passed instead of
an argument list)
- Added 'Is Nothing' relational expression (maybe not working right, must
check)

svn path=/trunk/mcs/; revision=12794
2003-03-24 23:19:06 +00:00
Marco Ridoni f6bd265cea Started implementing auto-generation of an entry point function if the
assembly is a WinEXE AND uses System.Windows.Forms AND RootContext.MainClass
is derived from System.Windows.Forms.Form (just like VB.NET does)

svn path=/trunk/mcs/; revision=12793
2003-03-24 23:16:37 +00:00
Marco Ridoni 9f0c772827 Commented out unneeded code in AddClass()
svn path=/trunk/mcs/; revision=12792
2003-03-24 23:14:56 +00:00
Lluis Sanchez 694b90cc4e RemotingServices.cs: Fixed bug #39915
svn path=/trunk/mcs/; revision=12791
2003-03-24 22:30:33 +00:00
Per Arneng 8d5a646b5c updated with the MailUtil
svn path=/trunk/mcs/; revision=12788
2003-03-24 19:42:08 +00:00
Per Arneng 43697b86ba Bcc is now working, Unique boundaries, Encoded headers when needed
svn path=/trunk/mcs/; revision=12787
2003-03-24 19:40:00 +00:00
Per Arneng cc8601c95b Fixed invalid cast exception
svn path=/trunk/mcs/; revision=12785
2003-03-24 18:02:39 +00:00
Per Arneng a563002193 Minor update. MailUtil used in MailAddress
svn path=/trunk/mcs/; revision=12784
2003-03-24 17:58:44 +00:00
Per Arneng b2c0db97c2 Added MailUtil
svn path=/trunk/mcs/; revision=12783
2003-03-24 17:51:25 +00:00
Gonzalo Paniagua Javier 0bd263fbfb 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HtmlizedException.cs:
	* System.Web/HttpException.cs:
	* System.Web.Compilation/CompilationException.cs:
	* System.Web.Compilation/ParseException.cs: display the correct line
	number in error messages.

	* System.Web.Compilation/AspElements.cs: added TargetSchema attribute
	for control. It's ignored.

svn path=/trunk/mcs/; revision=12782
2003-03-24 17:00:49 +00:00
Dietmar Maurer c8513ec5ac change the class name to Tests
svn path=/trunk/mono/; revision=12781
2003-03-24 16:15:57 +00:00
Dick Porter 66b943c7e3 Fix typo
svn path=/trunk/mono/; revision=12778
2003-03-24 11:25:33 +00:00
Miguel de Icaza dc645afbd7 The table encodes 5 bits
svn path=/trunk/mcs/; revision=12775
2003-03-24 04:38:22 +00:00
Miguel de Icaza 4398154d0d From:� Elan Feingold <[email protected]>
Patch to support property-deserialization.

svn path=/trunk/mcs/; revision=12774
2003-03-24 04:14:04 +00:00
Gonzalo Paniagua Javier 95aa19157f 8 spaces -> tab
svn path=/trunk/mcs/; revision=12773
2003-03-24 00:15:26 +00:00
Alexandre Pigolkine 4955c6fe44 Implementation of ProgressBar and DateTimePicker controls Aleksey Ryabchuk <[email protected]>
svn path=/trunk/mcs/; revision=12772
2003-03-23 20:46:53 +00:00
Gonzalo Paniagua Javier 21a770b70c fix the build
svn path=/trunk/mcs/; revision=12767
2003-03-23 19:25:47 +00:00
Gonzalo Paniagua Javier 518a451317 referenced the same assemblies in .build and makefile.gnu
svn path=/trunk/mcs/; revision=12763
2003-03-23 16:01:48 +00:00
Atsushi Eno c3476654ae 2003-03-23 Atsushi Enomoto <[email protected]>
* added XmlReaderCommonTests.cs which is mostly copied from
	  XmlTextReaderTests and XmlNodeReaderTests. These tests are removed
	  from each files.

svn path=/trunk/mcs/; revision=12759
2003-03-23 10:09:34 +00:00
Atsushi Eno a085bb9635 2003-03-23 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : implemented ReadString().
	  fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
	  null reference exception when context is null.
	* XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
	  fixed Read() - when positioned at EndElement, it didn't progress.
	  fixed HasAttribute - it didn't return false in all cases.
	  fixed Name and LocalName - only limited type of nodes return names.
	  fixed AttributeCount - in some cases it threw null ref exception.

svn path=/trunk/mcs/; revision=12758
2003-03-23 10:05:29 +00:00
Marco Ridoni 55c0c1a100 Fixed a couple of bugs in the grammar:
- Only module members can be declared in modules
- Class constructor declaration was broken

svn path=/trunk/mcs/; revision=12757
2003-03-22 22:56:05 +00:00
Pedro Martínez Juliá 1a64edb0a0 2003-03-22 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Fixed some bugs for get the same
    results than MS.NET. Added simple error recovering, now ToString
    will return a general format if there is any exception in the
    process of formatting. This make the library more robust while the
    formatters are refined.

	* DoubleTest.cs: Converted to Nunit 2.0. Completed ToString test.

	* icall.c: Deleted "ToString" implementation for double and float
	because they are full implemented in managed code.

svn path=/trunk/mono/; revision=12756
2003-03-22 22:44:04 +00:00
Pedro Martínez Juliá dfb3374160 2003-03-22 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Fixed some bugs for get the same
    results than MS.NET. Added simple error recovering, now ToString
    will return a general format if there is any exception in the
    process of formatting. This make the library more robust while the
    formatters are refined.

	* DoubleTest.cs: Converted to Nunit 2.0. Completed ToString test.

	* icall.c: Deleted "ToString" implementation for double and float
	because they are full implemented in managed code.

svn path=/trunk/mcs/; revision=12756
2003-03-22 22:44:04 +00:00
César Natarén fb0500290f Added a ChangeLog file, makefile.gnu for *nix building and the file lsit for it.
svn path=/trunk/mcs/; revision=12755
2003-03-22 20:13:36 +00:00
Martin Willemoes Hansen b5bff485cb * Stubed System.Runtime.Remoting.Channels.Http
svn path=/trunk/mcs/; revision=12750
2003-03-22 17:10:03 +00:00
Gonzalo Paniagua Javier 09d70359a1 2003-03-22 Gonzalo Paniagua Javier <[email protected]>
* HttpCachePolicy.cs: implemented all TODOs.
	* HttpRequestStream.cs: make it internal.

svn path=/trunk/mcs/; revision=12748
2003-03-22 16:03:04 +00:00
Gonzalo Paniagua Javier ddd6b2c5d8 Fixed windows build
svn path=/trunk/mcs/; revision=12747
2003-03-22 15:24:19 +00:00
Martin Willemoes Hansen c20bf1d8ac * Stubed Custommarshalers
svn path=/trunk/mcs/; revision=12746
2003-03-22 12:14:59 +00:00
Martin Baulig 2c99d6c805 Reflect latest API changes.
svn path=/trunk/mono/; revision=12743
2003-03-22 11:42:57 +00:00
Martin Baulig 603999bb91 2003-03-22 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodEntry.LocalNamesAmbiguous): New public
	field.  Specifies whether two local variables have the same name.

svn path=/trunk/mcs/; revision=12742
2003-03-22 11:42:31 +00:00
Atsushi Eno 1ab0facfac 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : patch by Sean Cier. Serialize() other than
	  XmlWriter argument should call WriteEndDocument.

svn path=/trunk/mcs/; revision=12741
2003-03-22 08:04:36 +00:00
Atsushi Eno 2a7da00761 2003-03-22 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added DocumentWithXmlDeclaration()
	  for bugzilla #36672.

svn path=/trunk/mcs/; revision=12740
2003-03-22 07:56:57 +00:00
Atsushi Eno 589edac804 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
	  WriteEndDocument without root element now raises an error correctly.
	* XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
	  implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
	  MoveToAttribute.

svn path=/trunk/mcs/; revision=12739
2003-03-22 07:54:42 +00:00
Duncan Mak 8fc1b920db 2003-03-22 Duncan Mak <[email protected]>
* MonoXSD.cs: Moved things around, now it's not only
	static methods (functions) anymore.

	Attributes handling galore! We now handle:

	   - XmlElementAttribute
	   - XmlAttributeAtribute
	   - XmlArrayAttribute
	   - XmlArrayItemAttribute
	   - XmlTextAttribute
	   - XmlAnyElementAttribute
	   - XmlAnyAttributeAttribute

svn path=/trunk/mcs/; revision=12738
2003-03-22 07:31:11 +00:00
Atsushi Eno f3dc688927 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlElement.cs : RemoveAttribute now don't throws when specified
	  attribute does not exist.

svn path=/trunk/mcs/; revision=12737
2003-03-22 04:54:52 +00:00
Marco Ridoni b295203c37 Fixed a bug in Interfaces (Namespace were not considered)
svn path=/trunk/mcs/; revision=12736
2003-03-21 22:14:40 +00:00
Martin Willemoes Hansen 1868ea316d * unix.args: Added System.Runtime.Remoting.Channels/IChannelReceiverHook.cs
svn path=/trunk/mcs/; revision=12735
2003-03-21 21:29:56 +00:00
Marco Ridoni 028f1da257 Initial implementation of helper/implicit conversion functions
svn path=/trunk/mcs/; revision=12733
2003-03-21 18:07:21 +00:00
Marco Ridoni 01e872df87 For..Each implementation
svn path=/trunk/mcs/; revision=12732
2003-03-21 18:00:32 +00:00
Marco Ridoni a83c64eb14 For..Each implemented
svn path=/trunk/mcs/; revision=12731
2003-03-21 17:31:15 +00:00
Per Arneng 003d7b8a4b Compatibillity update: Made some changes to make everything
work closer to how .NET sdk works.

svn path=/trunk/mcs/; revision=12730
2003-03-21 16:44:47 +00:00
Alan Tam 5991949a8b 2003-03-21 Alan Tam <[email protected]>
* DbDataAdapter.cs: Update now uses correct DataRowVersion
        when accessing the data.

svn path=/trunk/mcs/; revision=12729
2003-03-21 13:27:08 +00:00
Alan Tam 49ac88576b 2003-03-21 Alan Tam <[email protected]>
* DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
        EndEdit and AcceptChanges to act correctly according to DataRowState
        and DataRowVersion.
        * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
        attached and detached from the collection.

svn path=/trunk/mcs/; revision=12728
2003-03-21 13:25:28 +00:00
Atsushi Eno 3838a6549c 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNode.cs : add descriptions for some node type error.

svn path=/trunk/mcs/; revision=12721
2003-03-21 09:42:59 +00:00
Piers Haken de5da3d1e8 2003-03-20 Piers Haken <[email protected]>
* makefile.gnu: really fix the System.Management build problems

svn path=/trunk/mcs/; revision=12719
2003-03-21 05:07:31 +00:00
Gonzalo Paniagua Javier 606f1d949f fixed the build in linux
svn path=/trunk/mcs/; revision=12718
2003-03-21 00:14:25 +00:00
Alexandre Pigolkine 2de7c06915 checkin for Aleksey Ryabchuk <[email protected]>, implementation of Timer class and small modifications to other files
svn path=/trunk/mcs/; revision=12717
2003-03-20 23:05:15 +00:00
Martin Willemoes Hansen b7f866095b * Stubed out System.Management.Instrumentation
svn path=/trunk/mcs/; revision=12716
2003-03-20 21:50:56 +00:00
Lluis Sanchez 0f7aeed097 * unix.args: Added System.Runtime.Remoting.Activation/AppDomainLevelActivator.cs
svn path=/trunk/mcs/; revision=12715
2003-03-20 20:33:02 +00:00
Lluis Sanchez a82c3d48b6 * Identity.cs: Added support for dynamic properties.
* ObjRef.cs: Removed some [MonoTODO]
	* TypeInfo.cs: Added support for interfaces.
	* RemotingServices.cs: Several fixes to support interfaces in proxies.

svn path=/trunk/mcs/; revision=12714
2003-03-20 20:32:01 +00:00
Lluis Sanchez ad8839ab64 * ActivationServices.cs: Added the method Activate that performs the forwards the
creation message to the right message sink. Added support for AppDomainLevelActivator.
	* ConstructionLevelActivator.cs: Activate does not use the object identity because
	  it may not be set yet.
	* ContextLevelActivator.cs: this activator is now always called for CBOs. A new context
	  has to be created only if the construction message says so.
	* AppDomainLevelActivator.cs: Added. Implements an IActivator that makes a remote creation.

svn path=/trunk/mcs/; revision=12713
2003-03-20 20:31:27 +00:00
Lluis Sanchez f6cc7de959 * Context.cs: Implemented support for dynamic properties and dynamic message sinks.
* CrossContextChannel.cs: Added support for dynamic message sinks.

svn path=/trunk/mcs/; revision=12712
2003-03-20 20:30:57 +00:00
Lluis Sanchez 2f9c1f3395 * RealProxy.cs: added variables to support proxy bypass when the called CBO is
in the same context as the caller.
	* RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
	  ActivationServices.

svn path=/trunk/mcs/; revision=12711
2003-03-20 20:30:28 +00:00
Lluis Sanchez 32334b170b * CADMessages.cs: removed some warnings.
* ClientContextTerminatorSink.cs: added support for dynamic sinks.
	* ConstructionCall.cs: added internal property IsContextOK.
	* MethodResponse.cs: fixed management of output parameters.
	* ServerObjectTerminatorSink.cs: added support for dynamic sinks.

svn path=/trunk/mcs/; revision=12710
2003-03-20 20:29:41 +00:00
Lluis Sanchez bfc4971680 FileNotFoundException.cs: fixed serialization bug.
svn path=/trunk/mcs/; revision=12709
2003-03-20 18:40:48 +00:00
Atsushi Eno c3124c9d20 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNodeListTests.cs : added ReturnNullWhenIndexIsOutOfRange() for
	  bugzilla #39920.

svn path=/trunk/mcs/; revision=12708
2003-03-20 18:13:08 +00:00
Atsushi Eno a38d31d473 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.

svn path=/trunk/mcs/; revision=12707
2003-03-20 18:11:44 +00:00
Dick Porter 083748a9f2 2003-03-20 Dick Porter <[email protected]>
* sockets.c (_wapi_connect): If connect() fails with EACCES, try
	setting SO_BROADCAST and connecting again.  Fixes bug 39178.

svn path=/trunk/mono/; revision=12702
2003-03-20 15:01:59 +00:00
Alan Tam 92b49257d6 2003-03-20 Alan Tam <[email protected]>
* DataColumn.cs: Store empty string for Expression when null is passed in.
        Classes generated by XSD.exe passes null by default.

svn path=/trunk/mcs/; revision=12700
2003-03-20 10:18:25 +00:00
Dick Porter 4be18ef0a5 2003-03-20 Dick Porter <[email protected]>
* Win32Exception.cs: Made the fallback error more useful by
	reporting the error number

svn path=/trunk/mcs/; revision=12699
2003-03-20 09:49:03 +00:00
Duncan Mak dc126d7e06 Add link to Python.NET
svn path=/trunk/mono/; revision=12698
2003-03-20 07:26:20 +00:00
Duncan Mak 63532a5b09 Stupid formatting.
svn path=/trunk/mcs/; revision=12697
2003-03-20 07:17:25 +00:00
Duncan Mak 027c1f3da2 Add some more error checking.
svn path=/trunk/mcs/; revision=12696
2003-03-20 07:03:17 +00:00
Duncan Mak 6242676205 2003-03-20 Duncan Mak <[email protected]>
* MonoXSD.cs: More refinements. We now support transforming
	enumerations as well as arrays to their corresponding XML Schema
	type. Read/Write properties will also be transformed (thanks to
	reading KeithBa's book). XmlNode is properly handled, and XmlElement
	& co. should also be transformed correctly.

	Next up: I should look into whether or not xsd.exe makes use of
	XmlAttributes. If so, I'll have to support that.

	Other than that, this part of MonoXSD should be complete.

svn path=/trunk/mcs/; revision=12695
2003-03-20 05:50:50 +00:00
Gonzalo Paniagua Javier 5fdea70cf4 Isolated MS bug and added 1 more test
svn path=/trunk/mcs/; revision=12693
2003-03-20 03:45:24 +00:00
Gonzalo Paniagua Javier c52c7f84c7 Throw exception is no 'special' char found. Parse the port number using UInt32
svn path=/trunk/mcs/; revision=12692
2003-03-20 03:43:58 +00:00
Jackson Harper 86e94acc87 added ilasm man page
svn path=/trunk/mono/; revision=12691
2003-03-20 03:33:12 +00:00
Gonzalo Paniagua Javier bf200cdf58 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
	in Parse when host length is 0 and the Uri is not a file.

svn path=/trunk/mcs/; revision=12690
2003-03-19 19:54:57 +00:00
Gonzalo Paniagua Javier 9b3ae66f01 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* UriTest.cs: moved a couple of test to their own method as they fail
	with MS runtime. Added new tests for Segment.

svn path=/trunk/mcs/; revision=12689
2003-03-19 19:53:05 +00:00
Miguel de Icaza e167212a29 Flush
svn path=/trunk/mono/; revision=12688
2003-03-19 18:05:07 +00:00
Gonzalo Paniagua Javier 357f82cc5f 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* UriTest.cs: added CheckSchemaName tests.

svn path=/trunk/mcs/; revision=12687
2003-03-19 17:24:29 +00:00
Gonzalo Paniagua Javier 3cf25ff2e6 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* Uri.cs:
	(CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.

svn path=/trunk/mcs/; revision=12686
2003-03-19 17:19:42 +00:00
Paolo Molaro 8743fe7677 Wed Mar 19 18:05:57 CET 2003 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: implemented and exported functions
	to retrieve info about custom attributes.

svn path=/trunk/mono/; revision=12685
2003-03-19 17:13:20 +00:00
Dick Porter f364bbf69f 2003-03-19 Dick Porter <[email protected]>
* Process.cs: Implement HasExited, fixes bug 39267

svn path=/trunk/mcs/; revision=12680
2003-03-19 16:31:16 +00:00
Gonzalo Paniagua Javier 6e2c189590 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: moved Uri handling to assembly.c
	* assembly.c: use g_filename_from_uri (). This makes assembly.LoadFrom
	work when using a file Uri in *nix and windows.

	* icall.c: fixed Assembly.CodeBase to return a valid Uri. The same for
	GetReferencedAssemblies.

svn path=/trunk/mono/; revision=12679
2003-03-19 16:26:33 +00:00
Jackson Harper f8f723d848 * ILParser.jay: .hash algorithm can be followed by bytes
svn path=/trunk/mcs/; revision=12674
2003-03-19 08:41:46 +00:00
Jackson Harper 16975eed14 * NumberHelper.cs: Handle strange number situations like 8:99:0
svn path=/trunk/mcs/; revision=12673
2003-03-19 08:25:27 +00:00
Jackson Harper f01b1188fd * ILParser.jay: Allow assembly refs to have dots in name.
svn path=/trunk/mcs/; revision=12672
2003-03-19 08:13:08 +00:00
Alexandre Pigolkine db89dad4ae initial release
svn path=/trunk/mcs/; revision=12671
2003-03-18 23:54:45 +00:00
Piers Haken 88fccef202 fix autogen path
svn path=/trunk/mcs/; revision=12670
2003-03-18 22:39:16 +00:00
Alexandre Pigolkine 34c8430829 implementation of pthread_cond*, attempt to use LD_PRELOAD to override stubs in Wine
svn path=/trunk/mcs/; revision=12669
2003-03-18 22:03:38 +00:00
Martin Willemoes Hansen ccd53828cd *** empty log message ***
svn path=/trunk/mcs/; revision=12668
2003-03-18 22:00:13 +00:00
Martin Willemoes Hansen e358c1dd9a * makefile.gnu NUnit20ified.
* security_linux_test.args NUnit20ified.
        * renamed System.Security.Cryptography.Xml/AllTests.cs to
          System.Security.Cryptography.Xml/AssertCrypto.cs

svn path=/trunk/mcs/; revision=12667
2003-03-18 21:53:27 +00:00
Martin Willemoes Hansen 2320c1fddc * Removed: Old AllTests.cs files
* NUnit20ified the tests.

svn path=/trunk/mcs/; revision=12666
2003-03-18 21:45:41 +00:00
Alexandre Pigolkine 7cf240a51e file is not in Wine include folder
svn path=/trunk/mcs/; revision=12665
2003-03-18 21:34:17 +00:00
Atsushi Eno d82dfb04a8 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlDeclaration.cs : quick fix, not to use regex for set_Value.

svn path=/trunk/mcs/; revision=12664
2003-03-18 21:13:20 +00:00
Atsushi Eno ca363e80b2 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
	* XmlInputStream.cs : Should allow versionless input stream entity.

svn path=/trunk/mcs/; revision=12663
2003-03-18 19:58:03 +00:00
Atsushi Eno df0b5550c4 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
	  not WriteState.Start, and never call WriteEndDocument().

svn path=/trunk/mcs/; revision=12662
2003-03-18 19:45:40 +00:00
Gonzalo Paniagua Javier 5a9b3f32ee fixed the comment and the build
svn path=/trunk/mcs/; revision=12661
2003-03-18 19:17:48 +00:00
Gonzalo Paniagua Javier fd44dd8e57 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs: fixed the hack to work under windows.
	* CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.

svn path=/trunk/mcs/; revision=12659
2003-03-18 17:25:19 +00:00
Miguel de Icaza 053423d538 Test bug fix
svn path=/trunk/mcs/; revision=12658
2003-03-18 16:28:28 +00:00
Piers Haken aa68e6bb3c added some comments, fixed erroneous notifications
svn path=/trunk/mcs/; revision=12657
2003-03-18 15:53:58 +00:00
Dick Porter fcf4490241 Forgot to set the accessibility
svn path=/trunk/mcs/; revision=12656
2003-03-18 14:15:23 +00:00
Dick Porter d061e304df 2003-03-18 Dick Porter <[email protected]>
* Thread.cs: Keep the thread state updated in all the places that
	require it.  (Suspend, Resume and Interrupt not handled yet)

svn path=/trunk/mcs/; revision=12655
2003-03-18 14:01:45 +00:00
Dick Porter 838548bdb4 2003-03-18 Dick Porter <[email protected]>
* icall.c: Rename a couple of internal calls

	* threads.c: Set the thread state to Stopped when a thread exits.
	Fixes bug 39377.

svn path=/trunk/mono/; revision=12654
2003-03-18 14:01:29 +00:00
Dick Porter 6cf322ab0b Fix cygwin build
svn path=/trunk/mcs/; revision=12653
2003-03-18 12:18:46 +00:00
Jackson Harper 16e43a4eb8 * tests: Update to valid il code.
svn path=/trunk/mcs/; revision=12651
2003-03-18 08:35:09 +00:00
Jackson Harper d8b88441d8 * ILParser.jay: Add object to primative types
svn path=/trunk/mcs/; revision=12650
2003-03-18 08:26:35 +00:00
Jackson Harper 1ea26bbefe * ClassTable.cs: Set defined flag and type attributes for referenced
classes when they are defined.

svn path=/trunk/mcs/; revision=12649
2003-03-18 08:05:24 +00:00
Jackson Harper 31dbc4e33a * MethodTable.cs: Add method to Check if all methods have been defined, set referenced methods properties when defining them
* FieldTable.cs: Add method to check if all fields have been defined, set referenced fields properties when defining them
* ClassTable.cs: Make sure all methods and fields are defined.

svn path=/trunk/mcs/; revision=12648
2003-03-18 07:56:00 +00:00
Jackson Harper a740d8d52f * ILParser.jay: Set CallConv for opcodes that have a call conv,
like call and newobj

svn path=/trunk/mcs/; revision=12647
2003-03-18 07:00:52 +00:00
Jackson Harper 761e585ee4 * test-9.il: Add output to the constructor so I know it is called, give
the constructor the instance call conv.

svn path=/trunk/mcs/; revision=12646
2003-03-18 06:45:30 +00:00
Jackson Harper 12c0e0ac3c * ILParser.jay: Set CallConvs properly, use type_ref instead of type for
method overrides.

svn path=/trunk/mcs/; revision=12645
2003-03-18 06:41:08 +00:00
Duncan Mak 157c1e7735 2003-03-17 Duncan Mak <[email protected]>
* MonoXSD.cs: A simple implementation of MonoXSD. It current
	supports creating an XML Schema based on a .NET assembly. The
	handling of schema derivation is simplistic.

svn path=/trunk/mcs/; revision=12644
2003-03-18 05:05:55 +00:00
Gonzalo Paniagua Javier 7e0c77dd7f little oops with virtual path
svn path=/trunk/mcs/; revision=12643
2003-03-18 01:55:24 +00:00
Gonzalo Paniagua Javier e802a8cdd9 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: little fix in Combine ().

svn path=/trunk/mcs/; revision=12642
2003-03-18 01:48:25 +00:00
Gonzalo Paniagua Javier df0c0bab36 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: implemented RewritePath in other way.
	* HttpRequest.cs: removed SetPhysicalPath and added SetForm.
	* HttpServerUtility.cs: implemented Transfer (string, bool).

svn path=/trunk/mcs/; revision=12641
2003-03-18 01:44:46 +00:00
Miguel de Icaza 876ac0a67e 2003-03-17 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): do not allow initialization of initonly
	fields on derived classes

svn path=/trunk/mcs/; revision=12640
2003-03-18 00:10:22 +00:00
Gonzalo Paniagua Javier 5545b09d83 fix the build. MonoTODOAttribute is internal
svn path=/trunk/mcs/; revision=12639
2003-03-17 23:16:11 +00:00
Alexandre Pigolkine f267027362 original version of monogc.c by John Sohn
svn path=/trunk/mcs/; revision=12638
2003-03-17 22:46:21 +00:00
Alexandre Pigolkine d74c4723a8 initial checkin
svn path=/trunk/mcs/; revision=12637
2003-03-17 22:38:01 +00:00
Alexandre Pigolkine 851f4546cf initial release
svn path=/trunk/mcs/; revision=12636
2003-03-17 22:37:25 +00:00
Zoltan Varga 1f900c6a4c 2003-03-17 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle):
	New icall.

svn path=/trunk/mono/; revision=12635
2003-03-17 22:24:25 +00:00
Zoltan Varga 13c976d677 2003-03-17 Zoltan Varga <[email protected]>
* FieldInfo.cs (GetFieldFromHandle): Implemented.

svn path=/trunk/mcs/; revision=12634
2003-03-17 22:22:59 +00:00
Zoltan Varga a8d500b604 2003-03-17 Zoltan Varga <[email protected]>
* object.c (mono_class_vtable): fix warning.

svn path=/trunk/mono/; revision=12633
2003-03-17 19:51:11 +00:00
Zoltan Varga 5bb97360a2 2003-03-17 Zoltan Varga <[email protected]>
* icall.c (ves_icall_type_is_subtype_of): Avoid vtable creation.

	* reflection.c (mono_blob_entry_hash): Avoid reading uninitialized
	memory.
	(method_encode_clauses): Create exception info structures in the right
	order.
	(mono_reflection_setup_internal_class): Initialize supertypes field.

	* class.c object.c: Handle interfaces which implement other interfaces
	correctly.

	* class.h class.c: Move the supertypes array initialization code into
	a separate function so it can be used for dynamic types too. Also call
	it earlier, in mono_class_init(), since it can be used before the
	type is initialized.

svn path=/trunk/mono/; revision=12632
2003-03-17 19:36:14 +00:00
Gonzalo Paniagua Javier d998599482 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs:
	* System.Web.Hosting/AppDomainFactory.cs: hacks to work-around our
	buggy System.Uri.

svn path=/trunk/mcs/; revision=12631
2003-03-17 18:34:29 +00:00
Joel Basson f2620a1ee1 2003-03-17 Joel Basson <[email protected]>
* FileDialog.cs
* Updated Demo.cs and added "Enabled" property

svn path=/trunk/mcs/; revision=12630
2003-03-17 18:22:52 +00:00
Gonzalo Paniagua Javier a657f38d93 Fixes by George Kodinov <[email protected]>
svn path=/trunk/mcs/; revision=12629
2003-03-17 18:05:20 +00:00
Rafael Teixeira 21ed3c8fcc bits
svn path=/trunk/mcs/; revision=12628
2003-03-17 18:01:54 +00:00
Gonzalo Paniagua Javier 29a0b2e8d7 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* FileSystemWatcher.cs: added attributes and some more implementation.
	Now only the guts left to do.

	* FileSystemEventArgs.cs:
	* RenamedEventArgs.cs: implemented a couple of properties.

svn path=/trunk/mcs/; revision=12627
2003-03-17 17:36:06 +00:00
Daniel Morgan 468d31eee0 2003-03-17 Daniel Morgan <[email protected]>
* System.Data.build: on windows build, ignore
	warnings CS0219: "The variable xxx is assigned but its value is
	never used" and CS0168: "The variable xxx
	is declared but never used"

	* System.Data/DataRow.cs: flush

	* System.Data/DataSet.cs: start implementation on Clear(),
	and WriteXml() should write the start element <?xml ... ?> at the top
	of the document

	* System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
	of Compute() - still not working

svn path=/trunk/mcs/; revision=12626
2003-03-17 17:35:06 +00:00
Atsushi Eno d0fb82eaa0 2003-03-18 Atsushi Enomoto <[email protected]>
* UnicodeEncoding.cs: changed WebName from unicodeFFFE to utf-16be.
	  (unicodeFFFE is MS compliant, but isn't valid IANA encoding name.)

svn path=/trunk/mcs/; revision=12624
2003-03-17 16:32:38 +00:00
Martin Willemoes Hansen 46c1ae8f75 * Removed AllTests.cs, System.Data/AllTests.cs,
System.Data.SqlTypes/AllTests.cs,
          System.Xml/AllTests.cs,
          TheTests.cs
        * NUnit2ified makefile.gnu, data_linux_test.args
          System.Data/DataColumnCollectionTest.cs,
          System.Data/DataSetTest.cs,
          System.Data/DataColumnTest.cs,
          System.Data/DataTableTest.cs,
          System.Data/UniqueConstraintTest.cs,
          System.Data/ConstraintCollectionTest.cs,
          System.Data/DataRelationTest.cs,
          System.Data/ForeignKeyConstraintTest.cs,
          System.Data/ConstraintTest.cs,
          System.Data/DataRowCollectionTest.cs,
          System.Data/DataRowTest.cs,
          System.Data.SqlTypes/SqlBinaryTest.cs,
          System.Data.SqlTypes/SqlDateTimeTest.cs,
          System.Data.SqlTypes/SqlGuidTest.cs,
          System.Data.SqlTypes/SqlInt64Test.cs,
          System.Data.SqlTypes/SqlStringTest.cs,
          System.Data.SqlTypes/SqlBooleanTest.cs,
          System.Data.SqlTypes/SqlDecimalTest.cs,
          System.Data.SqlTypes/SqlInt16Test.cs,
          System.Data.SqlTypes/SqlMoneyTest.cs,
          System.Data.SqlTypes/SqlByteTest.cs,
          System.Data.SqlTypes/SqlDoubleTest.cs,
          System.Data.SqlTypes/SqlInt32Test.cs,
          System.Data.SqlTypes/SqlSingleTest.cs
          System.Xml/XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=12623
2003-03-17 16:31:53 +00:00
Atsushi Eno ac8c938389 2003-03-18 Atsushi Enomoto <[email protected]>
* StringWriter.cs : don't release internalString on Dispose().

svn path=/trunk/mcs/; revision=12622
2003-03-17 16:27:31 +00:00
Atsushi Eno 623d8c0d95 2003-03-18 Atsushi Enomoto <[email protected]>
* added XmlParserInput.cs and DTDObjectModel.cs to list.unix and
	  Mono.System.Xml.csproj.

svn path=/trunk/mcs/; revision=12621
2003-03-17 16:02:58 +00:00
Gonzalo Paniagua Javier 554d98db57 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: Elapsed is an event. Added a few attributes.

svn path=/trunk/mcs/; revision=12620
2003-03-17 16:02:30 +00:00
Atsushi Eno 8a88d4db75 2003-03-18 Atsushi Enomoto <[email protected]>
* added XmlParserInput.cs for multi xml document sources.
	* added DTDObjectModel.cs (maybe temporary).
	* XmlTextReader.cs :
	  + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
	  + Some members such as LineNumber, ReadChar now uses XmlParserInput.
	  + added support for Namespaces (namespace-ignorant parse available).
	  + added support for XmlResolver.
	  + replace SetReaderContext()/SetReaderFragment() with Initialize().
	  + use NameTable in CreateNameString.
	  + fixed ReadCData(). Now reads "]]]>" correctly.
	  + support for DTD parse.
	  + Read() now throws an error when it reached EOF while Depth > 0.
	* XmlAttribute.cs,
	  XmlDocumentFragment.cs,
	  XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
	* XmlDocument.cs : ReadNode() now reads DocumentType.
	* XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
	* XmlEntity.cs,
	  XmlNotation.cs : added override LastLinkedChild (for doctype node).
	* XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
	* XmlElement.cs : bugfix for node removal of set_InnerXml.
	* XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
	  (to append child XmlEntity into XmlDocumentType correctly.)
	* XmlInputStream.cs : fixed to access file with FileAccess.Read.

svn path=/trunk/mcs/; revision=12619
2003-03-17 16:01:36 +00:00
Aleksey Demakov 75cb691248 *** empty log message ***
svn path=/trunk/mcs/; revision=12614
2003-03-17 12:37:45 +00:00
Aleksey Demakov 1c59f5e7ac *** empty log message ***
svn path=/trunk/mcs/; revision=12613
2003-03-17 12:18:58 +00:00
Jackson Harper a297a3e6aa * test-9.il: New test, test instaniating a class
svn path=/trunk/mcs/; revision=12612
2003-03-17 07:13:36 +00:00
Jackson Harper dc555c7ed5 * Driver.cs: Add switch to display method definitions and references.
svn path=/trunk/mcs/; revision=12611
2003-03-17 07:10:30 +00:00
Jackson Harper e6b66749b8 * MethodTable.cs: Fire events when methods are defined and referenced
svn path=/trunk/mcs/; revision=12610
2003-03-17 07:07:52 +00:00
Jackson Harper 2889b11d78 * ILParser.jay: .ctor and .cctor can also be method names.
svn path=/trunk/mcs/; revision=12609
2003-03-17 07:05:33 +00:00
Jackson Harper 11c0922d85 * ILTokenizer.cs: Append tail to values so opcodes like ldarg.s
are resolved properly

svn path=/trunk/mcs/; revision=12608
2003-03-17 07:02:16 +00:00
Daniel Morgan 9ac0d62d2e 2003-03-16 Daniel Morgan <[email protected]>
* System.Data/DataRowView.cs: in the constructor pass
	DataRow in instead of int index of the DataRow
	in DataTable.Rows

	* System.Data/DataTable.cs: implement sorting
	for method Select(filterExpression,sort)

	* System.Data/DataView.cs: more implementation -
	Now, If Sort, RowFilter, or RowStateFilter is set, an
	enumerated DataRowViews will be a view with those
	properties applied.  Still need to implement event handling
	though.

svn path=/trunk/mcs/; revision=12603
2003-03-17 00:19:43 +00:00
Daniel Lopez Ridruejo 97cb06f4f1 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
* HttpContext.cs : Implemented RewritePath
        * HttpRequest.cs : Added internal function SetPhysicalPath

svn path=/trunk/mcs/; revision=12602
2003-03-16 22:50:22 +00:00
Jackson Harper cc787194d7 * ILParser.jay: Use assembly_ref for extern assemblies so names with dashes can be used.
svn path=/trunk/mcs/; revision=12601
2003-03-16 19:45:51 +00:00
Ville Palo 77559ba576 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollection.cs: Tiny clean up

svn path=/trunk/mcs/; revision=12597
2003-03-16 18:43:35 +00:00
Jackson Harper 53008b2bea * Driver.cs: Add switch to display tokens as they are generated.
svn path=/trunk/mcs/; revision=12596
2003-03-16 18:23:08 +00:00
Ville Palo 3b3d8f598c 2003-03-16 Ville Palo <[email protected]>
* DataColumn.cs: little fixes.
	* DataColumnCollection.cs: Lots of little fixes and improvments.

svn path=/trunk/mcs/; revision=12595
2003-03-16 18:23:02 +00:00
Ville Palo 6c4fded1ee 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollectionTest.cs: little fix.

svn path=/trunk/mcs/; revision=12594
2003-03-16 18:17:46 +00:00
Jackson Harper 285a0d5a5b * ILTokenizer.cs: Fire an event when a new token is ready.
svn path=/trunk/mcs/; revision=12593
2003-03-16 18:17:44 +00:00
Pedro Martínez Juliá 645b08b5d5 2003-03-16 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Added support for group separators.

svn path=/trunk/mcs/; revision=12592
2003-03-16 18:08:31 +00:00
Ville Palo f5b76b1eb3 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollectionTest.cs: Typos

svn path=/trunk/mcs/; revision=12590
2003-03-16 16:36:44 +00:00
Pedro Martínez Juliá bbd30eb987 2003-03-16 Pedro Mart�nez Juli� <[email protected]>
* Single.cs:
    * Double.cs: Apply changes of .ToString methods.
    * SingleFormatter.cs:
    * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
    * FloatingPointFormatter.cs: New class. Implementation of double and
    single formatters. It is unified now and parametrized with precission
    values.

svn path=/trunk/mcs/; revision=12589
2003-03-16 16:27:50 +00:00
Ville Palo bebc5ab946 2003-03-16 Ville Palo <[email protected]>
* DataSetTest.cs: Fixed line-ending problems

svn path=/trunk/mcs/; revision=12588
2003-03-16 15:18:45 +00:00
Gonzalo Paniagua Javier 1d9f2197fb added MONO_CONFIG
svn path=/trunk/mono/; revision=12587
2003-03-16 13:00:41 +00:00
Gonzalo Paniagua Javier 0809b0ac5f 2003-03-16 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
	* assembly.c:
	* icall.c: make MONO_ASSEMBLIES and MONO_CFG_DIR work on windows.

	* appdomain.c:
	* appdomain.h:
	* marshal.c:
	* object.c: remove warnings.

svn path=/trunk/mono/; revision=12586
2003-03-16 12:57:25 +00:00
Johannes Roith 8aa81b50d5 add logo on the left
svn path=/trunk/mcs/; revision=12585
2003-03-16 12:39:33 +00:00
Gonzalo Paniagua Javier 7933eb4425 updated list file
svn path=/trunk/mcs/; revision=12584
2003-03-16 10:44:32 +00:00
Jackson Harper db98e7150c * ILParser.jay: Define local variables
svn path=/trunk/mcs/; revision=12582
2003-03-16 06:40:09 +00:00
Jackson Harper 58fb25c15b * ILParser.jay: Add param_list definition, use param_list for method refs
svn path=/trunk/mcs/; revision=12581
2003-03-16 06:26:04 +00:00
Miguel de Icaza 2a4f04d73a Add mono.security
svn path=/trunk/mcs/; revision=12580
2003-03-16 05:56:09 +00:00
Sebastien Pouliot 724bc7fac6 2003-03-15 Sebastien Pouliot <[email protected]>
* list.unix: Updated the list (many classes where missing)

svn path=/trunk/mcs/; revision=12579
2003-03-16 05:51:02 +00:00
Sebastien Pouliot 25f33a0e8f oops - forgot the makefile
svn path=/trunk/mcs/; revision=12578
2003-03-16 00:48:36 +00:00
Sebastien Pouliot eb26218e65 2003-03-15 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version for mono 0.23.
	* MakeCert.cs: New. MakeCert clone utility to create X.509
	certificates (e.g. for testing Authenticode signatures).
	* makefile: Added cert2spc, sn & makecert to Windows build.
	* sectools.build: Added makecert to build.

svn path=/trunk/mcs/; revision=12577
2003-03-16 00:44:53 +00:00
Sebastien Pouliot 363426caf6 2003-03-15 Sebastien Pouliot <[email protected]>
* PrivateKeyTest.cs: New. Unit test for using some PVK files
	generated by makecert.exe.

svn path=/trunk/mcs/; revision=12576
2003-03-16 00:43:30 +00:00
Sebastien Pouliot 864d0ee0d8 2003-03-15 Sebastien Pouliot <[email protected]>
* BasicConstraintsExtension.cs: New. Handle X.509 Basic
	Constaints extension.
	* KeyUsageExtension.cs: New. Handle X.509 Key Usage
	extension.

svn path=/trunk/mcs/; revision=12575
2003-03-16 00:42:29 +00:00
Sebastien Pouliot 8e6623df7b 2003-03-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: New. X.501 Distinguished Names stuff
	* X509Builder.cs: New. Abstract class for building X.509 related
	structures (like certificates and CRLs).
	* X509Certificate.cs: New. A more complete class to handle X.509
	certificates.
	* X509CertificateBuilder.cs: New. Class to build X.509 certificates.
	* X509Extension.cs: New. A base class for all X.509 extensions.
	* X509Extensions.cs: New. X509Extension collection.
	* X520Attributes.cs: New. X.520 attributes (mainly for X501 names)

svn path=/trunk/mcs/; revision=12574
2003-03-16 00:41:50 +00:00
Sebastien Pouliot a4a6e2334b 2003-03-15 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: New. Class to load or create PVK (PriVate Key)
	files (a Microsoft specific file format for private keys).

2003-03-06  Sebastien Pouliot  <[email protected]>

	* SoftwarePublisherCertificate.cs: New. Class to load or create
	SPC files (which are PKCS#7 files containing only certificates
	and CRL).

svn path=/trunk/mcs/; revision=12573
2003-03-16 00:41:01 +00:00
Sebastien Pouliot 0afc2767ef 2003-03-15 Sebastien Pouliot <[email protected]>
* unix.args: Added Mono.Security.X509/*.cs and ASN1Convert.cs

svn path=/trunk/mcs/; revision=12563
2003-03-15 22:10:52 +00:00
Sebastien Pouliot a589ecb561 2003-03-15 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Now use Mono.Security.X509.X509Certificate.

svn path=/trunk/mcs/; revision=12562
2003-03-15 21:57:25 +00:00
Sebastien Pouliot 29c92d1bc0 2003-03-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: New. X.501 Distinguished Names stuff
	* X509Certificate.cs: New. A more complete class to handle X.509
	certificates.
	* X509Extension.cs: New. A base class for all X.509 extensions.
	* X509Extensions.cs: New. X509Extension collection.
	* X520Attributes.cs: New. X.520 attributes (mainly for X501 names)

svn path=/trunk/mcs/; revision=12561
2003-03-15 21:54:54 +00:00
Sebastien Pouliot 4614cacf61 2003-03-15 Sebastien Pouliot <[email protected]>
* ASN1.cs: Improved version.
	* ASN1Convert.cs: New. Helper class to convert between .NET
	types and ASN.1 structures.

svn path=/trunk/mcs/; revision=12560
2003-03-15 21:51:51 +00:00
Jackson Harper cb6e97b97a * ILParser.jay: de-bacwardificate values passed to add method,
I was setting the return to the parent before, but the parent
	value was being set to the return type value so it all worked
	out but was very confusing.

svn path=/trunk/mcs/; revision=12559
2003-03-15 21:50:43 +00:00
Jackson Harper fde07a9312 * ILParser.jay: Add external field references
svn path=/trunk/mcs/; revision=12558
2003-03-15 21:31:05 +00:00
Jackson Harper df72ef42bf * ILParser.jay: Add fields to the field table, add field references,
emit instructions that take a field param

svn path=/trunk/mcs/; revision=12557
2003-03-15 21:10:58 +00:00
Jackson Harper f873cfa199 * ClassTable.cs: Classes now store field tables
* CodeGen.cs: Add methods to add fields and get field references

svn path=/trunk/mcs/; revision=12556
2003-03-15 21:07:36 +00:00
Jackson Harper 54b57ea750 * makefile, makefile.gnu: Add FieldTable to build
svn path=/trunk/mcs/; revision=12555
2003-03-15 21:03:45 +00:00
Jackson Harper 0d2bbf6c89 * FieldTable.cs: New file, holds a classes fields
svn path=/trunk/mcs/; revision=12552
2003-03-15 20:55:09 +00:00
Alexandre Pigolkine c3af0168a9 checkin for Dennis Hayes <[email protected]>, see ChangeLog
svn path=/trunk/mcs/; revision=12550
2003-03-15 20:13:27 +00:00
Sebastien Pouliot ec7a156339 2003-03-15 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Commented [assembly: AssemblyKeyFile("SharpZipLib.key")]
	to fix the Windows build.

svn path=/trunk/mcs/; revision=12549
2003-03-15 20:12:26 +00:00
Daniel Morgan 1e6b9f2607 2003-03-15 Daniel Morgan <[email protected]>
* PEAPI.build: added file for windows build

svn path=/trunk/mcs/; revision=12548
2003-03-15 19:53:15 +00:00
Alexandre Pigolkine b81cf683fd checkin for Aleksey Ryabchuk, see ChangeLog for details
svn path=/trunk/mcs/; revision=12547
2003-03-15 19:31:43 +00:00
Alexandre Pigolkine 19dd3ef950 monogc.c added
svn path=/trunk/mcs/; revision=12544
2003-03-15 18:28:53 +00:00
Jackson Harper adefa1b928 * InstrTable.cs: Add FieldOp instructions
svn path=/trunk/mcs/; revision=12543
2003-03-15 16:40:10 +00:00
Gonzalo Paniagua Javier b3e576e72f 2003-03-15 Lluis Sanchez Gual <[email protected]>
* System/AppDomain.cs:
	* System.Runtime.Remoting/RemotingServices.cs:
	* System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs: fixes bugs
	#39380 and #39331.

svn path=/trunk/mcs/; revision=12542
2003-03-15 16:34:21 +00:00
Jackson Harper 320c857193 * ILParser.jay: Emit ldstr instruction
svn path=/trunk/mcs/; revision=12536
2003-03-15 15:18:43 +00:00
Johannes Roith 96c373983d add ask on uninstall, add windows software control panel list entry, check for newer mono installation
svn path=/trunk/mcs/; revision=12535
2003-03-15 15:17:20 +00:00
Jackson Harper 232cf00cfb * InstrTable.cs: Add ldstr instruction
svn path=/trunk/mcs/; revision=12534
2003-03-15 15:17:03 +00:00
Daniel Morgan f6f80c1e5b 2003-03-15 Daniel Morgan <[email protected]>
* mysqlclient/datareader.cs: in GetSchemaTable(),
	"BaseColumnName" should be set to the ColumnName,
	not null

svn path=/trunk/mcs/; revision=12528
2003-03-15 11:13:08 +00:00
Jackson Harper a953656ae8 * ILParser.jay: Create external method references
svn path=/trunk/mcs/; revision=12527
2003-03-15 11:01:32 +00:00
Jackson Harper f48a10e11d * ILParser.jay: Emit instructions that take a method def as a single param
svn path=/trunk/mcs/; revision=12525
2003-03-15 10:49:11 +00:00
Jackson Harper 864b03cb72 * CodeGen.cs: Add method to get method references.
* MethodTable.cs: Complete GetReference method
	* InstrTable.cs: Add MethodOps (instructions that take a method ref param)

svn path=/trunk/mcs/; revision=12524
2003-03-15 10:47:16 +00:00
Daniel Morgan ad6cff4a72 2003-03-15 Daniel Morgan <[email protected]>
* SqlConnection.cs: if Server in the ConnectionString
	is set to "(local", use "localhost" as the hostname
	to connect

svn path=/trunk/mcs/; revision=12521
2003-03-15 10:18:39 +00:00
Jackson Harper 3618f03441 * ILParser.jay: Emit instructions that take a single type as a param
svn path=/trunk/mcs/; revision=12520
2003-03-15 09:34:06 +00:00
Jackson Harper acf95528b6 * InstrTable.cs: Add TypeOps (instructions that take a type param)
svn path=/trunk/mcs/; revision=12519
2003-03-15 09:31:52 +00:00
Duncan Mak 38037f5560 XmlElement.cs (Name): Only append prefix + ':' when prefix is
neither String.Empty nor null. Thanks to Simon Guindon for
reporting the bug and Jackson for fixing this bug with me.

svn path=/trunk/mcs/; revision=12518
2003-03-15 08:39:02 +00:00
Atsushi Eno 5a8beb8931 2003-03-15 Atsushi Enomoto <[email protected]>
* XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
	* XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
	  fixed ReadNode(), it should call reader.Read() only on Initial state.
	* XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
	  and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
	  System.Net.WebClient directly.
	* XmlParserContext.cs : baseURI don't be null.
	* XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
	* XmlUrlResolver.cs : namespace change for XmlInputStream.

svn path=/trunk/mcs/; revision=12517
2003-03-15 08:35:39 +00:00
Atsushi Eno 54af13ed35 2003-03-15 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : fixed AttributeWriteAttributeString() in
	  related to MS bugs. "\r\n" are replaced with Environment.NewLine.

svn path=/trunk/mcs/; revision=12516
2003-03-15 08:34:05 +00:00
Jackson Harper b8f4ff31ed * ILParser.jay: Emit instructions that take a single int32 as a param
svn path=/trunk/mcs/; revision=12515
2003-03-15 07:07:17 +00:00
Jackson Harper 6ca6d1b16b * ILTokenizer.cs: Use the IsInstr method for checking if a string is an instruction
svn path=/trunk/mcs/; revision=12514
2003-03-15 07:00:57 +00:00
Jackson Harper fd71e5897e * InstrTable.cs: Add IntOps (instructions that take an integer param)
svn path=/trunk/mcs/; revision=12513
2003-03-15 06:34:04 +00:00
Daniel Morgan f82cc36247 2003-03-14 Daniel Morgan <[email protected]>
* mono-win32-setup.nsi: added NSIS
	(NullSoft Installer System) script file for building
	a Mono release for Windows NT/2000/XP

svn path=/trunk/mcs/; revision=12511
2003-03-14 13:46:11 +00:00
Daniel Morgan af1a3ee1c6 2002-03-14 Daniel Morgan <[email protected]>
* class/makefile.gnu
	* class/ByteFX.Data/makefile.gnu: add ByteFX.Data.dll
	to the Linux build

svn path=/trunk/mcs/; revision=12510
2003-03-14 12:22:05 +00:00
Daniel Morgan a8fa063782 2002-03-14 Daniel Morgan <[email protected]>
* makefile: added ByteFX.Data.dll to windows install

	* class/library.build: added ByteFX.Data.dll
	to windows build.  added additional clean targets

	* class/Microsoft.VisualC/Microsoft.VisualC.build: fix
	windows clean

	* class/ByteFX.Data: added directory for ByteFX.Data.dll
	which includes a MySQL ADO.NET Provider.
	Contributed by Reggie Burnett <[email protected]>
	from ByteFX, Inc.
	ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.

	Added the following files and directories:

	class/ByteFX.Data/AssemblyInfo.cs
	class/ByteFX.Data/list
	class/ByteFX.Data/ByteFX.Data.build
	class/ByteFX.Data/makefile.gnu
	class/ByteFX.Data/ChangeLog.txt
	class/ByteFX.Data/readme.txt
	class/ByteFX.Data/lgpl.txt: new files

	BitStream.cs
	Connection.cs
	Field.cs
	Inflater.cs
    ConnectionString.cs
    HuffmanTree.cs
    NamedPipeStream.cs
    class/ByteFX.Data/Common: added files to new directory

	Driver.cs
	command.resx
	todo.txt
	CommandBuilder.cs
	Exception.cs
	dataadapter.cs
	transcaction.cs
	Connection.cs
	Field.cs
	datareader.cs
	Connection.resx
	MysqlDefs.cs
	parameter.cs
	class/ByteFX.Data/mysqlclient: added files to new directory

	command.cs
	parameter_collection.cs
	class/ByteFX.Data/mysqlclient/Designers: added files to new directory

svn path=/trunk/mcs/; revision=12508
2003-03-14 10:15:26 +00:00
Paolo Molaro 01419c5cd7 Fri Mar 14 10:06:49 CET 2003 Paolo Molaro <[email protected]>
* codegen/InstrTable.cs: fix break instruction name.
	* codegen/Method.cs: use ArgumentNullException.
	* parser/ILParser.jay: handle stdcall convention.

svn path=/trunk/mcs/; revision=12507
2003-03-14 09:11:57 +00:00
Daniel Morgan 96e570a574 2003-03-14 Daniel Morgan <[email protected]>
* makefile: add ilasm.exe to windows build and add missing assemblies
	to windows install

	* class/library.build: include PEAPI.dll, Npgsql.dll, and
	ICSharpCode.SharpZipLib part of the windows build

svn path=/trunk/mcs/; revision=12506
2003-03-14 08:51:28 +00:00
Jackson Harper a18c8b8f4f * ILParser.jay: Remove unused references
svn path=/trunk/mcs/; revision=12505
2003-03-14 07:34:58 +00:00
Jackson Harper 0f9d4aafca * InstrTable.cs: Fix instructions that have dots in their name
svn path=/trunk/mcs/; revision=12503
2003-03-14 07:31:00 +00:00
Jackson Harper 16239dd9c8 * ILParser.jay: Emit simple instructions
svn path=/trunk/mcs/; revision=12502
2003-03-14 07:14:43 +00:00
Jackson Harper d4f07b29d8 * ILTokenizer.cs: Use InstrTable for looking up and getting Opcodes
svn path=/trunk/mcs/; revision=12501
2003-03-14 07:11:46 +00:00
Jackson Harper 836865b703 * makefile, makefile.gnu: Add InstrTable to build
svn path=/trunk/mcs/; revision=12500
2003-03-14 07:08:24 +00:00
Jackson Harper d5edbae442 * CodeGen.cs: Add code buffer for il instructions when a new method is added.
* InstrTable.cs: New file, this is a table of all the instructions (just simple
	instructions right now)

svn path=/trunk/mcs/; revision=12499
2003-03-14 07:05:34 +00:00
Gonzalo Paniagua Javier 52e995a684 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
* MarshalByValueComponent.cs: removed a monotodo.

svn path=/trunk/mcs/; revision=12498
2003-03-14 07:00:24 +00:00
Gonzalo Paniagua Javier f637980d2a 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: implemented Transfer ().

svn path=/trunk/mcs/; revision=12497
2003-03-14 06:57:37 +00:00
Gonzalo Paniagua Javier c6454325e9 the fix of the week. Don't miss it.
svn path=/trunk/mcs/; revision=12496
2003-03-14 06:56:21 +00:00
Gonzalo Paniagua Javier 5e5a3e68f6 windows build fix
svn path=/trunk/mcs/; revision=12495
2003-03-14 06:50:13 +00:00
Jackson Harper 3c9036f1b9 * ILParser.jay: Set MaxStack, clean up some typos
svn path=/trunk/mcs/; revision=12494
2003-03-14 05:35:22 +00:00
Jackson Harper ea3e6edb0f * ILParser.jay: Set entrypoint
svn path=/trunk/mcs/; revision=12493
2003-03-14 05:28:36 +00:00
Jackson Harper 4d4044021a * CodeGen.cs: Set current method when a new method is added.
svn path=/trunk/mcs/; revision=12492
2003-03-14 05:26:00 +00:00
Tim Coleman 372615d44e 2003-03-13 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommandBuilder.cs:
                Change "where" variable name to "whereClause" at the
                request of Rhys Weatherley <[email protected]>

svn path=/trunk/mcs/; revision=12488
2003-03-13 23:56:11 +00:00
Martin Baulig e82d8b7422 2003-03-13 Martin Baulig <[email protected]>
* debug.c (_mono_debug_address_from_il_offset): Moved to
	../metadata/debug-mono-symfile.c

svn path=/trunk/mono/; revision=12484
2003-03-13 22:27:12 +00:00
Martin Baulig 461bb5ffd2 2003-03-13 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileLexicalBlockEntry): New type.
	(MonoDebugLexicalBlockEntry): New types.

	* debug-mono-symfile.c
	(_mono_debug_address_from_il_offset): Moved here from ../jit/debug.c.

svn path=/trunk/mono/; revision=12483
2003-03-13 22:26:23 +00:00
Martin Baulig bc7d3d1c3c 2003-03-13 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Call ig.BeginScope() and
	ig.EndScope() when compiling with debugging info; call
	LocalBuilder.SetLocalSymInfo _after_ opening the scope.

svn path=/trunk/mcs/; revision=12482
2003-03-13 22:20:42 +00:00
Martin Baulig 70fb2cac9e 2003-03-13 Martin Baulig <[email protected]>
Added basic support for lexical scopes.  This is just to tell a
	debugger that a local variable is only available in a specific
	lexical scope and that another variable of the same name may exist
	in another lexical scope.  See debugger/test/TestLexicalScope.cs
	for examples.

	* MonoSymbolTable.cs (LexicalScopeEntry): New class.
	(LocalVariableEntry): Added `BlockIndex' field which specifies the
	lexical scope of this variable.

	* MonoSymbolWriter.cs (SourceBlock): Removed, we're now using
	LexicalScopeEntry instead.

svn path=/trunk/mcs/; revision=12481
2003-03-13 22:18:53 +00:00
Gonzalo Paniagua Javier 46059274db 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRuntime.cs: Cache no longer have a Dispose method.

	* System.Web/HttpServerUtility.cs: removed MonoTODO.

	* System.Web.Caching/Cache.cs:
	* System.Web.Caching/CacheDefinitions.cs:
	* System.Web.Caching/CacheDependency.cs:
	* System.Web.Caching/CacheEntry.cs:
	* System.Web.Caching/CacheExpires.cs:
	* System.Web.Caching/ExpiresBuckets.cs: reformatted, make class status
	page happier. Does not work yet (wait for the next patch).

	* System.Web.SessionState/HttpSessionState.cs: implemented CodePage.

	* System.Web.SessionState/SessionStateModule.cs: initial stuff to make
	it work.

svn path=/trunk/mcs/; revision=12480
2003-03-13 19:44:44 +00:00
Gonzalo Paniagua Javier 81b4982aec Stubbed all of these
svn path=/trunk/mcs/; revision=12479
2003-03-13 19:36:41 +00:00
Gonzalo Paniagua Javier f84c69c393 oops. did the commit in the wrong tree
svn path=/trunk/mcs/; revision=12478
2003-03-13 19:33:25 +00:00
Gonzalo Paniagua Javier 31e90cb37e 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: throw an exception when the executable cannot be found.

svn path=/trunk/mcs/; revision=12477
2003-03-13 19:20:32 +00:00
Gonzalo Paniagua Javier 019f67dea2 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added error code 2.

svn path=/trunk/mcs/; revision=12476
2003-03-13 19:16:38 +00:00
Gonzalo Paniagua Javier 068985a8a9 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* io-layer/processes.c: included Jerome Laban's patch and call
	SetLastError when the executable is not found.

	* metadata/process.c: ret can be any non-zero value accroding to MS doc.

svn path=/trunk/mono/; revision=12475
2003-03-13 19:15:22 +00:00
Martin Willemoes Hansen 3ba7791843 * Credited myself in Test/Mono.Directory.LDAP/BindSimpleTest.cs and
Test/Mono.Directory.LDAP/QueryRootDSE.cs

svn path=/trunk/mcs/; revision=12474
2003-03-13 18:30:44 +00:00
Martin Willemoes Hansen 759d8fa112 * Credited myself in CollectionTest.cs,
ConversionTest.cs and DateAndTimeTest.cs

svn path=/trunk/mcs/; revision=12473
2003-03-13 18:27:06 +00:00
Martin Willemoes Hansen fb585dffda * Removed AllTests.cs and TheTests.cs
* NUnit20ified NameTableTests.cs, SelectNodesTests.cs,
          XmlAttributeCollectionTests.cs, XmlAttributeTests.cs,
          XmlCDataSectionTests.cs, XmlCharacterDataTests.cs,
          XmlCommentTests.cs, XmlDeclarationTests.cs,
          XmlDocumentFragmentTests.cs, XmlDocumentTests.cs,
          XmlDocumentTypeTests.cs, XmlElementTests.cs,
          XmlEntityReferenceTests.cs, XmlNamespaceManagerTests.cs,
          XmlNodeListTests.cs, XmlNodeReaderTests.cs,
          XmlNodeTests.cs, XmlProcessingInstructionTests.cs,
          XmlSignificantWhitespaceTests.cs, XmlTextReaderTests.cs,
          XmlTextTests.cs, XmlTextWriterTests.cs,
          XmlWhiteSpaceTests.cs, XmlWriterTests.cs,
          XPathNavigatorEvaluateTests.cs, XPathNavigatorMatchesTests.cs,
          XPathNavigatorTests.cs, makefile.gnu, System.XML_linux_test.args
        * Commited Atsushi Eno changes to System.XML_test.build

svn path=/trunk/mcs/; revision=12472
2003-03-13 18:16:01 +00:00
Miguel de Icaza 9645f1c8a3 Add s390 packages
svn path=/trunk/mono/; revision=12471
2003-03-13 15:50:12 +00:00
Martin Willemoes Hansen 07eebc458a * Removed AllTests.cs, System.Configuration.Install/AllTests.cs
System.Configuration.Install/ChangeLog
* NUnit2ified makefile.gnu, system_configuration_install_linux_test.args,
* Added System.Configuration.Install/FakeTest.cs

svn path=/trunk/mcs/; revision=12470
2003-03-13 09:42:54 +00:00
Jackson Harper 71f0fad3f0 * ILParser.jay: Create TypeRefs instead of types, define methods.
svn path=/trunk/mcs/; revision=12468
2003-03-13 06:44:03 +00:00
Jackson Harper bb620d68e3 * makefile, makefile.gnu: Add MethodTable and TypeRef to build.
svn path=/trunk/mcs/; revision=12467
2003-03-13 06:40:19 +00:00
Jackson Harper 7f4f43337b * ClassTable.cs: Add Method tables to Class tables, add method to get a
class's method table.
	* CodeGen.cs: Add Method to add methods :p
	* MethodTable.cs: Add file, this class is used to add methods to a class.

svn path=/trunk/mcs/; revision=12466
2003-03-13 06:38:07 +00:00
Per Arneng 15c23f78bc Added MailHeader to handle the mail headers
svn path=/trunk/mcs/; revision=12465
2003-03-12 23:20:03 +00:00
Martin Willemoes Hansen 36f97bb144 * NUnit2ified makefile.gnu, Test/dslib_linux_test.args
Test/makefile.gnu, Test/Mono.Directory.LDAP/BindSimpleTest.cs
          Test/Mono.Directory.LDAP/QueryRootDSE.cs
        * Renamed Test/Mono.Directory.LDAP/QueryRootDSE.cs to QueryRootDSETest.cs
        * Removed Test/NUnit.Prefs, Test/Mono.Directory.LDAP/AllTests.cs
        * Fixed Mono.Directory.LDAP/LDAP.cs casting of null to object.

svn path=/trunk/mcs/; revision=12463
2003-03-12 21:39:08 +00:00
Martin Willemoes Hansen 3139142b2d * Removed AllTests.cs not need for NUnit 2.0
svn path=/trunk/mcs/; revision=12462
2003-03-12 14:26:36 +00:00
Martin Willemoes Hansen 0941f7731e * Added makefile.gnu
* Added microsoftvisualbasic_test.args

svn path=/trunk/mcs/; revision=12461
2003-03-12 14:25:44 +00:00
Martin Willemoes Hansen d17f0f395c * Patched makefile.gnu to work with the new NUnit2 tests
* Added makefile.gnu
        * Added microsoftvisualbasic_test.args
        * Removed AllTests.cs not need for NUnit 2.0
        * Updated CollectionTest.cs, ConversionTest.cs and
          DateAndTimeTest.cs to NUnit 2.0

svn path=/trunk/mcs/; revision=12460
2003-03-12 14:24:47 +00:00
Alan Tam ade77dd8de 2003-03-12 Alan Tam <[email protected]>
* DataSet.cs: Fixed a bug that the file written does not close correctly.

svn path=/trunk/mcs/; revision=12459
2003-03-12 14:07:00 +00:00
Alan Tam 86c5cbad8e 2003-03-12 Alan Tam <[email protected]>
* XmlDataDocument.cs: Still need to print tag for the DataSet if there
        is no data at all.

svn path=/trunk/mcs/; revision=12458
2003-03-12 14:04:39 +00:00
Miguel de Icaza b696ec6c57 2003-03-12 Elan Feingold <[email protected]>
* XmlCustomFormatter.cs: Correct signature, Implement
	ToByteArrayBase64

	* XmlSerializationWriter.cs: Fix prototype.

	* XmlSerializer.cs: Implements Deserialize().

2003-03-12  Elan Feingold <[email protected]>

	* XmlTextReader.cs: When throwing a ReaderException, show what
	character was the culprit

svn path=/trunk/mcs/; revision=12456
2003-03-12 05:43:46 +00:00
Miguel de Icaza eadff8e5ac Small improvement
svn path=/trunk/mcs/; revision=12454
2003-03-12 05:18:06 +00:00
Miguel de Icaza 30c5052e18 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:

svn path=/trunk/mcs/; revision=12453
2003-03-12 05:03:09 +00:00
Jackson Harper e8cfc430fa * TypeRef.cs: New file, used for pairing types and their names.
svn path=/trunk/mcs/; revision=12452
2003-03-12 03:21:41 +00:00
Jackson Harper 0439c156f3 //
// Mono.ILASM.TypeRef
//
// Author(s):
//  Jackson Harper ([email protected])
//
// (C) 2003 Jackson Harper, All rights reserved
//

using PEAPI;
using System;


namespace Mono.ILASM {

	public class TypeRef {

		public readonly PEAPI.Type Type;
		public readonly string FullName;

		public TypeRef (PEAPI.Type type, string full_name)
		{
			Type = type;
			FullName = full_name;
		}

		public override string ToString ()
		{
			return FullName;
		}
	}

}

svn path=/trunk/mcs/; revision=12451
2003-03-12 03:20:15 +00:00
César Natarén c12ec83c48 Fixed typo.
svn path=/trunk/mcs/; revision=12447
2003-03-12 01:39:40 +00:00
César Natarén da85ef05a2 mcs/class: Added directories Microsoft.JScript and Microsoft.Vsa that will have the runtime and CodeDom support for the JScript compiler.
svn path=/trunk/mcs/; revision=12446
2003-03-12 01:28:03 +00:00
César Natarén c239d683b6 Added Microsoft.JScript assembly and namespace, that will be used by the Jscript compiler.
svn path=/trunk/mcs/; revision=12445
2003-03-12 01:22:25 +00:00
César Natarén 03d303d95e Added the IVsa interfaces that are used for runtime support of script engines.
svn path=/trunk/mcs/; revision=12444
2003-03-12 01:16:18 +00:00
Rafael Teixeira 7e5b5b7ad0 2003/03/11 Rafael Teixeira <[email protected]>
* makefile.gnu : use $RUNTIME for all targets
					 actually run the compiled program on 'test-gtk' target 
	* mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
						handle doubled-doublequotes (VB idiom to escape a doublequote)

svn path=/trunk/mcs/; revision=12436
2003-03-11 22:55:33 +00:00
Jean-Marc Andre 666c4f3279 2003-03-1 Jean-Marc Andre <[email protected]>
svn path=/trunk/mcs/; revision=12429
2003-03-11 20:25:46 +00:00
Jean-Marc Andre c5e20f4a54 2003-03-11: Jean-Marc ANDRE <[email protected]>
* RemotingConfigurationTest: a unit test for RemotingConfiguration

svn path=/trunk/mcs/; revision=12428
2003-03-11 20:22:03 +00:00
Miguel de Icaza 7fe441a8e2 Make this compile with a C compiler
svn path=/trunk/mcs/; revision=12415
2003-03-11 00:21:45 +00:00
Miguel de Icaza 7a8db76c16 Flush
svn path=/trunk/mono/; revision=12413
2003-03-10 21:48:21 +00:00
Alexandre Pigolkine 7131f36d63 check in for Steven Stewart
svn path=/trunk/mcs/; revision=12412
2003-03-10 21:06:34 +00:00
Joel Basson ae2f8c58af *** empty log message ***
svn path=/trunk/mcs/; revision=12409
2003-03-10 20:53:52 +00:00
Joel Basson d8fe60dcf7 2003-03-10 Joel Basson <[email protected]>
* Update Demo.cs to reflect current status, and got rid termination bug

svn path=/trunk/mcs/; revision=12408
2003-03-10 20:47:13 +00:00
Joel Basson ccfeba1171 2003-03-10 Joel Basson <[email protected]>
*	PictureBox.cs

svn path=/trunk/mcs/; revision=12407
2003-03-10 20:25:42 +00:00
Alan Tam ca5e24f1a6 2003-03-11 Alan Tam <[email protected]>
* XslTransform.cs: Fixed a bug when no args is passed

svn path=/trunk/mcs/; revision=12406
2003-03-10 16:19:02 +00:00
Alan Tam 6fcef570a7 2003-03-10 Alan Tam <[email protected]>
* XslTransform.cs: Implemented boolean, number and string parameters.
        (Node Set and Node Iterator parameters and Extension Objects are left.)
        * XsltAttributeList.cs: Loosened access modifiers.

svn path=/trunk/mcs/; revision=12405
2003-03-10 15:30:02 +00:00
Zoltan Varga 1fa0fb7c1e 2003-03-10 Zoltan Varga <[email protected]>
* ILGenerator.cs: Propagate maxstack info along branches.

svn path=/trunk/mcs/; revision=12404
2003-03-10 15:10:46 +00:00
Daniel Morgan 55dc40239c 2003-03-10 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs: when
	the data reader is closed, this SqlDataReader referenced
	in SqlConnection needs to be null

	* System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
	have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
	the data reader needs to be immediately closed, and 0 returned
	as the number of rows added or refreshed

svn path=/trunk/mcs/; revision=12403
2003-03-10 11:58:50 +00:00
Martin Willemoes Hansen 5066f43f01 * Fixed some spelling errors in class/doc/TemplateTest.cs
svn path=/trunk/mcs/; revision=12402
2003-03-10 08:07:18 +00:00
Gonzalo Paniagua Javier 3f3247b3ee 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:
	* BaseCompiler.cs:
	* CachingCompiler.cs:
	* CompilationResult.cs:
	* GlobalAsaxCompiler.cs:
	* PageCompiler.cs:
	* UserControlCompiler.cs: recompile the page if dependencies change.

svn path=/trunk/mcs/; revision=12401
2003-03-10 06:41:26 +00:00
Jackson Harper ffafc65698 * PEAPI.cs: (ImplAttr) Add Optil implementation flag (not supported
in first release of CLR)
	(Class) And Name property

svn path=/trunk/mcs/; revision=12399
2003-03-10 04:38:54 +00:00
Jackson Harper 32622154e5 * ILParser.jay: Set Call Conventions and Implementation Flags
svn path=/trunk/mcs/; revision=12398
2003-03-10 04:35:42 +00:00
Per Arneng 3f7490d56d Added more comments
svn path=/trunk/mcs/; revision=12395
2003-03-09 23:32:31 +00:00
Per Arneng cfda453755 Added comments to the code
svn path=/trunk/mcs/; revision=12394
2003-03-09 23:26:04 +00:00
Per Arneng 0dc5c9c672 Replaced by IAttachmentEncoder.cs
svn path=/trunk/mcs/; revision=12393
2003-03-09 22:57:55 +00:00
Per Arneng e1142c0258 Added UUEncoding for attachments.
Created and Attachment encoder interface which
Base64 and UUEncode implements.

svn path=/trunk/mcs/; revision=12392
2003-03-09 22:39:31 +00:00
Miguel de Icaza 0ab2bf8e96 Update Download page
svn path=/trunk/mono/; revision=12391
2003-03-09 20:44:16 +00:00
Miguel de Icaza ccc0beb590 Update FAQ
svn path=/trunk/mono/; revision=12390
2003-03-09 20:35:42 +00:00
Jackson Harper cfcc66dad5 * main.c: Ouput implements clause as a comma seperated list.
svn path=/trunk/mono/; revision=12382
2003-03-09 18:53:01 +00:00
Jackson Harper 8c465f32cf * ILParser.jay: Add implemented interfaces
svn path=/trunk/mcs/; revision=12381
2003-03-09 18:05:37 +00:00
Joel Basson 134a4d39ff 2003-03-09 Joel Basson <[email protected]>
* Frame.cs should have been GroupBox.cs

2

svn path=/trunk/mcs/; revision=12380
2003-03-09 17:40:52 +00:00
Alexandre Pigolkine 0bd69525b5 TrackBar control by Aleksey Ryabchuk ([email protected]), changes to monostub.c
svn path=/trunk/mcs/; revision=12379
2003-03-09 17:38:41 +00:00
Jackson Harper f80a0cf289 * ExternTable.cs: Do not verify the existence of external types
svn path=/trunk/mcs/; revision=12378
2003-03-09 17:31:29 +00:00
Jackson Harper 8c352a4411 * ILParser.jay: Create method attributes
svn path=/trunk/mcs/; revision=12368
2003-03-09 07:30:37 +00:00
Sebastien Pouliot 612798aa1a 2003-03-09 Sebastien Pouliot <[email protected]>
* makefile: Removed cert2spc and sn from linux build (as
	Mono.Security assembly isn't, yet, part of the linux build).
	* makefile.gnu: Removed (not required for tools).

svn path=/trunk/mcs/; revision=12367
2003-03-09 05:32:42 +00:00
Sebastien Pouliot e3464fe2d0 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile: Added SN.
	* makefile.gnu: New. Copy of makefile.

svn path=/trunk/mcs/; revision=12366
2003-03-09 04:49:12 +00:00
Sebastien Pouliot b2d623265a 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile.gnu: Trying to fix the build (makefile works on Windows
	so I'm not sure about this fix).

svn path=/trunk/mcs/; revision=12365
2003-03-09 03:50:32 +00:00
Sebastien Pouliot 0bdad2daca 2003-03-08 Sebastien Pouliot <[email protected]>
* sn.cs: New. (Incomplete) SN (StrongName) tool.
	* sectools.build: Updated build for SN.

svn path=/trunk/mcs/; revision=12364
2003-03-09 03:21:29 +00:00
Sebastien Pouliot 60d7983777 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile: Removed cert2spc and secutil tools and added reference
	to makefile inside security directory.
	* makefile.gnu: Same.

svn path=/trunk/mcs/; revision=12363
2003-03-09 03:11:19 +00:00
Sebastien Pouliot 953d4eee5a 2003-03-08 Sebastien Pouliot <[email protected]>
* ASN1.cs: Removed - now part of Mono.Security assembly
	* cert2spc.cs: Moved to /mcs/tools/security
	* secutil.cs: Moved to /mcs/tools/security

svn path=/trunk/mcs/; revision=12362
2003-03-09 03:09:19 +00:00
Sebastien Pouliot 0a82028970 2003-03-08 Sebastien Pouliot <[email protected]>
* StrongNameTest.cs: New. Unit tests for StrongNames.

svn path=/trunk/mcs/; revision=12361
2003-03-09 03:01:33 +00:00
Sebastien Pouliot 4ff9723275 2003-03-08 Sebastien Pouliot <[email protected]>
* StrongName.cs: New. Partial implementation for StrongNames.

svn path=/trunk/mcs/; revision=12360
2003-03-09 02:59:55 +00:00
Jackson Harper d97f1f0244 * makefile, makefile.gnu: Add ExternTable to build
svn path=/trunk/mcs/; revision=12359
2003-03-09 00:13:05 +00:00
Jackson Harper 3c81739ee7 * ILParser.jay: Reference external assemblies.
svn path=/trunk/mcs/; revision=12358
2003-03-09 00:11:07 +00:00
Jackson Harper e9ef7a75e5 * CodeGen.cs: Add ExternTable property
* ExternTable.cs: New file, this will is used for pulling
	types and methods from external assemblies.

svn path=/trunk/mcs/; revision=12357
2003-03-09 00:09:43 +00:00
Tim Coleman 0657be2d9c 2003-03-08 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs:
        * list:
                New class added
        * System.Data.OracleClient/OciGlue.cs:
        * System.Data.OracleClient/OracleDataReader.cs:
        * System.Data.OracleClient/OracleLob.cs:
        * System.Data.OracleClient.Oci/OciBindHandle.cs:
        * System.Data.OracleClient.Oci/OciDataType.cs:
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
        * System.Data.OracleClient.Oci/OciErrorHandle.cs:
        * System.Data.OracleClient.Oci/OciHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
        * System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
        * System.Data.OracleClient.Oci/OciServerHandle.cs:
        * System.Data.OracleClient.Oci/OciServiceHandle.cs:
        * System.Data.OracleClient.Oci/OciSessionHandle.cs:
                Small changes
        * System.Data.OracleClient/OracleBoolean.cs:
                Change Null definition
        * System.Data.OracleClient/OracleCommand.cs:
                More implementation, more toward getting ExecuteOracle*
        * System.Data.OracleClient/OracleConnection.cs:
                Add new handle properties
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                Move binding operation to oracle parameter.

svn path=/trunk/mcs/; revision=12356
2003-03-08 22:37:09 +00:00
Nick Drochak a035aeead1 2003-03-09 Nick Drochak <[email protected]>
* ConsoleTest.cs:
	* ConvertTest.cs: Re-enable tests. They no longer hang the runtime.

svn path=/trunk/mcs/; revision=12354
2003-03-08 15:53:18 +00:00
Gonzalo Paniagua Javier 40fe46fbfd Sorted and added a few files that we already have
svn path=/trunk/mcs/; revision=12352
2003-03-08 09:46:42 +00:00
Jackson Harper ccd24a0962 * test-8.il: New test, test creating a class that inherits from something other then System.Object
svn path=/trunk/mcs/; revision=12351
2003-03-08 08:17:19 +00:00
Jackson Harper 32dca8db3a * Driver.cs: If a file does not exist print an error and exit.
svn path=/trunk/mcs/; revision=12350
2003-03-08 08:14:32 +00:00
Gaurav Vaish 78810b2d74 *** empty log message ***
svn path=/trunk/mcs/; revision=12349
2003-03-08 07:41:07 +00:00
Gaurav Vaish 2aab914051 2003-03-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : Stub-ing methods / properties.

svn path=/trunk/mcs/; revision=12348
2003-03-08 07:40:47 +00:00
Jackson Harper c64bea1718 * test-6.il: Define class that field references
svn path=/trunk/mcs/; revision=12347
2003-03-08 06:32:07 +00:00
Jackson Harper 37ce700bcd * ILParser.jay: Implemented class inheritence
svn path=/trunk/mcs/; revision=12346
2003-03-08 06:30:23 +00:00
Jackson Harper 1889725aef * ClassTable.cs, CodeGen.cs: Add methods to allow types to inherit from another type.
svn path=/trunk/mcs/; revision=12344
2003-03-08 06:28:10 +00:00
Gonzalo Paniagua Javier 82258160a8 reference System
svn path=/trunk/mcs/; revision=12343
2003-03-08 01:37:43 +00:00
Gonzalo Paniagua Javier 2e07f710b5 Committing for Sebastien
svn path=/trunk/mcs/; revision=12342
2003-03-08 01:29:23 +00:00
Gonzalo Paniagua Javier da8f39e008 Commiting this for Sebastien
svn path=/trunk/mcs/; revision=12341
2003-03-08 01:27:43 +00:00
Sebastien Pouliot 521a745e5d *** empty log message ***
svn path=/trunk/mcs/; revision=12340
2003-03-08 01:11:24 +00:00
Sebastien Pouliot 9a324b18d7 2003-03-07 Sebastien Pouliot ([email protected])
* SoftwarePublisherCertificate.cs: I've no idea how it got there ?

svn path=/trunk/mcs/; revision=12339
2003-03-08 00:50:07 +00:00
Sebastien Pouliot e6349ed837 2003-03-07 Sebastien Pouliot ([email protected])
* SoftwarePublisherCertificateTest.cs: I've no idea how it got there ?

svn path=/trunk/mcs/; revision=12338
2003-03-08 00:45:34 +00:00
Sebastien Pouliot 2a3c48c55e 2003-03-07 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: New. Test vectors for RC4(tm) taken from
	usenet and Netscape SSL version 3 implementation details.
	* MD2ManagedTest.cs: New. Call tests defined in MD2Test class.
	* MD2Test.cs: New. Test vectors defined in RFC1319.

svn path=/trunk/mcs/; revision=12337
2003-03-08 00:33:53 +00:00
Sebastien Pouliot e02b4757d8 2003-03-07 Sebastien Pouliot <[email protected]>
* ARC4Managed.cs: New. Implementation of the Alleged RC4(tm)
	stream cipher in managed code (required for SSL/TLS).
	* CryptoConvert.cs: New. Helper class to help convert between
	Windows crypto structures and .NET crypto classes (required
	for security tools).
	* MD2.cs: New. Abstract class for all MD2 hash implementations.
	* MD2Managed.cs: New. Managed implementation of the MD2 hash
	algorithm (required for old, but still valid, X.509 certificates).
	* RC4.cs: New. Abstract class for all RC4 stream cipher
	implementations.

svn path=/trunk/mcs/; revision=12336
2003-03-08 00:32:44 +00:00
Miguel de Icaza e5c4a84cbf Add more libraries to the list of distribution
svn path=/trunk/mono/; revision=12335
2003-03-07 22:01:07 +00:00
Miguel de Icaza 37eb0d7b73 Also build Npgsql
svn path=/trunk/mcs/; revision=12334
2003-03-07 22:00:04 +00:00
Joel Basson 13fa57b0e3 2003-03-07 Joel Basson <[email protected]>
*	CheckBox.cs
*	RadioButton.cs
*	Frame.cs
*	Added properties: Size and Name
*	Touchups here and there

svn path=/trunk/mcs/; revision=12333
2003-03-07 21:50:16 +00:00
Miguel de Icaza c05310baba Update from Dick
svn path=/trunk/mono/; revision=12332
2003-03-07 21:45:09 +00:00
Miguel de Icaza e6fd7a935d Flush
svn path=/trunk/mono/; revision=12331
2003-03-07 21:09:55 +00:00
Miguel de Icaza 1ec79307d7 :Flush
svn path=/trunk/mono/; revision=12330
2003-03-07 20:42:46 +00:00
Gonzalo Paniagua Javier a922805e83 Fixed the build
svn path=/trunk/mcs/; revision=12329
2003-03-07 19:54:52 +00:00
Alan Tam b2c80f8a7f 2003-03-08 Alan Tam <[email protected]>
* DataRelationCollection.cs: Removed the mis-overridden methods
        * DataRow.cs: Fixed an attribute
        * DataSet.cs: Fixed the modifiers

svn path=/trunk/mcs/; revision=12328
2003-03-07 19:40:10 +00:00
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
3968 changed files with 463459 additions and 110319 deletions

No files matched your search

+2
View File
@@ -15,3 +15,5 @@ Makefile.in
mono-*.tar.gz
stamp-h
stamp-h.in
mono.pc
mono.spec
+213
View File
@@ -1,3 +1,216 @@
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:
* configure.in: Check for struct ip_mreq if struct ip_mreqn isn't
available.
2003-06-10 Zoltan Varga <[email protected]>
* configure.in: Define HAVE_GC_GCJ_MALLOC for included libgc.
2003-06-10 Martin Baulig <[email protected]>
* configure.in: Fall back to boehm if we don't have a libgc
subdirectory.
2003-06-10 Martin Baulig <[email protected]>
* configure.in: Make the libgc stuff actually work; we now create
a shared libmonogc.so when using the included libgc.
2003-06-09 Martin Baulig <[email protected]>
* configure.in: Only check for gc if --with-gc=boehm.
2003-06-08 Martin Baulig <[email protected]>
* configure.in: Tell libgc's configure about our threads library.
2003-06-08 Martin Baulig <[email protected]>
* libgc/: Integrate the libgc module here.
[Note: A simple `cvs update' won't work this time; you either need
to re-checkout the `mono' module or manually move the `libgc'
module here.]
* configure.in (--with-gc): Added `included' option to use the
included libgc. This is now also the default.
(LIBGC_CFLAGS, LIBGC_LIBS): Put the libgc stuff here and AC_SUBST it.
(INCLUDED_LIBGC): New automake conditional.
(USE_INCLUDED_LIBGC): #define this if appropriate.
* autogen.sh: Run libgc/autogen.sh.
* Makefile.am (SUBDIRS): Added libgc.
2003-06-05 Duncan Mak <[email protected]>
* mono.spec.in (Requires): Add libxml2 and libxslt dependency on
the package.
2003-05-19 Dick Porter <[email protected]>
* configure.in: Netbsd build fix by [email protected].
2003-05-10 Martin Willemoes Hansen <[email protected]>
* scripts/Makefile.am: Added monoresgen secutil sqlsharp
shell wrapper scripts.
2003-05-08 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am:
- Compile with mcs.
- Disable some warnings.
- Added executables to clean target.
- Make testjit the default target.
- Print list of failed tests at the end of a test run.
- Abort tests when Ctrl-C is pressed.
* mono/tests/test-driver: Return with a special exit code when
SIGINT is detected.
* mono/tests/checked.cs: Make it compile.
2003-05-02 Miguel de Icaza <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Use explicit file names
for the target exe binaries.
Copy cilc.exe and secutil.exe from the right paths to the right
location.
Add missing assemblies.
2003-05-02 Alp Toker <[email protected]>
* data/config.in: new dll mapping entry for libglade
2003-05-01 Duncan Mak <[email protected]>
* scripts/Makefile.am:
* runtime/Makefile.am: Install cilc and ilasm.
2003-04-29 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (JITTEST_PROG): use mini/mono
2003-04-16 Charles Iliya Krempeaux <[email protected]>
* doc/web/team.xml : Added myself to it.
2003-04-10 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Make the names of the element be
lowercase instead. BenM says this makes it XHTML compliant; heck,
I'm generating this from an XmlDocument already, why not make it
XHTML compliant?
2003-04-10 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs (Compare): Correctly fix
ContributorComparer.
(RenderHtml): Add some SetAttribute loving to make it render prettier.
* doc/web/team.xml: Revert excessive indenting.
2003-04-07 Martin Baulig <[email protected]>
* mono/mini/: Added this directory to the build; install `mini'
and `libmini.la'.
2003-04-07 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Fix ContributorComparer.
2003-04-04 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Make it use 'none.png' if no image
are specified in the XML.
* doc/web/team.xml: Remove the comment.
* doc/web/render-team-page.cs: Make it not output a full HTML file.
2003-04-04 Duncan Mak <[email protected]>
* doc/web/commands:
* doc/web/makefile: Add team page information.
* doc/web/team.xml:
* doc/web/render-team-page.cs: Code for rendering a team page.
2003-04-02 Duncan Mak <[email protected]>
* doc/web/makefile: Add a new make target for generating a team
page on go-mono.com.
2003-04-04 Zoltan Varga <[email protected]>
* configure.in: Added check for GC_gcj_malloc.
2003-04-04 Martin Willemoes Hansen <[email protected]>
* man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.
>>>>>>> 1.166
2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.
2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added default sessionState section and handler.
+28 -1
View File
@@ -1,9 +1,36 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = mono doc docs runtime scripts man data
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples
dnl EXTRA_SUBDIRS = libgc
EXTRA_DIST= mono.pc.in mono.spec.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= mono.pc
DISTCLEANFILES= mono.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)
(cd ../mcs/class/corlib; make MCS=mcs)
cp ../mcs/class/lib/corlib.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)
mcs-rest:
(cd ../mcs/class; make)
remove-binaries:
rm ../mcs/class/lib/corlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe >& /dev/null; echo
+21 -6
View File
@@ -1,14 +1,28 @@
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
If you obtained this package as an officially released tarball,
this is very simple, use configure and make:
* Using Mono
./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 do:
./autogen --prefix=/usr/local
make fullbuild
2. Using Mono
=============
Once you have installed the software, you can run a few programs:
@@ -29,7 +43,8 @@ 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.
+8
View File
@@ -3,8 +3,10 @@
#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
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
@@ -13,9 +15,15 @@
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef USE_INCLUDED_LIBGC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef MONO_ZERO_ARRAY_LENGTH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
#undef HAVE_GC_H
#undef HAVE_GC_GCJ_MALLOC
#undef WITH_BUNDLE
#undef HAVE_GETHOSTBYNAME2_R
+6
View File
@@ -117,6 +117,12 @@ automake --add-missing --gnu $am_opt ||
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
if test -d $srcdir/libgc; then
echo Running libgc/autogen.sh ...
(cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@")
echo Done running libgc/autogen.sh ...
fi
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+255 -34
View File
@@ -1,9 +1,23 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.23)
AM_INIT_AUTOMAKE(mono,0.26)
AM_MAINTAINER_MODE
dnl
dnl libgc checks
dnl
gc_headers=no
gc=included
use_included_gc=no
if test -d $srcdir/libgc ; then
gc_default=included
else
gc_default=boehm
fi
#
# These are the flags that need to be stored in the mono.pc file for
# compiling code that will embed Mono
@@ -15,16 +29,31 @@ AC_SUBST(libmono_ldflags)
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
libgc_threads=no
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
# 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
;;
*-*-*bsd*)
*-*-*netbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
libdl=
libgc_threads=pthreads
;;
*-*-*freebsd*|*-*-*openbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
libmono_cflags="-D_THREAD_SAFE"
@@ -33,6 +62,7 @@ case "$host" in
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
libgc_threads=pthreads
;;
*-*-linux*)
platform_win32=no
@@ -40,12 +70,22 @@ case "$host" in
libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
libmono_ldflags="-lpthread"
libdl="-ldl"
libgc_threads=pthreads
;;
*-*-hpux*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
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=pthreads
;;
*-*-darwin*)
platform_win32=no
@@ -56,6 +96,8 @@ case "$host" in
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
libgc_threads=no
gc_default=none
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
@@ -70,6 +112,12 @@ 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";
@@ -106,7 +154,11 @@ 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'
fi
CFLAGS="-g $WARN"
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
@@ -148,16 +200,26 @@ AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
gc_headers=no
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
gc=auto
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
# 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=
case "x$gc" in
xboehm|xbohem|xyes)
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
if test "x$found_boehm" != "xyes"; then
AC_MSG_ERROR("GC requested but libgc not found!")
AC_MSG_ERROR("GC requested but libgc not found! Install libgc or run configure with --with-gc=none.")
fi
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("GC requested but header files not found! You may need to install them by hand.")
@@ -165,27 +227,57 @@ case "x$gc" in
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc $libdl"
LIBGC_LIBS="-lgc $libdl"
# 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)
AC_CONFIG_SUBDIRS(libgc)
found_boehm=yes
gc_headers=yes
use_included_gc=yes
libgc_dir=libgc
LIBGC_CFLAGS='-I$(top_srcdir)/libgc/include'
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
AC_DEFINE(HAVE_GC_H)
AC_DEFINE(USE_INCLUDED_LIBGC)
# The included libgc contains GCJ support
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
;;
xnone)
AC_MSG_WARN("Compiling mono without GC.")
;;
*)
# If libgc was found, use it. Otherwise just warn.
if test "x$found_boehm" != "xyes"; then
AC_MSG_WARN("Compiling mono without GC.")
else
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("Found libgc but not its header files! You may need to install them by hand.")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc $libdl"
gc="boehm"
fi
AC_MSG_ERROR([Invalid argument to --with-gc.])
;;
esac
we_are_embedded_in_mono=yes
export we_are_embedded_in_mono
export libgc_threads
AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
AC_SUBST(LIBGC_CFLAGS)
AC_SUBST(LIBGC_LIBS)
AC_SUBST(libgc_dir)
dnl
dnl End of libgc checks
dnl
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Check for large file support ***
@@ -269,6 +361,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 *****************************
@@ -310,8 +417,32 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQN)
], [
# We'll just have to use struct ip_mreq
# We'll just have to try and use struct ip_mreq
AC_MSG_RESULT(no)
AC_MSG_CHECKING(for struct ip_mreq)
AC_TRY_COMPILE([#include <netinet/in.h>], [
struct ip_mreq mreq;
mreq.imr_interface.s_addr = 0;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQ)
], [
# No multicast support
AC_MSG_RESULT(no)
])
])
dnl **********************************
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 *****************************
@@ -345,6 +476,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 *****************************
@@ -414,6 +562,12 @@ if test x$platform_win32 = xno; then
AC_ERROR(unable to find a way to determine timezone)
fi
fi
dnl ****************************************************************
dnl *** Checks for working poll() (macosx defines it but doesn't ***
dnl *** have it in the library (duh)) ***
dnl ****************************************************************
AC_CHECK_FUNCS(poll)
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?))
@@ -495,17 +649,78 @@ fi
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;;
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;;
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
# ;;
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.")
@@ -520,12 +735,14 @@ 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)
LIBC="libc.so.6"
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
AC_SUBST(LIBC)
AC_SUBST(arch_target)
@@ -553,18 +770,22 @@ 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/jit/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
])
-5
View File
@@ -4,8 +4,3 @@ EXTRA_DIST = config.in machine.config
mono_DATA = config machine.config
DISTCLEANFILES = config
config: config.in Makefile
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
&& mv config.tmp config
+2
View File
@@ -12,5 +12,7 @@
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
</configuration>
+53
View File
@@ -21,20 +21,61 @@
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
</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"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
</authenticationModules>
<defaultProxy>
<proxy />
<!-- bypassonlocal and proxyaddress are ok -->
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System" />
<add prefix="https" type="System.Net.HttpRequestCreator, System" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.web>
<httpHandlers>
<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="*" 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="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -52,6 +93,15 @@
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>
</system.web>
<appSettings>
@@ -62,5 +112,8 @@
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
</configuration>
+1 -1
View File
@@ -5,7 +5,7 @@ WEB_FILES= \
oledb papers \
passport plans porting postgresql ppc projects rationale \
resources roadmap runtime sqlclient sqlite sybase tdsclient \
tds-providers team status team testing thanks tools \
tds-providers status testing thanks tools \
porting anoncvs monodoc-xml winforms
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
+49 -69
View File
@@ -7,43 +7,66 @@
* 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 (embedded into
either the XSP server or the mod_mono Apache module).
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
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. Lluis is in charge of
it now and web services are now supported. He also added a web
service sample to the XSP server set of tests.
** HttpRuntime
** Hosting
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
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.
We are currently working on this.
* <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 bunch of .aspx pages to test the server along with
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 available at <a
href="http://www.apacheworld.org/modmono/">ApacheWorld.org</a>
hosts the Mono runtime and the Mono's ASP.NET runtime, and
allows apache to server asp.net web pages.
Work is underway to improve it.
** Controls
A lot of work has been put in the various classes that
@@ -52,57 +75,14 @@
able to test them in real life: Gaurav and Leen worked very
hard on this namespace.
We can now render all HtmlControls and almost all WebControls.
DataGrid and DataList controls are being finished by Gaurav.
Xml control needs some work on System.Xml related to XSL.
We can now render all HtmlControls and all WebControls.
** Extending ASP.NET
Help in making the controls better is appreciated.
Currently you have to reference in your ASP.NET the control
and all of its properties, which works fine if you have a GUI
designer, but is harder for people used to develop using text
editors.
** ASP.NET and free controls.
Since we have a parser, we could extend this parser to allow
people to still use ASP.NET controls, using a simpler syntax.
For example people doing blogs and editing their templates
over the web probably do not want to use direct ASP.NET but a
wrapper around it.
* Web Forms: The pieces (historical)
There are a couple of components to the puzzle:
<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.
We want to encourage developers to create open source controls
that can be used both on Mono's ASP.NET and Microsoft's ASP.NET.
** How to Help
+12
View File
@@ -1,7 +1,19 @@
* Mono Books
<a href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">
Mono: .NET-kompatible Anwendungen mit dem Open Source-Framework
</a>
* C# Books
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
* .NET Framework
Avery good techincal book about .NET is Don Box's <a
href="http://service.bfast.com/bfast/click?bfmid=2181&sourceid=39391960&isbn=0201734117">Essential
.NET</a>
* Remoting
<a href="http://www.dotnetremoting.cc/book/AdvancedDotNetRemoting.asp">
+9 -7
View File
@@ -1,13 +1,15 @@
* MCS: The Ximian C# compiler
MCS is currently able to compile itself and many more C#
programs (there is a test suite included that you can use).
It is routinely used to compile Mono, roughly half a million
lines of C# code.
The Mono C# compiler is considered feature complete at this
point and relatively mature. MCS is able to compile itself
and many more C# programs (there is a test suite included that
you can use). It is routinely used to compile Mono, roughly
half a million lines of C# code.
We are in feature completion mode right now. There are still
a couple of areas that are not covered by the Mono compiler, but
they are very very few at this point (security attributes),
* Pending tasks
There are a few known bugs in the Mono C# compiler, but
they are very very few at this point,
you can also browse the MCS <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">bugs</a> from Bugzilla.
A test suite is maintained to track the progress of
+151 -59
View File
@@ -1,25 +1,45 @@
* CVS Access
If you are an active Mono developer, you can get a CVS account
that hosts the Mono source code. This web page contains
details about how to use the CVS server as well as the
policies to use it.
Here we describe how one obtains commit access to the CVS repository
and the responsibilities that come with that access privilege.
If you are not a developer, but want to track the development, please
see the <a href="anoncvs.html">AnonCVS</a> instructions.
** What is CVS?
Send an e-mail to miguel with your public OpenSSH key for this
purpose. Please specify if the key was generated with SSH version 1
or version 2.
Briefly, CVS is a system tool used to store and maintain files and
a history of their changes over time. The Mono source code and related
files are kept on a CVS server at Ximian.
** What Access?
We mean "commit" access. This is the privilege to make permanent
changes to the Mono source code and related files. You need an account
created by the CVS server administrator in order to commit changes to
the files on that server.
** How Does One Obtain Access?
Any active Mono developer can get a CVS account. Normally one is
considered an 'active' developer after sending several patches to the
mailing lists and/or bugzilla for review.
If you are not a developer, but want to access the latest sources,
please see the <a href="anoncvs.html">AnonCVS</a> instructions.
If you feel you are ready for a CVS account send an e-mail to
<a href="mailto:[email protected]">miguel</a> with your public OpenSSH
key for this purpose. Please specify if the key was generated with SSH
version 1 or version 2. Detailed instructions are below.
* Policies
Here are some policies about the use of the Mono CVS server.
It is necessary that everyone with CVS commit access respect and
adhere to the following rules. If you ask for and are granted CVS
access, you are agreeing to follow these policies.
** Code License
If you are about to commit code to a module, the code that is
being commited should be released under the same license as
being committed should be released under the same license as
the code that the module has.
Check the license if you are unsure, but it is basically:
@@ -28,25 +48,105 @@
If in doubt, check with the maintainers of the module, or send
mail to [email protected].
** Commiting code.
** Changing code
If you are the maintainer for a piece of code, feel free to
commit code, and delegate the work to others.
Even if you have CVS commit access, that doesn't mean you can change
code at will in any directory or module. Directories and Namespaces
have a sort of unofficial ownership. If you are not the owner of a
piece of code and you want to make changes/fixes to it, there are two
cases.
1) The change is a typo fix or a one-liner build or trivial fix. In
this case almost anyone can commit (always remembering to add the
proper changelog entry to explain the change). We say "almost anyone",
because changes to certain directories almost always should be reviewed
first. Such as changes to core stuff: corlib/System, System.Collections,
mini/, metadata/, System.IO.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
2) The change is larger. In this case the patch *must* be sent to
mono-devel-list for review by the owner of the code and by the other
hackers. Always submit such patches to the list or bugzilla, although
you may put the owner of the code in the CC header. Hackers come and go.
Mailing a patch to only a personal address is a good way to get the
patch forgotten and missed. Plus, getting the patches reviewed as well
as reviewing them, is a good thing, so try to get used to it.
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
Note: If the patch is an addition of code and doesn't change any of the
existing code, the rules are slightly relaxed: there is more freedom
in committing such changes, if they don't interfere with the existing
codebase.
Please do not commit code that would break the compile to the
CVS, because that normally wastes everybody's time. Two things
** Owning Code
Now, how do you get to be the owner of a chunk of code? The answer is
simple. You wrote the code, so you're the unofficial owner. There is
also another way. After sending a few patches for the code, the
owner (or the core developers of mono, if the owner somehow disappeared)
trusts you and tells you you're free to commit without getting his
review first.
Here is a (partial) list of namespaces/directories with their owners:
<ul>
<li>Debugger module and debug code in mono: martin
<li>mcs compiler: miguel, martin, ravi
<li>Reflection/Reflection.Emit: lupus, zoltan
<li>IO-layer: dick
<li>mini: lupus, dietmar
<li>test suite: nickd (though anyone should feel free to add test cases)
<li>System.IO: dick, ville
<li>security stuff: spouliot
<li>ilasm: jackson
<li>System.Web and related: gonzalo
<li>System.Xml: eno, piers
<li>Remoting: dietmar, lluis
<li>interop/marshal: dietmar
<li>threads: dick
</ul>
If you are the owner of a piece of code, feel free to commit code, and
delegate the work to others.
But, if you're not the owner of the code, committing a rewrite without
getting a review first is not good cvsitizenship (especially when the
rewrite claimed to fix bugs, but not a single regression test has been
added to the suite).
** Commit Rules
Once you know you can commit a patch (because of the rules above) there
are a few other small rules to follow:
<ul>
<li>Always add a changelog entry with a meaningful explanation
<li>If you fix a bug, add a regression test for it in the regression
suite
<li>Don't commit unrelated changes together with a fix: do fine-grained
commits
<li>Always check what you're committing: make sure you're only committing
what you need and make sure you don't change line endings and
whitespace. Do a 'cvs diff -u' of the files you're going to commit and
check the changes.
<li>Don't do reformatting commits, unless you're the original author of
the code
<li>When fixing bugs, don't follow the documentation blindly, it may
well be wrong. Test the behavior on the MS runtime or ask on the list
for discussion if unsure. Don't be afraid of having your changes
reviewed.
<li>Never remove copyright notices from the code
<li>Never remove licensing info from code
<li>Never commit code you didn't write yourself or code that doesn't
have a suitable license
<li>Follow the style conventions
<li>Keep an eye on performance considerations, especially for code in
core classes, ask on the list for guidance
<li>Do a regression test run and a bootstrapping build if making changes
to core functionality before committing. Do not commit code that would
break the compile, because that wastes everybody's time. Two things
are important in this step: trying to build your sources and making
sure that you add all the new files before you do a commit.
</ul>
Also, remember to pat yourself on the back after the commit, smile and
think we're a step closer to a better free software world.
* Using CVS.
@@ -61,14 +161,16 @@
ssh-keygen -t rsa
</pre>
And mail me the id_rsa.pub file.
And mail <a href="mailto:[email protected]">miguel</a> the
id_rsa.pub file.
If you are using SSH version 1, run:
<pre>
ssh-keygen
</pre>
And mail me your identity.pub file.
And mail <a href="mailto:[email protected]">miguel</a> your
identity.pub file.
If you are using SSH from SSH Communications Security (they offer
a free SSH client for personal use), you have to use OpenSSH to
@@ -81,7 +183,8 @@
where the file id_XXX.pub is your public key file,
normally located under ~/.ssh/ or ~/.ssh2/.
Send to miguel the my_public_key.pub file.
Send to <a href="mailto:[email protected]">miguel</a> the
my_public_key.pub file.
The *exact* format for this file must be:
@@ -123,7 +226,7 @@
** Making patches
Usually you will want to make a patch to contribute, and let
other people review it before commiting it. To obtain such a
other people review it before committing it. To obtain such a
"patch", you type:
<pre>
@@ -132,7 +235,25 @@
mail [email protected] < file.diff
</pre>
** Keeping track of changes.
** Committing your work
Once you get approval to commit to the CVS, or if you are
committing code that you are the maintainer of, you will want
to commit your code to CVS.
To do this, you have to "add" any new files that you created:
<pre>
cvs add new-file.cs
</pre>
And then commit your changes to the repository:
<pre>
cvs commit file-1.cs file-2.cs
</pre>
* Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
changes to the code base:
@@ -151,28 +272,6 @@
We hope to offer LXR and Bonsai in the future as well.
** Commiting your work
Once you get approval to commit to the CVS, or if you are
commiting code that you are the maintainer of, you will want
to commit your code to CVS.
To do this, you have to "add" any new files that you created:
<pre>
cvs add new-file.cs
</pre>
And then commit your changes to the repository:
<pre>
cvs commit file-1.cs file-2.cs
</pre>
* The Mailing Lists
To keep track of the various development and changes to the
CVS tree, you can subscribe to the [email protected].
To subscribe, send an email message to
[email protected] and in the body of the
message put `subscribe'.
@@ -185,10 +284,3 @@
the <a
href="mailto:[email protected]">[email protected]</a>
to receive the patches as they are checked into CVS.
** Recommendations
To build the sources, most of the type trying the `make' command
is enough. In some cases (the class libraries) we use nant, so
you need to run nant manually.
+46 -1
View File
@@ -16,7 +16,8 @@
the source code for Mono, you can start tracking down the
problem. Depending on how much time you have to devote to the
problem you could: <a href="http://bugzilla.ximian.com">File a
bug report</a>; track down the problem and provide a better
bug report</a> (read <a href="#goodbugreport">this</a>); track
down the problem and provide a better
<a href="http://bugzilla.ximian.com">bug report</a>; fix the
bug and provide a patch (you can <a
href="mailto:[email protected]">post it</a> to the <a
@@ -127,6 +128,50 @@
You can review the list of current bugs by going <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FMCS&product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=%27Importance%27&form_name=query">here</a>
<a name="goodbugreport"/>
** How to make good bug reports
A mail from Paolo to mono-devel-list contained this check list:
<ol>
* Submit a test case, the smaller it is, the better
* Use <a href="http://bugzilla.ximian.com">
http://bugzilla.ximian.com</a> to report the bug.
<p>In <b>addition</b> to bugzilla, posting to the list is
fine if the bug merits larger exposure or design
discussions to solve; posting to the list twice or more
is just a way to annoy people and make them waste time,
specially when you start a new thread about it.
* If the test involves libraries or assemblies that are
not part of mono, add info about where to download all
the dependencies, and how to compile/install them.
* If compiling the test case requires more than:
<pre> mcs test.cs </pre>
provide the <b>full command line</b> you used to compile
the test.
* If running the test requires more than:
<pre> mono test.exe </pre>
provide the <b>full command line</b> needed to replicate
the bug.
* Provide info about the version of the software you're
using (both mono and the operating system or relevant
libraries).
* Provide the output you expect the test case to produce.
* Provide the actual output <b>you</b> get from the test case.
</ol>
A good bug report complies with at least 6 items from the list.
If your bug report complies with 3 or less items, it is very
poor and it means it will take much more time to fix (when it's
not ignored).
** Small tasks
A few smaller tasks are here, dropped in no particular order:
+126 -62
View File
@@ -14,16 +14,16 @@
* Every classes are present.
* Most classes have their unit tests. Some tests like <code>
SymmetricAlgorithmTest</code> are generated by an external
tool.
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>
* Support for adding/modifying OID using the
<code>machine.config</code> configuration file (algorithms
are done).
* RNGCryptoServiceProvider is currently only working on Linux.
The current implementation reside in Mono's runtime and use
the <code>/dev/[u]random</code> device (which do not exists
@@ -39,13 +39,6 @@
algorithm can be different for every CSP (Crypto Service
Provider). However for compatibility we should provide an
implementation compatible with the MS CSP (most likely used).
* Analyse the current coverage of the unit tests on the
cryptographic classes and complete the unit tests.
* Optimizations (performance) on most class are possible. Some
have been done using the Community Edition of BoundChecker
(a free VisualStudio addon) - recommanded!
</ul>
**** Notes
@@ -53,10 +46,16 @@
* All cryptographic algorithms are entirely managed, including
classes named <code>*CryptoServiceProvider</code>, with the
exception of <code>RNGCryptoServiceProvider</code> (which
resides in the runtime).
implementation resides in the runtime).
* There is a bug in the <code>PKCS1MaskGenerationMethod</code>
class (in both framework 1.0 and 1.1). This means our
implementation isn't compatible with MS (but is compatible with
PKCS#1 v.2.1). However we get OAEP padding for every platform!
* Look at assembly Mono.Security.Win32 if you require more
compatiblity with the Microsoft implementation (like accessing
a particuliar keypair container in a CSP).
a particuliar keypair container inside a specific CSP).
</ul>
@@ -69,13 +68,13 @@
* Software Publisher Certificates (SPC) used by Authenticode
(tm) to sign assemblies are supported (extraction from PE
files) but <b>not</b> validated.
files) but <b>not yet</b> validated.
* Unit tests are generated from a set of existing certificates
(about a dozen) each having different properties. Another
set of certificates (more than 300) are used for a more
set of certificates (more than 700) are used for a more
complete test (but isn't part of the standard test suite for
size and time consideration).
size and time consideration, i.e. a 7.5Mb C# source file).
</ul>
**** TODO
@@ -84,10 +83,6 @@
certificates from PE files but cannot validate the signature
nor the certificate chain (and we're still missing some trust
anchors). See Tools section for more information.
* Integration with CryptoAPI (on Windows) isn't possible as
long as the <code>X509Certificate(IntPtr)</code> constructor
isn't completed.
</ul>
**** Notes
@@ -104,6 +99,10 @@
CryptoAPI's validation) when <code>IsCurrent</code> is called.
See assembly <b>Microsoft.Web.Services</b> for more details.
* The class Mono.Security.X509.X509Certificate (in Mono.Security
assembly) is becoming a much better alternative - and will
continue to evolve to support the security tools.
* Microsoft implementation of <code>X509Certificate</code> is
done by using CryptoAPI (unmanaged code). From the exceptions
thrown Authenticode(tm) support is done via COM.
@@ -120,58 +119,82 @@
**** 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>
** Assembly: Mono.Security
<b>Rational: </b>
This assembly provides the missing pieces to .NET security. On Windows
CryptoAPI is often used to provide much needed functionalities (like
some cryptographic algorithms, code signing, X.509 certificates).
some cryptographic algorithms, code signing, X.509 certificates). Mono,
for platform independance, implements these functionalities in 100%
managed code.
*** Namespace: Mono.Security
<ul>
* Structures (ASN1, PKCS7) and primitives (PKCS1).
</ul>
*** Namespace: Mono.Security.Authenticode
<ul>
* Code signing and verification.
* Support for SPC (Software Publisher Certificate) files and
PVK (Private Key) files.
</ul>
*** Namespace: Mono.Security.Cryptography
<ul>
* Additional algorithms: MD2, ARCFOUR (required for SSL)
* Convertion helpers
</ul>
*** Namespace: Mono.Security.X509
<ul>
* X.509 structures (certificate, CRL...) building and decoding.
</ul>
*** Namespace: Mono.Security.X509.Extensions
<ul>
* X.509 extensions (from public X.509 to private PKIX, Netsapce,
Microsoft, Entrust...).
</ul>
**** Status
<ul>
* Work has been under way for quite some time - and should
start hitting CVS soon.
* 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 class are duplicated in this assembly so the
functionalities can be used with a dependency on Mono's
corlib. The classes are duplicated in this assembly so the
functionalities can be used without a dependency on Mono's
corlib (which depends on Mono's runtime).
* Unit test coverage isn't (yet) complete.
</ul>
<hr>
** Assembly: Mono.Security.Win32
<b>Rational: </b>
This assembly goal is to provide maximum compatibility with CryptoAPI
to application running with Mono's runtime on the Windows operating
system.
<b>This assembly should NEVER be used directly by any application</b>.
<b>This assembly should NEVER be used directly by any application</b>
(e.g. referecing the assembly from a project).
The classes should only be used by modifying the <code>machine.config
</code> configuration file (and then only if this increased
compatibility is required by an application).
See the file <code><a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/~checkout~/mcs/class/Mono.Security.Win32/README?rev=1.1&content-type=text/plain&cvsroot=mono">/mcs/class/Mono.Security.Win32/README</a></code>
for complete instructions.
*** Namespace: Mono.Security.Cryptography
**** Status
@@ -182,10 +205,10 @@
* Wrapper classes for unmanaged versions of hash algorithms:
MD2, MD4, MD5 and SHA1 are supported. <b>note</b>: some
algorithms shouldn't be used in new design (MD4 is broken and
MD2 isn't considered safe). They are included to preserve
interoperability with older applications (e.g. some old, but
still valid, X.509 certificates use MD2).
algorithms shouldn't be used in new design (MD4 is broken,
MD2 and MD5 aren't considered safe for some usage). They are
included to preserve interoperability with older applications
(e.g. some old, but still valid, X.509 certificates use MD2).
</ul>
**** TODO
@@ -193,11 +216,22 @@
* Wrapper classes for unmanaged versions of symmetric
encryption algorithms (like DES, TripleDES, RC2 and others
present in default CSP).
* Wrapper classes for unmanaged versions of asymmetric
algorithms (like DSA and RSA) which persist their keypair
into the specified CSP.
</ul>
**** Ideas
<ul>
* Similar assemblies (e.g. <code>Mono.Security.XXX</code>)
could be created for <a href="http://www.openssl.org">OpenSSL</a>,
<a href="http://www.mozilla.org/projects/security/pki/nss/">NSS</a>,
<a href="http://www.eskimo.com/~weidai/cryptlib.html">crypto++</a>,
<a href="http://www.cryptlib.orion.co.nz/">cryptlib</a> ... for
improved performance and/or HSM (Hardware Security Module) support
under Linux and/or Windows.
</ul>
<hr>
** Assembly: Microsoft.Web.Services
@@ -213,13 +247,13 @@
<a href="http://www.oasis-open.org/committees/wss/">OASIS</a> or
other committees.
<b>[*] There are some licensing issues to consider before stating to
<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 [*]
*** Namespace: Microsoft.Web.Services.Timestamp [*]
**** Status
<ul>
@@ -231,8 +265,8 @@
**** Status
<ul>
* Nothing (yet) commited in CVS. However the classes in this
namespace are outside WS-Security scope. So development
could be done without signing any agreements.
namespace are outside WS-Security scope. So development, for
those classes, could be done without signing this agreement.
</ul>
**** TODO
@@ -242,6 +276,12 @@
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.
</ul>
<hr>
** Tools
@@ -252,7 +292,7 @@
**** Status
The following tools are complete:
The following tools are complete (mostly complete):
<ul>
* <code>secutil</code> is a tool to extract certificates and
strongnames from assemblies in a format that can be easily
@@ -261,54 +301,78 @@
* <code>cert2spc</code> is a tool to transform multiple X.509
certificates and CRLs into a Software Publisher Certificate
(SPC) file - which is a long name for a simple PKCS#7 file.
* <code>makecert</code> to create X.509 test certificates that
can be used (once transformed in SPC) to sign assemblies. It's
now possible to generate SSL certificates for web servers.
</ul>
**** TODO
The following tools are still missing or incomplete:
Somewhat usable, somewhat incomplete:
<ul>
* <code>certview</code> is a certificate viewer for
<code>System.Windows.Forms</code> (right now only working on
Windows), while <code>gcertview</code> is the same viewer
implemented for GTK# (working on both Windows and Linux).
* <code>sn</code> is a clone of the <code>sn</code> to manage
strongnames. Current version is limited to creating new keypairs
and converting values.
* <code>monosn</code> is a clone of the <code>sn</code> to manage
strongnames. This tools is part of the runtime (not the class
library) and as such is written in C and won't run without Mono.
</ul>
**** TODO
The following tools are still missing or largely incomplete:
<ul>
* <code>signcode</code> and <code>chktrust</code> (in progress)
for signing and validating Authenticode(tm) signatures on
assemblies (or any PE file).
* <code>makecert</code> to create X.509 test certificates that
can be used (once transformed in SPC) to sign assemblies.
* Other tools like a, GUI-based, certificate manager...
</ul>
Note that many of the tools requires the class library and/or the
runtime to be ready for them.
runtime to be ready for them. E.g. StrongName and Authenticode signatures
tools are of limited use until supported by the runtime.
<hr>
** Other stuff
<ul>
* SSL/TLS for secure communication (a prototype is under way).
Some work is already visible in Mono.Security assembly (e.g.
RC4, RSAManaged ...).
</ul>
<hr>
** How to Help
Complete any of the TODO (and feel good about it ;-).
<ul>
* Complete any of the TODO (and feel good about it ;-).
Add missing unit tests to classes or methods.
* Analyse the current coverage of the unit tests on the
cryptographic classes and complete the unit tests. <b><code>
monocov</code> does a great job at this! Now we just need to
complete the missing unit tests.</b>
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 good writer (at least in English).
* Optimization can also be done on most algorithms as crypto
is never fast enough. Some have been done using the
Community Edition of BoundChecker (a free VisualStudio
addon) - recommanded! Just be sure to test every optimization
(using the unit tests) carefully - it's so fast to break an
algorithm ;-).
Optimization can also be done on algorithms as crypto is never fast
enough. Just be sure to test every optimization (using the unit test)
carefully - it's so fast to break an algorithm ;-).
* Write some documentation on the cryptographic classes for
<b>monodoc</b> as I'm not a very good writer (at least in English).
</ul>
Contact Sebastien Pouliot (<a href="mailto:[email protected]">home</a>
, <a href="mailto:[email protected]">work</a>) if you need additional
informations about the status of the cryptographic classes.
<hr>
Last reviewed: March 4, 2003 (post mono 0.21)
Last reviewed: August 9, 2003 (post mono 0.25)
+454 -97
View File
@@ -13,6 +13,435 @@
section</a>, the <a
href="http://www.go-mono.org/faq.html">FAQ</a>.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.25</b><br>
<a href="archive/mono-0.25.html">Release notes</a><br>
Jun 26, 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.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.5.tar.gz">MonoDoc 0.5</a>
<li><a href="archive/gtk-sharp-0.10.tar.gz">Gtk# 0.10</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/mono-0.25-1.ximian.5.src.rpm">mono-0.25-1.src.rpm</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.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-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>
<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/windows-36.gif"><b>Windows Setup Wizard (XP, 2000, NT)</b>
<ul>
<li><a href="archive/mono-0.25-win32-1.exe">Setup program.</a>
</ul>
</td>
</tr>
<tr>
<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.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 9.1/x86</b>
<ul>
<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>
<!--
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>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tr>
</tbody>
</table>
* Older Releases:
We provide binaries for older releases until we have packages for the new release.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.24</b><br>
<a href="archive/mono-0.24.html">Release notes</a><br>
May 6, 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.24.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.24.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</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.4</a>
<li><a href="archive/gtk-sharp-0.9.tar.gz">Gtk# 0.9</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.24-1.src.rpm">mono-0.24-1.src.rpm</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/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-0.24-1.i386.rpm">mono-0.24-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.24-1.i386.rpm">mono-devel-0.24-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.24-1.i386.rpm">mono-debuginfo-0.24-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>
</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/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.24-2.i386.rpm">mono-0.24-2.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.24-2.i386.rpm">mono-devel-0.24-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>
</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/windows-36.gif"><b>Windows Setup Wizard (XP, 2000, NT)</b>
<ul>
<li><a href="archive/mono-0.24-win32-1.exe">Setup program.</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.24-1.i386.rpm">mono-0.24-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.24-1.i386.rpm">mono-devel-0.24-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/mandrake-36.gif"><b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.24-1.i586.rpm">mono-0.24-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.24-1.i586.rpm">mono-devel-0.24-1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/suse-36.gif"><b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.24-1.i386.rpm">mono-0.24-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.24-1.i386.rpm">mono-devel-0.24-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Linux s/390</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.24-1.s390.rpm">mono-0.24-1.s390.rpm</a>
<li><a href="archive/s390/mono-devel-0.24-1.s390.rpm">mono-devel-0.24-1.s390.rpm</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.23</b><br>
<a href="archive/mono-0.23">Release notes</a><br>
March 5, 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.23.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.23.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
<li><a href="archive/xsp-0.3.tar.gz">XSP web server (0.3)</a>
<li><a href="archive/mono-debugger-0.2.2.tar.gz">Mono Debugger 0.2.2</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.23-1.src.rpm">mono-0.23-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.23-1.i386.rpm">mono-0.23-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.23-1.i386.rpm">mono-devel-0.23-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 7.2/x86</b>
<ul>
<li><a href="archive/redhat-72-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-0.23-1.i386.rpm">mono-0.23-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-devel-0.23-1.i386.rpm">mono-devel-0.23-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.1/x86</b>
<ul>
<li><a href="archive/redhat-71-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-0.23-1.i386.rpm">mono-0.23-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-devel-0.23-1.i386.rpm">mono-devel-0.23-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.23-1.i586.rpm">mono-0.23-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.23-1.i586.rpm">mono-devel-0.23-1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.23-1.i386.rpm">mono-0.23-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.23-1.i386.rpm">mono-devel-0.23-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.23-1.i386.rpm">mono-0.23-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.23-1.i386.rpm">mono-devel-0.23-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="archive/mono-0.23-win32-2.exe">Mono-Setup</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Linux S/390</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.23-1.s390.rpm">mono-0.23-1.s390.rpm</a>
<li><a href="archive/s390/mono-devel-0.23-1.s390.rpm">mono-devel-0.23-1.s390.rpm</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
@@ -32,7 +461,7 @@
<li><a href="archive/mcs-0.22.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.22.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
<!-- <li><a href="archive/xsp-0.3.tar.gz">XSP web server (0.3)</a> -->
<li><a href="archive/xsp-0.3.tar.gz">XSP web server (0.3)</a>
</ul>
</td>
</tr>
@@ -51,66 +480,7 @@
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.22-1.i386.rpm">mono-0.22-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.22-1.i386.rpm">mono-devel-0.22-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 7.2/x86</b>
<ul>
<li><a href="archive/redhat-72-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-0.22-1.i386.rpm">mono-0.22-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-devel-0.22-1.i386.rpm">mono-devel-0.22-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.1/x86</b>
<ul>
<li><a href="archive/redhat-71-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-0.22-1.i386.rpm">mono-0.22-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-devel-0.22-1.i386.rpm">mono-devel-0.22-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.22-1.i586.rpm">mono-0.22-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.22-1.i586.rpm">mono-devel-0.22-1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.22-1.i386.rpm">mono-0.22-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.22-1.i386.rpm">mono-devel-0.22-1.i386.rpm</a>
</ul>
</td>
</tr>
<!-- <tr> -->
<!-- <td bgcolor="#999999"> -->
<!-- <b>Debian packages</b> -->
<!-- <ul> -->
<!-- <li><a href="http://www.atoker.com/mono/">Alp's web site</a> -->
<!-- </ul> -->
<!-- </td> -->
<!-- </tr> -->
<tr> -->
<tr>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
@@ -135,11 +505,6 @@
</tbody>
</table>
der Releases:
We provide binaries for older releases until we have packages for the new release.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
@@ -186,14 +551,6 @@ der Releases:
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="archive/mono-0.21-win32-1.exe">Mono-Setup</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
@@ -550,7 +907,7 @@ der Releases:
</tbody>
</table>
inaries for other platforms.
* Binaries for other platforms.
Already daily volunteer's made binaries:
@@ -559,9 +916,9 @@ inaries for other platforms.
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
</ul>
apshots
* Snapshots
ame="snapshots">
<a name="snapshots">
<a href="http://www.go-mono.com/snapshots">Nightly snapshots</a> of
the CVS repository are made every day at 10pm EST (Boston
@@ -571,7 +928,7 @@ ame="snapshots">
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
Hispalinux are updated every six hours.
mpiling the code
* Compiling the code
There are a number of ways of compiling Mono
@@ -585,8 +942,8 @@ mpiling the code
(which is an easy way to get the latest CVS information)
ame="scripts">
mpiling with scripts
<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
@@ -617,14 +974,14 @@ mpiling with scripts
set your CVSROOT environment variable before running the script to
select a particular cvs server.
ame="install">
uilding the software manually
<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
*** Building on Linux
<ul>
Unpack the Mono runtime distribution:
@@ -666,9 +1023,9 @@ Building on Linux
</ul>
On Windows, to install and work on the compiler and the class libraries:
*** 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.
**** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 2.0 and pkg-config libraries.
<ul>
@@ -697,7 +1054,7 @@ On Windows, to install and work on the compiler and the class libraries:
</pre>
</ul>
On Windows, to compile the mono runtime:
*** On Windows, to compile the mono runtime:
<ul>
@@ -716,7 +1073,7 @@ On Windows, to compile the mono runtime:
</ul>
ftware resources and notes
* Software resources and notes
The required and additional software can be downloaded here:
@@ -751,7 +1108,7 @@ ftware resources and notes
</ul>
Notes on compiling GLIB 2.0 and pkg-config from source:
*** Notes on compiling GLIB 2.0 and pkg-config from source:
<ul>
@@ -766,13 +1123,13 @@ Notes on compiling GLIB 2.0 and pkg-config from source:
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
>
xzvf pkg-config-0.8.0.tar.gz
kg-config-0.8.0
nfigure --prefix=/usr
install
e>
<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
@@ -787,8 +1144,8 @@ e>
</ul>
ame="upgrading">
pgrading
<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
+22 -2
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");
@@ -107,7 +118,7 @@
The Boehm GC system needs to catch your calls to the pthreads
layer, so in each file where you use pthread.h you should
include the <gc/gc.h> file.
include the &lt;gc/gc.h&gt; file.
* Exposing C code to the CIL universe
@@ -273,6 +284,15 @@
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
** Threading issues
If your application creates threads on its own, and you want them to
be able to call code into the CIL universe with Mono, you have to
register the thread with Mono before issuing the call.
To do so, call the mono_thread_attach() function before you execute
any managed code from the thread
* Samples
See the sample programs in mono/sample/embed for examples of
+274 -99
View File
@@ -4,6 +4,7 @@
<a href="#gui">Building GUI applications with Mono</a><br>
<a href="#msft">Mono and Microsoft</a><br>
<a href="#platforms">Mono platforms</a><br>
<a href="#compatibility">Compatibility</a></br>
<a href="#pnpproject">Mono and the Portable.NET Project</a><br>
<a href="#webservices">Web Services</a><br>
<a href="#asp">Mono and ASP.NET</a><br>
@@ -129,6 +130,17 @@ A: Different parts of Mono will achieve usability at different stages,
Other higher level class libraries (ASP.NET, ADO.NET, WinForms) will
be released when they become stable.
Q: When will Mono 1.0 ship?
A: We are planning on releasing Mono 1.0 (Mono Core) which will ship all the
components of Mono that are known to be stable in Q4 2003.
This release will lack System.Windows.Forms and
Enterprise.Services, as they will not be production ready on this timeframe.
Mono 1.2 should come in Q2 2004 and include the missing components
libraries that will make Mono feature-compatible with .NET 1.0
Q: What major components will you include in Mono?
A: Hopefully everything that Microsoft ships on their Framework
@@ -271,6 +283,30 @@ 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.
Q: Why not implement System.Windows.Forms on top of Gtk# or Qt#?
A: There are several reasons for this.
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.
Q: Will I be able to run my smart clients on systems powered by Mono?
A: As long as your applications are 100% .NET and do not make use
@@ -465,6 +501,44 @@ 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.
<a name="compatibility"></a>
** Compatibility
Q: Can Mono run applications developed with the Microsoft.NET fraemwork?
A: Yes, Mono can run applications developed with the Microsft .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.
Q: Will missing API entry points be implemented?
A: Yes, the goal of Mono is to implement precisely the .NET Framework
API (as well as compile-time selectable subsets, for those
interested in a lighter version of Mono).
Q: If the behavior of an API call is different, will you fix it?
A: Yes, we will. But we will need your assistance for this. If you find a bug
in the Mono implementation, please fill a bug report in <a
href="http://bugzilla.ximian.com">http://bugzilla.ximian.com</a>.
Do not assume we know about the problem, we might not, and using the bug tracking
system helps us organize the development process.
Q: Can I develop my applications on Windows, and deploy on a supported
Mono platform (like Linux)?
A: Yes, you can.
As of today, Mono is not 100% finished, so it is sometimes useful
to compile the code with Mono, to find out if your application
depends on unimplemented functionality.
Q: Will applications run out the box with Mono?
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.
<a name="pnpproject"></a>
** Mono and Portable.NET
@@ -477,8 +551,22 @@ A: Most of Mono is being written using C#, with only
It is easier to describe what is unique about Mono:
<ul>
<li> A Just-in-Time compiler engine. This is important for
making your applications fast.
<li> An advanced native-code compilation engine: Both
just-in-time compilation (JIT) and pre-compilation of CIL
bytecodes into native code are supported.
<li> A foundation for code optimization: The new code generator in
Mono builds on the experience of our first JIT engine, and enables
us to implement various advanced compiler optimization
tricks. With an SSA-framework, plenty of new optimizations are possible.
The current list of optimizations are: Peephole postpass,
Branch optimizations, Inline method calls, Constant folding, Constant
propagation, Copy propagation, Dead code elimination, Linear scan
global reg allocation, Conditional moves, Emit per-domain code,
Instruction scheduling, Intrinsic method implementations, Tail
recursion and tail calls, Loop related optimizations, Fast x86 FP
compares, Leaf procedures optimizations
<li> A self-hosting C# compiler written in C#, which is clean, easy
to maintain.
@@ -492,38 +580,43 @@ A: Most of Mono is being written using C#, with only
systems, while the interpreter works on SPARC, StrongARM,
s390 and PowerPC systems.
<li> Supports Linux, Windows and Solaris at this point.
Our new compilation engine is being ported to the PowerPC.
<li> Supports Linux, BSD, Windows and Solaris at this point.
<li> The JIT engine is written using a portable instruction
selector which not only generates good code (we are told
that we are faster than Rotor, but it is hard to tell) but
selector which not only generates good code but
is also the foundation to re-target the JIT engine to other
systems.
The system employed is described in various compiler
books and it is very similar to what is described in the
book that covers LCC, the ANSI C retargetable C compiler.
<li> The JIT engine supports in-lining, constant folding and propagation,
<li> Full support for remoting in the runtime, but the class
libraries are still behind.
<li> Full support for remoting in the runtime.
<li> The C# compiler, the JIT engine and the class libraries are
mature enough that the whole system is self-hosting. This means that
we develop Mono completely with itself at this point.
mature enough that the whole system has been self-hosting
since April 2002. This means that we develop Mono
completely with itself at this point.
<li> We are not yet done, and there is a lot of work left to be
done
By forcing ourselves to use our own code to develop our
tools, we bug fix problems rapidly, and the system is
overall more robust and tested than if we did not.
<li> We have a great community of developers, without which Mono
would not be possible.
<li> We are working on an ahead of time compilation mode to
pre-compile code for the target architecture (this is part
of our new code generation effort).
</ul>
In general, Mono is more mature and complete since it has been used
to develop itself, which is a big motivator for stability and
correctness, while Portable.NET remains pretty much an untested
platform.
Q: I hear Mono keeps changing the P/Invoke API, why?
A: We are just fixing our implementation to be compatible with the
Microsoft implementation. In other words, the Mono P/Invoke API is
more complete when compared to the Portable.NET version, hence
various pieces of software that depend on this extended
functionality fail to work properly with Portable.NET.
<a name="webservices"></a>
** Web Services
@@ -561,10 +654,11 @@ A: Yes. The CLI contains enough information about a class that
exposing it to other RPC systems (like CORBA) is really simple, and
does not even require support from an object.
We will be implementing CORBA inter-operation as an extension to the
Mono classes so that we can integrate with Bonobo, just like
Microsoft provides COM inter-operation classes and support
mechanisms.
<a href="http://remoting-corba.sourceforge.net/">Remoting.CORBA</a> is
a CORBA implementation that is gaining momentum.
Building an implementation of the Bonobo interfaces once this is ready
should be relatively simple.
Q: Can I serialize my objects to other things other than XML?
@@ -573,21 +667,49 @@ A: Yes, although the serializing tools have not yet been planned, and
Q: Will Mono use ORBit?
A: No. Mono will be using a new implementation of CORBA that isn't still started.
A: There are a few advantages in using ORBit, like reusing existing code
and leveraging all the work done on it. Michael Meeks has posted
a few <a href="http://lists.ximian.com/archives/public/mono-list/2002-September/008592.html">reasons</a>,
as well as some <a href="http://lists.ximian.com/archives/public/mono-list/2002-September/008657.html">ideas</a>
that could be used to reuse ORBit.
Most users are likely to choose a native .NET solution, like <a href="http://cvs.gnome.org/bonsai">Remoting.CORBA</a>
<a name="monodoc"></a>
** MonoDoc
Q: What is MonoDoc?
A: MonoDoc is a graphical documentation editor and viewer. Currently, MonoDoc
consists of a Gtk# application and is in heavy development. There is also a
Qt# version of it.
A: MonoDoc is a graphical documentation browser for the Mono class
libraries. Currently, monodoc consists of a Gtk# application and is
in heavy development.
<a name="devel"></a>
** Development Tools and Issues
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.
The single biggest source of confusion seems to be the "Your
runtime is out of sync" messages. Realize that this is *normal*
while BUILDING. Think about it: you're building a new class
library with the old runtime. If the new class library references
a function that the old runtime knows nothing about, the runtime
system issues this warning.
Basically what needs to happen is for a new mono runtime to be
compiled, then the corlib class library be compiled, and once this
is done, install the new runtime, followed by corlib.
Once this is done, you can continue building your entire
environment.
Q: Will it be possible to use the CLI features without using byte codes
or the JIT?
@@ -604,6 +726,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?
@@ -631,32 +756,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
@@ -676,37 +783,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?
@@ -718,6 +815,42 @@ A: Replace the __stdcall attribute with the STDCALL macro, and include this
#define STDCALL __attribute__((stdcall))
#endif
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ó:
<i>I think that the best solution is the binfmt feature with the
wrapper that exists with Debian packages at:
<a href="http://www.debianplanet.org/mono/dists/unstable/main/source/admin/">http://www.debianplanet.org/mono/dists/unstable/main/source/admin/</a>
If you want use it with Big endian machines, you should apply a patch
(<a href="http://carlos.pemas.net/debian/mono/binfmt-detector-cli.c.diff">http://carlos.pemas.net/debian/mono/binfmt-detector-cli.c.diff</a>)
It works really good and lets you use wine also, it reads the .exe file
headers and check if it's a .net executable.
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
@@ -811,12 +944,12 @@ A: You can get very good tools for doing Java development on free
Q: Could Java target the CLI?
A: Yes, Java could target the CLI. We have details on a <a
href="ideas.html#guavac">project</a> that someone could take on to
make this happen.
A: Yes, Java could target the CLI, Microsoft's J# compiler does that.
Microsoft has an implementation of the Java language called J# that
can target the CIL execution engine.
The <a href="http://weblog.ikvm.net/">IKVM</a> project builds a
Java runtime that works on top of .NET and on top of Mono. IKVM is
essentially a JIT compiler that translates from JVM bytecodes into
CIL instructions, and then lets the native JIT engine take over.
Q: Is it possible to write a JVM byte code to CIL converter?
@@ -838,6 +971,8 @@ A: Yes, it is possible. Here are a few starting point:
be translated into the equivalent "meaning" in CLR-land.
</ul>
See also the <a href="http://weblog.ikvm.net/">IKVM project</a>
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
@@ -852,9 +987,8 @@ A: No. It is quite far from the philosophy of the project. The idea of Mono
Q: Do you plan to implement a Javascript compiler?
A: Yes. Eto Demerzal has started a Rhino port to C#.
After this is completed, we will begin developing
the JavaScript compiler.
A: Yes. The beginnings of the JScript compiler can be found on CVS.
Cesar coordinates this effort.
Q: Can Mono or .NET share system classes (loaded from mscore.dll and other
libs) or will it behave like Sun's Java VM?
@@ -896,10 +1030,13 @@ A: Embracing a good technology is good. Extending technologies in
encourage you to make those classes operate correctly well in both
Mono and .NET.
Today Mono ships with a number of extra libraries that were
developed either by members of the Mono community, or other
groups.
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 selfhosting since March 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
@@ -1131,27 +1268,61 @@ Q: Could patents be used to completely disable Mono (either submarine
patents filed now, or changes made by Microsoft specifically to
create patent problems)?
A: No. First, its basic functional capabilities have pre-existed too
long to be held up by patents. The basic components of Mono are
technologically equivalent to Sun's Java technology, which has been
around for years.
A: First some background information.
Mono will also implement multi-language and
multi-architecture support, but there are previous technologies
such as UCSD p-code and ANDF that also support multiple languages
using a common intermediate language. The libraries are similar
to other language's libraries, so again, they're too similar to
be patentable in large measure.
The .NET Framework is divided in two parts: the ECMA/ISO covered
technologies and the other technologies developed on top of it like
ADO.NET, ASP.NET and Windows.Forms.
However, if Microsoft does patent some technology, then our plan is
to either (1) work around it, (2) chop out patented pieces, (3)
find prior art that would render the patent useless.
Mono implements the ECMA/ISO covered parts, as well as being a
project that aims to implement the higher level blocks like
ASP.NET, ADO.NET and Windows.Forms.
The Mono project has gone beyond both of those components and has
developed and integrated third party class libraries, the most
important being: Debugging APIs, integration with the Gnome
platform (Accessibility, Pango rendering, Gdk/Gtk, Glade, GnomeUI),
Mozilla, OpenGL, extensive database support (Microsoft only
supports a couple of providers out of the box, while Mono has
support for 11 different providers), our POSIX integration
libraries and finally the embedded API (used to add scripting to
applications and host the CLI, or for example as an embedded
runtime in Apache).
The core of the .NET Framework, and what has been patented by
Microsoft falls under the ECMA/ISO submission. Jim Miller at
Microsoft has made a statement on the patents covering ISO/ECMA,
(he is one of the inventors listed in the patent): <a
href="https://mailserver.di.unipi.it/pipermail/dotnet-sscli/msg00218.html">here</a>.
Basically a grant is given to anyone who want to implement those
components for free and for any purpose.
The controversial elements are the ASP.NET, ADO.NET and
Windows.Forms subsets. Those are convenient for people who need
full compatibility with the Windows platform, but are not required
for the open source Mono platform, nor integration with today's
Mono's rich support of Linux.
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
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.
Not providing a patented capability would weaken the
interoperability, but it would still provide the free software /
open source software community with good development tools, which
is the primary reason for developing Mono.
The patents do not apply in countries where software patents are
not allowed.
For Linux server and desktop development, we only need the ECMA
components, and things that we have developed (like Gtk#) or Apache
integration.
<a name="etc"></a>
** Miscellaneous Questions
@@ -1238,7 +1409,8 @@ A: There are several but one that is free software and uses MCS is the one
Q: Is it possible to use Visual C++ with Mono?.
A: Well, It's possible to run VC++ generated apps under Mono though.
A: It's possible to run VC++ generated apps under Mono, but we do not
provide a Manager C++ compiler ourselves.
<a name="problems"></a>
** Mono Common Problems
@@ -1247,3 +1419,6 @@ A: Well, It's possible to run VC++ generated apps under Mono though.
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.
** Credits
The FAQ contains material contributed by Miguel de Icaza, Jaime Anguiano, Lluis Sánchez.
+11 -3
View File
@@ -6,10 +6,17 @@
libraries that are part of the
<a href="http://www.gnome.org">GNOME</a> platform .
* Wiki
There is a <a
href="http://www.nullenvoid.com/gtksharp/wiki/index.php/">Gtk#
Wiki</a>. You are encouraged to contribute to it.
** API of Gtk#
The API is browsable
<a href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">here</a>
The Gtk# API is documented using the ECMA XML document format, you can read
more about it <a href="documentation.html">here</a>. You can
also use the MonoDoc tool that ships with Gtk# documentation.
** Where to learn more.
@@ -36,7 +43,8 @@
** GTK# On Windows
<p>There is a Windows Installer for GTK# <a href="http://www.sport-huettn.de/mono/gtk-sharp-0.6-stable-2.exe">here</a>.
<p>Look at our Wiki for installation instructions <a href="http://www.nullenvoid.com/gtksharp/wiki/index.php/InstallingBeginnersGuide">here</a>
<p>If you want to build GTK# yourself on Windows:
+2 -12
View File
@@ -56,6 +56,7 @@ TODO=multimedia
<a name="projects">
** Projects
This list of projects ideas is outdated
TODO=guavac,Java compiler for .NET
* You could take one of the existing Java compilers
@@ -68,19 +69,8 @@ TODO=guavac,Java compiler for .NET
it could be compiled with the Microsoft Managed C++
compiler and produce a .NET executable with it.
TODO=CORBA,CORBA implementation
* Build a CORBA interoperability engine for the CLR.
You do not need to do all of the work, just talking
the protocol will get us a long way (<a
href="http://www.omg.org">The OMG site</a> has the
CORBA specs).
Get in touch with David Taylor (dtaylo11 at bigpond
dot net dot au) as he has been working on this
project.
TODO=Bonobo,Bonobo for Mono
* Once CORBA is done, implement the Bonobo interfaces
* Once <a href="http://remoting-corba.sourceforge.net/">CORBA</a> is done, implement the Bonobo interfaces
to allow people to use Bonobo components in Mono and
Mono components with Bonobo. The best of both worlds!
+453 -1507
View File
File diff suppressed because it is too large. Load diff
+30 -15
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
@@ -30,6 +31,7 @@
<ul>
* <a href="#Tachy">Tachy</a> (scheme-like)
* <a href="#python">Python</a>
</ul>
<a name="Java">
@@ -83,9 +85,9 @@
** 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">
@@ -103,6 +105,28 @@
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
<a name="Python">
** Python
<a href="mailto:[email protected]">Brian Lloyd</a> is
working on linking the Python runtime with the .NET runtime.
More information on the PS.NET project can be found <a
href="http://www.zope.org/Members/Brian/PythonNet/index_html">here</a>.
An FAQ document is available <a
href="http://www.zope.org/Members/Brian/PythonNet/FAQ.html">here</a>.
<a name="dotlisp">
** dotLisp
DotLisp is available from: <a
href="http://sourceforge.net/projects/dotlisp/">http://sourceforge.net/projects/dotlisp/</a>
<a name="JavaScript">
* Java Script
Cesar is working on Mono's implementation of JScript, the code
is available on CVS on module `mcs'.
* Missing languages
Here is a list of a few languages that we would like to see
@@ -111,19 +135,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
@@ -141,6 +152,10 @@
<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.
+1 -1
View File
@@ -2,7 +2,7 @@
Most of the mailing lists are in english, but there is also
Mono Hispano that has lists in Spanish. <a
href="http://mono.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
href="http://www.monohispano.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
There are a number of mailing lists for Mono in English:
+28 -18
View File
@@ -155,27 +155,37 @@ export PKG_CONFIG_PATH
# /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS. We could
# skip this if it would add /usr/include and /usr/lib, but leaving it
# shouldnt break anything.
iconvdirs="/usr/include /usr/local/include"
for i in $iconvdirs
do
if [ -f $i/iconv.h ]; then
iconvh_dir=$i
break
fi
done
#
# Actually, it does break stuff :-( gcc 3.2 prints gratuitous warnings
# and configure fails to find header files because of this cpp output.
if [ -z "$iconvh_dir" ]; then
echo "Can't find iconv headers (looked in $iconvdirs)"
exit -1
if [ ! -f /usr/include/iconv.h ]; then
iconvdirs="/usr/local/include"
for i in $iconvdirs
do
if [ -f $i/iconv.h ]; then
iconvh_dir=$i
break
fi
done
if [ -z "$iconvh_dir" ]; then
echo "Can't find iconv headers (looked in $iconvdirs)"
exit -1
fi
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
echo "Adding $iconvh_dir to CPPFLAGS"
echo "Adding $iconvlib_dir to LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
else
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
fi
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
echo "Adding $iconvh_dir to CPPFLAGS"
echo "Adding $iconvlib_dir to LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
export CPPFLAGS
export LDFLAGS
+194
View File
@@ -0,0 +1,194 @@
* Mono hacking TODO list
From time to time people that want to contribute to Mono ask
on the mailing list what they can help with. The generic
answer is always:
<ul>
* Write documentation.
* Write regression tests.
* Complete the implementations of the class libraries.
* Help fix the bugs filed in our bugzilla database.
</ul>
The proposed tasks are very important for the Mono project and
are suitable for people that can dedicate even just an hour
per week to contribute. But some people may need something
more focused to work on, such as students that want to do a
thesis on their contribution to Mono. For such people (and
also for professors who want ideas for thesis regarding JIT or
VM technologies), here is a list of tasks that need attention.
The estimated time to complete any of the tasks is between 1
week to several months to accomodate for different hacking
possibilities.
Note on the time estimates: they are very rough estimates, a
smart and dedicated hacker can complete the tasks in half of
the minimum time, a part-time hacker that also has a social
life can take more than double the max time, but there's
nothing to worry as long as progress is being done.
If some people (or group of people) want to take on a task,
they should write to the mono-devel mailing list and in the
relative bugzilla bug report. Discussions about how to
implement a feature or additional information on the task
should be mailed to the list or in the bugzilla report as well
so that people can keep informed on the progress or have the
information needed to start contributing.
Mono is an excellent platform for research on JITs, virtual
machines and specifically the CLR because it provides an
advanced free software implementation that can be used as a
basis for more optimizations, new approaches to problems and
new features.
There are different areas of interest where high-level
contributions can be made:
<ul>
* <b>JIT compiler</b>: tasks can be: adding more optimizations, reducing
compile time, porting to different architectures.
* <b>AOT compiler</b>: optimizing the compiler output and the AOT loader,
better support for multiple application domains.
* <b>VM runtime</b>: optimizing the runtime data structures, experimenting with
different garbage collectors, integration with different component models.
* <b>Class library</b>: many opportunities in the implementation of regular
expressions, Xml related technologies (XPath, XLST, etc).
* <b>Compilers</b>: writing compilers, interpreters and runtimes for langauges
so that they run on the CLR (using Reflection.Emit support, for example).
</ul>
Happy hacking!
<table border=1 cellspacing="0" cellpadding="0">
<tr>
<th>Area<th>Description<th>Difficulty<th>Time estimate<th>Bugzilla ID
</tr>
<tr>
<td>Runtime (mono/metadata)
<td>Optimize method vtable. Currently all the methods in a class
are added to the method vtable, including static and non-virtual methods.
This makes vtables bigger and the instructions to access them are longer,
increasing also code size. Some code in metadata/icall.c and maybe also some
remoting code may depend on the current layout: such code should be fixed as well.
<td>Medium
<td>1-2 weeks
<td>not assigned
</tr>
<tr>
<td>System assembly (mcs/class/System/)
<td>Implement the IL-based regular expression engine. Instead of
intepreting the regular expression pattern, a method is created at runtime using
Reflection.Emit. This makes for faster pattern matching because there is no
intepreter overhead and the matching code is jitted to fast native code.
Bonus points if the compiled regular expression is compatible with the ones generated
by the MS runtime.
<td>Medium-hard (thesis subject)
<td>2-4 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement common subexpression elimination.
Global and local common subexpression elimination needs to be implemented
to achieve better performance. The local case is easier and may take just one month.
It should be implemented in the context of the SSA framework (mini/ssa.c).
<td>Hard (thesis subject)
<td>2-4 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Optimize AOT compiler output.
Currently the code generated by the AOT compiler may be significantly slower than
jitted code. This is mostly because the AOT code supports multiple application domains
and some values that are constant at JIT-time are not constant at AOT-time. It may be
needed to write a simple dynamic linker and/or binary object writer. Bonus poinst if
it supports ELF, PE/COFF and mach-O binary formats. A possible idea for improvements
is also the use of appdomain ID-indexed tables to get at the appdomain specific data.
<td>Medium-hard (thesis subject)
<td>3-6 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement generics support.
We need to add support for the additional instructions and change existing ones to
support the generics requirements.
<td>Medium-hard
<td>2-3 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Port the JIT to additional architectures.
Currently ports are in the works for ppc, arm, sparc, s390. None of the ports
are as feature-complete as the x86 one, yet, so help is needed in getting them
up to speed. Ports to more architectures are welcome as well.
<td>Medium-hard
<td>3-6 months per arch
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Add support for COM and/or XPCOM and/or ORBit.
We need a way to seamlessy use existing component technologies inside the mono runtime.
The COM support needs to match the MS runtime behaviour and is targeted at windows systems.
XPCOM and ORBit support are important on Unix platforms. Bonus points for developing
the runtime support so that different component systems can be used at the same time.
<td>Medium-hard (thesis subject)
<td>3-4 months for each
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for Code Access Security.
Support needs to be added to the JIT and the runtime to ensure
code that executes privileged operations is permitted to do so.
The task includes loading the security information from metadata,
collecting evidence, inserting calls to the permission objects,
stack walking to collect security info.
<td>Medium-hard (thesis subject)
<td>4-5 months
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for a generational GC.
We're currently using a conservative non-moving GC.
Support for a generational and moving GC requires changes to the JIT
(to record locations in frames as well as registers that may contain
pointers to GC-allocated memory) and to the runtime code (when
objects are manipulated directly we should make sure they are pinned
and reachable by the GC also in the C unmanaged code). Code from an existing
precise GC such as the ORP one could be reused or a new GC may be developed
(increasing the estimated development time).
<td>Hard (thesis subject)
<td>6-8 months
<td>not assigned
</tr>
<tr>
<td>Compilers for dynamic languages
<td>Write a IL compiler and runtime support for dynamic languages like
Python, Perl, Ruby, PHP.
<td>Medium-hard (thesis subject)
<td>6-12 months
<td>not assigned
</tr>
</table>
+1507
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -2,7 +2,7 @@
<ul>
<li><a href="http://mono.es.gnome.org">Mono
<li><a href="http://www.monohispano.org">Mono
Hispano</a>: The spanish-speaking community of Mono
developers and users. They have quite a number of
unique documents and tutorials.
@@ -31,4 +31,4 @@
</ul>
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
MANAGED_CALLS=`gdb -silent $1 -pid $2 << EOF | awk '/.* in \?\? \(\)/ {printf("call print_method_from_ip(%s)\n", $2);}'
set height 0
thread apply all bt
quit
EOF`
gdb -silent $1 -pid $2 << EOF
set height 0
thread apply all bt
$MANAGED_CALLS
quit
EOF
+33 -7
View File
@@ -18,7 +18,7 @@
standard GNOME interfaces for easily creating reusable,
language independent components, controls and compound
documents. This technology is known as <a
href="http://developer.ximian.com/tech/bonobo.html">Bonobo</a>.
href="http://developer.ximian.com/articles/whitepapers/bonobo">Bonobo</a>.
Interfaces to Bonobo exist for C, Perl, Python, and
Java.
@@ -134,25 +134,51 @@
** What makes up Mono?
There are various pieces that will make up Mono:
There are various pieces that make up Mono today:
<ul>
* A C# compiler.
* The Virtual Execution System: that will have the
* The Virtual Execution System: that has the
Just-in-Time compiler, garbage collector, loader,
threading engine.
A byte code interpreter will be provided for quickly
A byte code interpreter is provided for quickly
porting Mono to new systems and debugging the JIT
purposes, but it is not intended to be the ideal
execution environment.
* An implemenation of the .NET class library.
* An implemenation of the .NET class libraries:
Remoting, Reflection, Reflection.Emit, Xml, Xpath,
Xslt, Xml Serialization, Web Services support.
* Visual development tools.
* Cross platform class libraries for data access:
Postgress, MySQL, DB2, TDS, Sybase, Oracle, ODBC and
Gnome's GDA.
* A CIL GCC frontend.
* Unix class libraries: Mono.Posix
* Gnome-specific class libraries: The Gtk# family.
* A code pre-compiler to generate native code ahead of
time.
* Gtk# a toolkit to develop GNOME applications on Unix
and Windows.
* An implementation of the Remoting infrastructure in
.NET
</ul>
Other work-in-progress components:
<ul>
* A VB.NET compiler and JScript compilers are in the works.
* Web services on the server side.
* We are planning to include Remoting.CORBA as part of
Mono standard distribution.
</ul>
** Why use GNOME components?
+19 -6
View File
@@ -11,8 +11,8 @@
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
The Microsoft .NET Framework 1.0 can be downloaded <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
The Microsoft .NET Framework 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>
@@ -28,11 +28,16 @@
The Mono Tutorial:
<a href="http://http://go-mono.com/gnometutorial/">GNOME.NET Tutorial</a>
<a href="http://go-mono.com/tutorial/">GNOME.NET Tutorial</a>
and other useful tutorials (Gtk#, Glade#, Embeded, etc) (in Spanish) at
<a href="http://mono.es.gnome.org">The Mono Hispano site</a>.
<a href="http://www.monohispano.org">The Mono Hispano site</a>.
Community site for Mono at <a href="http://www.gotmono.com">Got Mono</a>
Wikis: <a href="http://www.nullenvoid.com/gtksharp/wiki">Gtk# Wiki</a>
and <a href="http://www.nullenvoid.com/mono/wiki">Mono Wiki</a>.
Sergey's web page on Mono resources:
@@ -42,6 +47,10 @@
<a href="http://www.gotdotnet.com">Got Dot Net</a>
Got Mono:
<a href="http://www.gotmono.com">Got Mono</a>
MonoMail:
<a href="http://sourceforge.net/projects/monomail/">http://sourceforge.net/projects/monomail/</a>
@@ -78,8 +87,8 @@
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>
@@ -136,6 +145,10 @@
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
creating online documentation you can browse for your own classes.
* <a
href="http://www.cl.cam.ac.uk/~jds31/research/gccnet/">GCC .NET backend</a>.
Jeremy Singer has developed a .NET backend for GCC. This is research work.
</ul>
<li><b>Class Libraries</b></li>
+71 -37
View File
@@ -1,23 +1,22 @@
* The Mono runtime
The Mono runtime implements a JIT engine for the CIL virtual
machine (as well as a byte code interpreter, this is to
quickly port it to new systems), the class loader, the garbage
collector, threading system and metadata access libraries.
The Mono runtime engine is considered feature complete.
It implements a Just-in-Time compiler engine for the CIL
virtual machine, the class loader, the garbage collector,
threading system and metadata access libraries.
We currently have two runtimes:
<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.
</ul>
Currently we are using the Bohem conservative garbage
collector.
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
@@ -31,12 +30,52 @@
href="http://primates.ximian.com/~lupus/slides/jit/">slides
here</a>
** Current JIT Engine (<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,28 +122,13 @@
</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
Currently we are using the Boehm conservative GC. Although our plans
are to move to the Intel ORP GC engine, our plans on a next generation
dual-JIT engine have to be taken into account.
We will be using the Intel ORP GC engine as it provides a precise
We are using the Boehm conservative GC. We might consider
adopting other GC engines in the future, like the Intel ORP GC
engine. The Intel ORP GC engine as it provides a precise
garbage collector engine, similar to what is available on the
.NET environment.
Although using a conservative garbage collector like Bohem's
would work, all the type information is available at runtime,
so we can actually implement a better collector than a
conservative collector.
.NET environment.
<ul>
* Garbage collection list and FAQ:<br>
@@ -119,7 +152,7 @@
The ECMA runtime and the .NET runtime assume an IO model and a
threading model that is very similar to the Win32 API.
Dick Porter has been working on the Mono abstraction layer
Dick Porter has developed WAPI: the Mono abstraction layer
that allows our runtime to execute code that depend on this
behaviour.
@@ -148,7 +181,8 @@
as well as talking to system libraries.
Initially we used libffi, but it was fairly slow, so we have
reused parts of the JIT work to create efficient PInvoke trampolines.
reused parts of the JIT work to create efficient PInvoke
trampolines.
** Remoting
+80 -4
View File
@@ -51,6 +51,14 @@
</tr>
</table>
** Eclipse running with Mono
Zoltan Varga made the Java VM for .NET <a
href="http://www.ikvm.net">IKVM</a> run <a
href="http://www.eclipse.org">Eclipse</a>, the IBM Open Source IDE.
<a href="images/ikvm-screenshot.png"><img src="images/ikvm-screenshot-thumb.png"></a>
** Mono Basic
The Mono Basic compiler ships with the Mono distribution.
@@ -127,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>
@@ -143,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>
@@ -150,4 +179,51 @@
</td>
</tr>
</table>
** Mono running on the iPaq
<table border=1>
<tr>
<td>
<img src="images/familiar-mint-hello.png">
</td>
</tr>
</table>
** Mono Certificate Viewer
<table border=1>
<tr>
<td>
<img src="images/swf-certview.png">
</td>
</tr>
<tr>
<td>
running on Windows using SWF
</td>
</tr>
<tr>
<td>
<img src="images/gtk-certview.png">
</td>
</tr>
<tr>
<td>
running on Linux (RH9) using GTK#
</td>
</tr>
</table>
** SkyNET
SkyNET is written in C# and uses GTK# for displaying a star chart.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/skynet.png">
</td>
</tr>
</table>
-2
View File
@@ -1,2 +0,0 @@
* The MonoNet Team
+10 -49
View File
@@ -24,7 +24,7 @@
<b>mcs/class/doc/TemplateTest.cs</b>
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the [text] markers with
(see below), and replace all the {text} markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
@@ -41,29 +41,22 @@
the appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see
examples in the AllTests.cs file, so just copy and paste
inside there.
Once all of that is done, you can do a 'make test' from the top mcs
directory. Your test class will be automagically included in the
build and the tests will be run along with all the others.
* Tips on writing Unit tests.
You should look at the NUnit documentation, as it is a
fantastic product, and includes fantastic documentation, but
here are some tips for those of you who are already reading
You should look at the <a href="http://nunit.org">NUnit documentation</a>,
as it is a fantastic product, and includes fantastic documentation,
but here are some tips for those of you who are already reading
this web page.
** Provide an unique error message for Assert()
Include an unique message for each Assert() so that when the assert
fails, it is trivial to locate the failing one. Otherwise, it may be
fails, it is trivial to locate it in the source. Otherwise, it may be
difficult to determine which part of the test is failing. A good way
to ensure unique messages is to use something like #A01, #A02 etc.
@@ -104,43 +97,10 @@
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
** Constructors
When writing your testcase, please make sure to provide a constructor
which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
** Namespace
Please keep the namespace within each test directory consistent - all
tests which are referenced in the same AllTests.cs must be in the same
namespace. Of course you can use subnamespaces as you like -
especially for subdirectories of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests" and you
have a subdirectory called "System", you can put all the tests in that
dir into namespace "MonoTests.System".
** Test your test with the Microsoft runtime
If possible, try to run your testsuite with the Microsoft runtime on
Windows and make sure all tests in it pass. This is especially
.NET on Windows and make sure all tests in it pass. This is especially
important if you're writing a totally new testcase - without this
check you can never be sure that your testcase contains no bugs ....
@@ -151,9 +111,10 @@
result when run with the Microsoft runtime - either because there is a
bug in their runtime or something is misleading or wrong in their
documentation. In this case, please put a detailed description of the
problem to mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time to help
them fix their documentation and runtime.
problem to mcs/class/doc/API-notes and do also report it to the
<a href="mailing-lists">mailing list</a> - we'll forward this to the
Microsoft people from time to time to help them fix their documentation
and runtime.
** Unit tests.
+3 -1
View File
@@ -2,7 +2,9 @@
1,FAQ,faq.html,faq.src
1,News archive,http://monoevo.sf.net/mwn/archives.html
1,Screenshots,screenshots.html,screenshots.src
1,Team,team.html,team.src
1,Other sites,other.html,other.src
1,Old News,oldnews.html,oldnews.src
0,Mono,rationale.html,rationale.src
1,Runtime,runtime.html,runtime.src
2,Embedding,embedded-api.html,embedded-api.src
@@ -19,8 +21,8 @@
1,Hackers,hackers.html,hackers.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Doc format,monodoc-xml.html,monodoc-xml.src
1,Test Suite,testing.html,testing.src
1,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
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+30 -17
View File
@@ -1,6 +1,9 @@
ROOT=C:/WINNT
CSCRIPT = $(ROOT)/system32/cscript.exe
CSC=csc
ifeq ($(findstring CYGWIN,$(shell uname)),)
CSC=mcs
RUN_MONO=mono
else
CSC=csc /nologo
endif
CORCOMPARE=../../../mcs/tools/corcompare
@@ -35,6 +38,7 @@ OBJECTS= \
deploy/ideas.html \
deploy/ibmdb2.html \
deploy/index.html \
deploy/oldnews.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/languages.html \
@@ -42,6 +46,7 @@ OBJECTS= \
deploy/mbas.html \
deploy/mono-beginning.html \
deploy/mono-contribution-howto.html \
deploy/mono-todo.html \
deploy/monodoc-xml.html \
deploy/other.html \
deploy/papers.html \
@@ -55,6 +60,7 @@ OBJECTS= \
deploy/runtime.html \
deploy/screenshots.html \
deploy/status.html \
deploy/team.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html \
@@ -74,7 +80,7 @@ OBJECTS= \
deploy/class-status-Cscompmgd.html \
deploy/class-library.html \
deploy/classlib-doc.html
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
@@ -85,9 +91,10 @@ NON_HTML_SOURCES= \
../mono-build.sh \
../mono-build-w32.sh
all: $(OBJECTS) deploy/index.rss
all: $(OBJECTS) deploy/index.rss ../team
perl process.pl commands template.html.in deploy
-mkdir deploy/team
cp team/*png deploy/team
tutorial: mono-beginning.html.stamp mono-beginning.pdf
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
@@ -103,18 +110,24 @@ mono-beginning.xml: ../mono-beginning.xml
cp ../mono-beginning.xml .
deploy/index.rss: mono-rss.exe ../index
./mono-rss.exe ../index deploy/index.rss
$(RUN_MONO) ./mono-rss.exe ../index deploy/index.rss
mono-rss.exe: mono-rss.cs rss.cs
$(CSC) mono-rss.cs rss.cs
../team: render-team-page.exe team.xml
$(RUN_MONO) ./render-team-page.exe team.xml "../team"
render-team-page.exe: render-team-page.cs
$(CSC) render-team-page.cs
clean:
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
push:
cp -f $(NON_HTML_SOURCES) deploy
echo scp -P 2200 -r deploy/* www@www.ximian.com:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh -p 2200' . www@www.ximian.com:/web/cvsmodules/mono )
echo scp -P 2200 -r deploy/* www@www.go-mono.com:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh' . www@www.go-mono.com:/web/cvsmodules/mono )
push2:
scp -r deploy/* primates:public_html/xxx
@@ -123,34 +136,34 @@ $(OBJECTS): $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
#.PRECIOUS: $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
transform.exe: transform.cs
$(CSC) transform.cs
.PRECIOUS: src/%.src
src/%.src: ../% commands makefile template.html.in
src/%.src: ../% commands template.html.in #makefile
perl htmlify $< > $@
.PRECIOUS: ../class-status-%
../class-status-%: src/%.html.in ../class-status.in
cat ../class-status.in $< > $@
.PRECIOUS: src/%.html.in
src/%.html.in: src/%.xml $(CORCOMPARE)/transform.js $(CORCOMPARE)/cormissing.xsl
$(CSCRIPT) /nologo $(CORCOMPARE)/transform.js $< $(CORCOMPARE)/cormissing.xsl > $@
src/%.html.in: src/%.xml transform.exe $(CORCOMPARE)/cormissing.xsl
$(RUN_MONO) ./transform.exe $< $(CORCOMPARE)/cormissing.xsl > $@
.PRECIOUS: src/%.xml
src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -x $@ $<
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -x $@ $<
src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
src/System.Security.xml: ../../../mcs/class/lib/System.Security_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -f System.Security -ms System.Security -x $@ $<
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f System.Security -ms System.Security -x $@ $<
../class-status: ../class-status.in
cp -f $< $@
+352
View File
@@ -0,0 +1,352 @@
//
// RenderTeamPage.cs - Renders an HTML page with team member information from an XML file
//
// Author: Duncan Mak ([email protected])
//
// (C) Copyright 2003, Ximian Inc.
//
using System;
using System.Collections;
using System.IO;
using System.Text;
using System.Xml;
class Write {
static Contributor [] list;
static public XmlNamespaceManager nsmgr;
static void Main (string [] args)
{
if (args.Length != 2) {
Console.WriteLine ("write.exe <input.xml> <output.html>");
Environment.Exit (0);
}
string input = args [0];
string output = args [1];
XmlDocument document = new XmlDocument ();
document.Load (input);
nsmgr = new XmlNamespaceManager (document.NameTable);
nsmgr.AddNamespace ("t", "http://go-mono.org/team.xsd");
XmlNodeList contributors = document.SelectNodes ("/t:contributors/t:contributor", nsmgr);
list = new Contributor [contributors.Count];
Page p = new Page ();
int count = 0;
foreach (XmlNode n in contributors) {
list [count] = new Contributor (n, p.Document);
count ++;
}
Array.Sort (list, new ContributorComparer ());
int length = list.Length % 2 == 0 ? list.Length : list.Length + 1;
int i = 0;
while (i < length) {
try {
p.AddRow (list [i].RenderHtml (), list [i + 1].RenderHtml ());
} catch (IndexOutOfRangeException) {
p.AddRow (list [i].RenderHtml (), null);
}
i += 2;
}
p.Write (output);
}
}
public class ContributorComparer : IComparer
{
public int Compare (object x, object y)
{
return String.Compare (x.ToString (), y.ToString ());
}
}
class Contributor {
public Name name;
public string email;
public string image;
public string location;
public string organization;
public string description;
public string[] tasks;
public XmlDocument document;
public Contributor (XmlNode node, XmlDocument document)
{
name = GetName (node);
image = GetImage (node);
email = GetField (node, "t:e-mail");
location = GetField (node, "t:location");
organization = GetField (node, "t:organization");
description = GetField (node, "t:description");
tasks = GetTasks (node);
this.document = document;
}
public override string ToString ()
{
return name.ToString ();
}
public static string GetImage (XmlNode node)
{
string result = GetField (node, "t:image");
if (result == String.Empty)
return "none.png";
else
return result;
}
public static string GetField (XmlNode node, string selector)
{
XmlNode result = node.SelectSingleNode (selector, Write.nsmgr);
if (result == null)
return String.Empty;
return result.InnerText;
}
public static Name GetName (XmlNode node)
{
string first_name = GetField (node, "t:name/t:first-name");
string last_name = GetField (node, "t:name/t:last-name");
return new Name (first_name, last_name);
}
public static string [] GetTasks (XmlNode node)
{
XmlNodeList nodes = node.SelectNodes ("t:tasks/t:task", Write.nsmgr);
string [] result = new string [nodes.Count];
int i = 0;
foreach (XmlNode n in nodes) {
result [i] = n.InnerText;
i++;
}
return result;
}
public XmlElement RenderHtml ()
{
XmlElement root = document.CreateElement ("td");
XmlElement table = document.CreateElement ("table");
table.SetAttribute ("cellPadding", "0");
table.SetAttribute ("border", "0");
XmlElement tr = document.CreateElement ("tr");
XmlElement td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#c3cda7");
td.SetAttribute ("valign", "top");
td.SetAttribute ("width", "1%");
tr.AppendChild (td);
table.AppendChild (tr);
root.AppendChild (table);
XmlElement img = document.CreateElement ("img");
img.SetAttribute ("align", "top");
img.SetAttribute ("border", "0");
img.SetAttribute ("height", "48");
img.SetAttribute ("width", "48");
img.SetAttribute ("src", "team/" + image);
td.AppendChild (img);
td = document.CreateElement ("TD");
td.SetAttribute ("bgcolor", "#c3cda7");
td.SetAttribute ("valign", "bottom");
td.SetAttribute ("width", "100%");
tr.AppendChild (td);
td.AppendChild (name.ToXml (document));
td.AppendChild (document.CreateElement ("br"));
td.AppendChild (RenderEmail ());
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Location: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (document.CreateTextNode (location));
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Description: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (document.CreateTextNode (description));
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Tasks: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderTasks ());
return root;
}
public XmlNode RenderTasks ()
{
XmlElement element = document.CreateElement ("ol");
element.SetAttribute ("type", "I");
foreach (string task in tasks) {
XmlElement li = document.CreateElement ("li");
li.AppendChild (document.CreateTextNode (task));
element.AppendChild (li);
}
return element;
}
public XmlNode RenderEmail ()
{
XmlElement a = document.CreateElement ("a");
a.SetAttribute ("href", "mailto:" + email);
XmlElement font = document.CreateElement ("font");
font.SetAttribute ("size", "3");
XmlText t = document.CreateTextNode (email);
a.AppendChild (font);
font.AppendChild (t);
return a;
}
public XmlNode RenderLabel (string label)
{
string text = String.Format ("{0}: ", label);
XmlElement element = document.CreateElement ("b");
XmlText t = document.CreateTextNode (label );
element.AppendChild (t);
return element;
}
}
class Page {
XmlDocument document;
XmlElement tbody;
public Page ()
{
document = new XmlDocument ();
XmlElement table = document.CreateElement ("table");
document.AppendChild (table);
tbody = document.CreateElement ("tbody");
table.AppendChild (tbody);
}
public XmlDocument Document {
get { return document; }
}
public void AddRow (XmlNode left, XmlNode right)
{
if (left == null && right == null)
return;
XmlElement tr = document.CreateElement ("tr");
tbody.AppendChild (tr);
tr.AppendChild (left);
if (right == null)
tr.AppendChild (document.CreateElement ("td"));
else {
tr.SetAttribute ("valign", "top");
tr.AppendChild (right);
}
}
public void Write (TextWriter text_writer)
{
XmlTextWriter writer = new XmlTextWriter (text_writer);
writer.Formatting = Formatting.Indented;
document.WriteContentTo (writer);
writer.Flush ();
}
public void Write (string filename)
{
XmlTextWriter writer = new XmlTextWriter (filename, Encoding.Default);
writer.Formatting = Formatting.Indented;
document.WriteContentTo (writer);
writer.Flush ();
}
}
class Name {
string first_name;
string last_name;
public Name (string a, string b)
{
this.first_name = a;
this.last_name = b;
}
public override string ToString ()
{
if (first_name == null && last_name == null)
return String.Empty;
return first_name + " " + last_name;
}
public XmlNode ToXml (XmlDocument document)
{
XmlElement element = document.CreateElement ("font");
element.SetAttribute ("size", "3");
XmlElement b = document.CreateElement ("B");
XmlText t = document.CreateTextNode (ToString ());
b.AppendChild (t);
element.AppendChild (b);
return element;
}
}
+1471
View File
File diff suppressed because it is too large. Load diff
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<xs:schema id="contributors" targetNamespace="http://go-mono.org/team.xsd" xmlns="http://go-mono.org/team.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="contributor">
<xs:complexType>
<xs:sequence>
<xs:element name="name" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="first-name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="last-name" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="e-mail" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="image" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="location" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="organization" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="tasks" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="task" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Xml;
using System.Xml.Xsl;
namespace Transform
{
class Transform
{
public static void Main (string [] rgstrArgs)
{
XmlDocument xml = new XmlDocument ();
xml.Load (rgstrArgs [0]);
XslTransform xsl = new XslTransform ();
xsl.Load (rgstrArgs [1]);
xsl.Transform (xml, null, Console.Out);
}
}
}
+44 -5
View File
@@ -1,5 +1,40 @@
* System.Windows.Forms
Currently Windows.Forms support is not finished.
The System.Windows.Forms effort is taking two paths:
<ul>
<li>Win32/Wine-based: This effort will use the Win32
API, and use a stub program to run the with Wine.
This allows applications that use P/Invoke to
function, and event delivery through the Wndproc
method to work for the most advanced and custom
applications. This is the path of best compatibility.
Also, work on a Gtk-based rendered for Wine will be
done, to make the user interface integrate with your
desktop look.
<li>Gtk# based: This effort will build a subset of
Windows.Forms that uses Gtk#. This gives a better
integration with the desktop, but will not be
completely compatible with the Windows edition. In
particular code that uses P/Invoke to call into Win32
or overwrite the Wndproc method to achieve special
effects will not work.
</ul>
* Win32/Wine edition.
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). 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>
<td>
@@ -17,11 +52,6 @@
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.
There are no current plans to support embedded devices, but
Gtk/FrameBuffer is an option. If you have suggestions or
recommendations, please let us <a
href="mailto:[email protected]">let us know</a>
</td>
<td>
<a href="images/WINESWF.JPG"><img src="images/WINESWF-mini.JPG"></a>
@@ -29,6 +59,15 @@
</table>
* Gtk# based
The code is contained in CVS.
There are no current plans to support embedded devices, but
Gtk/FrameBuffer is an option. If you have suggestions or
recommendations, please let us <a
href="mailto:[email protected]">let us know</a>
* Contributing
The Winforms effort is being coordinated in the <a
+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
+44
View File
@@ -0,0 +1,44 @@
Mono Ahead Of Time Compiler
===========================
The new mono JIT has sophisticated optimization features. It uses SSA and has a
pluggable architecture for further optimizations. This makes it possible and
efficient to use the JIT also for AOT compilation.
* file format: We use the native object format of the platform. That way it is
possible to reuse existing tools like objdump and the dynamic loader. All we
need is a working assembler, i.e. we write out a text file which is then
passed to gas (the gnu assembler) to generate the object file.
* file names: we simply add ".so" to the generated file. For example:
basic.exe -> basic.exe.so
corlib.dll -> corlib.dll.so
* staring the AOT compiler: mini --aot assembly_name
The following things are saved in the object file:
* version infos:
* native code: this is labeled with method_XXXXXXXX: where XXXXXXXX is the
hexadecimal token number of the method.
* additional informations needed by the runtime: For example we need to store
the code length and the exception tables. We also need a way to patch
constants only available at runtime (for example vtable and class
addresses). This is stored i a binary blob labeled method_info_XXXXXXXX:
PROBLEMS:
- all precompiled methods must be domain independent, or we add patch infos to
patch the target doamin.
- the main problem is how to patch runtime related addresses, for example:
- current application domain
- string objects loaded with LDSTR
- address of MonoClass data
- static field offsets
- method addreses
- virtual function and interface slots
+42
View File
@@ -0,0 +1,42 @@
HOWTO bundle assemblies inside the mono runtime.
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.
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.
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
+12 -11
View File
@@ -56,19 +56,20 @@ leave: is simply translated into a branch to the target. If the leave
instruction is inside a finally block (but not inside another handler)
we call the finally handler before we branch to the target.
finally/endfinally: is translated into subroutine ending with a "return"
statement. The subroutine does not save EBP/ESP, because we need access to the
local variables of the enclosing method. We have to use a "call"
instruction to execute such finally handlers. This makes it possible to
execute them inside the stack unwinding code.
finally/endfinally, filter/endfilter: is translated into subroutine ending with
a "return" statement. The subroutine does not save EBP, 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. This makes it
also possible to execute them inside the stack unwinding code. The exception
object for filters is passed in a local variable (cfg->exvar).
throw: we first save all regs into a sigcontext struct (we pass the
exception object in register ECX), and then call the stack unwinding
code.
catch handler: receives the exception object in ECX. They store that
object into a local variable, so that rethrow can access the object.
throw: we first save all regs into a sigcontext struct and then call the stack
unwinding code.
catch handler: catch hanlders are always called from the stack unwinding
code. The exception object is passed in a local variable (cfg->exvar).
gcc support for Exceptions
==========================
+208
View File
@@ -0,0 +1,208 @@
* Proposal for the local register allocator
The local register allocator deals with allocating registers
for temporaries inside a single basic block, while the global
register allocator is concerned with method-wide allocation of
variables.
The global register allocator uses callee-saved register for it's
purpouse so that there is no need to save and restore these registers
at call sites.
There are a number of issues the local allocator needs to deal with:
*) some instructions expect operands in specific registers (for example
the shl instruction on x86, or the call instruction with thiscall
convention, or the equivalent call instructions on other architectures,
such as the need to put output registers in %oX on sparc)
*) some instructions deliver results only in specific registers (for example
the div instruction on x86, or the call instructionson on almost all
the architectures).
*) it needs to know what registers may be clobbered by an instruction
(such as in a method call)
*) it should avoid excessive reloads or stores to improve performance
While which specific instructions have limitations is architecture-dependent,
the problem shold be solved in an arch-independent way to reduce code duplication.
The register allocator will be 'driven' by the arch-dependent code, but it's
implementation should be arch-independent.
To improve the current local register allocator, we need to
keep more state in it than the current setup that only keeps busy/free info.
Possible state information is:
free: the resgister is free to use and it doesn't contain useful info
freeable: the register contains data loaded from a local (there is
also info about _which_ local it contains) as a result from previous
instructions (like, there was a store from the register to the local)
moveable: it contains live data that is needed in a following instruction, but
the contents may be moved to a different register
busy: the register contains live data and it is placed there because
the following instructions need it exactly in that register
allocated: the register is used by the global allocator
The local register allocator will have the following interfaces:
int get_register ();
Searches for a register in the free state. If it doesn't find it,
searches for a freeable register. Sets the status to moveable.
Looking for a 'free' register before a freeable one should allow for
removing a few redundant loads (though I'm still unsure if such
things should be delegated entirely to the peephole pass).
int get_register_force (int reg);
Returns 'reg' if it is free or freeable. If it is moveable, it moves it
to another free or freeable register.
Sets the status of 'reg' to busy.
void set_register_freeable (int reg);
Sets the status of 'reg' to freeable.
void set_register_free (int reg);
Sets the status of 'reg' to free.
void will_clobber (int reg);
Spills the register to the stack. Sets the status to freeable.
After the clobbering has occurred, set the status to free.
void register_unspill (int reg);
Un-spills register reg and sets the status to moveable.
FIXME: how is the 'local' information represented? Maybe a MonoInst* pointer.
Note: the register allocator will insert instructions in the basic block
during it's operation.
* Examples
Given the tree (on x86 the right argument to shl needs to be in ecx):
store (local1, shl (local1, call (some_arg)))
At the start of the basic block, the registers are set to the free state.
The sequence of instructions may be:
instruction register status -> [%eax %ecx %edx]
start free free free
eax = load local1 mov free free
/* call clobbers eax, ecx, edx */
spill eax free free free
call mov free free
/* now eax contains the right operand of the shl */
mov %eax -> %ecx free busy free
un-spill mov busy free
shl %cl, %eax mov free free
The resulting x86 code is:
mov $fffc(%ebp), %eax
mov %eax, $fff0(%ebp)
push some_arg
call func
mov %eax, %ecx
mov $fff0(%ebp), %eax
shl %cl, %eax
Note that since shl could operate directly on memory, we could have:
push some_arg
call func
mov %eax, %ecx
shl %cl, $fffc(%ebp)
The above example with loading the operand in a register is just to complicate
the example and show that the algorithm should be able to handle it.
Let's take another example with the this-call call convention (the first argument
is passed in %ecx).
In this case, will_clobber() will be called only on %eax and %edx, while %ecx
will be allocated with get_register_force ().
Note: when a register is allocated with get_register_force(), it should be set
to a different state as soon as possible.
store (local1, shl (local1, this-call (local1)))
instruction register status -> [%eax %ecx %edx]
start free free free
eax = load local1 mov free free
/* force load in %ecx */
ecx = load local1 mov busy free
spill eax free busy free
call mov free free
/* now eax contains the right operand of the shl */
mov %eax -> %ecx free busy free
un-spill mov busy free
shl %cl, %eax mov free free
What happens when a register that we need to allocate with get_register_force ()
contains an operand for the next instruction?
instruction register status -> [%eax %ecx %edx]
eax = load local0 mov free free
ecx = load local1 mov mov free
get_register_force (ecx) here.
We have two options:
mov %ecx, %edx
or:
spill %ecx
The first option is way better (and allows the peephole pass to
just load the value in %edx directly, instead of loading first to %ecx).
This doesn't work, though, if the instruction clobbers the %edx register
(like in a this-call). So, we first need to clobber the registers
(so the state of %ecx changes to freebale and there is no issue
with get_register_force ()).
What if an instruction both clobbers a register and requires it as
an operand? Lets' take the x86 idiv instruction as an example: it
requires the dividend in edx:eax and returns the result in eax,
with the modulus in edx.
store (local1, div (local1, local2))
instruction register status -> [%eax %ecx %edx]
eax = load local0 mov free free
will_clobber eax, edx free mov free
force mov %ecx, %eax busy free free
set %edx busy free busy
idiv mov free free
Note: edx is set to free after idiv, because the modulus is not needed
(if it was a rem, eax would have been freed).
If we load the divisor before will_clobber(), we'll have to spill
eax and reload it later. If we load it just after the idiv, there is no issue.
In any case, the algorithm should give the correct results and allow the operation.
Working recursively on the isntructions there shouldn't be huge issues
with this algorithm (though, of course, it's not optimal and it may
introduce excessive spills or register moves). The advantage over the current
local reg allocator is that:
1) the number of spills/moves would be smaller anyway
2) a separate peephole pass could be able to eliminate reg moves
3) we'll be able to remove the 'forced' spills we currently do with
the return value of method calls
* Issues
How to best integrate such a reg allocator with the burg stuff.
Think about a call os sparc with two arguments: they got into %o0 and %o1
and each of them sets the register as busy. But what if the values to put there
are themselves the result of a call? %o0 is no problem, but for all the
next argument n the above algorithm would spill all the 0...n-1 registers...
* Papers
More complex solutions to the local register allocator problem:
http://dimacs.rutgers.edu/TechnicalReports/abstracts/1997/97-33.html
Combining register allocation and instruction scheduling:
http://citeseer.nj.nec.com/motwani95combining.html
More on LRA euristics:
http://citeseer.nj.nec.com/liberatore97hardness.html
Linear-time optimal code scheduling for delayedload architectures
http://www.cs.wisc.edu/~fischer/cs701.f01/inst.sched.ps.gz
Precise Register Allocation for Irregular Architectures
http://citeseer.nj.nec.com/kong98precise.html
Allocate registers first to subtrees that need more of them.
http://www.upb.de/cs/ag-kastens/compii/folien/comment401-409.2.pdf
+653
View File
@@ -0,0 +1,653 @@
A new JIT compiler for the Mono Project
Miguel de Icaza (miguel@{ximian.com,gnome.org}),
* Abstract
Mini is a new compilation engine for the Mono runtime. The
new engine is designed to bring new code generation
optimizations, portability and pre-compilation.
In this document we describe the design decisions and the
architecture of the new compilation engine.
* Introduction
Mono is a Open Source implementation of the .NET Framework: it
is made up of a runtime engine that implements the ECMA Common
Language Infrastructure (CLI), a set of compilers that target
the CLI and a large collection of class libraries.
This article discusses the new code generation facilities that
have been added to the Mono runtime.
First we discuss the overall architecture of the Mono runtime,
and how code generation fits into it; Then we discuss the
development and basic architecture of our first JIT compiler
for the ECMA CIL framework. The next section covers the
objectives for the work on the new JIT compiler, then we
discuss the new features available in the new JIT compiler,
and finally a technical description of the new code generation
engine.
* Architecture of the Mono Runtime
The Mono runtime is an implementation of the ECMA Common
Language Infrastructure (CLI), whose aim is to be a common
platform for executing code in multiple languages.
Languages that target the CLI generate images that contain
code in high-level intermediate representation called the
"Common Intermediate Language". This intermediate language is
rich enough to allow for programs and pre-compiled libraries
to be reflected. The execution environment allows for an
object oriented execution environment with single inheritance
and multiple interface implementations.
This runtime provides a number of services for programs that
are targeted to it: Just-in-Time compilation of CIL code into
native code, garbage collection, thread management, I/O
routines, single, double and decimal floating point,
asynchronous method invocation, application domains, and a
framework for building arbitrary RPC systems (remoting) and
integration with system libraries through the Platform Invoke
functionality.
The focus of this document is on the services provided by the
Mono runtime to transform CIL bytecodes into code that is
native to the underlying architecture.
The code generation interface is a set of macros that allow a
C programmer to generate code on the fly, this is done
through a set of macros found in the mono/jit/arch/ directory.
These macros are used by the JIT compiler to generate native
code.
The platform invocation code is interesting, as it generates
CIL code on the fly to marshal parameters, and then this
code is in turned processed by the JIT engine.
* Previous Experiences
Mono has built a JIT engine, which has been used to bootstrap
Mono since January, 2002. This JIT engine has reasonable
performance, and uses an tree pattern matching instruction
selector based on the BURS technology. This JIT compiler was
designed by Dietmar Maurer, Paolo Molaro and Miguel de Icaza.
The existing JIT compiler has three phases:
* Re-creation of the semantic tree from CIL
byte-codes.
* Instruction selection, with a cost-driven
engine.
* Code generation and register allocation.
It is also hooked into the rest of the runtime to provide
services like marshaling, just-in-time compilation and
invocation of "internal calls".
This engine constructed a collection of trees, which we
referred to as the "forest of trees", this forest is created by
"hydrating" the CIL instruction stream.
The first step was to identify the basic blocks on the method,
and computing the control flow graph (cfg) for it. Once this
information was computed, a stack analysis on each basic block
was performed to create a forest of trees for each one of
them.
So for example, the following statement:
int a, b;
...
b = a + 1;
Which would be represented in CIL as:
ldloc.0
ldc.i4.1
add
stloc.1
After the stack analysis would create the following tree:
(STIND_I4 ADDR_L[EBX|2] (
ADD (LDIND_I4 ADDR_L[ESI|1])
CONST_I4[1]))
This tree contains information from the stack analysis: for
instance, notice that the operations explicitly encode the
data types they are operating on, there is no longer an
ambiguity on the types, because this information has been
inferred.
At this point the JIT would pass the constructed forest of
trees to the architecture-dependent JIT compiler.
The architecture dependent code then performed register
allocation (optionally using linear scan allocation for
variables, based on life analysis).
Once variables had been assigned, a tree pattern matching with
dynamic programming is used (the tree pattern matcher is
custom build for each architecture, using a code
generator: monoburg). The instruction selector used cost
functions to select the best instruction patterns.
The instruction selector is able to produce instructions that
take advantage of the x86 instruction indexing instructions
for example.
One problem though is that the code emitter and the register
allocator did not have any visibility outside the current
tree, which meant that some redundant instructions were
generated. A peephole optimizer with this architecture was
hard to write, given the tree-based representation that is
used.
This JIT was functional, but it did not provide a good
architecture to base future optimizations on. Also the
line between architecture neutral and architecture
specific code and optimizations was hard to draw.
The JIT engine supported two code generation modes to support
the two optimization modes for applications that host multiple
application domains: generate code that will be shared across
application domains, or generate code that will not be shared
across application domains.
* Objectives of the new JIT engine.
We wanted to support a number of features that were missing:
* 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.
* Features of the new JIT engine.
The new JIT engine was architected by Dietmar Maurer and Paolo
Molaro, based on the new objectives.
Mono provides a number of services to applications running
with the new JIT compiler:
* Just-in-Time compilation of CLI code into native code.
* Ahead-of-Time compilation of CLI code, to reduce
startup time of applications.
A number of software development features are also available:
* Execution time profiling (--profile)
Generates a report of the times consumed by routines,
as well as the invocation times, as well as the
callers.
* Memory usage profiling (--profile)
Generates a report of the memory usage by a program
that is ran under the Mono JIT.
* Code coverage (--coverage)
* Execution tracing.
People who are interested in developing and improving the Mini
JIT compiler will also find a few useful routines:
* Compilation times
This is used to time the execution time for the JIT
when compiling a routine.
* Control Flow Graph and Dominator Tree drawing.
These are visual aids for the JIT developer: they
render representations of the Control Flow graph, and
for the more advanced optimizations, they draw the
dominator tree graph.
This requires Dot (from the graphwiz package) and Ghostview.
* Code generator regression tests.
The engine contains support for running regression
tests on the virtual machine, which is very helpful to
developers interested in improving the engine.
* Optimization benchmark framework.
The JIT engine will generate graphs that compare
various benchmarks embedded in an assembly, and run the
various tests with different optimization flags.
This requires Perl, GD::Graph.
* Flexibility
This is probably the most important component of the new code
generation engine. The internals are relatively easy to
replace and update, even large passes can be replaced and
implemented differently.
* New code generator
Compiling a method begins with the `mini_method_to_ir' routine
that converts the CIL representation into a medium
intermediate representation.
The mini_method_to_ir routine performs a number of operations:
* Flow analysis and control flow graph computation.
Unlike the previous version, stack analysis and control
flow graphs are computed in a single pass in the
mini_method_to_ir function, this is done for performance
reasons: although the complexity increases, the benefit
for a JIT compiler is that there is more time available
for performing other optimizations.
* Basic block computation.
mini_method_to_ir populates the MonoCompile structure
with an array of basic blocks each of which contains
forest of trees made up of MonoInst structures.
* Inlining
Inlining is no longer restricted to methods containing
one single basic block, instead it is possible to inline
arbitrary complex methods.
The heuristics to choose what to inline are likely going
to be tuned in the future.
* Method to opcode conversion.
Some method call invocations like `call Math.Sin' are
transformed into an opcode: this transforms the call
into a semantically rich node, which is later inline
into an FPU instruction.
Various Array methods invocations are turned into
opcodes as well (The Get, Set and Address methods)
* Tail recursion elimination
Basic blocks ****
The MonoInst structure holds the actual decoded instruction,
with the semantic information from the stack analysis.
MonoInst is interesting because initially it is part of a tree
structure, here is a sample of the same tree with the new JIT
engine:
(stind.i4 regoffset[0xffffffd4(%ebp)]
(add (ldind.i4 regoffset[0xffffffd8(%ebp)])
iconst[1]))
This is a medium-level intermediate representation (MIR).
Some complex opcodes are decomposed at this stage into a
collection of simpler opcodes. Not every complex opcode is
decomposed at this stage, as we need to preserve the semantic
information during various optimization phases.
For example a NEWARR opcode carries the length and the type of
the array that could be used later to avoid type checking or
array bounds check.
There are a number of operations supported on this
representation:
* Branch optimizations.
* Variable liveness.
* Loop optimizations: the dominator trees are
computed, loops are detected, and their nesting
level computed.
* Conversion of the method into static single assignment
form (SSA form).
* Dead code elimination.
* Constant propagation.
* Copy propagation.
* Constant folding.
Once the above optimizations are optionally performed, a
decomposition phase is used to turn some complex opcodes into
internal method calls. In the initial version of the JIT
engine, various operations on longs are emulated instead of
being inlined. Also the newarr invocation is turned into a
call to the runtime.
At this point, after computing variable liveness, it is
possible to use the linear scan algorithm for allocating
variables to registers. The linear scan pass uses the
information that was previously gathered by the loop nesting
and loop structure computation to favor variables in inner
loops.
Stack space is then reserved for the local variables and any
temporary variables generated during the various
optimizations.
** Instruction selection
At this point, the BURS instruction selector is invoked to
transform the tree-based representation into a list of
instructions. This is done using a tree pattern matcher that
is generated for the architecture using the `monoburg' tool.
Monoburg takes as input a file that describes tree patterns,
which are matched against the trees that were produced by the
engine in the previous stages.
The pattern matching might have more than one match for a
particular tree. In this case, the match selected is the one
whose cost is the smallest. A cost can be attached to each
rule, and if no cost is provided, the implicit cost is one.
Smaller costs are selected over higher costs.
The cost function can be used to select particular blocks of
code for a given architecture, or by using a prohibitive high
number to avoid having the rule match.
The various rules that our JIT engine uses transform a tree of
MonoInsts into a list of monoinsts:
+-----------------------------------------------------------+
| Tree List |
| of ===> Instruction selection ===> of |
| MonoInst MonoInst. |
+-----------------------------------------------------------+
During this process various "types" of MonoInst kinds
disappear and turned into lower-level representations. The
JIT compiler just happens to reuse the same structure (this is
done to reduce memory usage and improve memory locality).
The instruction selection rules are split in a number of
files, each one with a particular purpose:
inssel.brg
Contains the generic instruction selection
patterns.
inssel-x86.brg
Contains x86 specific rules.
inssel-ppc.brg
Contains PowerPC specific rules.
inssel-long32.brg
burg file for 64bit instructions on 32bit architectures.
inssel-long.brg
burg file for 64bit architectures.
inssel-float.brg
burg file for floating point instructions
For a given build, a set of those files would be included.
For example, for the build of Mono on the x86, the following
set is used:
inssel.brg inssel-x86.brg inssel-long32.brg inssel-float.brg
** Native method generation
The native method generation has a number of steps:
* Architecture specific register allocation.
The information about loop nesting that was
previously gathered is used here to hint the
register allocator.
* Generating the method prolog/epilog.
* Optionally generate code to introduce tracing facilities.
* Hooking into the debugger.
* Performing any pending fixups.
* Code generation.
*** Code Generation
The actual code generation is contained in the architecture
specific portion of the compiler. The input to the code
generator is each one of the basic blocks with its list of
instructions that were produced in the instruction selection
phase.
During the instruction selection phase, virtual registers are
assigned. Just before the peephole optimization is performed,
physical registers are assigned.
A simple peephole and algebraic optimizer is ran at this
stage.
The peephole optimizer removes some redundant operations at
this point. This is possible because the code generation at
this point has visibility into the basic block that spans the
original trees.
The algebraic optimizer performs some simple algebraic
optimizations that replace expensive operations with cheaper
operations if possible.
The rest of the code generation is fairly simple: a switch
statement is used to generate code for each of the MonoInsts
We always try to allocate code in sequence, instead of just using
malloc. This way we increase spatial locality which gives a massive
speedup on most architectures.
*** Ahead of Time compilation
Ahead-of-Time compilation is a new feature of our new
compilation engine. The compilation engine is shared by the
Just-in-Time (JIT) compiler and the Ahead-of-Time compiler
(AOT).
The difference is on the set of optimizations that are turned
on for each mode: Just-in-Time compilation should be as fast
as possible, while Ahead-of-Time compilation can take as long
as required, because this is not done at a time critical
time.
With AOT compilation, we can afford to turn all of the
computationally expensive optimizations on.
After the code generation phase is done, the code and any
required fixup information is saved into a file that is
readable by "as" (the native assembler available on all
systems). This assembly file is then passed to the native
assembler, which generates a loadable module.
At execution time, when an assembly is loaded from the disk,
the runtime engine will probe for the existence of a
pre-compiled image. If the pre-compiled image exists, then it
is loaded, and the method invocations are resolved to the code
contained in the loaded module.
The code generated under the AOT scenario is slightly
different than the JIT scenario. It generates code that is
application-domain relative and that can be shared among
multiple thread.
This is the same code generation that is used when the runtime
is instructed to maximize code sharing on a multi-application
domain scenario.
* SSA-based optimizations
SSA form simplifies many optimization because each variable
has exactly one definition site. This means that each
variable is only initialized once.
For example, code like this:
a = 1
..
a = 2
call (a)
Is internally turned into:
a1 = 1
..
a2 = 2
call (a2)
In the presence of branches, like:
if (x)
a = 1
else
a = 2
call (a)
The code is turned into:
if (x)
a1 = 1;
else
a2 = 2;
a3 = phi (a1, a2)
call (a3)
All uses of a variable are "dominated" by its definition
This representation is useful as it simplifies the
implementation of a number of optimizations like conditional
constant propagation, array bounds check removal and dead code
elimination.
* Register allocation.
Global register allocation is performed on the medium
intermediate representation just before instruction selection
is performed on the method. Local register allocation is
later performed at the basic-block level on the
Global register allocation uses the following input:
1) set of register-sized variables that can be allocated to a
register (this is an architecture specific setting, for x86
these registers are the callee saved register ESI, EDI and
EBX).
2) liveness information for the variables
3) (optionally) loop info to favor variables that are used in
inner loops.
During instruction selection phase, symbolic registers are
assigned to temporary values in expressions.
Local register allocation assigns hard registers to the
symbolic registers, and it is performed just before the code
is actually emitted and is performed at the basic block level.
A CPU description file describes the input registers, output
registers, fixed registers and clobbered registers by each
operation.
* BURG Code Generator Generator
monoburg was written by Dietmar Maurer. It is based on the
papers from Christopher W. Fraser, Robert R. Henry and Todd
A. Proebsting: "BURG - Fast Optimal Instruction Selection and
Tree Parsing" and "Engineering a Simple, Efficient Code
Generator Generator".
The original BURG implementation is unable to work on DAGs, instead only
trees are allowed. Our monoburg implementations is able to generate tree
matcher which works on DAGs, and we use this feature in the new
JIT. This simplifies the code because we can directly pass DAGs and
don't need to convert them to trees.
* Future
Profile-based optimization is something that we are very
interested in supporting. There are two possible usage
scenarios:
* Based on the profile information gathered during
the execution of a program, hot methods can be compiled
with the highest level of optimizations, while bootstrap
code and cold methods can be compiled with the least set
of optimizations and placed in a discardable list.
* Code reordering: this profile-based optimization would
only make sense for pre-compiled code. The profile
information is used to re-order the assembly code on disk
so that the code is placed on the disk in a way that
increments locality.
This is the same principle under which SGI's cord program
works.
The nature of the CIL allows the above optimizations to be
easy to implement and deploy. Since we live and define our
universe for these things, there are no interactions with
system tools required, nor upgrades on the underlying
infrastructure required.
Instruction scheduling is important for certain kinds of
processors, and some of the framework exists today in our
register allocator and the instruction selector to cope with
this, but has not been finished. The instruction selection
would happen at the same time as local register allocation.
+349
View File
@@ -0,0 +1,349 @@
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.
* 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:
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.
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.
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.
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.
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.
* 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:
*) 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:
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.
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.
** 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".
** 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).
** 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.
** 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.
* 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.
* 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).
* 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.
+113
View File
@@ -0,0 +1,113 @@
* How to handle complex IL opcodes in an arch-independent way
Many IL opcodes are very simple: add, ldind etc.
Such opcodes can be implemented with a single cpu instruction
in most architectures (on some, a group of IL instructions
can be converted to a single cpu op).
There are many IL opcodes, though, that are more complex, but
can be expressed as a series of trees or a single tree of
simple operations. Such simple operations are architecture-independent.
It makes sense to decompose such complex IL instructions in their
simpler equivalent so that we gain in several ways:
*) porting effort is easier, because only the simple instructions
need to be implemented in arch-specific code
*) we could apply BURG rules to the trees and do pattern matching
on them to optimize the expressions according to the host cpu
The issue is: where do we do such conversion from coarse opcodes to
simple expressions?
* Doing the conversion in method_to_ir ()
Some of these conversions can certainly be done in method_to_ir (),
but it's not always easy to decide which are better done there and
which in a different pass.
For example, let's take ldlen: in the mono implementation, ldlen
can be simply implemented with a load from a fixed position in the
array object:
len = [reg + maxlen_offset]
However, ldlen carries also semantics information: the result is the
length of the array, and since in the CLR arrays are of fixed size,
this information can be useful to later do bounds check removal.
If we convert this opcode in method_to_ir () we lost some useful
information for further optimizations.
In some other ways, decomposing an opcode in method_to_ir() may
allow for better optimizations later on (need to come up with an
example here ...).
* Doing the conversion in inssel.brg
Some conversion may be done inside the burg rules: this has the
disadvantage that the instruction selector is not run again on
the resulting expression tree and we could miss some optimization
(this is what effectively happens with the coarse opcodes in the old
jit). This may also interfere with an efficient local register allocator.
It may be possible to add an extension in monoburg that allows a rule
such as:
recheck: LDLEN (reg) {
create an expression tree representing LDLEN
and return it
}
When the monoburg label process gets back a recheck, it will run
the labeling again on the resulting expression tree.
If this is possible at all (and in an efficient way) is a
question for dietmar:-)
It should be noted, though, that this may not always work, since
some complex IL opcodes may require a series of expression trees
and handling such cases in monoburg could become quite hairy.
For example, think of opcode that need to do multiple actions on the
same object: this basically means a DUP...
On the other end, if a complex opcode needs a DUP, monoburg doesn't
actually need to create trees if it emits the instructions in
the correct sequence and maintains the right values in the registers
(usually the values that need a DUP are not changed...). How
this integrates with the current register allocator is not clear, since
that assigns registers based on the rule, but the instructions emitted
by the rules may be different (this already happens with the current JIT
where a MULT is replaced with lea etc...).
* Doing it in a separate pass.
Doing the conversion in a separate pass over the instructions
is another alternative. This can be done right after method_to_ir ()
or after the SSA pass (since the IR after the SSA pass should look
almost like the IR we get back from method_to_ir ()).
This has the following advantages:
*) monoburg will handle only the simple opcodes (makes porting easier)
*) the instruction selection will be run on all the additional trees
*) it's easier to support coarse opcodes that produce multiple expression
trees (and apply the monoburg selector on all of them)
*) the SSA optimizer will see the original opcodes and will be able to use
the semantic info associated with them
The disadvantage is that this is a separate pass on the code and
it takes time (how much has not been measured yet, though).
With this approach, we may also be able to have C implementations
of some of the opcodes: this pass would insert a function call to
the C implementation (for example in the cases when first porting
to a new arch and implemenating some stuff may be too hard in asm).
* Extended basic blocks
IL code needs a lot of checks, bounds checks, overflow checks,
type checks and so on. This potentially increases by a lot
the number of basic blocks in a control flow graph. However,
all such blocks end up with a throw opcode that gives control to the
exception handling mechanism.
After method_to_ir () a MonoBasicBlock can be considered a sort
of extended basic block where the additional exits don't point
to basic blocks in the same procedure (at least when the method
doesn't have exception tables).
We need to make sure the passes following method_to_ir () can cope
with such kinds of extended basic blocks (especially the passes
that we need to apply to all the methods: as a start, we could
skip SSA optimizations for methods with exception clauses...)
+2 -1
View File
@@ -1,4 +1,5 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1 oldmono.1 ilasm.1 \
cert2spc.1 cilc.1
EXTRA_DIST = $(man_MANS)
+21
View File
@@ -0,0 +1,21 @@
.TH "cilc" 1
.SH NAME
cilc \- Mono CIL-to-C binding generator
.SH SYNOPSIS
.B cilc
[options]
.I assembly
.I target
.SH DESCRIPTION
cilc is the Mono CIL-to-C binding generator. It takes a CIL assembly as input
and generates a directory of C sources which, when compiled, provide a C
interface to the classes contained within that assembly by means of a shared
object library.
.PP
Generated sources make use of the Mono embedding API. Thus a complete Mono
development environment must be available on the development system and a
complete Mono runtime environment must be available on target systems.
.SH AUTHOR
Written by Alp Toker <[email protected]>
.SH SEE ALSO
mono(1)
+44
View File
@@ -0,0 +1,44 @@
.TH "ilasm" 1
.SH NAME
ilasm \- Mono IL assembler
.SH SYNOPSIS
.B ilasm
[option] [source-files]
.SH DESCRIPTION
ilasm is the Mono ILAsm assembler. You can pass one or more options to
drive the compiler, and a set of source files.
The Mono ILAsm assembler accepts options starting with / or - for mosted
options.
The Mono ILAsm assembler generates images (.exe and .dll files) that contain
CIL byte code that can be executed by any system that implemented a Common
Language Infrastructure virtual machine.
.SH OPTIONS
.TP
.B \//out:<file_name>
Specify the output file name.
.TP
.B \//exe
Generate an exe
.TP
.B \//dll
Generate a library
.TP
.B \//scan_only
Just scan the IL code and display tokens.
.TP
.B \//show_tokens
Show tokens as they are parsed.
.TP
.B \//show_method_def
Display method information when a method is defined.
.TP
.B \//show_method_ref
Display method information when a method is referenced
.TP
.B \--about
Display information about ilasm
.TP
.B \--version
Display ilasm version
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)
+13
View File
@@ -0,0 +1,13 @@
<?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" />
</manpages>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monodoc>
<source provider="man" basefile="tree" path="manpages"/>
</monodoc>
+10 -5
View File
@@ -59,11 +59,10 @@ or can be used by methods that have been tagged with the Conditional
attribute.
.TP
.I \-debug, \-debug+, \-g
Generate debugging information. The debugging information is stored
in a file with the extension .dbg (if you install system wide
assemblies, you need to install this file as well). To get stack
traces with debugging information, you need to invoke the mono runtime
with the `--debug' flag.
Generate debugging information. To obtain stack traces with debugging
information, you need to invoke the mono runtime with the `--debug'
flag. This debugging information is stored inside the assembly as a
resource.
.TP
.I \-debug-
Do not generate debugging information.
@@ -153,6 +152,12 @@ comma.
.I \-v
Debugging. Turns on verbose yacc parsing.
.TP
.I \-v2
Turns on C# 2.0 language features.
.TP
.I \-\-version
Shows the compiler version.
.TP
.I \-\-
Use this to stop option parsing, and allow option-looking parameters
to be passed on the command line.
+154 -104
View File
@@ -1,141 +1,186 @@
.\"
.\" mono manual page.
.\" (C) Ximian, Inc.
.\" (C) 2003 Ximian, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.TH Mono "Mono 1.0"
.SH NAME
mono \- Mono ECMA-CLI Just in Time compiler.
mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
.SH SYNOPSIS
.PP
.B mono
[\-\-help] [\-d] [\-\-debug-asm] [\-\-debug-forest] [\-\-trace-calls]
[\-\-compile name] [\-\-ncompile num] [\-\-noinline] [\-\-profile]
[\-\-debug=[format]] [\-\-debug-args args] [\-\-break name] [\-\-precompile name]
[\-\-config filename]
program.exe [arguments...]
.B mono [options] file [arguments...]
.SH DESCRIPTION
The \fImono\fP program is a Just in Time compiler for ECMA CLI byte
codes. It translates dynamically a CIL stream into native code.
.I program.exe
\fImono\fP is a runtime implementation of the ECMA Common Language
Infrastructure. This can be used to run ECMA and .NET applications.
.PP
The runtime contains a native code generator that transforms the
Common Intermediate Language into native code.
.PP
The code generator can operate in two modes: just in time compilation
(JIT) or ahead of time compilation (AOT). Since code can be
dynamically loaded, the runtime environment and the JIT are always
present, even if code is compiled ahead of time.
.PP
The runtime loads ths specified
.I file
and optionally passes
the
.I arguments
to it.
.SH OPTIONS
The following options are supported:
to it. The
.I file
is an ECMA assembly. They typically have a .exe or .dll extension.
.PP
The runtime provides a number of configuration options for running
applications, for developping and debugging, and for testing and
debugging the runtime itself.
.SH RUNTIME OPTIONS
The following options are available:
.TP
.I "--help", "-h"
Displays usage instructions.
.I "--share-code"
This mode makes the LoaderOptimization for Application Domains default
to sharing code. This results in slower code, but enables code
sharing across application domains. The default is to maximize for
speed, but disallow JITed code sharing across domains. See
System.LoaderOptimization for more information
.I "--aot"
This option is used to precompile the CIL code in the specified
assembly to native code. The generated code is stored in a file with
the extension .so. This file will be automatically picked up by the
runtime when the assembly is executed.
.Sp
This pre-compiles the methods, but the original assembly is still
required to execute as this one contains the metadata and exception
information which is not availble on the generated file. When
precompiling code, you might want to compile with all optimizations
(-O=all). Pre-compiled code is position independent code.
.Sp
Pre compilation is just a mechanism to reduce startup time, and avoid
just-in-time compilation costs. The original assembly must still be
present, as the metadata is contained there.
.TP
.I "--config filename"
Load the specified configuration file instead of the default one(s).
The default files are /etc/mono/config and ~/.mono/config or the file
specified in the MONO_CONFIG environment variable, if set.
specified in the MONO_CONFIG environment variable, if set. See the
mono-config(5) man page for details on the format of this file.
.TP
.I "--noinline"
Disables the code inliner.
.I "--help", "-h"
Displays usage instructions.
.TP
.SH DEBUGGING OPTIONS
The following options are used to debug, or perfomance test the JIT
compiler:
.I "--optimize=MODE", "-O=mode"
MODE is a comma separated list of optimizations. They also allow
optimizations to be turned off by prefixing the optimization name with
a minus sign.
.Sp
The following optimizations are implemented:
.nf
all Turn on all optimizations
peephole Peephole postpass
branch Branch optimizations
inline Inline method calls
cfold Constant folding
consprop Constant propagation
copyprop Copy propagation
deadce Dead code elimination
linears Linear scan global reg allocation
cmov Conditional moves
shared Emit per-domain code
sched Instruction scheduling
intrins Intrinsic method implementations
tailc Tail recursion and tail calls
loop Loop related optimizations
leaf Leaf procedures optimizations
profile Use profiling information
.fi
.Sp
For example, to enable all the optimization but dead code
elimination and inlining, you can use:
.nf
-O=all,-deadce,-inline
.fi
.TP
.I "--trace-calls"
Shows method names as they are invoked.
.TP
.I "--dump-asm"
Displays the generated code as methods are invoked.
.TP
.I "--dump-forest"
Displays the basic blocks and the forest of trees that is
created from a stream of CIL opcodes.
.TP
.I "--compile name"
Compiles the method on the given class (namespace.name:methodname) or
all classes in the given image (@imagename).
.TP
.I "--ncompile"
Compiles the method a number of times. If no argument is specified,
the method will be compiled a thousand times.
.I "-V", "--version"
Prints JIT version information.
.SH DEVELOPMENT OPTIONS
The following options are used to debug a JITed application. They're
only useful when running the JIT in a debugger:
The following options are used to help when developing a JITed application.
.TP
.I "--debug"
Writes out debug information in the given format or in the default format.
See DEBUGGING FORMATS for details.
Turns on the debugging mode in the runtime. If an assembly was
compiled with debugging information, it will produce line number
information for stack traces.
.TP
.I "--debug-args args"
Comma-separated list of additional arguments for the symbol writer.
See DEBUGGING FORMATS for details.
.I "--profile[=profiler[:profiler_args]]"
Instructs the runtime to collect profiling information about execution
times and memory allocation, and dump it at the end of the execution.
If a profiler is not specified, the default profiler is used. profiler_args
is a profiler-specific string of options for the profiler itself.
.SH JIT MAINTAINER OPTIONS
The maintainer options are only used by those developing the runtime
itself, and not typically of interest to runtime users or developers.
.TP
.I "--compile name"
This compiles a method (namespace.name:methodname), this is used for
testing the compiler performance or to examine the output of the code
generator.
.TP
.I "--compileall"
Compiles all the methods in an assembly. This is used to test the
compiler performance or to examine the output of the code generator
.TP
.I "--graph=TYPE METHOD"
This generates a postscript file with a graph with the details about
the specified method (namespace.name:methodname). This requires `dot'
and ghostview to be installed (it expects Ghostview to be called
"gv").
.TP
The following graphs are available:
.nf
cfg Control Flow Graph (CFG)
dtree Dominator Tree
code CFG showing code
ssa CFG showing code after SSA translation
optcode CFG showing code after IR optimizations
.fi
.Sp
Some graphs will only be available if certain optimizations are turned
on.
.TP
.I "--ncompile"
Instruct the runtime on the number of times that the method specified
by --compile (or all the methods if --compileall is used) to be
compiled. This is used for testing the code generator performance.
.TP
.I "-v", "--verbose"
Increases the verbosity level, each time it is listed, increases the
verbosity level to include more information (including, for example,
a disassembly of the native code produced, code selector info etc.).
.TP
.I "--break method"
Inserts a breakpoint before the method whose name is `method'
(namespace.class:methodname). Use `Main' as method name to insert a breakpoint on the
application's main method.
(namespace.class:methodname). Use `Main' as method name to insert a
breakpoint on the application's main method.
.TP
.I "--precompile name"
Compiles the given class (namespace.name), method (namespace.name:methodname)
or all classes in the given image (@imagename) before executing the main
application.
.I "--breakonex"
Inserts a breakpoint on exceptions. This allows you to debug your
application with a native debugger when an exception is thrown.
.TP
.I "--profile"
Collect profiling information and dump it at the end of the process.
.SH DEBUGGING FORMATS
The following debugging formats are currently supported:
.TP
.I "stabs"
Writes out stabs debug information.
.TP
.I "dwarf"
Writes out dwarf debug information.
.TP
.I "mono"
Use a symbol file which has been created by MCS. It can be used to get
source lines in stack traces.
.PP
The "stabs" and "dwarf" formats support the following options:
.TP
.I "filename=FILENAME"
Write debugging information into FILENAME. This file must be run through
the assembler to create an object file.
.TP
.I "objfile=FILENAME"
When automatically assembling the symbol file, write the resulting object
file into FILENAME.
.TP
.I "dont_assemble"
Normally, the symbol file is automatically assembled to an object file
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "install_il_files"
Put the generated *.il files in the same directory than the assembly they
came from. The default is to put them into the current working directory.
.TP
.I "dont_update_il_files"
Normally, the *.il files are recreated if their assemblies have changed
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "dont_create_il_files"
Update the *.il files if their assemblies have changed, but only if the
file already exists.
.PP
.I "--trace"
Shows method names as they are invoked.
.SH ENVIRONMENT VARIABLES
.TP
.I "GC_DONT_GC"
Turns off the garbage collection in Mono. This should be only used
for debugging purposes
.TP
.I "MONO_PATH"
Provides a search path to mono and mint where to look for library files.
Provides a search path to the runtime where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.PP
.TP
.I "MONO_DISABLE_SHM"
If this variable is set, it disables the Windows I/O Emulation layer,
@@ -145,6 +190,11 @@ processes. This option is only available on Unix.
.I "MONO_CFG_DIR"
If set, this variable overrides the default system configuration directory
($PREFIX/etc). It's used to locate machine.config file.
.TP
.I "MONO_CONFIG"
If set, this variable overrides the default runtime configuration file
($PREFIX/etc/mono/config). The --config command line options overrides the
environment variable.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
@@ -152,7 +202,7 @@ Windows, the assemblies are loaded from the directory where mono and
mint live.
.PP
/etc/mono/config, ~/.mono/config
.IP
.PP
Mono runtime configuration file. See the mono-config(5) manual page
for more information.
.SH MAILING LISTS
+175
View File
@@ -0,0 +1,175 @@
.\"
.\" mono manual page.
.\" (C) Ximian, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.TH Mono "Mono 1.0"
.SH NAME
mono \- Mono ECMA-CLI Just in Time compiler.
.SH SYNOPSIS
.PP
.B mono
[\-\-help] [\-d] [\-\-debug-asm] [\-\-debug-forest] [\-\-trace-calls]
[\-\-compile name] [\-\-ncompile num] [\-\-noinline] [\-\-profile]
[\-\-debug=[format]] [\-\-debug-args args] [\-\-break name] [\-\-precompile name]
[\-\-config filename]
program.exe [arguments...]
.SH DESCRIPTION
The \fImono\fP program is a Just in Time compiler for ECMA CLI byte
codes. It translates dynamically a CIL stream into native code.
.I program.exe
and optionally passes
the
.I arguments
to it.
.SH OPTIONS
The following options are supported:
.TP
.I "--help", "-h"
Displays usage instructions.
.TP
.I "--share-code"
This mode makes the LoaderOptimization for Application Domains default
to sharing code. This results in slower code, but enables code
sharing across application domains. The default is to maximize for
speed, but disallow JITed code sharing across domains. See
System.LoaderOptimization for more information
.TP
.I "--config filename"
Load the specified configuration file instead of the default one(s).
The default files are /etc/mono/config and ~/.mono/config or the file
specified in the MONO_CONFIG environment variable, if set.
.TP
.I "--noinline"
Disables the code inliner.
.TP
.SH DEBUGGING OPTIONS
The following options are used to debug, or perfomance test the JIT
compiler:
.TP
.I "--trace-calls"
Shows method names as they are invoked.
.TP
.I "--dump-asm"
Displays the generated code as methods are invoked.
.TP
.I "--dump-forest"
Displays the basic blocks and the forest of trees that is
created from a stream of CIL opcodes.
.TP
.I "--compile name"
Compiles the method on the given class (namespace.name:methodname) or
all classes in the given image (@imagename).
.TP
.I "--ncompile"
Compiles the method a number of times. If no argument is specified,
the method will be compiled a thousand times.
.SH DEVELOPMENT OPTIONS
The following options are used to debug a JITed application. They're
only useful when running the JIT in a debugger:
.TP
.I "--debug"
Writes out debug information in the given format or in the default format.
See DEBUGGING FORMATS for details.
.TP
.I "--debug-args args"
Comma-separated list of additional arguments for the symbol writer.
See DEBUGGING FORMATS for details.
.TP
.I "--break method"
Inserts a breakpoint before the method whose name is `method'
(namespace.class:methodname). Use `Main' as method name to insert a breakpoint on the
application's main method.
.TP
.I "--precompile name"
Compiles the given class (namespace.name), method (namespace.name:methodname)
or all classes in the given image (@imagename) before executing the main
application.
.TP
.I "--profile"
Collect profiling information and dump it at the end of the process.
.SH DEBUGGING FORMATS
The following debugging formats are currently supported:
.TP
.I "stabs"
Writes out stabs debug information.
.TP
.I "dwarf"
Writes out dwarf debug information.
.TP
.I "mono"
Use a symbol file which has been created by MCS. It can be used to get
source lines in stack traces.
.PP
The "stabs" and "dwarf" formats support the following options:
.TP
.I "filename=FILENAME"
Write debugging information into FILENAME. This file must be run through
the assembler to create an object file.
.TP
.I "objfile=FILENAME"
When automatically assembling the symbol file, write the resulting object
file into FILENAME.
.TP
.I "dont_assemble"
Normally, the symbol file is automatically assembled to an object file
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "install_il_files"
Put the generated *.il files in the same directory than the assembly they
came from. The default is to put them into the current working directory.
.TP
.I "dont_update_il_files"
Normally, the *.il files are recreated if their assemblies have changed
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "dont_create_il_files"
Update the *.il files if their assemblies have changed, but only if the
file already exists.
.PP
.SH ENVIRONMENT VARIABLES
.TP
.I "MONO_PATH"
Provides a search path to mono and mint where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.PP
.TP
.I "MONO_DISABLE_SHM"
If this variable is set, it disables the Windows I/O Emulation layer,
and handles (files, events, mutexes, pipes) will not be shared across
processes. This option is only available on Unix.
.TP
.I "MONO_CFG_DIR"
If set, this variable overrides the default system configuration directory
($PREFIX/etc). It's used to locate machine.config file.
.TP
.I "GC_DONT_GC"
Turns off the garbage collection in Mono. This should be only used
for debugging purposes
.TP
.I "MONO_CONFIG"
If set, this variable overrides the default runtime configuration file
($PREFIX/etc/mono/config). The --config command line options overrides the
environment variable.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
Windows, the assemblies are loaded from the directory where mono and
mint live.
.PP
/etc/mono/config, ~/.mono/config
.IP
Mono runtime configuration file. See the mono-config(5) manual page
for more information.
.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 mcs(1), mint(1), monodis(1), mono-config(5)
+1 -1
View File
@@ -388,7 +388,7 @@ or Mono.Data.TdsClient provider:
PostgreSQL via Mono.Data.PostgreSqlClient provider:
host=localhost;dbname=test;user=postgres;pass=fun2db
host=localhost;dbname=test;user=postgres;password=fun2db
or
+1
View File
@@ -17,3 +17,4 @@ Class Libraries:
Daniel Morgan <[email protected]>
Sebastien Pouliot <[email protected]>
Per Arneng <[email protected]>
Ben Maurer <[email protected]>
+481
View File
@@ -0,0 +1,481 @@
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
+173 -1
View File
@@ -1,3 +1,175 @@
2003-07-22 Peter Williams <[email protected]>
* README: INSTALL.txt, not INSTALL.
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.
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.
2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Actually fix this. Use the platform
compiler all the way.
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-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).
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]>.
2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* makefile:
* makefile.gnu: don't use -C when running make.
2003-05-05 Ben Maurer <[email protected]>
* AUTHORS: Added self.
2003-04-15 Nick Drochak <[email protected]>
* makefile: Remove nunit version 1 from build
2002-03-14 Daniel Morgan <[email protected]>
* class/makefile.gnu
* class/ByteFX.Data/makefile.gnu: add ByteFX.Data.dll
to the Linux build
2002-03-14 Daniel Morgan <[email protected]>
* makefile: added ByteFX.Data.dll to windows install
* class/library.build: added ByteFX.Data.dll
to windows build. added additional clean targets
* class/Microsoft.VisualC/Microsoft.VisualC.build: fix
windows clean
* class/ByteFX.Data: added directory for ByteFX.Data.dll
which includes a MySQL ADO.NET Provider.
Contributed by Reggie Burnett <[email protected]>
from ByteFX, Inc.
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
Added the following files and directories:
class/ByteFX.Data/AssemblyInfo.cs
class/ByteFX.Data/list
class/ByteFX.Data/ByteFX.Data.build
class/ByteFX.Data/makefile.gnu
class/ByteFX.Data/ChangeLog.txt
class/ByteFX.Data/readme.txt
class/ByteFX.Data/lgpl.txt: new files
BitStream.cs
Connection.cs
Field.cs
Inflater.cs
ConnectionString.cs
HuffmanTree.cs
NamedPipeStream.cs
class/ByteFX.Data/Common: added files to new directory
Driver.cs
command.resx
todo.txt
CommandBuilder.cs
Exception.cs
dataadapter.cs
transcaction.cs
Connection.cs
Field.cs
datareader.cs
Connection.resx
MysqlDefs.cs
parameter.cs
class/ByteFX.Data/mysqlclient: added files to new directory
command.cs
parameter_collection.cs
class/ByteFX.Data/mysqlclient/Designers: added files to new directory
2003-03-14 Daniel Morgan <[email protected]>
* makefile: add ilasm.exe to windows build and add missing assemblies
to windows install
* class/library.build: include PEAPI.dll, Npgsql.dll, and
ICSharpCode.SharpZipLib part of the windows build
2003-03-10 Martin Willemoes Hansen <[email protected]>
* Fixed some spelling errors in class/doc/TemplateTest.cs
2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* makefile: added Mono.Posix and System.Management.
@@ -8,7 +180,7 @@
2003-02-15 Nick Drochak <[email protected]>
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.
2003-02-10 Nick Drochak <[email protected]>
+131 -38
View File
@@ -1,53 +1,146 @@
Basic Installation
==================
The Mono project has developed mono, an x86-specific CL JIT compiler and
mint, a portable CLI interpreter. The build process of each of these
depends on nothing more than a C compiler, glib2 and libgc.
The Mono project has developed mono, a CLI runtime. The build process
of each of these depends on nothing more than a C compiler and glib2.
However, to provide a working runtime environment, these programs must
be supplemented by corlib, a CLR assembly to which they are closely
tied. This package provides the C# sources for corlib as well as some
additional assemblies and mcs, the Mono C# compiler.
be supplemented by the class libraries, which are written in C#. This
package contains the components written in C#: class libraries,
compilers and tools.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
Build Process for Users.
========================
Building mcs on *NIX
====================
If you only want to build a snapshot or a fresh CVS checkout of the
sources, you should go into the `mono' sibling directory and issue the
following command:
mcs provides a set of makefiles which make it easy to build and install
mcs on *NIX systems like Linux or FreeBSD where mcs is already
installed.
./autogen --prefix=/usr/local
make fullbuild
That will build and install the code in a single pass. The
compilation is bundled with the build due to depedencies on the class
libraries on the runtime.
Build Features for Developers.
==============================
These instructions apply to both Linux and Windows. To build this
package, you must already have a C# compiler installed. This means
that to build on Linux, you need to get a distribution of the MCS
binaries; these are called monocharges. See README.building for
information on where to get them. On Windows, you can just use the
Microsoft compiler. You also need GNU make to build the software (on
Windows, you will need for example the Cygwin environment setup).
To build the compiler and class libraries, run:
make -f makefile.gnu
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run the following, where prefix identifies where you
want the files installed:
make -f makefile.gnu install prefix=/usr/local
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others. If you want to produce an easily
distributable tarball, run:
make -f makefile.gnu dist
Building mcs on Windows
=======================
It is also possible to build mcs on Windows using the Microsoft .NET
framework. This may be convenient if you do not have access to a working
mcs setup. To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/. They can then be copied to /usr/lib and
/usr/bin or wherever desired on the target system.
compiler executable in mcs/.
To install them, run the following:
make install
The default prefix is /usr/local. To change this configuration option type:
echo prefix=/your-prefix >> build/config.make
If you get "corlib out of sync" errors, try
make PROFILE="atomic"
The difference between the two modes is explained farther down.
Monocharges
===========
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others, you can do:
make monocharge
Or a light version, which contains only the essential libraries and
results in a much smaller file:
make monocharge-lite
Configuration
=============
If you want to change the configuration options for the build process,
place your configuration options in build/config.make
A list of variables that control the build are listed in the file
build/config-default.make.
Build profiles? What?
======================
Don't worry about them too much. If you're wondering which to use:
use the default if you can (that's why it's the default!) and use
the atomic if you have to.
The default profile uses the C# compiler and class libaries as they
are built. This lets you build MCS without needing to have already
installed it, but can fail if the libraries change significantly.
(This is the source of the dreaded "corlib out of sync" warning, most
of the time.)
The atomic profile tries to use the system compiler and preexisting
MCS libraries. New libaries are built against this constant reference
point, so if a newly built library has a binary incompatibility, the
rest of your build can proceed.
If you want to always use the atomic profile, run this command:
echo PROFILE=atomic >> build/config.make
More About the Build System
===========================
More information is found in build/README.*. Here's a quick rundown
of the features:
* Unified build system for Windows and Linux. Windows is still
fairly untested, but "should work." Unfortunately I don't
have a Windows machine to test on, but Gonzalo can get
corlib to build I think and that's about as complicated as
it gets.
* Profile support. 'make PROFILE=profilename' or 'export
PROFILE=profilename ; make' will work. Profiles are defined
in build/profiles/profilename.make ; right now there isn't
too much going on. The 'bootstrap' profile will build the
way makefile.gnu did on Linux, by setting MONO_PATH and
using mcs/mcs.exe; the default profile will build against
the existing system libraries and compile with 'mcs', which
should reduce a lot of 'corlib out of sync' warnings.
* Important variables are shared among makefiles now; you can
edit build/config.make (see build/config-default.make for a
template) and give global settings, or just have a much
saner time of writing new makefiles.
* Response files, stamps, and other build trivia now all land
in build/deps/, making the library build directories
cleaner.
* Test libraries now live in class/Library/Library_test.dll,
not class/Library/Test. 'make test' will build the test DLL,
'make run-test' will actually run the nunit tests. Set the
variable TEST_HARNESS to run with a program other than
nunit-console (for example, nunit-gtk).
* Standardized recursive targets: all, clean, install, test,
run-test. Read build/README.makefiles for definitions of
what they should do
* (Relatively) sane 'make dist' target; 'make distcheck'
support; cute 'make monocharge' and 'make monocharge-lite'
targets. They're made possible because 'make install' now
supports DESTDIR a la automake, which I'm sure someone cares
about.
+29
View File
@@ -0,0 +1,29 @@
The Mono code is licensed under various different licenses.
GNU GPL: details avaliable in the file LICENSE.GPL
GNU LGPL: details available in the file LICENSE.LGPL
MIT X11: text available in the file MIT.X11
For your convenience copies of the GNU GPL and GNU LGPL are
located in the file COPYING and COPYING.LIB.
* Class Libraries:
All of the core classes licensed under the terms of
the MIT X11 license.
Third party libraries that we distribute for
convenience reasons are distributed under their own
terms (all of them allow development of proprietary
applications with them).
Third party libraries include: ByteFX.Data,
ICSharpCode.SharpZipLib, Npgsql.
* Mono C# compiler: GNU GPL
* Mono Basic compiler: GNU GPL.
* Various tools in the `tools' directory: GNU GPL.
+15
View File
@@ -0,0 +1,15 @@
Mono compilers and tools.
Copyright (C) 2001, 2002, 2003, Ximian and contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation;
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+15
View File
@@ -0,0 +1,15 @@
Mono class libraries
Copyright (C) Mono project (authors listed in individual ChangeLog entries)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+21
View File
@@ -0,0 +1,21 @@
Copyright (c) 2001, 2002, 2003 Ximian, Inc and the individuals listed
on the ChangeLog entries.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+107
View File
@@ -0,0 +1,107 @@
thisdir := .
SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
OVERRIDE_BARE_TARGETS = hells yeah
include build/rules.make
# Define these ourselves to that the platform checks come first
all: platform-check profile-check all-recursive #all-local
install: platform-check profile-check install-recursive #install-local
test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
clean: clean-recursive #clean-local
# fun specialty targets
testcorlib:
@cd class/corlib && $(MAKE) test run-test
# Disting. We need to override $(distdir) here.
package := mcs-$(VERSION)
top_distdir = $(dots)/$(package)
distdir = $(top_distdir)
export package
DISTFILES = \
AUTHORS \
ChangeLog \
COPYING \
COPYING.LIB \
INSTALL.txt \
LICENSE \
LICENSE.GPL \
LICENSE.LGPL \
Makefile \
mkinstalldirs \
MIT.X11 \
MonoIcon.png \
README \
README.building \
ScalableMonoIcon.svg \
winexe.in
dist-pre:
rm -rf $(package)
dist-post:
tar cvzf $(package).tar.gz $(package)
dist-local: dist-default
dist-tarball: dist-pre dist-recursive dist-post
dist: dist-tarball
rm -rf $(package)
# the egrep -v is kind of a hack (to get rid of the makefrags)
# but otherwise we have to make dist then make clean which
# is sort of not kosher. And it breaks with DIST_ONLY_SUBDIRS.
#
# We need to set prefix on make so class/System/Makefile can find
# the installed System.Xml to build properly
distcheck:
rm -rf InstallTest Distcheck-MCS ; \
mkdir InstallTest ; \
destdir=`cd InstallTest && pwd` ; \
$(MAKE) dist-tarball || exit 1 ; \
mv $(package) Distcheck-MCS ; \
(cd Distcheck-MCS && \
make prefix=$(prefix) && make test && make install DESTDIR="$$destdir" && \
make clean && make dist || exit 1) || exit 1 ; \
mv Distcheck-MCS $(package) ; \
tar tzf $(package)/$(package).tar.gz |sed -e 's,/$$,,' |sort >distdist.list ; \
rm $(package)/$(package).tar.gz ; \
tar tzf $(package).tar.gz |sed -e 's,/$$,,' |sort >before.list ; \
find $(package) |egrep -v '(makefrag|response)' |sed -e 's,/$$,,' |sort >after.list ; \
cmp before.list after.list || exit 1 ; \
cmp before.list distdist.list || exit 1 ; \
rm -f before.list after.list distdist.list ; \
rm -rf $(package) InstallTest
monocharge:
chargedir=monocharge-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
# A bare-bones monocharge.
monocharge-lite:
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
+1 -1
View File
@@ -2,7 +2,7 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL for a guide to building and installing mcs.
See INSTALL.txt for a guide to building and installing mcs.
Layout:
-33
View File
@@ -1,33 +0,0 @@
[1] Building mono + mcs from CVS on *NIX. The Easy Way (tm)
-------------------------------------------------------------
1. Get mono and mcs from CVS (http://www.go-mono.com/download.html)
2. Use the script to build mono (mono/doc/mono-build.sh).
3. Copy the dlls and mcs.exe from the latest monocharge tarball
(http://www.gnome-db.org/~gonzalo/mono/) to /where/you/installed/mono/lib and
..../bin respectively.
[2] Keeping the stuff up to date
----------------------------------
Once you have followed the above steps, do these ones to keep your installation
up to date:
1. In mcs directory,
cvs -z3 update -Pd
make -f makefile.gnu
2. Use the mono-build.sh script to update, rebuild and install mono from CVS.
Doing a cvs update of mono/doc/mono-build.sh file is also a good idea.
3. In mcs directory:
make -f makefile.gnu install prefix=/prefix/of/your/installation/path
4. In case of troubles (ie, unable to compile mcs/* sources) go to [1].
-Gonzalo
+2
View File
@@ -0,0 +1,2 @@
pre-config.make
config.make
+73
View File
@@ -0,0 +1,73 @@
2003-08-03 Gonzalo Paniagua Javier <[email protected]>
* config-default.make: the /nowarn arguments are now set on a per
library basis.
2003-07-29 Gonzalo Paniagua Javier <[email protected]>
* executable.make: install-local depends on the program too.
2003-07-25 Peter Williams <[email protected]>
* rules.make (run-test): Make it depend on 'test-local'
then 'run-test-local' after 'run-test-recursive'. This way,
'make run-test' from the toplevel doesn't recurse through all
the directories doing a make test before we run anything.
2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* rules.make: run-test depends now on 'test'.
2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* rules.make: set corlib to PLATFORM_CORLIB if this is defined.
2003-07-22 Peter Williams <[email protected]>
* rules.make (withmcs): Add this developer utility target.
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.
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.
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.
+22
View File
@@ -0,0 +1,22 @@
thisdir = build
SUBDIRS =
include ../build/rules.make
all-local install-local test-local run-test-local clean-local:
DISTFILES = \
README.makefiles \
README.platforms \
README.configury \
config-default.make \
executable.make \
library.make \
rules.make \
platforms/linux.make \
platforms/win32.make \
profiles/default.make \
profiles/atomic.make \
profiles/net_1_0.make
dist-local: dist-default
mkdir $(distdir)/deps
+23
View File
@@ -0,0 +1,23 @@
Configuring the build (-*- outline -*-)
Peter Williams <[email protected]>
** Configuring the build
It's pretty easy. You can create two files in this directory to tweak
settings: pre-config.make and config.make.
pre-config.make is included before $(PLATFORM).make and
$(PROFILE).make, so you can set either of these variables if you want
to change the default.
Just about any other change should go in config.make, which is
included after $(PLATFORM).make and $(PROFILE).make, so you can use
the values defined in those files if you wish. For example,
MCS_FLAGS = $(DEFAULT_MCS_FLAGS) /my-experimental-optimizer-flag
or something.
(You shouldn't need to edit any of the existing Makefiles for
site-specific hacks. CVS would complain at you and `make dist'
wouldn't be happy.)
+736
View File
@@ -0,0 +1,736 @@
The MCS makefiles (-*- outline -*-)
Peter Williams <[email protected]>
The new makefiles try to abstract building on Windows and Linux. They
try to provide a consistent set of ways to express the things that our
build system needs to let us do, specifically:
* Build recursively
* Build libraries and executables easily
* Let developers use different runtimes and class libaries
* Make distributions easily
* Provide a framework for testing
* Build platform-independently whenever possible
** Makefile structure
A general makefile looks like this:
========================================
thisdir = class/Mono.My.Library
SUBDIRS =
include ../../build/rules.make
all-local:
do some stuff
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/share/
$(INSTALL_DATA) myfile.txt $(DESTDIR)$(prefix)/share/myfiledir
clean-local:
rm -f my-generated-file
test-local: my_test_program.exe
run-test-local:
$(RUNTIME) my_test_program.exe
DISTFILES = myfile.txt my_test_source.cs
dist-local: dist-default
my_test_program.exe: my_test_source.cs
$(CSCOMPILE) /target:exe /out:$@ $<
========================================
Each makefile follows the same pattern: it does some setup, includes
the standard make rules, and provides rules for six standard targets:
all, install, test, run-test, clean, and dist.
"Some setup" is defining two variables: $(thisdir) and
$(SUBDIRS). $(thisdir) is the directory that the makefile lives in,
relative to the top directory (ie, class/corlib) and $(SUBDIRS)
defines the subdirectories that should be built in.
The six targets do the following:
* all-local builds whatever someone would expect to be built
when they just type 'make'. Most likely Foo.dll or Foo.exe
* install-local installs whatever got built by all-local.
* test-local _builds_ the test programs or libraries but does
_not_ run them.
* run-test-local actually runs the tests. It shouldn't
necessarily exit in an error if the test fails, but should make that
situation obvious. It should only run tests that take care of
themselves automatically; interactive tests should have an individual
target. The idea is that 'make run-test' from the toplevel should be
able to proceed unsupervised and test everything that can be tested in
such a manner.
* clean-local removes built files; 'make clean' should leave
only files that go into a distribution tarball. (But it is not necessarily
true that all files that go into a tarball need to be left after a make clean.)
* dist-local copies files into the distribution tree, which is
given by the variable $(distdir). dist-local always depends on the
target 'dist-default'. See ** 'make dist' below.
** Build configuration
In general, MCS needs to be able to build relying only on the
existence of a runtime and core libraries (corlib, System,
System.Xml). So there shouldn't be any checking for libraries or
whatnot; MCS should be able to build out of the box. We try to keep
platform detection and feature testing (ie, for HP/UX echo) inside
the makefiles; right now, there's no configuration script, and it'd
be nice to keep it that way. (I am told that some people build on
both Windows and Linux in the same tree, which would be impossible to
do if we cached platform-related configury values.)
That being said, it's very convenient for developers to be able to
customize their builds to suit their needs. To allow this, the
Makefile rules are set up to allow people to override pretty much any
important variable.
Configuration variables are given defaults in `config-default.make';
`rules.make' optionally includes `$(topdir)/build/config.make', so you
can customize your build without CVS trying to commit your modified
`config-default.make' all the time. Platform-specific variables are
defined in `$(topdir)/build/platforms/$(PLATFORM).make', where
$(PLATFORM) is detected in config-default.make. (Currently, the only
choices are linux.make and win32.make.)
The best way to learn what the configuration variables are is to read
`config.make' and `platform.make'. There aren't too many and hopefully
they should be self-explanatory; see the numerous examples below for
more information if you're confused.
** Recommendations for platform specifics
If you find yourself needing a platform-specific customization, try
and express it in terms of a feature, rather than a platform test. In
other words, this is good:
========================================
run-test-local: my-test.exe
ifdef PLATFORM_NEEDS_CRAZY_CRAP
crazy-crap
endif
$(RUNTIME) my-test.exe
========================================
and this is bad:
========================================
run-test-local: my-test.exe
ifdef WINDOWS
crazy-crap
else
ifdef AMIGA
crazy-crap
endif
endif
$(RUNTIME) my-test.exe
========================================
The latter accumulates and gets unpleasant and it sucks. Granted,
right now we only have two platforms, so it's not a big deal, but it's
good form to get used to and practice. Anyway, take a look at how we
do the various corlib building hacks for examples of how we've done
platform-specificity. It certainly isn't pretty, but at least it's a
little structured.
** Saving effort
The point of the build system is to abstract things and take
care of all the easy stuff. So if you find yourself writing a
Makefile, know that there's probably already infrastructure to do what
you want. Here are all the common cases I can think of ...
* Compiling C# code? use:
========================================
my-program.exe: my-source.cs
$(CSCOMPILE) /target:exe /out:$@ $^
========================================
or
========================================
my-lib.dll: my-source.cs
$(CSCOMPILE) /target:library /out:$@ $^
========================================
Note the '$@' and '$^' variables. The former means "the name of the
file that I am trying to make" and the latter means "all the
dependencies of the file I am trying to make." USE THESE VARIABLES
AGGRESSIVELY. Say that you add a new source to your program:
========================================
my-program.exe: my-source.cs my-new-source.cs
$(CSCOMPILE) /target:exe /out:$@ $^
========================================
Because of the $^ variable, you don't need to remember to add another
file to the command line. Similarly, if you rename your program, you
won't need to remember to change the rule:
========================================
MonoVaporizer.exe: my-source.cs my-new-source.cs
$(CSCOMPILE) /target:exe /out:$@ $^
========================================
will still work. Another useful variable is $<, which means "the first
dependency of whatever I'm building." If you order your dependencies
carefully it can be extremely useful.
* Just building an executable? use:
========================================
PROGRAM = myprogram.exe
LOCAL_MCS_FLAGS = /r:System.Xml.dll
include ../build/executable.make
========================================
executable.make builds a program in the current directory. Its name is
held in $(PROGRAM), and its sources are listed in the file
$(PROGRAM).sources. It might seem to make more sense to just list the
program's sources in the Makefile, but when we build on Windows we
need to change slashes around, which is much easier to do if the
sources are listed in a file. The variable $(LOCAL_MCS_FLAGS) changes
the flags given to the compiler; it is included in $(CSCOMPILE) so you
don't need to worry about it.
executable.make does a lot for you: it builds the program in 'make
all-local', installs the program in $(prefix)/bin, distributes the
sources, and defines empty test targets. Now, if your program has a
test, set the variable HAS_TEST:
========================================
PROGRAM = myprogram.exe
LOCAL_MCS_FLAGS = /r:System.Xml.dll
HAS_TEST = yes
include ../build/executable.make
test-local: mytester.exe
run-test-local: mytester.exe
$(RUNTIME) $<
mytester.exe: mytester.cs
$(CSCOMPILE) /target:exe /out:$@ mytester.cs
========================================
If your program has 'built sources', that is, source files generated
from other files (say, generated by jay), define a variable called
BUILT_SOURCES and do *not* list the sources in $(PROGRAM).sources:
========================================
PROGRAM = myprogram.exe
LOCAL_MCS_FLAGS = /r:System.Xml.dll
BUILT_SOURCES = parser.cs
CLEAN_FILES = y.output
include ../build/executable.make
parser.cs: parser.jay
$(topdir)/jay/jay $< > $@
========================================
executable.make will automatically delete the $(BUILT_SOURCES) files
on 'make clean'. Since this situation is a common occurrence and jay
happens to leave behind y.output files, you can also define a variable
called $(CLEAN_FILES) that lists extra files to be deleted when 'make clean' is
called. (That's in addition to your executable and the built sources).
* Buildling a library? Use
========================================
LIBRARY = Mono.MyLib.dll
LIB_MCS_FLAGS = /unsafe
TEST_MCS_FLAGS = /r:System.Xml.dll
include ../../build/library.make
========================================
Where you library is called $(LIBRARY); it will be put into
$(topdir)/class/lib. LIB_MCS_FLAGS is the set of MCS flags to use when
compiling the library; in addition, a global set of flags called
$(LIBRARY_FLAGS) is added (that variable is defined in
config-defaults.make), as well as the usual $(LOCAL_MCS_FLAGS).
As in executable.make, the sources for your library are listed in
$(LIBRARY).sources. Note: these source lists should have Unix forward
slashes and Unix newlines (\n, not \r\n.) If you get an error about
"touch: need a filename", that means your .sources file doesn't end in
a newline. It should.
Now library.make also assumes that your library has an NUnit2 test
harness. The files should be in a subdirectory called Test/, and if
your library is called Mono.Foo.dll, they should be listed in
Mono.Foo_test.dll.sources. The names in that files should *not* have
the Test/ prefix. 'make test' will build Mono.Foo_test.dll in the
current directory, automatically supplying the flags to reference the
original library and NUnit.Framework.dll.
If you don't have a test, just do this:
========================================
LIBRARY = Mono.MyLib.dll
LIB_MCS_FLAGS = /unsafe
NO_TEST = yes
include ../../build/library.make
========================================
and feel ashamed. Every good library has a test suite!
Extra flags needed to compile the test library should be listed in
$(TEST_MCS_FLAGS); often you will have a line like this:
========================================
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
========================================
Again, library.make does a lot for you: it builds the dll, it
generates makefile fragments to track the dependencies, it installs
the library, it builds the test dll on 'make test', it runs
$(TEST_HARNESS) on it on 'make run-test', it removes the appropriate
files on 'make clean', and it distributes all the source files on
'make dist'. (TEST_HARNESS defaults to be nunit-console.exe but it may
be overridden to, say, nunit-gtk). If you have extra files to
distribute when using either library.make or executable.make, use the
variable $(EXTRA_DISTFILES):
========================================
EXTRA_DISTFILES = \
Test/testcase1.in \
Test/testcase1.out \
README
========================================
Again, library.make and executable.make do the right things so that we
can build on Windows, doing some trickery to invert slashes and
overcome command-line length limitations. Use them unless you have a
really good reason not to. If you're building a bunch of small
executables, check out tools/Makefile or tools/security/Makefile; if
all the files are in the current directory, changing slashes isn't a
big deal, and command-line lengths won't be a problem, so
executable.make isn't necessary (and indeed it won't work, since it
can only build one .exe in a directory).
If you're building a library, library.make is highly recommended; the
only DLL that doesn't use it is corlib, because building corlib is a
fair bit more complicated than it should be. Oh well.
* Running a C# program? Use $(RUNTIME)
========================================
run-test-local: myprog.exe
$(RUNTIME) myprog.exe
========================================
$(RUNTIME) might be empty (if you're on windows), so don't expect to
be able to give it any arguments. If you're on a platform which has an
interpreter or jitter, $(RUNTIME_FLAGS) is included in $(RUNTIME), so
set that variable.
$(TEST_RUNTIME) is the runtime to use when running tests. Right now it's
just "mono --debug".
* Calling the compiler directly? Use $(MCS).
Really, you should use $(CSCOMPILE) whenever possible, but $(MCS) is
out there. $(BOOTSTRAP_MCS) is the C# compiler that we use to build
mcs.exe; on Linux, we then use mcs.exe to build everything else, but
on Windows, we use csc.exe to build everything. Only use
$(BOOTSTRAP_MCS) if you know what you're doing.
* Compiling C code? Use $(CCOMPILE)
To give it flags, set $(LOCAL_CFLAGS). As with compiling C#, the
variable $(CFLAGS) will automatically be included on the command line.
* Installing files? Use $(MKINSTALLDIRS), $(INSTALL_DATA) or
$(INSTALL_BIN), $(prefix), and $(DESTDIR).
Every time a file is installed the commands should look like this:
========================================
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/my/dir
$(INSTALL_DATA) myfile $(DESTDIR)$(prefix)/my/dir
========================================
This way the directory is created recursively if needed (admittedly, we could
probably rely on mkdir -p), the file is given the correct permissions,
the user can override $(MKINSTALLDIRS) and $(INSTALL) if they need to,
and we can support $(DESTDIR) installs. We use $(DESTDIR) to make
monocharge tarballs, and it's useful otherwise, so try and use it
consistently.
* 'make dist'? Use $(DISTFILES)
The 'dist-default' target will copy the files listed in $(DISTFILES)
into the distribution directory, as well as Makefile and ChangeLog if
they exist. This is almost always all that you need, so ideally your
make dist support should only be:
========================================
DISTFILES = README Test/thoughts.txt
dist-local: dist-default
========================================
DISTFILES will cope correctly with files in subdirectories, by the
way. Note that if you put a nonexistant file or a directory in
DISTFILES it will *not* complain; it will just ignore it.
If you want to test your 'make dist' code, you can try
========================================
$ cd class/Mono.MyClass
$ make dist-local distdir=TEST
========================================
And your files should be copied into TEST/ in the current directory.
There is a toplevel 'make distcheck' target, which will build a dist
tarball, try to build it, install files to a temporary prefix, make
clean it, make a distribution, and compare the files left over to the
files originally in the tarball: they should be the same. But this
takes about 15 minutes to run on my 1.1 Ghz computer, so it's not for
the faint of heart.
* Lots of files? Use $(wildcard *.foo)
When specifying the sources to a library or executable, wildcards are
not encouraged; in fact they're not allowed if you use library.make or
executable.make. But there are times when they're useful, eg:
========================================
DISTFILES = $(wildcard Test/*.in) $(wildcard Test/*.out)
========================================
Just so you know that 'make' has this feature.
* Referencing files in other directories? Use $(topdir).
$(topdir) is the path to the top directory from the current build
directory. Basically it's a sequence of ../.. computed from the value
that you give $(thisdir) at the top of your Makefile. Try to reference
things from $(topdir), so your code can be moved or cut-and-pasted
around with a minimum of fuss.
* Conditional building? Use ifdef/ifndef/endif
Now in general we want to avoid conditional building, but sometimes
something doesn't work on Linux or already exists on Windows or
whatnot. (See below on recommended form for how to build
platform-specifically.) GNU Make supports the following construction:
========================================
BUILD_EXPERIMENTAL = yes
ifdef BUILD_EXPERIMENTAL
experimental_stuff = my-experiment.exe
else
experimental_stuff =
endif
all-local: my-sane.exe $(experimental_stuff)
========================================
'ifdef' means 'if the variable is set to nonempty', so you could have
========================================
BUILD_EXPERIMENTAL = colorless green ideas sleep furiously
========================================
and Make would be happy. I hope that the meaning of 'ifndef' should be
obvious. If you want to only sometimes build a target, the above
construction is the recommended way to go about it; it's nice to have
the rules exist in a Makefile even if they aren't invoked.
If you want to see why conditionals aren't nice, take a look at
library.make or class/corlib/Makefile.
* 'Private' directories that shouldn't be built by default? Use DIST_ONLY_SUBDIRS
Several of the MCS class libraries have demo or experimental
implementations that depend on things not included with MCS (say,
Gtk#). We don't want to build them by default, because the user might
not have those dependencies installed, but it's nice to have a
Makefile for them to be built nicely.
First of all, there's nothing stopping you from writing a Makefile for
such a directory; just don't put it in the SUBDIRS line of its parent
directory. That way, you can do all the normal build things like 'make
all' or 'make clean' in that directory, but people trying to bootstrap
their system won't run into problems.
At the same time you probably want to include this directory in the
distribution so that people can use your demo or experimental code if
they know what they're doing. Hence the variable
$(DIST_ONLY_SUBDIRS). As you might guess, it's like the SUBDIRS
variable: it lists subdirectories that a regular shouldn't recurse
into, but should have their 'make dist' rules invoked.
Say you've written Mono.MyFancyLib.dll and you have
a demo app using Gtk# called MyFancyDemo. The Makefile rules might
look like this:
class/Mono.MyFancyLib/Makefile
========================================
thisdir = class/Mono.MyFancyLib
SUBDIRS =
DIST_ONLY_SUBDIRS = MyFancyDemo
include ../../build/rules.make
LIBRARY = Mono.MyFancyLib.dll
LIB_MCS_FLAGS = /r:System.dll
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
include ../../build/library.make
========================================
class/Mono.MyFancyLib/MyFancyDemo/Makefile
========================================
thisdir = class/Mono.MyFancyLib/MyFancyDemo
SUBDIRS =
include ../../../build/rules.make
PROGRAM = FancyDemo.exe
LOCAL_MCS_FLAGS = /r:gtk-sharp.dll
include ../../../build/executable.make
========================================
* Special recursion needs? Use OVERRIDE_BARE_TARGETS
By default, rules.make defines the all, install, clean, etc. targets
to look something like this:
all: all-recursive all-local
Sometimes that doesn't cut it; say for example you want to check for
something before doing a lengthy recursive build (see
$(topdir)/Makefile) or you have a something like this
class/MyLibrary:
Build MyLibrary.dll
class/MyLibrary/Test:
Build TestMyLibrary.exe
'make clean test' will fail here, because the build will happen in
the Test subdirectory first, so there will be no MyLibrary.dll to link
against. (Unless you write a nasty evil relative path rule which is
strongly discouraged.)
Anyway, to solve this problem you can do
========================================
OVERRIDE_BARE_TARGETS = yes
thisdir = class/MyLibrary
SUBDIRS = Test
include ../../build/rules.make
# This is normally "all-recursive all-local"
all: all-local all-recursive
test: test-local test-recursive
...
========================================
** A few implementation details
The way rules.make does its recursion is very standard; it maps
{all,install,clean, dist,test} to $@-recursive, which executes that
rule in each directory in $(SUBDIRS), and then calls $@-local in the
current directory. So something that gets built in a subdirectory
cannot rely on something that gets built in its parent directory. If
this is a problem, see the bit about using OVERRIDE_BARE_TARGETS;
since the recursive rules do $(MAKE) $* in their subdirectories,
changing the 'all' target will do the right thing in a recursive
build. Note that the recursive rule for 'dist' is different; it makes
dist-recursive in subdirectories, so you at least have to define that
rule, even if you use OVERRIDE_BARE_TARGETS.
Note that even a directory that doesn't, for example, have any tests
must still define test-local; otherwise 'make test' run from the
toplevel directory will break.
** Flags for Tools
We want to make it so that the user can specify certain flags to
always be given to a tool, so there's a general way of implementing
FLAGS variables:
* $(foo_FLAGS) remains unset or defaulted to something
sensible; the user can provide overrides this way.
* $(LOCAL_foo_FLAGS) is set in a specific Makefile to
provide necessary values.
* $(PLATFORM_foo_FLAGS) is set in the platform configuration
to provide platform-specific values.
* $(PROFILE_foo_FLAGS) is set in the profile configuration
to provide profile-specific values.
* $(USE_foo_FLAGS) is defined to be the combination of all of
the above, and it's what is actually passed to $(foo).
$(MCS_FLAGS) and $(CFLAGS) follow this model. If you end up finding
that another tool is used commonly (hm, jay...), please follow this form.
** Portability tips
Always use the icky Windows /argument way of passing parameters to the C#
compiler so that csc can be used.
Always use /r:foo.dll, not /r:foo. Windows requires the former.
Use /r:$(corlib), not /r:corlib. Windows wants mscorlib.dll and Linux
wants corlib.dll; eventually, the Mono runtime is supposed to accept
mscorlib.dll too, but in the meantime, use the variable.
If you're writing shell script code as part of a make rule, remember
that Windows has command-line length limits. So something like
========================================
mytool $(all_the_sources_to_corlib)
========================================
Is probably going to cause problems. As I understand it,
========================================
for f in $(all_the_sources_to_corlib) ; do ...
========================================
is ok, since the shell itself doesn't have those limitations. Other
than that, you should still try to write fairly portable shell
script. Linux and Cygwin both use the GNU utilities, but there's at
least one hardy soul trying to build Mono on HP/UX, and no doubt there
will be ports to more Unices as time goes on.
** Misc
We still don't use /d:NET_1_1 ; it causes some build problems right
now.
There's a hack in class/System.Data/Makefile to work around a very
strange crash in the runtime with some custom attribute stuff. It'd be
nice to fix it.
Also, there's a /lib:$(prefix)/lib in the System.dll Makefile, which
is for some reason necessary if System.Xml.dll hasn't been built yet.
(Well, it's necessary because of the /r:System.Xml.dll, but that
should be in the search path, it seems.)
A lot of the weird targets in the old makefiles have been dropped; I
have a feeling that a lot of them are archaic and not needed anymore.
I'd really like to write a build tool in C#. It would be nice to have
something really extensible and well-designed and clean. NAnt is,
IMHO, an apalling abomination and a tragically bad attempt at solving
the software building problem. Just so you know.
(On the other hand, NUnit is really neat.)
Peter
Loaded 100 of 3968 files, more files were not shown because too many files have changed in this diff. Show more