Compare commits

...
1187 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
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
2019 changed files with 162385 additions and 34341 deletions

No files matched your search

+51
View File
@@ -1,3 +1,54 @@
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:
+26 -1
View File
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples
dnl EXTRA_SUBDIRS = libgc
@@ -9,3 +9,28 @@ 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.
+4
View File
@@ -3,6 +3,7 @@
#undef HAVE_MSG_NOSIGNAL
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_SOL_IPV6
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_STRUCT_IP_MREQ
@@ -19,7 +20,10 @@
#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
+159 -14
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.25)
AM_INIT_AUTOMAKE(mono,0.26)
AM_MAINTAINER_MODE
dnl
@@ -36,7 +36,9 @@ case "$host" in
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
# latest libgc already defines GC_WIN32_THREADS
# CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
libdl=
libgc_threads=win32
gc_default=boehm
@@ -70,12 +72,20 @@ case "$host" in
libdl="-ldl"
libgc_threads=pthreads
;;
*-*-hpux*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libgc_threads=pthreads
AC_DEFINE(NEED_LINK_UNLINK)
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libmono_cflags="-D_REENTRANT"
libgc_threads=solaris
libgc_threads=pthreads
;;
*-*-darwin*)
platform_win32=no
@@ -102,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";
@@ -138,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
@@ -182,6 +202,14 @@ AC_SUBST(GMODULE_LIBS)
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=
@@ -201,7 +229,11 @@ case "x$gc" in
AC_SUBST(HAVE_BOEHM_GC)
LIBGC_LIBS="-lgc $libdl"
AC_CHECK_FUNCS(GC_gcj_malloc)
# AC_CHECK_FUNCS does not work for some reason...
AC_CHECK_LIB(gc, GC_gcj_malloc, found_gcj_malloc="yes",,$libdl)
if test "x$found_gcj_malloc" = "xyes"; then
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
fi
;;
xincluded)
@@ -329,6 +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 *****************************
@@ -385,6 +432,18 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
])
dnl **********************************
dnl *** Check for gethostbyname2_r ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname2_r)
AC_TRY_LINK([#include <netdb.h>], [
gethostbyname2_r(NULL,0,NULL,NULL,0,NULL,NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME2_R)
])
dnl *****************************
dnl *** Checks for libnsl ***
@@ -417,6 +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 *****************************
@@ -486,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?))
@@ -568,18 +650,77 @@ TARGET="unknown"
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
LIBC="libc.so.6"
case "$host" in
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; ACCESS_UNALIGNED="no";;
i*86-*-*) TARGET=X86; arch_target=x86; JIT_SUPPORTED=yes;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv* | powerpc-*-darwin*) TARGET=POWERPC; arch_target=ppc; JIT_SUPPORTED=yes;;
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
s390-*-linux*) TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no";;
# mips-sgi-irix5.* | mips-sgi-irix6.*)
# TARGET=MIPS;
# ACCESS_UNALIGNED="no"
# ;;
i*86-*-*)
TARGET=X86;
arch_target=x86;
JIT_SUPPORTED=yes
;;
sparc*-*-*)
TARGET=SPARC;
arch_target=sparc;
ACCESS_UNALIGNED="no"
;;
# alpha*-*-linux* | alpha*-*-osf*)
# TARGET=ALPHA;
# ACCESS_UNALIGNED="no"
# ;;
# ia64-*-linux* | ia64-*-hpux*)
# TARGET=IA64;
# arch_target=ia64;
# JIT_SUPPORTED=no;
# ACCESS_UNALIGNED="no";
# case "$host_os" in
# linux*) LIBC="libc.so.6.1";;
# hpux*) LIBC="libc.so.1";;
# esac
# ;;
# m68k-*-linux*)
# TARGET=M68K
# ;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | \
powerpc-*-sysv* | powerpc-*-darwin*)
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
arch_target=arm;
ACCESS_UNALIGNED="no"
;;
s390-*-linux*)
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="no"
;;
esac
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
dnl ******************************************
AC_MSG_CHECKING(which FPU to use)
AC_TRY_COMPILE([], [
__asm__ ("ldfd f0, [r0]");
], fpu=FPA, [
AC_TRY_COMPILE([], [
__asm__ ("fldd d0, [r0]");
], fpu=VFP, fpu=NONE)
])
AC_MSG_RESULT($fpu)
CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu"
unset fpu
fi
if test ${TARGET} = unknown; then
CPPFLAGS="$CPPFLAGS -DNO_PORT"
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
@@ -594,6 +735,7 @@ 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)
@@ -601,7 +743,6 @@ AM_CONDITIONAL(S390, test x$TARGET = xS390)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
LIBC="libc.so.6"
AC_SUBST(LIBC)
AC_SUBST(arch_target)
@@ -629,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/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
+24
View File
@@ -21,8 +21,12 @@
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"
@@ -32,6 +36,7 @@
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<system.net>
<connectionManagement>
@@ -50,13 +55,20 @@
<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>
@@ -81,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>
@@ -91,5 +112,8 @@
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
</configuration>
+40 -54
View File
@@ -7,9 +7,8 @@
* Web Services (the SOAP-based rpc system).
</ul>
There is work underway for both systems. The Web Forms
support is more advanced at this point, and various ".aspx"
programs can be run using the Mono runtime, including IBuySpy.
Both are functional at this point, and applications like
"IBuySpy" run with Mono.
ASP.NET works either embedded into
our XSP server test server or the mod_mono Apache module.
@@ -17,35 +16,57 @@
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.
The major missing element is a complete XmlSerializer.
** Hosting
** HttpRuntime
ASP.NET provides a hosting interface. Today we ship support
for two different hosting mechanisms:
<ul>
* <a href="#xsp">XSP</a>: A light-weight C# web server.
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
* <a href="#mod_mono">mod_mono</a>: An apache module
that can host the Mono runtime and the ASP.NET runtime
</ul>
<a name="xsp">
** XSP
This is where initial development of the .aspx/.ascx/.asax compiler
to C# took place. That compiler is now integrated in System.Web classes
mostly under System.Web.Compilation namespace.
XSP is a simple web server written in C# that can be used to
run your ASP.NET applications. The code is available from our
<a href="download.html">download page</a> or from the <a
href="anoncvs.html">Anonymous CVS</a> repository (module name:
xsp)/.
This is where initial development of the .aspx/.ascx/.asax
compiler to C# took place. That compiler is now integrated in
System.Web classes mostly under System.Web.Compilation
namespace. We added a new web server that works with mono and
MS runtime and is being used to debug our classes. It resides
in xsp/server.
We added a new web server that works with mono and MS runtime and is
being used to debug our classes. It resides in xsp/server. A couple of
classes of this new server can be reused/extended to make an apache
module/cgi using mono (MonoWorkerRequest and MonoApplicationHost).
A couple of classes of this new server can be reused/extended
to make an apache module/cgi using mono (MonoWorkerRequest and
MonoApplicationHost). This server also uses a couple of
plugins distributed with Mono to support gzip HTTP transfers.
There is also a set of .aspx pages to test the server along with
a few user controls under xsp/test.
You can check it out from CVS and run 'make install' to test it.
<a name="mod_mono">
* mod_mono
This Apache module 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
@@ -63,41 +84,6 @@
We want to encourage developers to create open source controls
that can be used both on Mono's ASP.NET and Microsoft's ASP.NET.
* Web Forms: The pieces (historical)
There are a couple of components to the puzzle:
<ul>
* .aspx page parser (converts .aspx to C# code).
* System.Web.HttpRuntime support.
* Web controls (System.Web.UI.HtmlControls and
System.Web.UI.WebControls).
* Underlying infrastructure for the controls (System.Web.UI).
* HttpRuntime.ProcessRequest is the core of the ASP.NET
implementation.
</ul>
Gonzalo has been working on an ASP.NET parser that takes .aspx
files and generated the code required to run them (the code lives in
module `xsp' along with a little web server for testing).
Most of the runtime support was written by Patrik Torstensson
(now at Intel). This was interesting, because in order to implement
some of its features, Patrik had to go into the runtime/JIT engine and
he spent a few weeks doing work there.
The classes for running ASP.NET are being actively written.
Gaurav, Leen and Patrik worked in the core of the classes
required to run ASP.NET web application as well as a small
embeddable web server.
Duncan got our System.Web assembly to compile.
** How to Help
Testing and fixing HtmlControls, WebControls and validators is an
+6
View File
@@ -8,6 +8,12 @@
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">
+24 -21
View File
@@ -24,11 +24,6 @@
**** TODO
<ul>
* The current implementation of <code>CryptoStream</code> is
very limited and contain known bugs (<a
href="http://bugzilla.ximian.com/show_bug.cgi?id=40689">
40689</a>). The class need to be re-designed.
* RNGCryptoServiceProvider is currently only working on Linux.
The current implementation reside in Mono's runtime and use
the <code>/dev/[u]random</code> device (which do not exists
@@ -124,20 +119,16 @@
**** Status
<ul>
* All classes are present but some (most Transforms) are only
stubbed.
* All classes are present but some Transforms are only stubbed.
* We now have a fully managed C14N implementation.
* Most classes have their unit tests.
</ul>
**** TODO
<ul>
* All the transforms needs to be done. But this requires far
more XML knowledge than crypto. Note: Most tests runs because
the feeded XML is pre-c14n (by hand in the code) before
signing (not because the transforms works). In the short
term <code>libxml2</code> could be used to provide C14N, but
in the long term a fully managed class would be much better.
* Complete all Transform derived classes.
</ul>
<hr>
@@ -275,7 +266,7 @@
<ul>
* Nothing (yet) commited in CVS. However the classes in this
namespace are outside WS-Security scope. So development, for
those classes, could be done without signing any agreements.
those classes, could be done without signing this agreement.
</ul>
**** TODO
@@ -285,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
@@ -306,11 +303,17 @@
(SPC) file - which is a long name for a simple PKCS#7 file.
* <code>makecert</code> to create X.509 test certificates that
can be used (once transformed in SPC) to sign assemblies.
can be used (once transformed in SPC) to sign assemblies. It's
now possible to generate SSL certificates for web servers.
</ul>
Somewhat usable, somewhat incomplete:
<ul>
* <code>certview</code> is a certificate viewer for
<code>System.Windows.Forms</code> (right now only working on
Windows), while <code>gcertview</code> is the same viewer
implemented for GTK# (working on both Windows and Linux).
* <code>sn</code> is a clone of the <code>sn</code> to manage
strongnames. Current version is limited to creating new keypairs
and converting values.
@@ -345,7 +348,6 @@
RC4, RSAManaged ...).
</ul>
<hr>
** How to Help
@@ -353,18 +355,19 @@
* Complete any of the TODO (and feel good about it ;-).
* Analyse the current coverage of the unit tests on the
cryptographic classes and complete the unit tests.
cryptographic classes and complete the unit tests. <b><code>
monocov</code> does a great job at this! Now we just need to
complete the missing unit tests.</b>
* Optimization can also be done on most algorithms as crypto
is never fast enough. Some have been done using the
Community Edition of BoundChecker (a free VisualStudio
addon) - recommanded! Just be sure to test every optimization
(using the unit test) carefully - it's so fast to break an
(using the unit tests) carefully - it's so fast to break an
algorithm ;-).
* Write some documentation on the cryptographic classes for
the <a href="http://go-mono.com/tutorial/html/en/index.html">Mono
Handbook</a> as I'm not a very good writer (at least in English).
<b>monodoc</b> as I'm not a very good writer (at least in English).
</ul>
Contact Sebastien Pouliot (<a href="mailto:[email protected]">home</a>
@@ -372,4 +375,4 @@
informations about the status of the cryptographic classes.
<hr>
Last reviewed: June 11, 2003 (post mono 0.24)
Last reviewed: August 9, 2003 (post mono 0.25)
+50 -28
View File
@@ -32,7 +32,7 @@
<li><a href="archive/mcs-0.25.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.25.tar.gz">Mono Runtime</a>
<li><a href="archive/xsp-0.4.tar.gz">XSP web server (0.4)</a>
<li><a href="archive/monodoc-0.4.tar.gz">MonoDoc 0.5</a>
<li><a href="archive/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>
@@ -44,7 +44,7 @@
</td>
<td>
<ul>
<li><a href="archive/mono-0.25-1.src.rpm">mono-0.25-1.src.rpm</a>
<li><a href="archive/mono-0.25-1.ximian.5.src.rpm">mono-0.25-1.src.rpm</a>
</ul>
</td>
</tr>
@@ -56,23 +56,39 @@
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 9.0/x86</b>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.25-1.i386.rpm">mono-debuginfo-0.25-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/gtk-sharp-0.9-1.i386.rpm">gtk-sharp-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-debuginfo-0.9-1.i386.rpm">gtk-sharp-debuginfo-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/monodoc-0.4-1.i386.rpm">monodoc-0.4-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-0.25-1.ximian.6.1.i386.rpm">mono-0.25-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.25-1.ximian.6.1.i386.rpm">mono-devel-0.25-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.25-1.ximian.6.1.i386.rpm">mono-debuginfo-0.25-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/libpixregion-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-0.1.0-1.ximian.6.1.i386.rpm">libic-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-0.1.0-1.ximian.6.1.i386.rpm">xc-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-0.1.0-1.ximian.6.1.i386.rpm">xr-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/gtk-sharp-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-0.10-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-gapi-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-gapi-0.10-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-debuginfo-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-debuginfo-0.10-1.ximian.6.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/monodoc-0.5-1.ximian.6.1.i386.rpm">monodoc-0.5-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm">monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/mono-wine-20030318-1.ximian.6.2.i386.rpm">mono-wine-20030318-1.ximian.6.2.i386.rpm</a>
<li><a href="archive/mono-wine-debuginfo-20030318-1.ximian.6.2.i386.rpm">mono-wine-debuginfo-20030318-1.ximian.6.2.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/mono-0.25-2.i386.rpm">mono-0.25-2.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.25-2.i386.rpm">mono-devel-0.25-2.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/gtk-sharp-0.9-1.i386.rpm">gtk-sharp-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/monodoc-0.4-1.i386.rpm">monodoc-0.4-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.25-1.ximian.5.1.i386.rpm">mono-0.25-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.25-1.ximian.5.1.i386.rpm">mono-devel-0.25-1.ximian.5.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/gtk-sharp-0.10-1.ximian.5.1.i386.rpm">gtk-sharp-0.10-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/gtk-sharp-gapi-0.10-1.ximian.5.1.i386.rpm">gtk-sharp-gapi-0.10-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/monodoc-0.5-1.ximian.5.1.i386.rpm">monodoc-0.5-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/mono-wine-20030318-1.ximian.5.2.i386.rpm">mono-wine-20030318-1.ximian.5.2.i386.rpm</a>
</ul>
</td>
</tr>
@@ -96,28 +112,34 @@
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.25-1.ximian.4.1.i386.rpm">mono-0.25-1.ximian.4.1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.25-1.ximian.4.1.i386.rpm">mono-devel-0.25-1.ximian.4.1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/mandrake-36.gif"><b>Mandrake 8.2/x86</b>
<img src="images/mandrake-36.gif"><b>Mandrake 9.1/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/mono-0.25-1.i586.rpm">mono-0.25-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.25-1.i586.rpm">mono-devel-0.25-1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-0.25-1.ximian.6.1.i586.rpm">mono-0.25-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-devel-0.25-1.ximian.6.1.i586.rpm">mono-devel-0.25-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/gtk-sharp-0.10-1.ximian.6.1.i586.rpm">gtk-sharp-0.10-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/gtk-sharp-gapi-0.10-1.ximian.6.1.i586.rpm">gtk-sharp-gapi-0.10-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/monodoc-0.5-1.ximian.6.1.i586.rpm">monodoc-0.5-1.ximian.6.1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/suse-36.gif"><b>SuSE 8.2/x86</b>
<ul>
<li><a href="archive/suse-80-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
</ul>
</td>
</tr>
<!--
We don't have SuSE packages right now
-->
<!-- <tr> -->
<!-- <td bgcolor="#999999"> -->
<!-- <img src="images/suse-36.gif"><b>SuSE 8.2/x86</b> -->
<!-- <ul> -->
<!-- <li><a href="archive/suse-80-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a> -->
<!-- <li><a href="archive/suse-80-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a> -->
<!-- </ul> -->
<!-- </td> -->
<!-- </tr> -->
</table>
</td>
</tr>
+12 -1
View File
@@ -68,9 +68,20 @@
not interfere with code in other domains. This is useful if
you want to host different applications in your program.
Then you can load an assembly containing code into the domain:
Now, it is necessary to transfer control to Mono, and setup
the threading infrastructure, you do this like this:
<pre>
void *user_data = NULL;
mono_runtime_exec_managed_code (domain, main_thread_handler, user_data);
</pre>
Where your main_thread_handler can load your assembly and execute it:
<pre>
static void main_thread_handler (gpointer user_data)
{
MonoAssembly *assembly;
assembly = mono_domain_assembly_open (domain, "file.dll");
+51 -45
View File
@@ -130,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
@@ -715,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?
@@ -742,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
@@ -787,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?
@@ -848,6 +834,23 @@ A: From Carlos Perell
This way you just execute: ./my-cool-mono-application.exe and it works
without the need of any wrapper.</i>
Q: I see funny characters when I run programs, what is the problem?
A: (From Peter Williams and Gonzalo Paniagua):
This is Red Hat 9 (probably) using UTF8 on its console; the bytes are
the UTF8 endianness markers. You can do:
LC_ALL=C mono myexe.exe
And they wont show up.
Alternatively, you can do:
$ echo -e "\033%G"
to enable UTF-8 on the console.
<a name="asp">
** Mono and ASP.NET
@@ -1416,3 +1419,6 @@ A: It's possible to run VC++ generated apps under Mono, but we do not
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.
+198 -4
View File
@@ -83,7 +83,7 @@
</tr>
<tr>
<td><b><a href="asp-net.html">ASP.NET</a></b></td>
<td>Webforms working<br></td>
<td>Webforms and WebServices working<br></td>
</tr>
<tr>
<td>
@@ -151,10 +151,202 @@
</tr>
</table>
@item Jun 23rd, 2003: DiaCanvas#, Turkish presentation
@item Aug 9th, 2003: Python for .NET Preview 2 available; Mono Documentation site up.
http://enver.casdb.com/sunumlar/mono/
Brian Lloyd has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-August/015313.html">announced</a>
the availability of his Python binding to .NET. This works
with .NET and Mono. For more information about it, see
Brian's site at <a href="
http://zope.org/Members/Brian/PythonNet/">http://zope.org/Members/Brian/PythonNet/</a>
We have uploaded the current Mono Documentation (core
libraries and Gtk#) to <a
href="http://mono.ximian.com:8080"/>http://mono.ximian.com:8080</a>.
The site is running the ASP.NET edition of <a
href="archive/monodoc-0.6.tar.gz">MonoDoc 0.6</a> on XSP.
@item Aug 6th, 2003: Winforms samples
Timothy Parez is coordinating the effort to create sample
programs that exercise the various Windows.Forms controls. We
are using this as graphical regression test suite for the Mono
implementation.
The screenshots of the various widgets, together with the
source code is available on the <a
href="http://www.nullenvoid.com/mono/wiki/index.php/WineSamples">WineSamples</a>
page on the <a
href="http://www.nullenvoid.com/mono/wiki/">Mono Wiki</a>.
A new cvs module called `winforms' has been created that
contains the source code for the samples. To run the samples,
you can install the WineLib packages available from our <a
href="download.html">download page</a>.
@item Aug 5th, 2003: New Apache Module architecture: 1.3 and 2.x supported
Gonzalo rearchitected our Apache module for hosting Mono and
ASP.NET. The previous incarnation hosted a Mono runtime on
each Apache process, which lead to a slow setup for webforms.
The new setup uses a shared mono process for all the incoming
requests. Daniel later improved up the new architecture and
added dual support, so now in addition to Apache 2.x, we
support Apache 1.3 with the same codebase.
The new code is available on CVS, on module `mod_mono', and
now requires an XSP installation to be available.
@item Aug 4th, 2003: Ximian acquired by Novell.
Today <a href="http://www.novell.com">Novell</a> acquired <a
href="http://www.ximian.com">Ximian</a>. The press release is
available <a
href="http://www.ximian.com./about_us/press_center/press_releases/index.html?pr=novell">here</a>.
Mono and Gnome form an integral part of the Novell strategy.
@item Jul 30th, 2003: Remoting.CORBA, Managed XSLT.
Today Lluis announced that Mono CVS contains all the fixes to
run <a
href="http://remoting-corba.sourceforge.net/">Remoting.CORBA</a>:
both client and server channels work; We are interested in people
testing it with other ORBs.
Ben checked-in today his managed implementation of Xslt that
we mentioned on Jul 19th; This uncovered various limitations
on the XPath implementation, which Piers has swifly removed.
Monodoc, NUnit and our Corcompare work with it. Since this is
implementation is not completed yet, we still support the
libxslt-based version by default. For more details on how to
try the new XSLT implementation, see <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001681.html">Ben's
post</a>
@item Jul 27th, 2003: Wine packages and Daily Snapshots
MonoWine packages (used to run System.Windows.Forms) software
are now available from our (<a
href="download.html">download</a> page). You can track the
progress on our <a
href="http://www.nullenvoid.com/mono/wiki/index.php/WineSamples">Wiki
page.</a>
We're now building daily snapshots of Mono. They come in
three distinct flavors:
<ul>
* mono snapshot tarballs - These are 'release-style' tarballs and
contain everything necessary to setup a new
installation from scratch. This includes the Mono
runtime and all the assemblies we distribute.
* monocharge tarballs - These tarballs contain only
the assemblies built on that day.
* monolite tarballs - These tarballs contain a copy of
'corlib.dll', 'mcs.exe', 'System.dll', 'System.Xml.dll' and
'Mono.CSharp.Debugger.dll'. They can be used to
re-bootstrap an out-of-sync installation.
</ul>
The daily builds are availble here: <a href="http://go-mono.com/daily">http://go-mono.com/daily</a>
If you find that the builds are broken, please notify Duncan.
@item Jul 19th, 2003: Recent developments
Since Mono has matured, we have limited the news on the site
to major accomplishments that are finished, but this week, it
is worth devoting some time to talk about some of the
work-in-progress projects that are progressing.
Jackson has added support to the IL assembler for generics as
well as to the PEAPI library, and it has assembled its first
generic program. Support for handling images with generics
has been on our file format reader for a while, but the JIT
engine is still incomplete.
On the XSLT world, Atsushi and Ben continue to make big
improvements. Ben recently got the prototype managed XSLT
implementation to run its first stylesheet. Although
currently Mono uses libxslt to implement the System.Xml.Xsl
namespace, to have a fully .NET compliant implementation we
will need a managed version, and this is the beginning of it.
Lluis recently posted an update on the <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001550.html">state
of WSDL</a> in Mono. Now that the web services runtime is
ready, the WSDL compiler becomes more important as a
development tool.
Atsushi continues his work on the DTD validating reader in
System.Xml, as well as improving our XML Schema support.
@item Jul 14th, 2003: New build system; IPV6 support.
Peter Williams has contributed a new build system that
addresses many of the annoyance we had with our previous build
system. He has worked on this for a few weeks, and Gonzalo
helped test it and get it into CVS. We no longer have the
historical dual build system: make for Unix and nant for
Windows.
This system also offers the opportunity to compile our class
libraries with different profiles (.NET 1.0, .NET 1.1 and the
various ECMA subsets).
Peter explains the new build system <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001506.html">here</a>
Jerome's IPV6 code has been checked into CVS; With Peter's new
build system, we will be able to expose it (as part of the
NET_1_1 build).
@item Jul 9th, 2003: ASP.NET web services, coverage tools.
Web Services keep advancing: now we also support server-side
authoring of Web Services as well as web service clients
(which shipped in Mono 0.25). This works using our ASP.NET
runtime, so it works with either XSP or the Apache module. The
new Web Services work from Lluis added the missing bits:
<ul>
<li> .asmx files.
<li> Method calls with complex parameters (whatever XmlSerializer can currently serialize, which is a quite a lot).
<li> ref and out parameters.
<li> Soap headers (In, Out and InOut).
<li> Soap extensions, both global (configured in web.config) and particular to methods (configured using attributes).
</ul>
For more details, see Lluis <a href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001449.html">post</a>
GUI-wise: Work on <a href="http://xr.xwin.org">Xr</a> to
implement System.Drawing continues. This will provide a full
GDI+ implementation for Mono, and this will be hooked up into
Gtk# and System.Windows.Forms.
MonoDoc keeps moving along, with a new web-based version
coming up next, and we are also exploring a collaborative
extension to allow people to contribute documentation through
their web browsers.
Zoltan's Coverage analysis tool has been checked into CVS.
With this tool it is now possible to find which class library
code paths are missing regression tests. The module is
`monocov'. Details are <a
href="http://www.nexus.hu/vargaz/">here</a>. A fresh Gtk#
version is available now.
Jean's remoting-based Soap implenentation is also maturing.
@item Jun 26th: Mono 0.25 has been released.
We have released Mono 0.25. A list of the new features is
available <a href="archive/mono-0.25.html">here</a>.
Packages for Windows, and various Linux distributions are
available on our <a href="download.html">download</a> page.
@item Jun 17th, 2003: Web Services client; Profiling hooks
@@ -1092,4 +1284,6 @@
<h2>Older News</h2>
Click <a href="oldnews.html">here</a> to see the olds news.
Click <a href="oldnews.html">here</a> to see the olds news.
+19 -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
@@ -84,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">
@@ -114,6 +115,18 @@
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
@@ -122,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
@@ -152,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.
+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>
+4 -4
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>
@@ -87,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>
+58 -18
View File
@@ -9,9 +9,8 @@
We currently have two runtimes:
<ul>
* <b>mono:</b> The Just In Time compiler implemented
using a BURS instruction selector. We only support
x86 machines in the JIT engine at this point.
* <b>mono:</b> Our Just-in-Time and Ahead-of-Time code
generator for maximum performance.
* <b>mint:</b> The Mono interpreter. This is an
easy-to-port runtime engine.
@@ -31,12 +30,52 @@
href="http://primates.ximian.com/~lupus/slides/jit/">slides
here</a>
** Current JIT Engine: technical details (<b>updated, July 8th, 2002</b>)
** Current JIT Engine: technical details (<b>updated, June 28th, 2003</b>)
The JIT engine uses a code-generator generator approach for
compilation. Given the properties of CIL byte codes, we can
take full advantage of a real instruction selector for our
code generator.
We have re-written our JIT compiler. We wanted to support a
number of features that were missing:
<ul>
* Ahead-of-time compilation.
The idea is to allow developers to pre-compile their code
to native code to reduce startup time, and the working
set that is used at runtime in the just-in-time compiler.
Although in Mono this has not been a visible problem, we
wanted to pro-actively address this problem.
When an assembly (a Mono/.NET executable) is installed in
the system, it would then be possible to pre-compile the
code, and have the JIT compiler tune the generated code
to the particular CPU on which the software is
installed.
This is done in the Microsoft.NET world with a tool
called ngen.exe
* Have a good platform for doing code optimizations.
The design called for a good architecture that would
enable various levels of optimizations: some
optimizations are better performed on high-level
intermediate representations, some on medium-level and
some at low-level representations.
Also it should be possible to conditionally turn these on
or off. Some optimizations are too expensive to be used
in just-in-time compilation scenarios, but these
expensive optimizations can be turned on for
ahead-of-time compilations or when using profile-guided
optimizations on a subset of the executed methods.
* Reduce the effort required to port the Mono code
generator to new architectures.
For Mono to gain wide adoption in the Unix world, it is
necessary that the JIT engine works in most of today's
commercial hardware platforms.
</ul>
The JIT engine implements a number of optimizations:
@@ -47,7 +86,7 @@
* Inlining.
* Constant folding.
* Constant folding, copy propagation, dead code elimination.
Although compilers typically do
constant folding, the combination of inlining with
@@ -56,6 +95,9 @@
* Linear scan register allocation. In the past,
register allocation was our achilles heel, but now
we have left this problem behind.
* SSA-based framework. Various optimizations are
implemented on top of this framework
</ul>
There are a couple of books that deal with this technique: "A
@@ -64,7 +106,13 @@
technical description of <a
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>.
A few papers that describe the instruction selector:
The new JIT engines uses three intermediate representations:
the source is the CIL which is transformed into a forest of
trees; This is fed into a BURS instruction selector that
generates the final low-level intermediate representation.
The instruction selector is documented in the following
papers:
<ul>
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/interface.pdf&pub=wiley">A code generation interface for ANSI C</a>
@@ -74,14 +122,6 @@
</ul>
** New JIT engine.
We are working on a new JIT engine. The new JIT engine
focuses on portability and in two intermediate representations
that simplify the development of optimizations. This together
with the Ahead-of-Time compilation will allow developers to
deploy applications that match the speed of natively compiled code.
** Garbage Collection
We are using the Boehm conservative GC. We might consider
+37 -4
View File
@@ -135,14 +135,27 @@
</tr>
</table>
** SkyNET
** Type Reflector
SkyNET is written in C# and uses GTK# for displaying a star chart.
Type Reflector is a tool included in Mono to inspect your assemblies.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/skynet.png">
<img src="images/type-reflector.png">
</td>
</tr>
</table>
** Object Browser
Radek Doulik's Object Browser (in Mono CVS) is a useful tool
to inspect existing assemblies and their source code:
<table border=1>
<tr>
<td>
<img src="images/Screenshot-ObjectBrowserDemo.png">
</td>
</tr>
</table>
@@ -151,6 +164,14 @@
Windows.Forms running with Wine on Linux:
<table border=1>
<tr>
<td>
<a href="http://go-mono.com/images/monomdi.jpg"><img src="http://go-mono.com/images/monomdi-thumb.jpg"></a>
</td>
</tr>
</table>
<table border=1>
<tr>
<td>
@@ -158,7 +179,7 @@
</td>
</tr>
</table>
** Mono running on the iPaq
<table border=1>
@@ -194,3 +215,15 @@
</td>
</tr>
</table>
** SkyNET
SkyNET is written in C# and uses GTK# for displaying a star chart.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/skynet.png">
</td>
</tr>
</table>
+1
View File
@@ -22,6 +22,7 @@
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Test Suite,testing.html,testing.src
1,Mono TODO,mono-todo.html,mono-todo.src
1,Tools,tools.html,tools.src
1,Porting,porting.html,porting.src
2,PowerPC,ppc.html,ppc.src
+1
View File
@@ -46,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 \
+39 -8
View File
@@ -312,7 +312,7 @@
<e-mail>[email protected]</e-mail>
<location>Kansas City</location>
<location>Honolulu, Hawai`i</location>
<tasks>
@@ -454,9 +454,9 @@
<task>NUnit1 -&gt; NUnit2 conversion</task>
<task>Stubbing</task>
<task>Mono Handbook, Documentation</task>
<task>Mono Handbook work</task>
<task>DiaCanvas#</task>
<task>Various fixes</task>
@@ -858,13 +858,13 @@
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<image>jonpryor.png</image>
<location>Blacksburg, Virginia</location>
<location>Richmond, Virginia</location>
<organization>Virginia Tech</organization>
<organization>Cadmus Professional Communications</organization>
<description>Graduate Student</description>
<description>Mono Hacker</description>
<tasks>
@@ -1432,7 +1432,38 @@
<tasks>
<task>Gtk# Documentation.</task>
<task>Documentation.</task>
<task>Monodoc.</task>
<task>Gtk#</task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Peter</first-name>
<last-name>Williams</last-name>
</name>
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<location>Cambridge, MA</location>
<organization></organization>
<description>Makefile Magician</description>
<tasks>
<task>MCS build system </task>
</tasks>
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

+6 -5
View File
@@ -27,12 +27,13 @@
* Win32/Wine edition.
Currently (May 21st, 2003) to get the Windows.Forms support
working, you need a Mono installation from CVS, and you need
to install Wine plus the <a
href="http://www.openlinksw.com">OpenLink patch</a>, and
To get the Windows.Forms support working, you need a Mono
installation from CVS, and you need to install Wine plus the
<a href="http://www.openlinksw.com">OpenLink patch</a>, and
define the environment variable "SWF" (export SWF=1 from your
shell).
shell). For more information, see the <a
href="http://www.nullenvoid.com/mono/wiki/index.php/MonoWinePackages">Mono
Wine Packages</a> page in the Mono Wiki.
<table>
<tr>
+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
+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
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>
+89
View File
@@ -1,3 +1,92 @@
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:
+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.
+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
+41
View File
@@ -0,0 +1,41 @@
A platform makefile should define the following variables:
PLATFORM_DEBUG_FLAGS
The flags to pass to the C# compiler to generate appropriate
debug information
PLATFORM_MCS_FLAGS
Flags that are always passed to the C# compiler
PLATFORM_RUNTIME
The system runtime for executing CLR programs. Blank on Win32,
probably $(RUNTIME) (the Mono runtime) on everything else.
PLATFORM_CORLIB
The name of the system's corlib. 'mscorlib.dll' for windows,
corlib.dll for mono-based.
PLATFORM_MAKE_CORLIB_CMP
Define it to something nonempty if corlib_cmp.dll should be built
on this platform. Only should be done if the platform provides its
own non-Mono runtime that we can compare corlibs with.
PLATFORM_TWEAK_CORLIB_SOURCES
A command to futz around with the sources to corlib.dll. See linux.make
and win32.make for examples. Should be 'cat' unless you know what you're
doing.
PLATFORM_CHANGE_SEPARATOR_CMD
A command to change filename separators given on stdin. Leave undefined
if Unixy filenames will work. See win32.make.
BOOTSTRAP_MCS
The C# compiler used to compile mcs/mcs.exe, and possibly other
assemblies if the user is doing a standalone build (that is, not
a bootstrap).
hidden_prefix, hidden_suffix
Prefix and suffix for hidden/temporary files. Unused right now, I think.
platform-check:
A target to make sure that we can build on this platform.
+38
View File
@@ -0,0 +1,38 @@
# -*- makefile -*-
#
# This makefile fragment has (default) configuration
# settings for building MCS.
# DO NOT EDIT THIS FILE! Create config.make and override settings
# there.
RUNTIME_FLAGS =
TEST_HARNESS = $(topdir)/class/lib/nunit-console.exe
MCS_FLAGS = $(PLATFORM_DEBUG_FLAGS)
LIBRARY_FLAGS = /noconfig
CFLAGS = -g -O2
INSTALL = /usr/bin/install
RUNTIME = mono $(RUNTIME_FLAGS)
TEST_RUNTIME=$(PLATFORM_RUNTIME)
prefix = /usr/local
# In case you want to add MCS_FLAGS, this lets you not have to
# keep track of the default value
DEFAULT_MCS_FLAGS := $(MCS_FLAGS)
# Not all echos are alike. HP/UX doesn't need a -e command.
# Test for this here
ifeq ($(shell echo -e foo),foo)
ECHO_ESCAPE=echo -e
else
ECHO_ESCAPE=echo
endif
# You shouldn't need to set these but might on a
# weird platform.
# CC = cc
# SHELL = /bin/sh
# MAKE = gmake
+3
View File
@@ -0,0 +1,3 @@
*.makefrag
*.response
*.stamp
View File
Whitespace-only changes.
+73
View File
@@ -0,0 +1,73 @@
# -*- makefile -*-
#
# The rules for building a program.
# I'd rather not create a response file here,
# but since on Win32 we need to munge the paths
# anyway, we might as well.
base_prog = $(shell basename $(PROGRAM))
sourcefile = $(base_prog).sources
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
response = $(depsdir)/$(base_prog).response
else
response = $(sourcefile)
endif
stampfile = $(depsdir)/$(base_prog).stamp
makefrag = $(depsdir)/$(base_prog).makefrag
pdb = $(patsubst %.exe,%.pdb,$(PROGRAM))
all-local: $(PROGRAM)
install-local: $(PROGRAM)
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
$(INSTALL_BIN) $(PROGRAM) $(DESTDIR)$(prefix)/bin
clean-local:
-rm -f *.exe $(BUILT_SOURCES) $(CLEAN_FILES) $(pdb) $(stampfile) $(makefrag)
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
-rm -f $(response)
endif
ifndef HAS_TEST
test-local: $(PROGRAM)
run-test-local:
endif
DISTFILES = $(sourcefile) $(EXTRA_DISTFILES)
dist-local: dist-default
for f in `cat $(sourcefile)` ; do \
dest=`dirname $(distdir)/$$f` ; \
$(MKINSTALLDIRS) $$dest && cp $$f $$dest || exit 1 ; \
done
# Changing makefile probably means changing the
# sources, so let's be safe and add a Makefile dep
$(PROGRAM): $(makefrag) $(response) $(stampfile)
$(CSCOMPILE) /target:exe /out:$@ $(BUILT_SOURCES) @$(response)
$(makefrag): $(sourcefile)
@echo Creating $@ ...
@echo "HAVE_MAKEFRAG = yes" >[email protected]
@echo "$(stampfile): $(BUILT_SOURCES) \\" >>[email protected]
@cat $< |sed -e 's,\.cs[ \t]*$$,\.cs \\,' >>[email protected]
@cat [email protected] |sed -e '$$s, \\$$,,' >$@
@$(ECHO_ESCAPE) "\ttouch \$$@" >>$@
@rm -rf [email protected]
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
$(response): $(sourcefile)
@echo Creating $@ ...
@cat $< |$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
endif
-include $(makefrag)
ifndef HAVE_MAKEFRAG
$(stampfile):
touch $@
endif
+132
View File
@@ -0,0 +1,132 @@
# -*- makefile -*-
#
# The rules for building our class libraries.
#
# The NO_TEST stuff is not too pleasant but whatcha
# gonna do.
# All the dep files now land in the same directory so we
# munge in the library name to keep the files from clashing.
sourcefile = $(LIBRARY).sources
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
response = $(depsdir)/$(LIBRARY).response
else
response = $(sourcefile)
endif
makefrag = $(depsdir)/$(LIBRARY).makefrag
stampfile = $(depsdir)/$(LIBRARY).stamp
the_lib = $(topdir)/class/lib/$(LIBRARY)
the_pdb = $(patsubst %.dll,%.pdb,$(the_lib))
ifndef NO_TEST
test_lib = $(patsubst %.dll,%_test.dll,$(LIBRARY))
test_pdb = $(patsubst %.dll,%.pdb,$(test_lib))
test_sourcefile = $(test_lib).sources
test_response = $(depsdir)/$(test_lib).response
test_makefrag = $(depsdir)/$(test_lib).makefrag
test_stampfile = $(depsdir)/$(test_lib).stamp
test_flags = /r:$(the_lib) /r:$(topdir)/class/lib/NUnit.Framework.dll $(TEST_MCS_FLAGS)
endif
all-local: $(the_lib)
install-local: $(the_lib)
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/lib
$(INSTALL_LIB) $(the_lib) $(DESTDIR)$(prefix)/lib
clean-local:
-rm -f $(the_lib) $(makefrag) $(test_lib) \
$(test_makefrag) $(test_response) \
$(stampfile) $(test_stampfile) \
$(the_pdb) $(test_pdb) \
TestResult.xml
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
-rm -rf $(response)
endif
ifndef NO_TEST
test-local: $(the_lib) $(test_lib)
run-test-local:
$(TEST_RUNTIME) $(TEST_HARNESS) $(test_lib)
else
test-local: $(the_lib)
run-test-local:
endif
DISTFILES = $(sourcefile) $(test_sourcefile) $(EXTRA_DISTFILES)
ifdef NO_TEST
TEST_FILES =
else
TEST_FILES = `cat $(test_sourcefile) |sed -e 's,^\(.\),Test/\1,'`
endif
dist-local: dist-default
for f in `cat $(sourcefile)` $(TEST_FILES) ; do \
dest=`dirname $(distdir)/$$f` ; \
$(MKINSTALLDIRS) $$dest && cp $$f $$dest || exit 1 ; \
done
# Fun with dependency tracking
$(the_lib): $(makefrag) $(stampfile) $(response)
$(CSCOMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) /target:library /out:$@ @$(response)
$(makefrag): $(sourcefile)
@echo Creating $@ ...
@echo "HAVE_MAKEFRAG = yes" >[email protected]
@echo "$(stampfile): \\" >>[email protected]
@cat $< |sed -e 's,\.cs[ \t]*$$,\.cs \\,' >>[email protected]
@cat [email protected] |sed -e '$$s, \\$$,,' >$@
@$(ECHO_ESCAPE) "\ttouch \$$@" >>$@
@rm -rf [email protected]
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
$(response): $(sourcefile)
@echo Creating $@ ...
@cat $< |$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
endif
-include $(makefrag)
ifndef HAVE_MAKEFRAG
$(stampfile):
touch $@
endif
# for now, don't give any /lib flags or set MONO_PATH, since we
# give a full path to the assembly.
ifndef NO_TEST
$(test_lib): $(test_makefrag) $(the_lib) $(test_response) $(test_stampfile)
$(CSCOMPILE) /target:library /out:$@ $(test_flags) @$(test_response)
$(test_response): $(test_sourcefile)
@echo Creating $@ ...
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
@cat $< |sed -e 's,^\(.\),Test/\1,' |$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
else
@cat $< |sed -e 's,^\(.\),Test/\1,' >$@
endif
$(test_makefrag): $(test_response)
@echo Creating $@ ...
@echo "HAVE_TEST_MAKEFRAG = yes" >[email protected]
@echo "$(test_stampfile): \\" >>[email protected]
@cat $< |sed -e 's,\.cs[ \t]*$$,\.cs \\,' >>[email protected]
@cat [email protected] |sed -e '$$s, \\$$,,' >$@
@$(ECHO_ESCAPE) "\ttouch \$$@" >>$@
@rm -rf [email protected]
-include $(test_makefrag)
endif
ifndef HAVE_TEST_MAKEFRAG
$(test_stampfile):
touch $@
endif
+44
View File
@@ -0,0 +1,44 @@
# -*- makefile -*-
#
# Platform-specific makefile rules. This one's for linux.
#
PLATFORM_DEBUG_FLAGS = -g
PLATFORM_MCS_FLAGS =
PLATFORM_RUNTIME = $(RUNTIME)
PLATFORM_CORLIB = corlib.dll
BOOTSTRAP_MCS = mcs
# Define this if this ever will work on Linux
# PLATFORM_MAKE_CORLIB_CMP = yes
# This is for the security permission attribute problem
# on windows
PLATFORM_TWEAK_CORLIB_SOURCES = cat
# This is for changing / to \ on windows
# Don't define it so we don't needlessly copy the sources
# file. This command is handy for testing:
#
# PLATFORM_CHANGE_SEPARATOR_CMD=sed -e 's,/,/./,g'
hidden_prefix = .
hidden_suffix =
platform-check:
@if ! type $(BOOTSTRAP_MCS) >/dev/null 2>&1 ; then \
echo "*** You need a C# compiler installed to build MCS." ; \
echo "*** Read README.building for information on how to bootstrap" ; \
echo "*** a Mono installation." ; \
exit 1 ; \
fi
# I tried this but apparently Make's version strings aren't that
# ... consistent between releases. Whatever.
#
# @if ! $(MAKE) --version |grep '^GNU Make version 3' 1>/dev/null 2>&1 ; then \
# echo "*** You need to build MCS with GNU make. Try \`gmake'" ; \
# exit 1 ; \
# fi
+21
View File
@@ -0,0 +1,21 @@
# -*- makefile -*-
#
# Win32 platform-specific makefile rules.
#
PLATFORM_DEBUG_FLAGS = /debug+ /debug:full
PLATFORM_MCS_FLAGS = /nologo /optimize
PLATFORM_RUNTIME =
PLATFORM_CORLIB = mscorlib.dll
BOOTSTRAP_MCS = csc.exe
MCS = $(BOOTSTRAP_MCS)
PLATFORM_MAKE_CORLIB_CMP = yes
PLATFORM_TWEAK_CORLIB_SOURCES=cat - corlib.dll.win32-excludes |sort |uniq -u
PLATFORM_CHANGE_SEPARATOR_CMD=tr '/' '\\\\'
hidden_prefix =
hidden_suffix = .tmp
platform-check:
+38
View File
@@ -0,0 +1,38 @@
# -*- Makefile -*-
#
# The 'atomic' profile.
# In this profile we compile everything relative to the already-installed
# runtime, so we use the bootstrap (external) compiler for everything and
# don't set MONO_PATH.
#
# (So the libraries are compiled and installed atomically, not incrementally.)
MCS = $(BOOTSTRAP_MCS)
# Causes some build errors
#PROFILE_MCS_FLAGS = /d:NET_1_1 /lib:$(prefix)/lib
# Get our installed libraries (an issue on windows)
PROFILE_MCS_FLAGS = /lib:$(prefix)/lib
# Check that installed libraries even exist.
profile-check:
@if test '!' -f $(prefix)/lib/I18N.dll ; then \
echo ; \
echo "$(prefix)/lib/I18N.dll does not exist." ; \
echo ; \
echo "This probably means that you are building from a miniature" ; \
echo "distribution of MCS or don't yet have an installed MCS at all." ; \
echo "The current build profile needs a complete installation of" ; \
echo "MCS to build against; you need to build using the default" ; \
echo "profile. Use this command:" ; \
echo ; \
echo " $(MAKE) PROFILE=default" ; \
echo ; \
exit 1 ; \
fi
# Exciting, no?
+29
View File
@@ -0,0 +1,29 @@
# -*- makefile -*-
#
# The default 'bootstrap' profile -- builds so that we link against
# the libraries as we build them.
#
# We use the platform's native C# runtime and compiler if possible.
# Note that we have sort of confusing terminology here; BOOTSTRAP_MCS
# is what allows us to bootstrap ourselves, but when we are bootstrapping,
# we use INTERNAL_MCS.
# When bootstrapping, compile against our new assemblies.
# (MONO_PATH doesn't just affect what assemblies are loaded to
# run the compiler; /r: flags are by default loaded from whatever's
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
profile-check:
# Causes some build errors
#PROFILE_MCS_FLAGS = /d:NET_1_1
+29
View File
@@ -0,0 +1,29 @@
# -*- makefile -*-
#
# The default 'bootstrap' profile -- builds so that we link against
# the libraries as we build them.
#
# We use the platform's native C# runtime and compiler if possible.
# Note that we have sort of confusing terminology here; BOOTSTRAP_MCS
# is what allows us to bootstrap ourselves, but when we are bootstrapping,
# we use INTERNAL_MCS.
# When bootstrapping, compile against our new assemblies.
# (MONO_PATH doesn't just affect what assemblies are loaded to
# run the compiler; /r: flags are by default loaded from whatever's
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
profile-check:
# Causes some build errors
PROFILE_MCS_FLAGS = -d:GENERICS
+15
View File
@@ -0,0 +1,15 @@
# -*- Makefile -*-
#
# Only build .NET 1.0 classes.
#
# If we want to combine this with, say, the atomic profile,
# we should create 'atomic-net_1_0.make' which includes both.
#
# Ideally you could say 'make PROFILE="bootstrap net_1_0"' but
# that would be pretty hard to code.
include $(topdir)/build/profiles/default.make
PROFILE_MCS_FLAGS = /d:NET_1_0
# done
+145
View File
@@ -0,0 +1,145 @@
# -*- makefile -*-
#
# This is the makefile fragment with default rules
# for building things in MCS
#
# To customize the build, you should edit config.make.
# If you need to edit this file, that's a bug; email
# [email protected] about it.
# Some more variables. The leading period in the sed expression prevents
# thisdir = . from being changed into '..' for the toplevel directory.
dots := $(shell echo $(thisdir) |sed -e 's,[^./][^/]*,..,g')
topdir := $(dots)
VERSION = 0.25.99
USE_MCS_FLAGS = $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS)
CSCOMPILE = $(MCS) $(USE_MCS_FLAGS)
CCOMPILE = $(CC) $(USE_CFLAGS)
BOOT_COMPILE = $(BOOTSTRAP_MCS) $(USE_MCS_FLAGS)
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_BIN = $(INSTALL) -m 755
INSTALL_LIB = $(INSTALL_BIN)
MKINSTALLDIRS = $(SHELL) $(topdir)/mkinstalldirs
INTERNAL_MCS = $(RUNTIME) $(topdir)/mcs/mcs.exe
corlib = corlib.dll
depsdir = $(topdir)/build/deps
distdir = $(dots)/$(package)/$(thisdir)
# Make sure these propagate if set manually
export PLATFORM
export PROFILE
export MCS
export MCS_FLAGS
export CC
export CFLAGS
export INSTALL
export MKINSTALLDIRS
export TEST_HARNESS
export BOOTSTRAP_MCS
export DESTDIR
# Get this so the platform.make platform-check rule doesn't become the
# default target
default: all
# Get initial configuration. pre-config is so that the builder can
# override PLATFORM or PROFILE
include $(topdir)/build/config-default.make
-include $(topdir)/build/pre-config.make
# Default PLATFORM and PROFILE if they're not already defined.
ifndef PLATFORM
ifeq ($(OS),Windows_NT)
PLATFORM = win32
else
PLATFORM = linux
endif
endif
# Platform config
include $(topdir)/build/platforms/$(PLATFORM).make
ifdef PLATFORM_CORLIB
corlib = $(PLATFORM_CORLIB)
endif
# Useful
ifeq ($(PLATFORM_RUNTIME),$(RUNTIME))
PLATFORM_MONO_NATIVE = yes
endif
# Rest of the configuration
ifndef PROFILE
PROFILE = default
endif
include $(topdir)/build/profiles/$(PROFILE).make
-include $(topdir)/build/config.make
# Simple rules
%-recursive:
@list='$(SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $*) || exit 1 ; \
done
# note: dist-local dep, extra subdirs, $* has become $@
dist-recursive: dist-local
@list='$(SUBDIRS) $(DIST_ONLY_SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $@) || exit 1 ; \
done
# We do this manually to not have a make[1]: blah message (That is,
# instead of using a '%: %-recursive %-local' construct.)
#
# Let the makefile override these for special situations (running checks
# in the toplevel makefile, or a directory that needs to be built before
# its subdirectories).
ifndef OVERRIDE_BARE_TARGETS
all: all-recursive all-local
install: install-recursive install-local
test: test-recursive test-local
run-test: run-test-recursive test-local run-test-local
clean: clean-recursive clean-local
endif
# Can only do this from the top dir
# ## dist: dist-recursive dist-local
# We invert the test here to not end in an error
# if ChangeLog doesn't exist.
#
# Note that we error out if we try to dist a nonexistant
# file. Seems reasonable to me.
dist-default:
-mkdir $(distdir)
test '!' -f ChangeLog || cp ChangeLog $(distdir)
for f in Makefile $(DISTFILES) ; do \
dest=`dirname $(distdir)/$$f` ; \
$(MKINSTALLDIRS) $$dest && cp $$f $$dest || exit 1 ; \
done
# Useful
withmcs:
$(MAKE) MCS='$(INTERNAL_MCS)' BOOTSTRAP_MCS='$(INTERNAL_MCS)' all
@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Accessibility.dll -->
<project name="System" default="build">
<property name="debug" value="false"/>
<target name="build">
<mkdir dir="../lib"/>
<csc target="library" output="../lib/Accessibility.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<!-- cor compare dies with these currently -->
<!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
<!--arg value="/r:corlib.dll"/-->
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
</csc>
<copy file="../lib/Accessibility.dll" tofile="Test/Accessibility.dll"/>
<!-- TODO: missing tests & buildfile
<nant basedir="Test" target="build"/>
-->
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<nant basedir="Test" target="clean"/>
<delete file="../lib/Accessibility.dll" failonerror="false"/>
</target>
</project>
@@ -1,2 +1,3 @@
Accessibility/IAccessible.cs
Accessibility/IAccessibleHandler.cs
Assembly/AssemblyInfo.cs
@@ -0,0 +1,48 @@
//
// AssemblyInfo.cs
//
// Author:
// Andreas Nahr ([email protected])
//
// (C) 2003 Ximian, Inc. http://www.ximian.com
//
using System;
using System.Reflection;
using System.Resources;
using System.Security;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about the system assembly
#if (NET_1_0)
[assembly: AssemblyVersion("1.0.3300.0")]
[assembly: SatelliteContractVersion("1.0.3300.0")]
#endif
#if (NET_1_1)
[assembly: AssemblyVersion("1.0.5000.0")]
[assembly: SatelliteContractVersion("1.0.5000.0")]
[assembly: ComCompatibleVersion(1, 0, 3300, 0)]
[assembly: TypeLibVersion(1, 10)]
#endif
[assembly: AssemblyTitle("Accessibility.dll")]
[assembly: AssemblyDescription("Accessibility.dll")]
[assembly: AssemblyConfiguration("Development version")]
[assembly: AssemblyCompany("MONO development team")]
[assembly: AssemblyProduct("MONO CLI")]
[assembly: AssemblyCopyright("(c) 2003 Various Authors")]
[assembly: AssemblyTrademark("")]
[assembly: CLSCompliant(true)]
[assembly: AssemblyDefaultAlias("Accessibility.dll")]
[assembly: AssemblyInformationalVersion("0.0.0.1")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: ComVisible(false)]
[assembly: AllowPartiallyTrustedCallers]
[assembly: Guid("1ea4dbf0-3c3b-11cf-810c-00aa00389b71")]
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
@@ -0,0 +1,4 @@
2003-07-17 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
* ChangeLog: Added
+5
View File
@@ -1,3 +1,8 @@
2003-07-17 Andreas Nahr <[email protected]>
* Accessibility.dll.sources:
* list.unix: AssemblyInfo.cs added
2002-12-10 Jeroen Janssen <[email protected]>
* updated .build file to correctly build with Nant
+9
View File
@@ -0,0 +1,9 @@
thisdir = class/Accessibility
SUBDIRS =
include ../../build/rules.make
LIBRARY = Accessibility.dll
LIB_MCS_FLAGS = /r:$(corlib)
NO_TEST = yes
include ../../build/library.make
-16
View File
@@ -1,16 +0,0 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Accessibility.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
-44
View File
@@ -1,44 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for ByteFX.Data.dll -->
<project name="ByteFX.Data" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/ByteFX.Data.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/nowarn:0067"/>
<arg value="/nowarn:0109"/>
<arg value="/nowarn:0169"/>
<arg value="/nowarn:0649"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/>
<arg value="/r:../lib/System.dll"/>
<arg value="/r:../lib/System.Xml.dll"/>
<arg value="/r:../lib/System.Data.dll"/>
<arg value="/r:../lib/ICSharpCode.SharpZipLib.dll"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
<includes name="../lib/System.dll"/>
<includes name="../lib/System.Xml.dll"/>
<includes name="../lib/System.Data.dll"/>
<includes name="../lib/ICSharpCode.SharpZipLib.dll"/>
</references>
</csc>
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<delete file="../lib/ByteFX.Data.dll" failonerror="false"/>
</target>
</project>
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/ByteFX.Data
SUBDIRS =
include ../../build/rules.make
LIBRARY = ByteFX.Data.dll
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
/r:System.Data.dll /r:ICSharpCode.SharpZipLib.dll
NO_TEST = yes
EXTRA_DISTFILES = ChangeLog.txt lgpl.txt readme.txt
include ../../build/library.make
-14
View File
@@ -1,14 +0,0 @@
topdir = ../..
LIBRARY = $(topdir)/class/lib/ByteFX.Data.dll
LIB_LIST = list
LIB_FLAGS = -r corlib -r System -r System.Xml -r System.Data -r ICSharpCode.SharpZipLib
SOURCES_INCLUDE=./*.cs ./Common/*.cs ./mysqlclient/*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+17
View File
@@ -1,3 +1,20 @@
2003-08-11 Duncan Mak <[email protected]>
* Makefile (SUBDIRS): Add Mono.Cairo.dll
2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* Makefile: only build Mono.CSharp.Debugger under linux.
2003-07-23 Peter Williams <[email protected]>
* Makefile (SUBDIRS): Add System.Drawing.Design.dll to the
default build.
2003-07-22 Cesar Lopez Nataren <[email protected]>
* mcs/class/Makefile: Added Microsoft.Vsa.dll to the build.
2003-04-04 Miguel de Icaza <[email protected]>
*
@@ -1,45 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Commons.Xml.Relaxng.dll -->
<project name="Commons.Xml.Relaxng" default="build">
<property name="debug" value="true"/>
<target name="build">
<mkdir dir="../lib"/>
<csc target="library" output="../lib/Commons.Xml.Relaxng.dll" debug="${debug}">
<!-- 'foo' is defined in multiple places; using definition from 'bar' -->
<arg value="/nowarn:1595"/>
<!-- Other languages may permit the internal virtual member 'foo' to be overridden -->
<arg value="/nowarn:0679"/>
<arg value="/nowarn:0649"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<!--
<arg value="/nostdlib" />
<references basedir="..\lib">
<includes name="corlib.dll"/>
<includes name="System.dll"/>
<includes name="System.Xml.dll"/>
</references>
<arg value="/r:..\lib\System.dll" />
<arg value="/r:..\lib\System.Xml.dll" />
-->
</csc>
<nant basedir="Test" target="build"/>
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<nant basedir="Test" target="clean"/>
<delete file="../lib/Commons.Xml.Relaxng.dll" failonerror="false"/>
<delete file="Test/Commons.Xml.Relaxng.dll" failonerror="false"/>
<delete file="Test/System.Xml.dll" failonerror="false"/>
<delete file="../lib/Commons.Xml.Relaxng.pdb" failonerror="false"/>
</target>
</project>
@@ -0,0 +1,3 @@
RdpPatternTests.cs
RelaxngReaderTests.cs
RelaxngValidatingReaderTests.cs
+19
View File
@@ -0,0 +1,19 @@
thisdir = class/Commons.Xml.Relaxng
SUBDIRS =
include ../../build/rules.make
LIBRARY = Commons.Xml.Relaxng.dll
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
EXTRA_DISTFILES = \
Test/ChangeLog \
Test/XmlFiles/ChangeLog \
Test/XmlFiles/SimpleElementPattern1.xml \
Test/XmlFiles/SimpleElementPattern1.rng \
Test/XmlFiles/SimpleElementPattern2.xml \
Test/XmlFiles/SimpleElementPattern2.rng \
Test/XmlFiles/team.xml \
Test/XmlFiles/team.rng
include ../../build/library.make
@@ -1,55 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Commons.Xml.Relaxng_test.dll -->
<!-- Target build (default) builds tests -->
<!-- Target test runs tests -->
<project name="Commons.Xml.Relaxng_test" default="build">
<property name="debug" value="false"/>
<property name="nunit_home" value="..\..\..\nunit"/>
<target name="build">
</target>
<target name="assemblies">
<copy file="../../lib/Commons.Xml.Relaxng.dll" tofile="Commons.Xml.Relaxng.dll"/>
<csc target="library" output="Commons.Xml.Relaxng_test.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<sources>
<includes name="**/*.cs"/>
</sources>
<references basedir="..\..\..\nunit20">
<includes name="NUnit.Framework.dll"/>
</references>
<!--
<arg value="/nostdlib" />
<references basedir="..\..\lib">
<includes name="corlib.dll"/>
<includes name="System.dll"/>
<includes name="System.Xml.dll"/>
<includes name="Commons.Xml.Relaxng.dll"/>
</references>
<arg value="/r:..\..\lib\corlib.dll" />
<arg value="/r:..\..\lib\System.dll" />
<arg value="/r:..\..\lib\System.Xml.dll" />
-->
<references basedir="..\..\lib">
<includes name="Commons.Xml.Relaxng.dll"/>
</references>
<arg value="/r:Commons.Xml.Relaxng.dll" />
</csc>
<!--
<copy file="../../lib/corlib.dll" tofile="corlib.dll"/>
<copy file="../../lib/System.dll" tofile="System.dll"/>
<copy file="../../lib/System.Xml.dll" tofile="System.XML.dll"/>
-->
</target>
<target name="test" depends="assemblies">
<exec program="..\..\..\nunit20\nunit-console.exe" commandline="Commons.Xml.Relaxng_test.dll" failonerror="false"/>
</target>
<target name="clean">
<delete file="Commons.Xml.Relaxng_test.dll" failonerror="false"/>
</target>
</project>
@@ -1,29 +0,0 @@
topdir = ../../..
LIBRARY = Commons.Xml.Relaxng_test.dll
LIB_LIST = Commons.Xml.Relaxng_test.args
LIB_FLAGS = \
-r $(topdir)/class/lib/corlib.dll \
-r $(topdir)/class/lib/System.dll \
-r $(topdir)/class/lib/System.Xml.dll \
-r $(topdir)/class/lib/Commons.Xml.Relaxng.dll \
-r $(topdir)/class/lib/NUnit.Framework.dll
ifdef SUBDIR
USE_SOURCE_RULES=1
SOURCES_INCLUDE=./$(SUBDIR)/*.cs
SOURCES_EXCLUDE=_DUMMY_
endif
include $(topdir)/class/library.make
NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
MONO_PATH = $(topdir)/nunit20:$(topdir)/class/lib:.
test: $(LIBRARY) run_test
.PHONY: run_test
run_test:
-MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY)
-12
View File
@@ -1,12 +0,0 @@
Commons.Xml\XmlDefaultReader.cs
Commons.Xml.Relaxng\Misc.cs
Commons.Xml.Relaxng\RelaxngReader.cs
Commons.Xml.Relaxng\RelaxngValidatingReader.cs
Commons.Xml.Relaxng\RngGrammar.cs
Commons.Xml.Relaxng\RngNameClass.cs
Commons.Xml.Relaxng\RngPattern.cs
Commons.Xml.Relaxng\RngPatternType.cs
Commons.Xml.Relaxng.Derivative\RdpNameClasses.cs
Commons.Xml.Relaxng.Derivative\RdpObjects.cs
Commons.Xml.Relaxng.Derivative\RdpPatterns.cs
Commons.Xml.Relaxng.Derivative\Util.cs
@@ -1,16 +0,0 @@
topdir = ../..
TEST_DIR = Test
LIBRARY = $(topdir)/class/lib/Commons.Xml.Relaxng.dll
LIB_LIST = list.unix
LIB_FLAGS = -r:corlib -r:System -r:System.Xml
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test* \
./System.Xml/Driver.cs
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+4
View File
@@ -1,3 +1,7 @@
2003-07-03 Andreas Nahr <[email protected]>
* Cscompmgd.build: Removed unneeded unsafe compiler switch
2002-12-07 Jackson Harper <[email protected]>
* Cscompmgd.build: Added file
-27
View File
@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Cscompmgd.dll -->
<project name="Cscompmgd" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/Cscompmgd.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
<includes name="../lib/System.dll"/>
</references>
</csc>
</target>
<target name="clean">
<delete file="../lib/Cscompmgd.dll" failonerror="false"/>
</target>
</project>
File renamed without changes.
+9
View File
@@ -0,0 +1,9 @@
thisdir = class/Cscompmgd
SUBDIRS =
include ../../build/rules.make
LIBRARY = Cscompmgd.dll
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll
NO_TEST = yes
include ../../build/library.make
-15
View File
@@ -1,15 +0,0 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Cscompmgd.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r System
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+9
View File
@@ -0,0 +1,9 @@
thisdir = class/Custommarshalers
SUBDIRS =
include ../../build/rules.make
LIBRARY = System.Runtime.InteropServices.CustomMarshalers.dll
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll
NO_TEST = yes
include ../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../..
LIBRARY = $(topdir)/class/lib/Custommarshalers.dll
LIB_LIST = list
LIB_FLAGS = -r corlib -r System
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=./Test*
export MONO_PATH = $(topdir)/class/lib:
include $(topdir)/class/library.make
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/I18N/CJK
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.CJK.dll
LOCAL_MCS_FLAGS = /unsafe /resource:big5.table /resource:gb2312.table /resource:jis.table /r:$(corlib) /r:I18N.dll
NO_TEST = yes
EXTRA_DISTFILES = big5.table jis.table gb2312.table
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.CJK.dll
LIB_LIST = list.unix
LIB_FLAGS = --unsafe --resource big5.table --resource gb2312.table --resource jis.table -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
File renamed without changes.
+9
View File
@@ -0,0 +1,9 @@
thisdir = class/I18N/Common
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.dll
LOCAL_MCS_FLAGS = /r:$(corlib)
NO_TEST = yes
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
-111
View File
@@ -1,111 +0,0 @@
<?xml version="1.0"?>
<project name="pnetlib I18N" default="build">
<property name="debug" value="false"/>
<target name="build">
<!-- Build the primary I18N.dll library -->
<csc output="../lib/I18N.dll" target="library" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:corlib.dll"/>
<sources>
<includes name="Common/*.cs"/>
</sources>
<!--<resources>
<file name="../resources/en_US/I18N/I18N.resources"/>
</resources>-->
</csc>
<!-- Build the I18N.CJK.dll library -->
<csc output="../lib/I18N.CJK.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/>
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<arg value="/resource:CJK/jis.table"/>
<sources>
<includes name="CJK/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.MidEast.dll library -->
<csc output="../lib/I18N.MidEast.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="MidEast/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.Other.dll library -->
<csc output="../lib/I18N.Other.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="Other/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.Rare.dll library -->
<csc output="../lib/I18N.Rare.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="Rare/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.West.dll library -->
<csc output="../lib/I18N.West.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="West/*.cs"/>
</sources>
</csc>
</target>
<target name="clean">
<delete failonerror="false">
<fileset basedir="../lib">
<includes name="I18N.dll"/>
<includes name="I18N.CJK.dll"/>
<includes name="I18N.MidEast.dll"/>
<includes name="I18N.Other.dll"/>
<includes name="I18N.Rare.dll"/>
<includes name="I18N.West.dll"/>
</fileset>
</delete>
<!-- Uncomment this if build file added for those.
<nant basedir="Common" target="clean"/>
<nant basedir="CJK" target="clean"/>
<nant basedir="MidEast" target="clean"/>
<nant basedir="Other" target="clean"/>
<nant basedir="Rare" target="clean"/>
<nant basedir="West" target="clean"/>
-->
</target>
</project>
+15
View File
@@ -0,0 +1,15 @@
thisdir = class/I18N
SUBDIRS = Common West MidEast Other Rare CJK
include ../../build/rules.make
DISTFILES = \
README \
README.mono \
mklist.sh \
tools/cvt.sh \
tools/ucm2cp.c \
tools/uni2tab.c
all-local install-local clean-local test-local run-test-local:
dist-local: dist-default
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/I18N/MidEast
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.MidEast.dll
LOCAL_MCS_FLAGS = /r:$(corlib) /r:I18N.dll
NO_TEST = yes
EXTRA_DISTFILES = $(wildcard *.ucm)
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.MidEast.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/I18N/Other
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.Other.dll
LOCAL_MCS_FLAGS = /r:$(corlib) /r:I18N.dll
NO_TEST = yes
EXTRA_DISTFILES = $(wildcard *.ucm)
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.Other.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/I18N/Rare
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.Rare.dll
LOCAL_MCS_FLAGS = /r:$(corlib) /r:I18N.dll
NO_TEST = yes
EXTRA_DISTFILES = $(wildcard *.ucm)
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.Rare.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
thisdir = class/I18N/West
SUBDIRS =
include ../../../build/rules.make
LIBRARY = I18N.West.dll
LOCAL_MCS_FLAGS = /r:$(corlib) /r:I18N.dll
NO_TEST = yes
EXTRA_DISTFILES = $(wildcard *.ucm)
include ../../../build/library.make
-13
View File
@@ -1,13 +0,0 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.West.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
Loaded 100 of 2019 files, more files were not shown because too many files have changed in this diff. Show more