Compare commits

...
1407 Commits
Author SHA1 Message Date
nobody dc0e724dcc This commit was manufactured by cvs2svn to create tag 'MONO_0_8'.
svn path=/tags/MONO_0_8/mono/; revision=2343
2002-02-11 22:49:14 +00:00
Miguel de Icaza 2afd2692aa Add cvsignores
svn path=/trunk/mono/; revision=2342
2002-02-11 22:49:14 +00:00
Miguel de Icaza 8427cfb2ce More
svn path=/trunk/mono/; revision=2341
2002-02-11 22:48:46 +00:00
Miguel de Icaza d4afe1e1bf Flush pending changes for 0.8
svn path=/trunk/mono/; revision=2340
2002-02-11 22:47:45 +00:00
Dan Lewis 09fbbe01d7 added custom format string test.
svn path=/trunk/mcs/; revision=2339
2002-02-11 22:26:30 +00:00
Miguel de Icaza a6126c15ea Add mcs man page here, mcs script
svn path=/trunk/mono/; revision=2338
2002-02-11 22:18:46 +00:00
Miguel de Icaza c579526a71 Until we get Custom Number Format Strings in our corlib, get this out
svn path=/trunk/mcs/; revision=2337
2002-02-11 22:17:12 +00:00
Christopher Podurgiel b2340c921b * DataColumnChangeEventArgs.cs : Added
* DataColumnChangeEventHandler.cs : Added

svn path=/trunk/mcs/; revision=2336
2002-02-11 21:50:47 +00:00
Duncan Mak 381389ed22 2002-02-11 Duncan Mak <[email protected]>
* Convert.cs: Implemented the ChangeType () methods.

svn path=/trunk/mcs/; revision=2335
2002-02-11 21:35:41 +00:00
Miguel de Icaza b48dc8c50b More resources
svn path=/trunk/mono/; revision=2334
2002-02-11 21:20:20 +00:00
Jason Diamond daa65c9207 Fixed build to test our XML classes and not Microsoft's. Added initial namespace support.
svn path=/trunk/mcs/; revision=2333
2002-02-11 21:08:55 +00:00
Miguel de Icaza e3084fbe32 Flush small changes
svn path=/trunk/mcs/; revision=2332
2002-02-11 20:04:03 +00:00
Ravi Pratap M ac7829137e 2002-02-11 Ravi Pratap <[email protected]>
* expression.cs (BetterFunction): Catch hideous bug which was
	 preventing us from detecting ambiguous calls due to implicit casts i.e
	cs0121.

svn path=/trunk/mcs/; revision=2331
2002-02-11 19:43:18 +00:00
Nick Drochak 672c72cf6b 2002-02-12 Nick Drochak <[email protected]>
* UnicodeCategory.cs: Fix typo.

svn path=/trunk/mcs/; revision=2330
2002-02-11 19:29:10 +00:00
Duncan Mak 315b23a18c 2002-02-11 Duncan Mak <[email protected]>
* AllTests.cs: Removed entry for IPHostEntryTest.cs because Mads
      removed it and included it in the new DnsTest.cs. This fixes
      the build.

svn path=/trunk/mcs/; revision=2329
2002-02-11 19:11:31 +00:00
Miguel de Icaza 99296f592a remove man page from here
svn path=/trunk/mcs/; revision=2328
2002-02-11 19:07:04 +00:00
David Brandt 8ee5929fd9 Adding CharTest to AllTests
svn path=/trunk/mcs/; revision=2327
2002-02-11 18:45:55 +00:00
David Brandt 62bdaf5d11 Adding some tests for Char
svn path=/trunk/mcs/; revision=2326
2002-02-11 18:45:29 +00:00
Miguel de Icaza 8e27930703 More news
svn path=/trunk/mono/; revision=2325
2002-02-11 18:45:06 +00:00
Miguel de Icaza 4e36979eb3 Update news on Mono.
svn path=/trunk/mono/; revision=2324
2002-02-11 18:11:05 +00:00
Dan Lewis f7cf2cf894 }} escape String.Format
svn path=/trunk/mcs/; revision=2323
2002-02-11 17:39:08 +00:00
Dan Lewis 2fb02f01ee }} escape for String.Format
svn path=/trunk/mcs/; revision=2322
2002-02-11 17:38:28 +00:00
Dan Lewis 70b7cd6b1e {{ escape test for String.Format
svn path=/trunk/mcs/; revision=2321
2002-02-11 17:25:26 +00:00
Dan Lewis e53d050c6e added {{ escape to String.Format
svn path=/trunk/mcs/; revision=2320
2002-02-11 17:24:34 +00:00
Paolo Molaro ac9930427b Clone() for arrays test.
svn path=/trunk/mono/; revision=2319
2002-02-11 15:02:37 +00:00
Paolo Molaro 678a8d7343 Mon Feb 11 19:43:51 CET 2002 Paolo Molaro <[email protected]>
* exception.h, exception.c: added TypeLoadException.
	* object.h, object.c: added mono_array_clone ().
	* icall.c: handle throwOnError in AssemblyGetType().
	Added Array.Clone().
	* opcode.h, opcode.c: use a single value for the opcode val.
	Compile fix for non-gcc compilers.

svn path=/trunk/mono/; revision=2318
2002-02-11 15:00:25 +00:00
Paolo Molaro 483b711062 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs: handle throwOnError in GetType() call.

svn path=/trunk/mcs/; revision=2317
2002-02-11 15:00:06 +00:00
Paolo Molaro 946536dd9a Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <[email protected]>
* Array.cs: make Clone() an internal call.


Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <[email protected]>

	* ArrayList.cs: Dick's fix to contructor.

svn path=/trunk/mcs/; revision=2316
2002-02-11 14:59:45 +00:00
Paolo Molaro 7128da7343 Mon Feb 11 18:40:04 CET 2002 Paolo Molaro <[email protected]>
* sparc/*: sparc codegen header and some untested trampoline code.

svn path=/trunk/mono/; revision=2315
2002-02-11 13:49:06 +00:00
Miguel de Icaza 7097e6dc0e Update docs
svn path=/trunk/mono/; revision=2314
2002-02-11 13:26:14 +00:00
Mads Pultz f5659e1a32 Test removed, test of IPHostEntry included in DnsTest.cs
svn path=/trunk/mcs/; revision=2313
2002-02-11 10:26:12 +00:00
Mads Pultz 9697aaf9e1 Added implementation for System.Net.Dns.BeginResolve() and System.Net.Dns.EndResolve(). Test also included.
svn path=/trunk/mono/; revision=2312
2002-02-11 10:12:25 +00:00
Mads Pultz bde18438b4 Added implementation for System.Net.Dns.BeginResolve() and System.Net.Dns.EndResolve(). Test also included.
svn path=/trunk/mcs/; revision=2312
2002-02-11 10:12:25 +00:00
Paolo Molaro e5eeeb067b Mon Feb 11 13:26:17 CET 2002 Paolo Molaro <[email protected]>
* X509Certificates: dummy class.

svn path=/trunk/mcs/; revision=2311
2002-02-11 08:36:05 +00:00
Paolo Molaro f5211aaa74 Mon Feb 11 13:05:29 CET 2002 Paolo Molaro <[email protected]>
* interp.c: added "die on exception" command line argument.
	When we segfault, set the message in the exception to "Segmentation
	fault" so people can recognise what's going on.

svn path=/trunk/mono/; revision=2310
2002-02-11 08:15:20 +00:00
Paolo Molaro d8e23630ca Test for multiple marshalled strings.
svn path=/trunk/mono/; revision=2309
2002-02-11 07:43:11 +00:00
Paolo Molaro 95f448bcff Mon Feb 11 12:32:35 CET 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix handling of multiple marshaleed strings.
	* x86/x86-codegen.h: some code to patch branch displacements.

svn path=/trunk/mono/; revision=2308
2002-02-11 07:42:10 +00:00
Paolo Molaro 50732e092b Missing test.
svn path=/trunk/mono/; revision=2307
2002-02-11 06:58:36 +00:00
Paolo Molaro 7d0961233a Mon Feb 11 11:20:57 CET 2002 Paolo Molaro <[email protected]>
* x86.brg: fix invalid cast check in unbox. Pack MBTree structure.

svn path=/trunk/mono/; revision=2306
2002-02-11 06:30:11 +00:00
Nick Drochak 3f21e1b65e 2002-02-11 Nick Drochak <[email protected]>
* Int64Test.cs: Various fixes to make tests work against the ms corlib.
	Currency Symbol tests seem to be system dependant.  Not sure if this
	will work on other systems, so please test it if you can. The most
	disturbing one is negative numbers.  Should they be (n) or -n ?

svn path=/trunk/mcs/; revision=2305
2002-02-11 04:42:23 +00:00
Nick Drochak 3f80373ad2 2002-02-11 Nick Drochak <[email protected]>
* c-sharp: remove reference to time travel

svn path=/trunk/mono/; revision=2303
2002-02-10 20:31:22 +00:00
Christopher Podurgiel 31330c4bab UnCommented System.Data as it now builds correctly.
svn path=/trunk/mcs/; revision=2302
2002-02-10 19:08:34 +00:00
Christopher Podurgiel 639a997982 * Updated all Enums, Interfaces, and Delegates in System.Data
* IDbDataParameter.cs : Added -- New class in .NET 1.0

svn path=/trunk/mcs/; revision=2301
2002-02-10 19:06:03 +00:00
Christopher Podurgiel a77709aad5 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
* System.Data.build : fixed so it will build properly.

svn path=/trunk/mcs/; revision=2300
2002-02-10 19:04:10 +00:00
Duco Fijma 1fe2f0fa34 Change implementation of Guid.NewGuid
svn path=/trunk/mcs/; revision=2299
2002-02-10 18:17:53 +00:00
Duco Fijma 9227150b21 Created RandomNumberGenerator.cs
svn path=/trunk/mcs/; revision=2298
2002-02-10 18:11:17 +00:00
Miguel de Icaza 1046f9d468 +2002-02-10 Miguel de Icaza <[email protected]>
+
+	* interp.c (ves_exec_method): Compare the element_class type token
+	in the class we got as well, instead of the element class vs the
+	toplevel class.
+
+	This fixes the invalid cast exceptions during unboxing

svn path=/trunk/mono/; revision=2297
2002-02-10 15:31:12 +00:00
Paolo Molaro bac662313a A few more tests.
svn path=/trunk/mono/; revision=2296
2002-02-10 12:25:23 +00:00
Paolo Molaro 16c7b244bb *** empty log message ***
svn path=/trunk/mono/; revision=2295
2002-02-10 09:30:33 +00:00
Nick Drochak aedf5bd08e 2002-02-10 Nick Drochak <[email protected]>
* corlib_test.build: Remove duplicate excludes for
	* AllTests.cs: Add System.Security.Policy tests.  However, commented
	this out because NUnit is throwing an exception.  Need to figure
	that out first.

svn path=/trunk/mcs/; revision=2294
2002-02-10 08:47:57 +00:00
Nick Drochak 2b8e5e3485 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Add Int64Test to the Suite
	* Int64Test.cs: Change static member to instance member. This was
	causing NUnitConsole some grief.  Should be instance member anyway.

svn path=/trunk/mcs/; revision=2293
2002-02-10 08:46:15 +00:00
Nick Drochak 704be94efc 2002-02-10 Nick Drochak <[email protected]>
* QueueTest.cs: Put in correct namespace.

svn path=/trunk/mcs/; revision=2292
2002-02-10 08:45:14 +00:00
Nick Drochak 0e0004cda2 2002-02-10 Nick Drochak <[email protected]>
* DebugTest.cs: Put in correct namespace.
	* TextWriterTraceListenerTest.cs: Put in correct namespace.

svn path=/trunk/mcs/; revision=2291
2002-02-10 08:44:40 +00:00
Nick Drochak 4c3ce093b0 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Add new file.

svn path=/trunk/mcs/; revision=2290
2002-02-10 08:43:57 +00:00
Nick Drochak eb96dd2c57 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Remove StringBuilderTest suite.  There's a major failure
	when it's included and the test errors aren't displayed.

svn path=/trunk/mcs/; revision=2289
2002-02-10 08:43:12 +00:00
Paolo Molaro 3b3505a608 Sun Feb 10 12:54:05 CET 2002 Paolo Molaro <[email protected]>
* emit-x86.c: make x86_magic_trampoline() handle call instructions
	with an imm8 displacement. x86.brg not yet changed to take advantage
	of it.

svn path=/trunk/mono/; revision=2288
2002-02-10 08:03:55 +00:00
Paolo Molaro 833e35e266 Sun Feb 10 11:47:30 CET 2002 Paolo Molaro <[email protected]>
* jit.c: use opcode info from libmetadata to do flow analysis
	and simplify code.

svn path=/trunk/mono/; revision=2287
2002-02-10 07:01:10 +00:00
Miguel de Icaza dfba7e30fb Fix memory leak
svn path=/trunk/mono/; revision=2286
2002-02-10 03:47:53 +00:00
Miguel de Icaza dbc5683917 Work towards getting `fixed' to work. We are going to need a custom
hack for this to fully work.

2002-01-29  Miguel de Icaza  <[email protected]>

	* support.cs (Pair): Remove un-needed method.  I figured why I was
	getting the error in cs-parser.jay, the variable in a foreach loop
	is readonly, and the compiler does not really treat this as a variable.

	* cs-parser.jay (fixed_statement): Fix grammar.  Use ASSIGN
	instead of EQUALS in grammar.

	* typemanager.cs (VerifyUnmanaged): Report correct error (208)

	* expression.cs (Unary.DoResolve): Check whether the argument is
	managed or not.

svn path=/trunk/mcs/; revision=2285
2002-02-10 01:32:42 +00:00
Miguel de Icaza 4c2ad5c231 Add Getting Started section from Nick
svn path=/trunk/mono/; revision=2284
2002-02-10 01:18:22 +00:00
Duncan Mak 0d69e304e9 Added a link to a paper on .NET security
svn path=/trunk/mono/; revision=2283
2002-02-09 19:01:48 +00:00
Duncan Mak 65abaeb0b4 Reverting patch to not break the build. Sorry.
svn path=/trunk/mcs/; revision=2282
2002-02-09 16:42:22 +00:00
Duco Fijma aae58b894b Implemented Guid.NewGuid
svn path=/trunk/mcs/; revision=2281
2002-02-09 16:07:56 +00:00
Nick Drochak 6c4cbb676f 2002-02-09 Nick Drochak <[email protected]>
* StringBuilderTest.cs: Fixed tests that were failing against mscorlib.

svn path=/trunk/mcs/; revision=2279
2002-02-09 09:53:12 +00:00
Nick Drochak cafc58df08 2002-02-09 Nick Drochak <[email protected]>
* ByteTest.cs:
	* Int16Test.cs:
	* Int32Test.cs:
	* SByteTest.cs:
	* UInt16Test.cs:
	* UInt32Test.cs:
	* UInt64Test.cs: Fixed tests where a "$" was hard coded.  Change it to
	use NumberFormatInfo.CurrentInfo.CurrencySymbol.  Also used
	NumberFormatInfo.InvariantInfo.CurrencySymbol where appropriate. These
	tests all pass now with mscorlib.

svn path=/trunk/mcs/; revision=2278
2002-02-09 09:43:47 +00:00
Duncan Mak dc072eb885 2002-02-08 Duncan Mak <[email protected]>
* RuntimeArgumentHandle.cs: Added to CVS.

2002-02-08  Duncan Mak  <[email protected]>

	    * UriFormatException.cs: Removed TODO attribute, the docs are
	      probably wrong here. In any case, this code compiles and should work.

2002-02-08  Duncan Mak  <[email protected]>

	    * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
	      abstract class. Oh, that's what it means! Removed unnesscessary
    	      MonoTODO attributes.

svn path=/trunk/mcs/; revision=2276
2002-02-08 23:11:38 +00:00
Nick Drochak 78d9376ec4 2002-02-09 Nick Drochak <[email protected]>
* corlib_test.build: compile with mscorlib to test the tests.  This
	will be our "reference" check to make sure the tests work.

svn path=/trunk/mcs/; revision=2275
2002-02-08 21:28:30 +00:00
Nick Drochak 41902a9e5d 2002-02-09 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Fix path name to resource files

svn path=/trunk/mcs/; revision=2274
2002-02-08 21:25:31 +00:00
Nick Drochak 5995401dfd 2002-02-09 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: Remove intersect test where it was trying
	to intersect a permission with itself.  This throws an exception
	with mscorlib.

svn path=/trunk/mcs/; revision=2273
2002-02-08 21:24:52 +00:00
Nick Drochak 1d6b3a001c 2002-02-09 Nick Drochak <[email protected]>
* StackTest.cs: Removed test for IsReadonly.  Doesn't exist in .NET 1.0

svn path=/trunk/mcs/; revision=2272
2002-02-08 20:53:10 +00:00
Nick Drochak b2dd660e03 2002-02-09 Nick Drochak <[email protected]>
* FileCodeGroup.cs: New file. All done except for GetHashCode and
	Resolve.
	* CodeGroup.cs: Fix small bug in ToXml()
	* Evidence.cs: Added method stub needed by FileCodeGroup.cs.  Added
	MonoTODO's too.

svn path=/trunk/mcs/; revision=2271
2002-02-08 20:01:53 +00:00
Paolo Molaro d48d197a17 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <[email protected]>
* get.c: don't abort if a methodref is not found, usa alternative way
	to get the method name.

svn path=/trunk/mono/; revision=2270
2002-02-08 14:42:03 +00:00
Paolo Molaro 7794030718 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <[email protected]>
* CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
	UnhandledExceptionEventHandler.cs: added delegates.

svn path=/trunk/mcs/; revision=2269
2002-02-08 14:24:39 +00:00
Paolo Molaro cfaf6beea2 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <[email protected]>
* MarshalByRefObject.cs: add ToString () method
	(apparently needed by nunit).
	* _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
	by it in the runtime.

svn path=/trunk/mcs/; revision=2268
2002-02-08 13:16:35 +00:00
Paolo Molaro 93416474bd Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <[email protected]>
* NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
	it compile and provide the constructor needed by nunitcore.

svn path=/trunk/mcs/; revision=2267
2002-02-08 13:11:39 +00:00
Paolo Molaro 74b8f5fe2b Fri Feb 8 13:01:03 CET 2002 Paolo Molaro <[email protected]>
* interp.c: use opcode information from libmetadata.

svn path=/trunk/mono/; revision=2266
2002-02-08 08:09:50 +00:00
Paolo Molaro 5ee7b1b884 Fri Feb 8 12:31:40 CET 2002 Paolo Molaro <[email protected]>
* monoburg.c: make generated arrays const, so that they are shared.

svn path=/trunk/mono/; revision=2265
2002-02-08 07:40:52 +00:00
Paolo Molaro 3da04d8fee Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <[email protected]>
* Makefile.am: correct linking order.
	* dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.

svn path=/trunk/mono/; revision=2264
2002-02-08 07:39:10 +00:00
Paolo Molaro 632a6e8d0e Fri Feb 8 12:26:37 CET 2002 Paolo Molaro <[email protected]>
* opcodes.c, opcodes.h: export interesting info about opcodes.

svn path=/trunk/mono/; revision=2263
2002-02-08 07:37:22 +00:00
Dan Lewis 4a26dbc3ec String.Format() tests.
svn path=/trunk/mcs/; revision=2262
2002-02-07 20:22:37 +00:00
Dan Lewis b61f84a302 String.Format() implementation.
svn path=/trunk/mcs/; revision=2261
2002-02-07 20:21:58 +00:00
Duncan Mak cb07814f2f 2002-02-07 Duncan Mak <[email protected]>
* IsolatedStorage.cs: Added to CVS, stubbed out the API.
	* IsolatedStorageException.cs: Implemented.

svn path=/trunk/mcs/; revision=2260
2002-02-07 19:39:47 +00:00
Duncan Mak 01beb5e5b9 Serialization bits for System.Collection.Hashtable, System.Reflection.AssemblyName and System.Security.SecurityException
svn path=/trunk/mcs/; revision=2259
2002-02-07 17:33:39 +00:00
Dan Lewis 6776fcd105 copy System.dll into Test directory.
svn path=/trunk/mcs/; revision=2258
2002-02-07 15:04:31 +00:00
Gaurav Vaish 686cdfbad0 2002-02-07 Gaurav Vaish <[email protected]>
* RequiredFieldValidator.cs  -- Oops! Forgot to add in previous commit.

* ChangeLog -- Needed to be updated for this.

svn path=/trunk/mcs/; revision=2257
2002-02-07 13:34:06 +00:00
Gaurav Vaish 1aa785f819 2002-02-07 Gaurav Vaish <[email protected]>
* ListBox.cs  -- Implemented the last unfinished method.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2256
2002-02-07 13:32:09 +00:00
Duncan Mak e88cd06985 2002-02-07 Duncan Mak <[email protected]>
* DuplicateWaitObjectException:
	* InvalidCastException:
	* NotImplementedException:
	* NotSupportedException:
	* NullReferenceException:
	* OutOfMemoryException:
	* OverflowException:
	* RankException:
	* StackOverflowException.cs:
	* UnauthorizedAccessException: Added missing constructor used
	  for serialization.

svn path=/trunk/mcs/; revision=2255
2002-02-07 13:15:40 +00:00
Dietmar Maurer 0688f447e2 bug fix in String::Compare
svn path=/trunk/mcs/; revision=2254
2002-02-07 11:08:16 +00:00
Nick Drochak 22b9fa09e3 2002-02-07 Nick Drochak <[email protected]>
* CodeGroupTest.cs: Tests everything except the (To|From)Xml methods.

svn path=/trunk/mcs/; revision=2252
2002-02-06 12:13:52 +00:00
Nick Drochak 0131de2944 2002-02-07 Nick Drochak <[email protected]>
* CodeGroup.cs: Went as far as I can for now.  Need to look at
	the (To|From)XML methods when I understand PolicyLevels better.

svn path=/trunk/mcs/; revision=2251
2002-02-06 12:11:54 +00:00
Dietmar Maurer bab65ef983 fixed most compiler warnings, code cleanup
svn path=/trunk/mono/; revision=2250
2002-02-06 12:07:53 +00:00
Radek Doulik 7b1c8de33a added translation CultureInfo id --> RegionInfo id
svn path=/trunk/mcs/; revision=2249
2002-02-06 11:44:34 +00:00
Dietmar Maurer 93ea568c08 added array bound checking
svn path=/trunk/mono/; revision=2248
2002-02-06 08:40:05 +00:00
Dietmar Maurer 8907609a12 impl. Enum.Parse
svn path=/trunk/mcs/; revision=2247
2002-02-06 06:13:57 +00:00
Dietmar Maurer 8c26ebbec4 more tests
svn path=/trunk/mono/; revision=2246
2002-02-06 06:07:08 +00:00
Gaurav Vaish 33774cc7d4 2002-02-06 Gaurav Vaish <[email protected]>
Back from a small vacation due to the exams...

* ListItem.cs, ListItemCollection.cs:  Completed
* WebControl.cs  -- Minor changes.

* TableStyle.cs, TargetConverter, TemplateColumn  -- Fully implemented

* ListBox.cs  -- Partial Implementation (See ChangeLog for details)

* ChangeLog  -- Verbose details of the work done

* TODO -- Updated list for completed classes.

svn path=/trunk/mcs/; revision=2245
2002-02-06 02:44:18 +00:00
Duncan Mak 50669eaef9 2002-02-05 Duncan Mak <[email protected]>
* DBNull.cs: This is my first crack at the DBNull class. I think I
      actually got most of the IConvertible methods right, but I haven't
      done the research to test whether or not this is the correct
      behavior. IConvertible.ToType () is the most iffy of all, IMHO.

svn path=/trunk/mcs/; revision=2244
2002-02-06 00:13:57 +00:00
Dan Lewis 34112f9810 added ecma character categories to parser.
svn path=/trunk/mcs/; revision=2243
2002-02-05 20:48:52 +00:00
Duncan Mak 9eec5fc74f 2002-02-05 Duncan Mak <[email protected]>
* FileTest.cs: Added to CVS. However, this portion of the code
	can't be tested right now.

svn path=/trunk/mcs/; revision=2242
2002-02-05 20:48:09 +00:00
Duncan Mak 3feca74a5f 2002-02-05 Duncan Mak <[email protected]>
* DllNotFoundException.cs: Inherits from TypeLoadException, not
	      SystemException.

2002-02-05  Duncan Mak  <[email protected]>

	    * SymDocumentType.cs:
	    * SymLanguageType.cs:
	    * SymLanguageVendor.cs: Added to CVS.

2002-02-05  Duncan Mak  <[email protected]>

    	   * Missing.cs:
	   * TargetException.cs: Added in CVS.

svn path=/trunk/mcs/; revision=2241
2002-02-05 18:39:13 +00:00
Miguel de Icaza 8759686214 revert my patch
svn path=/trunk/mono/; revision=2240
2002-02-05 16:48:39 +00:00
Miguel de Icaza 5fd436c92b Update web page directory
svn path=/trunk/mono/; revision=2239
2002-02-05 16:46:54 +00:00
Dietmar Maurer 030524bea0 2002-02-05 Dietmar Maurer <[email protected]>
* Enum.cs: added more functionality (GetName, ToObject, Equals)

svn path=/trunk/mcs/; revision=2238
2002-02-05 13:21:45 +00:00
Dietmar Maurer df114a9d2f 2002-02-05 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): CEE_UNBOX: use element_class for
	type check.
	* x86.brg: use element_class for type check
	* object.h (MONO_CHECK_ARG, MONO_CHECK_ARG_NULL): new macro for
	icalls.

	* class.c (class_compute_field_layout): set element_class for enums
	(mono_class_create_from_typedef): set element_class for normal classes

	* icall.c (ves_icall_System_Enum_get_value): impl.

	* class.c (mono_class_create_from_typedef): do not set valuetype
	flag for System.ValueType and System.Enum

svn path=/trunk/mono/; revision=2237
2002-02-05 13:18:43 +00:00
Dietmar Maurer 12068a5cf2 impl. Array_Address icall, TOSTRING for pinvoke String return values
svn path=/trunk/mono/; revision=2236
2002-02-04 11:11:01 +00:00
Dietmar Maurer 9925df49e6 fix endian problem with old libiconv
svn path=/trunk/mono/; revision=2235
2002-02-04 08:22:38 +00:00
Duncan Mak 9437729e38 Stupid ChangeLog commit
svn path=/trunk/mcs/; revision=2234
2002-02-03 14:33:26 +00:00
Duncan Mak 7ad7162474 Added Mono namespace block
svn path=/trunk/mcs/; revision=2233
2002-02-03 14:32:27 +00:00
Nick Drochak fcfb9958fd 2002-02-01 Nick Drochak <[email protected]>
* CodeGroupTest.cs: Still not done, checking in now just in case

svn path=/trunk/mcs/; revision=2231
2002-02-01 20:39:18 +00:00
Nick Drochak d6c86057bc 2002-02-02 Nick Drochak <[email protected]>
* CodeGroup.cs: Not done, but checking in now just in case

svn path=/trunk/mcs/; revision=2230
2002-02-01 20:33:50 +00:00
Radek Doulik 440865cf1b more RegionInfo work
svn path=/trunk/mcs/; revision=2229
2002-02-01 16:55:01 +00:00
Duncan Mak 727bcef189 2002-2-1 Duncan Mak <[email protected]>
* serialize.cs: Added a new tool for serializing objects. It
	  can create new types dynamically, but can only handle
	  arguments that are of primitive types.

svn path=/trunk/mcs/; revision=2228
2002-02-01 16:47:11 +00:00
Radek Doulik e255fb1179 ops, it should build again, I am sorry
svn path=/trunk/mcs/; revision=2227
2002-02-01 15:17:16 +00:00
Radek Doulik ad3a544314 implemented RegionInfo (string) constructor
svn path=/trunk/mcs/; revision=2226
2002-02-01 15:09:15 +00:00
Radek Doulik a4fcdffd7d 2002-02-01 Radek Doulik <[email protected]>
svn path=/trunk/mcs/; revision=2225
2002-02-01 14:40:37 +00:00
Dietmar Maurer 7a638319b4 SHR/SHL impl.
svn path=/trunk/mono/; revision=2224
2002-02-01 12:04:34 +00:00
Paolo Molaro 4163d85e95 Fri Feb 1 16:03:53 CET 2002 Paolo Molaro <[email protected]>
* interp.c: exception fixes. Use mono_method_pointer_get ()
	to easy porting to other archs. Some support for overflow detection.

Fri Feb 1 16:03:00 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c, ppc/tramp.c: implement mono_method_pointer_get ().


Fri Feb 1 16:13:20 CET 2002 Paolo Molaro <[email protected]>

	* class.c: add asserts if we are ever going to scribble over memory.
	* socket-io.c: not all systems have AF_IRDA defined.

svn path=/trunk/mono/; revision=2223
2002-02-01 11:22:35 +00:00
Paolo Molaro 15ded645a5 Fixety fix.
svn path=/trunk/mono/; revision=2222
2002-02-01 10:55:00 +00:00
Paolo Molaro aafccb438e Fri Feb 1 15:32:36 CET 2002 Paolo Molaro <[email protected]>
* configure.in: allow PKG_CONFIG_PATH for the build-platform
	pkg-config invocation.

svn path=/trunk/mono/; revision=2221
2002-02-01 10:41:25 +00:00
Paolo Molaro 6af8ce6dd8 Fri Feb 1 15:13:25 CET 2002 Paolo Molaro <[email protected]>
* configure.in: add some support/fixes for cross-compilation.


Fri Feb 1 15:14:16 CET 2002 Paolo Molaro <[email protected]>

	* Makefile.am: support cross-compilation.

svn path=/trunk/mono/; revision=2220
2002-02-01 10:22:51 +00:00
Gaurav Vaish 22690d7f33 2002-02-01 Gaurav Vaish <[email protected]>
* DataList.cs   -- Done a hell lot of work today. I am tired now and will
 go to library to study for the exams on Monday.
 See ChangeLog for details of what I did today.

* ChangeLog  -- Updated in accordance.

svn path=/trunk/mcs/; revision=2219
2002-02-01 10:09:51 +00:00
Gaurav Vaish e09c86703b 2002-02-01 Gaurav Vaish <[email protected]>
* TODO: Do I really need destructors? I have added a small description.
 I don't think I need them. I am nowhere using any unmanaged code.

svn path=/trunk/mcs/; revision=2218
2002-01-31 22:50:37 +00:00
Dan Lewis 450b1b38af Was part of PerlTest.cs: modified to use result description instead of checksum.
svn path=/trunk/mcs/; revision=2217
2002-01-31 21:56:10 +00:00
Dan Lewis b862e0ee3b Removed /nowarn:1595, added /noconfig flag to build file (CSC was using the
Microsoft assemblies in preference.)

Removed checksum from Perl regex trial descriptions. Now using a descriptive
string.

svn path=/trunk/mcs/; revision=2216
2002-01-31 21:47:17 +00:00
Dan Lewis a25f3cbe52 Branch bug was affecting FastRepeat: a(?:b|c|d)*(.) threw a stack overflow.
Added note about (?(X)...) capture/expression disambiguation.

svn path=/trunk/mcs/; revision=2215
2002-01-31 18:15:22 +00:00
Dietmar Maurer afe66c297f removed the hack
svn path=/trunk/mono/; revision=2214
2002-01-31 15:14:24 +00:00
Paolo Molaro d2c86f31ce Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <[email protected]>
* dis-cil.c: reverse order when outputting start try blocks.

svn path=/trunk/mono/; revision=2213
2002-01-31 13:29:29 +00:00
Paolo Molaro 383522ba45 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <[email protected]>
* Directory.cs: handle opendir() return NULL and absolute filenames.

svn path=/trunk/mcs/; revision=2212
2002-01-31 12:41:09 +00:00
Duncan Mak a7867a2e45 Added more stuff to various Exceptions to make them serializable
svn path=/trunk/mcs/; revision=2211
2002-01-31 12:32:31 +00:00
Dietmar Maurer 98e0748c4c fix the bug in the previous bug fix
svn path=/trunk/mono/; revision=2210
2002-01-31 12:28:26 +00:00
Dietmar Maurer 26b7f826c6 mono_wrapper_readdir: add check for null pointer
svn path=/trunk/mono/; revision=2209
2002-01-31 12:02:14 +00:00
Dietmar Maurer 3891fac608 impl. CEQ for lreg, more bug fixes
svn path=/trunk/mono/; revision=2208
2002-01-31 11:32:00 +00:00
Dietmar Maurer 4b15ad68c4 impl. LDFTN, more bug fixes
svn path=/trunk/mono/; revision=2207
2002-01-31 09:51:27 +00:00
Dan Lewis 2173a53119 added System.Text.RegularExpressions suite.
svn path=/trunk/mcs/; revision=2206
2002-01-31 09:01:06 +00:00
Dan Lewis ad375c8180 Regex classes, initial revision.
svn path=/trunk/mcs/; revision=2205
2002-01-31 08:00:16 +00:00
Dan Lewis 0fb35e7d51 Regex tests. Initial revision - just the Perl trials.
svn path=/trunk/mcs/; revision=2204
2002-01-31 07:58:48 +00:00
Duncan Mak b3d0d99606 2002-01-31 Duncan Mak <[email protected]>
* AppDomainUnloadedException.cs:
	    * ApplicationException.cs:
	    * ArgumentOutOfRangeException.cs:
	    * ArithmeticException.cs:
	    * ArrayTypeMismatchException:
	    * BadImageFormatException.cs:
	    * Exception.cs:
	    * MissingMemberException.cs:
	    * TypeLoadException.cs: Added missing bits for serialization.

	    * FileLoadException.cs:
	    * FileNotFoundException: Added missing bits for serialization.

svn path=/trunk/mcs/; revision=2203
2002-01-31 03:20:31 +00:00
Gaurav Vaish 0044a5d22e 2002-01-31 Gaurav Vaish <[email protected]>
* WebColorConverter.cs  -- Oops! Should have added yesterday itself.
 :: Initial Implementation. Lots of MonoTODO's

svn path=/trunk/mcs/; revision=2202
2002-01-31 01:55:13 +00:00
Gaurav Vaish 31d545941c 2002-01-31 Gaurav vaish <[email protected]>
* RepeatInfo.cs  -- Almost done. See ChangeLog for details.

* ChangeLog  -- About what's status of RepeatInfo. Vertical direction rendering
 is left.

* TODO -- "&" mark for RepeatInfo class.

svn path=/trunk/mcs/; revision=2201
2002-01-31 01:52:55 +00:00
Radek Doulik bcbd03aff4 ops, removed junk
svn path=/trunk/mono/; revision=2200
2002-01-30 16:28:47 +00:00
Dietmar Maurer 990f224044 vtable bug fix
svn path=/trunk/mono/; revision=2199
2002-01-30 12:22:46 +00:00
Gaurav Vaish 27ddbc930c 2002-01-30 Gaurav Vaish <[email protected]>
* UnitConverter.cs -- Completed

* ValidatedControlConverter.cs -- Looks complete. Doubtful though!! :((

* ValidationSummary.cs -- Initial Implementation

* ChangeLog  -- Details of what happened today

* TODO  -- Marks updated

svn path=/trunk/mcs/; revision=2198
2002-01-30 11:50:39 +00:00
Gaurav Vaish add4be5b34 2002-01-30 Gaurav Vaish <[email protected]>
** class.xml: Today's updates... All in WebControls namespace
 See System.Web.UI.WebControls/ChangeLog for details.

svn path=/trunk/mono/; revision=2197
2002-01-30 11:48:59 +00:00
Gaurav Vaish 8a3d1efc94 2002-01-30 Gaurav Vaish <[email protected]>
* PlaceHolder.cs  -- The simplest class one can have!
* PlaceHolderControlBuilder.cs  -- Not less simple.

* ChageLog, TODO -- Updates for these files.

svn path=/trunk/mcs/; revision=2196
2002-01-30 09:02:42 +00:00
Gaurav Vaish 259a4970f2 2002-02-30 Gaurav Vqaish <[email protected]>
* RadioButtonList.cs   -- Almost done. One method left. See ChangeLog for details

* ChangeLog  -- What's been done / left in RadioButton.cs

* TODO -- Marked RadioButtonList with an "&".

svn path=/trunk/mcs/; revision=2195
2002-01-30 07:52:16 +00:00
Gaurav Vaish 15ae7bf033 2002-01-30 Gaurav Vaish <[email protected]>
* DropDownList.cs  -- Completed

* ListItemCollection.cs -- Add method FindByValueInternal to assist derived
 classes. Found a bug in FindByValue(...). Corrected

* ChangeLog, TODO  -- Properly Updated

svn path=/trunk/mcs/; revision=2194
2002-01-30 03:58:31 +00:00
Duco Fijma 844ef5b603 Finished Guid.cs except for Guid.NewGuid
svn path=/trunk/mcs/; revision=2193
2002-01-29 18:46:24 +00:00
Miguel de Icaza 72b64055ef Update with news coverage
svn path=/trunk/mono/; revision=2192
2002-01-29 18:34:23 +00:00
Paolo Molaro 484a3a25d3 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <[email protected]>
* _AppDomain.cs: remove ToString() method: it doesn't seem right
	to have it in this interface and it screws up the method vtable setup.

svn path=/trunk/mcs/; revision=2191
2002-01-29 17:41:30 +00:00
Nick Drochak d8306a109a 2002-01-30 Nick Drochak <[email protected]>
* CodeGroupTest.cs: New File.  Not done, but checking in now just in case

svn path=/trunk/mcs/; revision=2190
2002-01-29 13:36:48 +00:00
Nick Drochak fbaf4fd847 2002-01-30 Nick Drochak <[email protected]>
* CodeGroup.cs: New file.  Not nearly done with this, but saving it
	in cvs just in case.
	* PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
	first (among others).  Checking in for disaster recovery.

2002-01-29  Nick Drochak  <[email protected]>

	* PolicyStatementAttribute.cs: New file.
	* PolicyException.cs: Use correct namespace
	* PolicyLevel.cs: Add [Serializable] to class

svn path=/trunk/mcs/; revision=2189
2002-01-29 13:33:52 +00:00
Nick Drochak b2cb03d782 * index: fix link to X11 license
svn path=/trunk/mono/; revision=2188
2002-01-29 12:48:12 +00:00
Miguel de Icaza cc29e417c2 Flush changes
svn path=/trunk/mcs/; revision=2187
2002-01-29 01:53:34 +00:00
Andrei Zmievski 9859088e73 2002-01-28 Andrei Zmievski <[email protected]>
* Double.cs: implemented IConvertible interface.

svn path=/trunk/mcs/; revision=2186
2002-01-29 01:04:04 +00:00
Miguel de Icaza efd232f9c9 2002-01-28 Miguel de Icaza <[email protected]>
* ArgumentException.cs: Implement serialization constructor.
	(GetObjectData): Implement serializer.

	* ArgumentNullException.cs: Implement serialization constructor.

	* Exception.cs: Implement serialization constructor.
	(GetObjectData): Implement serializer.

svn path=/trunk/mcs/; revision=2185
2002-01-28 20:32:42 +00:00
Miguel de Icaza cc44d36495 Update c-sharp file with thoughts on the CIL optimizer; Fix the MIT license
link.

svn path=/trunk/mono/; revision=2184
2002-01-28 14:04:10 +00:00
Miguel de Icaza 51c3b0cb84 2002-01-28 Miguel de Icaza <[email protected]>
* support.cs: Api for Pair to set a value.  Despite the fact that
	the variables are public the MS C# compiler refuses to compile
	code that accesses the field if the variable is part of a foreach
	statement.

	* statement.cs (Fixed): Begin implementation of the fixed
	statement.

	(Block.AddVariable): Return the VariableInfo on success and null
	on failure instead of true/false.

	* cs-parser.jay (foreach): Catch errors on variables already
	defined (we were ignoring this value before) and properly unwind
	the block hierarchy

	(fixed_statement): grammar for the fixed statement.

svn path=/trunk/mcs/; revision=2183
2002-01-28 14:03:27 +00:00
Nick Drochak d9fd81429b 2002-01-29 Nick Drochak <[email protected]>
* PolicyStatementAttribute.cs: New file.

svn path=/trunk/mcs/; revision=2182
2002-01-28 13:04:37 +00:00
Gaurav Vaish 194805948e 2002-01-28 Gaurav vaish <[email protected]>
* FontNamesConverter.cs, ListItemControlBuilder.cs  -- Completed

* FontUnitConverter.cs       -- Initial Implementation

* ChangeLog, TODO  -- Updated in accordance.

svn path=/trunk/mcs/; revision=2181
2002-01-28 12:24:13 +00:00
Miguel de Icaza 7e78ae40c5 update docs to include x11 license
svn path=/trunk/mono/; revision=2180
2002-01-28 01:34:08 +00:00
Gaurav Vaish 8318d3cc83 2002-01-27 Gaurav Vaish <[email protected]>
* TODO   -- Updated

 I counted.. and get that out of total 132 implementations, I am done
 with 91 (100% status). 132 count includes, enumerations, interfaces,
 classes and structs and so does 91 include.

 IT'S ABOUT 2/3rd of TOTAL WORK IN WEBCONTROLS!

svn path=/trunk/mcs/; revision=2179
2002-01-27 13:10:52 +00:00
Gaurav Vaish 5c4077f91d 2002-01-27 Gaurav Vaish <[email protected]>
* class.xml   -- Latest report for WebControls universe (?)

svn path=/trunk/mono/; revision=2178
2002-01-27 12:55:03 +00:00
Gaurav Vaish 4712799fb5 2002-01-27 Gaurav Vaish <[email protected]>
* TextBoxControlBuilder.cs      -- Completed
* TextBox.cs                    -- Almost done
* Xml.cs             -- Initial Implementation

* ChangeLog, TODO  -- Updated accordingly

svn path=/trunk/mcs/; revision=2177
2002-01-27 12:51:31 +00:00
Gaurav Vaish d71b6fc5a9 2002-01-27 Gaurav Vaish <[email protected]>
* RadioButton.cs  -- Completed
* TextBox.cs      -- Initial Implementation

svn path=/trunk/mcs/; revision=2176
2002-01-27 00:31:43 +00:00
Gaurav Vaish 1c8e806025 2002-01-27 Gaurav Vaish <[email protected]>
* ChangeLog: EnumCheck updates describing the new tool.

svn path=/trunk/mcs/; revision=2175
2002-01-26 21:25:57 +00:00
Nick Drochak 99d7b46c8b * update pointer to version 1.0 of .NET SDK.
svn path=/trunk/mono/; revision=2174
2002-01-26 20:23:08 +00:00
Gaurav Vaish dc81c9a2d0 2002-01-26 Gaurav Vaish <[email protected]>
* TextBox.cs   -- Started off.
* ChangeLog, TODO  -- Updated properly

svn path=/trunk/mcs/; revision=2173
2002-01-26 13:27:18 +00:00
Gaurav Vaish 8bb4d051e2 2002-01-26 Gaurav Vaish <[email protected]>
* RadioButton.cs   -- Completed

* ChangeLog, TODO  -- Updated

I've dropped the idea of going for another build. Too many dependencies
 on other namespaces. I don't want to get involved right now. ;-)

svn path=/trunk/mcs/; revision=2172
2002-01-26 10:21:32 +00:00
Gaurav Vaish 26a23da758 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheckAssemblyCollection.cs, assemblies.xml   -- Files related to EnumCheck tool

* EnumCheck.cs   -- updated
* makefile      -- build EnumCheck

 Hey Nick, now you can use this tool very beautifully. Just modify the assemblies.xml file.

svn path=/trunk/mcs/; revision=2171
2002-01-26 08:37:21 +00:00
Miguel de Icaza 88da8d5759 Update with links from Gaurav
svn path=/trunk/mono/; revision=2170
2002-01-25 23:55:51 +00:00
Gaurav Vaish 04916c5251 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheck.cs   -- Please feel free to use it. I've done with it. Yahoo!!

svn path=/trunk/mcs/; revision=2169
2002-01-25 23:37:45 +00:00
Gaurav Vaish beee9bdde4 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheck.cs  -- Did some modifications. At least not giving an exception, but
  still fails to load or whatever be the problem. I'll try to debug it today.

svn path=/trunk/mcs/; revision=2168
2002-01-25 23:19:17 +00:00
Miguel de Icaza adfbc58629 Commit
svn path=/trunk/mcs/; revision=2167
2002-01-25 21:48:37 +00:00
Miguel de Icaza ab939010df Wooohoo! Unsafe code, here I come!
A couple of things are missing, but I will get to that tomorrow.

2002-01-25  Miguel de Icaza  <[email protected]>

	* expression.cs (UnaryMutator.IsIncrementableNumber): Allow also
	pointer types to be incretemented.

	(SizeOf): Implement.

	* cs-parser.jay (pointer_member_access): Implement
	expr->IDENTIFIER production.

	* expression.cs (IndexerAccess.DoResolve, ArrayAccess.DoResolve,
	MemberAccess.DoResolve, Invocation.DoResolve): Check for pointers
	on safe contexts.

	(Unary): Implement indirection.

	* ecore.cs (Expression.UnsafeError): Reports error 214 (pointer
	use in non-unsafe context).

	(SimpleName.DoResolve): Check for pointers in field access on safe
	contexts.

	(Expression.LoadFromPtr): Factor the load-indirect code in this
	function.  This was duplicated in UnboxCast and ParameterReference

svn path=/trunk/mcs/; revision=2166
2002-01-25 21:48:12 +00:00
Gaurav Vaish 91ffc8cbed 2002-01-26 Gaurav Vaish <[email protected]>
* TableItemStyle.cs, Panel.cs   -- Completed. :))

* ChangeLog, TODO   -- Updated

 Now I'd try to go for another build including these files. Hope I succeed soon.

svn path=/trunk/mcs/; revision=2165
2002-01-25 16:15:08 +00:00
Nick Drochak 23d2b7ffb8 * ResourceReaderTest.cs: eliminate some compiler warnings
svn path=/trunk/mcs/; revision=2164
2002-01-25 11:49:59 +00:00
Nick Drochak fb24ffdb4d 2002-01-25 Nick Drochak <[email protected]>
* AllTests.cs: Add System.Resources.AllTests.Suite

svn path=/trunk/mcs/; revision=2163
2002-01-25 11:47:24 +00:00
Nick Drochak e0da9e6d82 2002-01-26 Nick Drochak <[email protected]>
* ResourceReader.cs: Finsished reading resource files with just strings
	in them.  Need to figure out other types, and also resources with
	multiple types in the same file.

svn path=/trunk/mcs/; revision=2162
2002-01-25 11:45:54 +00:00
Dietmar Maurer ac6b5abd86 bug fix
svn path=/trunk/mono/; revision=2161
2002-01-25 11:19:37 +00:00
Nick Drochak a21d08a5e5 2002-01-25 Nick Drochak <[email protected]>
* AllTests.cs:
	* Empty.resources:
	* MyResources.resources: Added files
	* ResourceReaderTest.cs: Test the enumerator

svn path=/trunk/mcs/; revision=2160
2002-01-25 10:57:34 +00:00
Nick Drochak 84a4b85375 .cvsignore: *ignore* them, i said
svn path=/trunk/mcs/; revision=2159
2002-01-25 10:45:47 +00:00
Nick Drochak 36de1441c7 .cvsignore: ignore .dll files in this directory.
svn path=/trunk/mcs/; revision=2158
2002-01-25 10:37:59 +00:00
Dietmar Maurer afeb89dc22 more appdomain update
svn path=/trunk/mono/; revision=2157
2002-01-25 10:35:35 +00:00
Dietmar Maurer bdbde07bc8 more AppDomain updates
svn path=/trunk/mcs/; revision=2156
2002-01-25 10:27:49 +00:00
Nick Drochak 7c86c50523 2002-01-25 Nick Drochak <[email protected]>
* .cvsignore: ignore .dll files now since we build NUnitCore.dll ourselves

svn path=/trunk/mcs/; revision=2155
2002-01-25 04:09:55 +00:00
Miguel de Icaza 0aae20a580 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast): report an error if a pointer cast
	is used in a safe region.

	* ecore.cs (Expression.ConvertExplicit): Add rules for implicit
	pointer type casts in unsafe context.

	* codegen.cs (EmitContext): Set up IsUnsafe.

	* cs-parser.jay (non_expression_type): Add productions for pointer
	casts.

svn path=/trunk/mcs/; revision=2154
2002-01-24 17:28:18 +00:00
Miguel de Icaza fad5ddaa23 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Remove chunk of buggy
	code.  We should not use force into static mode if the method is
	not virtual.  Fixes bug in MIS

svn path=/trunk/mcs/; revision=2153
2002-01-24 15:55:41 +00:00
Miguel de Icaza 0653e868af 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Remove chunk of buggy
	code.  We should not use force into static mode if the method is
	not virtual.  Fixes bug in MIS

svn path=/trunk/mcs/; revision=2152
2002-01-24 15:54:43 +00:00
Miguel de Icaza 5211a94918 2002-01-24 Miguel de Icaza <[email protected]>
* statement.cs (Do.Emit, While.Emit, For.Emit,
	Statement.EmitBoolExpression): Add support to Do and While to
	propagate infinite loop as `I do return' semantics.

	Improve the For case to also test for boolean constants.

	* attribute.cs (Attribute.ApplyAttributes): Add ParameterBuilder
	to the list of attributes we can add.

	Remove `EmitContext' argument.

	* class.cs (Method.Define): Apply parameter attributes.
	(Constructor.Define): Apply parameter attributes.
	(MethodCore.LabelParameters): Move here the core of labeling
	parameters.

	* support.cs (ReflectionParameters.ParameterModifier,
	InternalParameters.ParameterModifier): Use IsByRef on the type and
	only return the OUT bit for these parameters instead of in/out/ref
	flags.

	This is because I miss-understood things.  The ParameterInfo.IsIn
	and IsOut represent whether the parameter has the [In] and [Out]
	attributes set.

svn path=/trunk/mcs/; revision=2151
2002-01-24 15:06:39 +00:00
Duncan Mak 34b48c6668 Flush, mostly indent differences
svn path=/trunk/mcs/; revision=2150
2002-01-24 13:32:24 +00:00
Dietmar Maurer 6df3d58acf more appdomain work
svn path=/trunk/mono/; revision=2149
2002-01-24 13:16:30 +00:00
Paolo Molaro 1263a4d126 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <[email protected]>
* Directory.cs: allow directories in GetFiles() mask.

svn path=/trunk/mcs/; revision=2148
2002-01-24 12:51:20 +00:00
Paolo Molaro 9dcb104c59 Thu Jan 24 17:41:06 CET 2002 Paolo Molaro <[email protected]>
* glob.c: fix typo.

svn path=/trunk/mono/; revision=2147
2002-01-24 12:49:03 +00:00
Miguel de Icaza fcceb7f0c4 2002-01-24 Miguel de Icaza <[email protected]>
* StructLayoutAttribute.cs: Flag attribute as targetting structs
	or classes.

	* InAttribute.cs: Flag attribute as targettting a paramter

	* OutAttribute.cs: ditto.

	* DllImportAttribute.cs: Flag attribute as targetting methods.

	* MarshalAsAttribute.cs: Flag attribute as targetting fields,
	parameters and returnvalues.

svn path=/trunk/mcs/; revision=2146
2002-01-24 11:13:26 +00:00
Paolo Molaro 4a00f3ca6d Thu Jan 24 12:59:23 CET 2002 Paolo Molaro <[email protected]>
* icall.c: ignore "file://" prefix when loading an assembly.

svn path=/trunk/mono/; revision=2145
2002-01-24 08:07:34 +00:00
Gaurav Vaish 5df765641d 2002-01-24 Gaurav Vaish <[email protected]>
* .cvsignore -- Ignore *.exe

svn path=/trunk/mcs/; revision=2143
2002-01-24 07:15:15 +00:00
Gaurav Vaish b259284dc2 2002-24-02 Gaurav Vaish <[email protected]>
* *.cs -- Updates from Leen Toelen ([email protected])

svn path=/trunk/mcs/; revision=2142
2002-01-24 04:14:05 +00:00
Miguel de Icaza e0971fd9f4 Add --root command line
svn path=/trunk/mono/; revision=2141
2002-01-24 01:20:56 +00:00
Miguel de Icaza bd17db489b 2002-01-23 Miguel de Icaza <[email protected]>
* glob.c (mono_glob_compile): Make the glob expression contain ^
	and $ at the beginning and end respectively.

svn path=/trunk/mono/; revision=2140
2002-01-24 01:07:06 +00:00
Miguel de Icaza 4ca705b72f 2002-01-23 Miguel de Icaza <[email protected]>
* x86/tramp.c (mono_create_trampoline): Do not try to create a
	mono_string_new if the return value from the PInvoke code is
	NULL.

2002-01-23  Miguel de Icaza  <[email protected]>

	* genwrapper.pl: Added wrappers for the mono_glob functions.

	* glob.c: New file, with globing functions used by the Directory
	code.

svn path=/trunk/mono/; revision=2139
2002-01-24 01:00:53 +00:00
Miguel de Icaza 99a1e34e98 2002-01-23 Miguel de Icaza <[email protected]>
* Unix/Errno.cs: Added

	* Unix/Wrapper.cs: Updated to new Wrapper

2002-01-23  Miguel de Icaza  <[email protected]>

	* FileInfo.c (CopyTo, MoveTo): Implement.

	* FileStream.cs: Add argument checking to the constructor.

	* File.cs: Rewrote most of the file.  Implement Copy, Open, Create,
	OpenText, OpenWrite, Move.  Made pending methods flagged as MonoTODO.

	* Directory.cs (Delete): reimplement without using DirectoryInfo.
	(Delete): Implement the recursive version.
	(GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
	(Move): Reimplement.
	(getNames): dead code removal.

	* Path.cs: define an internal DirectorySeparatorStr that we use in
	a few spots.

	* Wrapper.cs: Updated to new version.

	* DirectoryInfo (Delete): Implement using the Directory API.

2002-01-23  Miguel de Icaza  <[email protected]>

	* DateTime.cs (UnixEpoch): The Begining of the Unix epoch.

svn path=/trunk/mcs/; revision=2138
2002-01-24 00:59:13 +00:00
Duncan Mak e543d4c316 2002-01-23 Duncan Mak <[email protected]>
* DebuggerStepThroughAttribute.cs:
    * DebuggerHiddenAttribte.cs: Add to CVS.

svn path=/trunk/mcs/; revision=2137
2002-01-24 00:58:39 +00:00
Duncan Mak 9318774f00 2002-01-23 Duncan Mak <[email protected]>
* AssemblyAlgorithmIdAttribute.cs:
    * AssemblyCompanyAttribute.cs:
    * AssemblyConfigurationAttribute.cs:
    * AssemblyCopyrightAttribute.cs:
    * AssemblyCultureAttribute.cs:
    * AssemblyDefaultAliasAttribute.cs:
    * AssemblyDelaySignAttribute.cs:
    * AssemblyDescriptionAttribute.cs:
    * AssemblyFileVersionAttribute.cs:
    * AssemblyFlagsAttribute.cs:
    * AssemblyInformationalVersionAttribute.cs:
    * AssemblyKeyFileAttribute.cs:
    * AssemblyKeyNameAttribute.cs:
    * AssemblyNameProxy.cs:
    * AssemblyProductAttribute.cs:
    * AssemblyTitleAttribute.cs:
    * AssemblyTradeMarkAttribute.cs:
    * AssemblyVersionAttribute.cs:
    * CustomAttributeFormatException.cs:
    * InvalidFilterCriteriaException.cs:
    * TargetParameterCountException.cs: Added.

2002-01-23  Duncan Mak  <[email protected]>

    * FileDialogPermissionAccess.cs: Add to CVS.

    2002-01-23  Duncan Mak  <[email protected]>

    * EntryPointNotFoundException.cs:
    * FormatException: Added missing constructor and related bits.

    * TypeLoadException: Added missing constructor, methods and
      properties.

svn path=/trunk/mcs/; revision=2136
2002-01-24 00:57:12 +00:00
Miguel de Icaza e4edbe1b3d Add utime
svn path=/trunk/mono/; revision=2135
2002-01-23 22:20:46 +00:00
Miguel de Icaza 9b49d95a68 2002-01-23 Miguel de Icaza <[email protected]>
* wrapper.c: Changed things so that we can propagate ERRNO back.

	Include stdio.h and unistd.h to remove a couple of warnings.

svn path=/trunk/mono/; revision=2134
2002-01-23 21:33:02 +00:00
Miguel de Icaza 3f7687ddd4 2002-01-23 Miguel de Icaza <[email protected]>
* NetworkStream.cs: Implement class.

svn path=/trunk/mcs/; revision=2133
2002-01-23 21:10:25 +00:00
Miguel de Icaza 96b7ca21ac 2002-01-23 Miguel de Icaza <[email protected]>
* DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
	Delete, Create, Parent, Exists, MoveTo): Implement.

	* Directory.cs (GetListing): implement new utility function.
	(GetDirectories): Implement.
	(GetFileSystemEntries): Implement.
	(GetFiles): Implement.

	* CheckArgument.cs (Path): Do not allow null by default.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Unix/Wrapper.cs: Updated to new Wrapper

svn path=/trunk/mcs/; revision=2132
2002-01-23 20:05:45 +00:00
Miguel de Icaza c7c4eb0e94 2002-01-23 Miguel de Icaza <[email protected]>
* genwrapper.pl: Added support for flagging non-CLS compliant
	classes and structs with CLSCompliant(false).

	Added mkdir, rmdir and rename wrappers.

svn path=/trunk/mono/; revision=2131
2002-01-23 20:04:33 +00:00
Nick Drochak a764729de3 2002-01-24 Nick Drochak <[email protected]>
* ResourceReader.cs: Implemented constructors. Started on the
	GetEnumerator() method.  Not done yet, but comitting for
	'disaster recovery' purposes.

svn path=/trunk/mcs/; revision=2130
2002-01-23 19:36:47 +00:00
Nick Drochak 213ad095f6 2002-01-24 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Add new file. This test is not done yet.
        Wanted to save it in cvs for 'disaster recovery' purposes.
        Just in case.

svn path=/trunk/mcs/; revision=2129
2002-01-23 19:31:48 +00:00
Dick Porter 2489932c9e Added the MIS web server
svn path=/trunk/mono/; revision=2128
2002-01-23 19:27:53 +00:00
Dick Porter 734a34aa23 2002-01-23 Dick Porter <[email protected]>
* System.build: Start build System.Net.Sockets.Socket.cs,
	TcpClient.cs and TcpListener.cs

2002-01-23  Dick Porter  <[email protected]>

	* SocketException.cs: Implemented

	* Socket.cs: Implemented most methods

	* LingerOption.cs: Made compile

	* AddressFamily.cs: Removed empty auto-generated comments

2002-01-23  Dick Porter  <[email protected]>

	* SocketAddress.cs: Implemented.

	* IPEndPoint.cs: Turned 'Address' field into a real property.
	Implemented Create() and Serialize() methods.

	* IPAddress.cs: Fixed class constructor, turned 'Address' field
	into a real property. Removed undocumented "public
	IPAddress(string)" constructor.

	* EndPoint.cs: Implemented.  All methods return
	NotSupportedException to enforce subclass overriding.

	* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
	P/Invokes with portable internal calls.

2002-01-23  Dick Porter  <[email protected]>

	* Win32Exception.cs: implement, with support for looking up
	runtime errors.

2002-01-23  Dick Porter  <[email protected]>

	* Marshal.cs: Added GetLastWin32Error()

	* ExternalException.cs: Implemented

2002-01-23  Dick Porter  <[email protected]>

	* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
	compiles under .net 1.0

2002-01-23  Dick Porter  <[email protected]>

	* Linux.cs: GetFileTime and SetFileTime need to be static

2002-01-23  Dick Porter  <[email protected]>

	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Fixed DOS line endings

svn path=/trunk/mcs/; revision=2127
2002-01-23 19:19:34 +00:00
Dick Porter bc0b175b40 2002-01-23 Dick Porter <[email protected]>
* socket-io.c:
	* icall.c:
	* Makefile.am: Added socket support

2002-01-23  Dick Porter  <[email protected]>

	* sockets.c: Networking support, mostly wrapping BSD socket APIs
	with handle code, and translating errno into w32 error codes.

	* macros.h: Some w32 macros used with the socket support

	* error.c: Implemented GetLastError() and SetLastError()

	* Makefile.am: Added sockets, with kludge to override some symbols

2002-01-23  Dick Porter  <[email protected]>

	* interp.c: Added some kludges to cope with CONV_OVF_I2,
	CONV_OVF_I4 and ADD_OVF so that number formatting works.  Also
	initialise and cleanup the network support.

svn path=/trunk/mono/; revision=2126
2002-01-23 19:17:33 +00:00
Miguel de Icaza 08edfc501e 2002-01-23 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_appdomain_get_default_assemblies): put this
	code back.  This should return the assemblies that are loaded by
	the runtime on behalf of an application domain.

	The current implementation is still broken, it just returns every
	assembly loaded, but until we get real applications domain this
	will do.

svn path=/trunk/mono/; revision=2125
2002-01-23 18:02:41 +00:00
Miguel de Icaza 32d4648a81 2002-01-23 Miguel de Icaza <[email protected]>
* AppDomain.cs (GetAssemblies): Use foreach construct instead of
	manually getting the enumerator.

	(AppDomain.AppDomain): Prime the loaded assemblies with the
	assemblies loaded by the runtime in our behalf.

	* AppDomainSetup.cs: Remove private keyword, that is the default.
	Add a new property DisallowPublisherPolicy.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Assembly.cs (Assembly.CodeBase): Implement.
	(Assembly.FullName): simplistic and broken implementation.  Gets
	us where we were yesterday.

	Code style fix.

svn path=/trunk/mcs/; revision=2124
2002-01-23 17:59:32 +00:00
Dietmar Maurer da7a178730 more bug fixes
svn path=/trunk/mono/; revision=2123
2002-01-23 09:51:00 +00:00
Dietmar Maurer 3805a7d69e added some AppDomain methods
svn path=/trunk/mcs/; revision=2122
2002-01-23 09:49:10 +00:00
Miguel de Icaza 39d2884da7 2002-01-23 Miguel de Icaza <[email protected]>
* AppDomain.cs (AppDomain.GetAssemblies): Implement.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Assembly.cs (Assembly.CodeBase): Implement.

svn path=/trunk/mcs/; revision=2121
2002-01-23 03:28:31 +00:00
Miguel de Icaza 5b8087c990 2002-01-23 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_appdomain_get_cur_domain): Cache the value of
	the mono_class_from_name lookup.
	(ves_icall_get_parameter_info): ditto.
	(ves_icall_appdomain_get_assemblies, add_assembly): Implement new internal
	method.
	(ves_icall_System_Reflection_Assembly_get_code_base): Another new call.

svn path=/trunk/mono/; revision=2120
2002-01-23 03:27:05 +00:00
Miguel de Icaza b09bc24814 Fix build
svn path=/trunk/mcs/; revision=2118
2002-01-23 02:28:05 +00:00
Miguel de Icaza 3d37932fef Update resources
svn path=/trunk/mono/; revision=2117
2002-01-23 02:14:03 +00:00
Miguel de Icaza 7fa0813b5d Update web site
svn path=/trunk/mono/; revision=2116
2002-01-23 02:10:15 +00:00
Miguel de Icaza 2ebb961d35 Try Gaurav's
svn path=/trunk/mono/; revision=2114
2002-01-23 02:02:29 +00:00
Miguel de Icaza 352ad6c139 testing the scripts
svn path=/trunk/mono/; revision=2111
2002-01-23 01:52:37 +00:00
Miguel de Icaza 3b9b273b4a testing the scripts
svn path=/trunk/mono/; revision=2110
2002-01-23 01:50:50 +00:00
Miguel de Icaza 955289a36e testing the scripts
svn path=/trunk/mono/; revision=2109
2002-01-23 01:48:54 +00:00
Miguel de Icaza d7f8d22f26 testing the scripts
svn path=/trunk/mono/; revision=2108
2002-01-23 01:47:37 +00:00
Miguel de Icaza 0a7abca765 testing the scripts
svn path=/trunk/mono/; revision=2107
2002-01-23 01:46:52 +00:00
Miguel de Icaza 429b3769eb testing the scripts
svn path=/trunk/mono/; revision=2106
2002-01-23 01:44:34 +00:00
Miguel de Icaza fde0ddbbae testing the scripts
svn path=/trunk/mono/; revision=2105
2002-01-23 01:43:49 +00:00
Miguel de Icaza ab21c06d47 testing the scripts
svn path=/trunk/mono/; revision=2104
2002-01-23 01:43:31 +00:00
Miguel de Icaza 875eae459a testing the scripts
svn path=/trunk/mono/; revision=2103
2002-01-23 01:42:11 +00:00
Miguel de Icaza 78655617ae testing the scripts
svn path=/trunk/mono/; revision=2102
2002-01-23 01:40:32 +00:00
Miguel de Icaza c8516f58aa testing the scripts
svn path=/trunk/mono/; revision=2100
2002-01-23 01:35:27 +00:00
Miguel de Icaza 9939f7a909 testing the scripts
svn path=/trunk/mono/; revision=2099
2002-01-23 01:33:55 +00:00
Miguel de Icaza 41f5b90854 testing the scripts
svn path=/trunk/mono/; revision=2098
2002-01-23 01:32:51 +00:00
Miguel de Icaza 2b751433fe 2002-01-22 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.Emit): Release temporaries.

	* assign.cs (LocalTemporary.Release): new function.

	* codegen.cs (EmitContext.GetTemporaryStorage,
	EmitContext.FreeTemporaryStorage): Rework the way we deal with
	temporary storage.  Now we can "put back" localbuilders when we
	are done with them

svn path=/trunk/mcs/; revision=2096
2002-01-22 19:52:13 +00:00
Paolo Molaro 68cb0d715e Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <[email protected]>
* IReflect.cs: corrected GetMember() return type.
	* InterfaceMapping.cs, TypeDelegator.cs: implemented.


Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <[email protected]>

	* EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
	* ModuleBuilder.cs: fix lookup of nested types.


Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <[email protected]>

	* DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
	assembly in corlib.


Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <[email protected]>

	* MonoType.cs, Type.cs: many updates, corrected implementation,
	completed stubs.


Tue Jan 22 22:50:29 CET 2002 Paolo Molaro <[email protected]>

	* Linux.cs: comment out call to Debug.Assert(): stuff from the System
	assembly cannot be used in corlib.

svn path=/trunk/mcs/; revision=2095
2002-01-22 18:09:47 +00:00
Paolo Molaro 8cad5e83ae Tue Jan 22 22:43:47 CET 2002 Paolo Molaro <[email protected]>
* class.c: load also nested classes on class init.
	System.ValueType instance methods gets passed boxed
	values, unless methods in derived classed that get a pointer to the
	data.
	* icall.c: use better name parsing code in GetType().
	* image.c, image.h: add mono_image_loaded ().
	* metadata.c, metadata.h: add mono_metadata_nesting_typedef ().
	* reflection.c, reflection.h: added mono_reflection_parse_type().

svn path=/trunk/mono/; revision=2094
2002-01-22 18:09:44 +00:00
Aaron Weber 4b5634d553 2002-01-22 Aaron Weber <[email protected]>
* doc/testing: typo.

svn path=/trunk/mono/; revision=2093
2002-01-22 14:29:10 +00:00
Gaurav Vaish 3f926ea6cd 2002-22-01 Gaurav Vaish <[email protected]>
* class.xml   --- Update.

svn path=/trunk/mono/; revision=2092
2002-01-22 00:10:47 +00:00
Veronica De Santis f945db3bdf 2002-01-22 Veronica De Santis <[email protected]>
in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

	in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

	also added 2 tests in mono/mono/tests/
	* autoresetevents.cs
	* manualresetevents.cs

svn path=/trunk/mono/; revision=2091
2002-01-21 22:50:33 +00:00
Veronica De Santis 3cc87e2203 2002-01-22 Veronica De Santis <[email protected]>
in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

	in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

	also added 2 tests in mono/mono/tests/
	* autoresetevents.cs
	* manualresetevents.cs

svn path=/trunk/mcs/; revision=2091
2002-01-21 22:50:33 +00:00
Radek Doulik 63807547a8 ppc changes
svn path=/trunk/mono/; revision=2090
2002-01-21 20:06:20 +00:00
David Dawkins 252249354b New files (IFieldInfo.cs,ISoapMessage.cs,ChangeLog)
svn path=/trunk/mcs/; revision=2089
2002-01-21 17:55:28 +00:00
Dietmar Maurer ffa32d6205 status updates for System.IO
svn path=/trunk/mono/; revision=2088
2002-01-21 14:09:31 +00:00
Dietmar Maurer 999a364f5d updates for System.Text namespace
svn path=/trunk/mono/; revision=2087
2002-01-21 13:22:36 +00:00
Dietmar Maurer 3bdee8e499 fix various alignment problems
svn path=/trunk/mono/; revision=2086
2002-01-21 10:05:51 +00:00
Miguel de Icaza 3e4bccee85 2002-01-21 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.Emit): Handle initonly fields specially: we
	need to make a copy of the variable to generate verifiable code.

svn path=/trunk/mcs/; revision=2085
2002-01-21 08:33:16 +00:00
Miguel de Icaza d510fa1c22 Update TODO
svn path=/trunk/mcs/; revision=2084
2002-01-21 08:18:03 +00:00
Dick Porter 527c3f5f60 Fix a typo
svn path=/trunk/mcs/; revision=2083
2002-01-20 20:52:50 +00:00
Duncan Mak 998c5edb7a another typo. i'm feeling embarrassed now.
svn path=/trunk/mcs/; revision=2082
2002-01-20 20:48:46 +00:00
Duncan Mak f384b348d7 This is gonna be painful, fixing typos i just introduced ;-(
svn path=/trunk/mcs/; revision=2081
2002-01-20 20:47:41 +00:00
Duncan Mak 5d272cf42c Beh, typo
svn path=/trunk/mcs/; revision=2080
2002-01-20 20:27:04 +00:00
Duncan Mak 9de450d5c1 2002-01-20 Duncan Mak <[email protected]>
* *Attribute.cs: Implemented all the MonoTODOs in the attributes.

svn path=/trunk/mcs/; revision=2079
2002-01-20 20:26:26 +00:00
Andrei Zmievski 56bc08c1e3 12-01-20 Andrei Zmievski <[email protected]>
* Byte.cs:
    * Char.cs: implemented IConvertible interface.

    * Boolean.cs: use our own ToString() method directly.

svn path=/trunk/mcs/; revision=2078
2002-01-20 19:57:20 +00:00
Duncan Mak 1f356938bb Huge indentation fix. Don't worry, I tested so no typos were introduced. ;-)
svn path=/trunk/mcs/; revision=2077
2002-01-20 13:58:36 +00:00
Nick Drochak ea2a79e85d 2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
	and running tests

svn path=/trunk/mcs/; revision=2076
2002-01-20 04:05:46 +00:00
Nick Drochak 909acdbb50 2002-01-20 Nick Drochak <[email protected]>
* BitArrayTest.cs: wrapped try-catch blocks around several of the tests.
	NUnit doesn't properly catch exception here anymore.  Must be something
	to do with upgrading to .NET.1.0.

svn path=/trunk/mcs/; revision=2075
2002-01-20 03:39:28 +00:00
Nick Drochak a574fbda55 2002-01-20 Nick Drochak <[email protected]>
* AllTests.cs: removed duplicate MemoryStream test
	* MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
	tests. These were throwing exceptions that NUnit wasn't catching.  I
	don't think it used to behave this way before .NET.1.0.

svn path=/trunk/mcs/; revision=2074
2002-01-20 03:15:56 +00:00
Nick Drochak 711c8318be 2002-01-20 Nick Drochak <[email protected]>
* SeekOrigin.cs: Added Serializable attribute.

svn path=/trunk/mcs/; revision=2073
2002-01-20 02:03:29 +00:00
Nick Drochak bd688f95bd 2002-01-20 Nick Drochak <[email protected]>
* SerializableAttribute.cs: this attrib can be used on enums, structs,
	and delegates too. Added the appropriate usage flags.

svn path=/trunk/mcs/; revision=2072
2002-01-20 02:02:02 +00:00
Miguel de Icaza 944c953c61 Added.
svn path=/trunk/mcs/; revision=2071
2002-01-19 21:39:07 +00:00
Nick Drochak 2c96cb4f25 * removed binaries that get built
svn path=/trunk/mcs/; revision=2070
2002-01-19 20:43:00 +00:00
Miguel de Icaza 0f0c5150f9 2002-01-19 Miguel de Icaza <[email protected]>
* driver.cs: Compute dynamically the system directory.

svn path=/trunk/mcs/; revision=2069
2002-01-19 20:42:53 +00:00
Dick Porter 7862430d9a 2002-01-20 Dick Porter <[email protected]>
* threads.h:
	* threads.c: Replaced all instances of WapiHandle * with HANDLE,
	so it compiles on w32.

svn path=/trunk/mono/; revision=2068
2002-01-19 20:18:40 +00:00
Nick Drochak 825011fce5 2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in

svn path=/trunk/mcs/; revision=2067
2002-01-19 19:57:56 +00:00
Nick Drochak b3a9502b96 * Added sources and makefile for NUnit
svn path=/trunk/mcs/; revision=2066
2002-01-19 19:55:23 +00:00
Miguel de Icaza aa634bb041 2002-01-19 Miguel de Icaza <[email protected]>
* ecore.cs (CopyNewMethods): reworked, exposed, made public.
	Slower, but more generally useful.  Used by the abstract
	registering implementation.

	* expression.cs (ResolveMemberAccess): Reorder the way we evaluate
	the rules for the special rule on Type/instances.  First check if
	we have the same name, and if so, try that special static path
	rather than the instance path.

2002-01-18  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Emit 642 (warning: possible empty statement) for
	for, while and if.

	* class.cs (TypeBuilder.DefineType): Do not allow inheritance from
	Enum, ValueType, Delegate or Array for non-corlib compiles.

	* cs-tokenizer.cs: Catch long identifiers (645)

	* typemanager.cs (IndexerPropetyName): Ravi never tested this
	piece of code.

	* class.cs (TypeContainer.RegisterRequiredImplementations): Bug
	fix, we were returning too early, so we were not registering
	pending methods from abstract classes.

	Do not register pending methods if the class is abstract.

	* expression.cs (Conditional.DoResolve): Report circular implicit
	conversions when we neecd to compute it for conditional
	expressions.

	(Is.DoResolve): If the expression is always of the provided type,
	flag warning 183.  If the expression can not ever be of the
	provided type flag warning 184.

	* class.cs: Catch 169 as well.

	* ecore.cs (FieldExpr): For now in AddressOf mark as assigned and
	read.

Also add more error test cases.

svn path=/trunk/mcs/; revision=2065
2002-01-19 04:27:34 +00:00
Duncan Mak 280963b185 Stupid tabs
svn path=/trunk/mcs/; revision=2064
2002-01-19 02:37:28 +00:00
Duncan Mak 7359ab5f28 Reset should set it to -1, not 0
svn path=/trunk/mcs/; revision=2063
2002-01-19 02:34:47 +00:00
Duncan Mak af3a970428 Reset should set it to -1, not 0
svn path=/trunk/mcs/; revision=2062
2002-01-19 02:02:11 +00:00
Duncan Mak 83e508f297 Added missing Exceptions in System.IO and System.Security.Policy
svn path=/trunk/mcs/; revision=2061
2002-01-19 01:27:37 +00:00
Duncan Mak d53eb237d4 * CharEnumerator.cs: Implemented.
* String.cs (System): Fixed the GetEnumerator () method(s).

svn path=/trunk/mcs/; revision=2060
2002-01-19 01:08:10 +00:00
Duncan Mak 2df69f3785 2002-01-18 Duncan Mak <[email protected]>
* ObsoleteAttribute.cs:
	    * STAThreadAttribute.cs:
	    * MTAThreadAttribute.cs:
	    * ThreadStaticAttribute.cs:
	    * LoaderOptimizationAttribute.cs:
	    * PlatformNotSupportedException.cs:
	    * LoaderOptimization.cs: Added to CVS.

svn path=/trunk/mcs/; revision=2059
2002-01-18 22:49:16 +00:00
Duncan Mak 1b00f1c04c * ContextStaticAttribute.cs: Added [Serializable] attribute and
put in the missing constructor.

svn path=/trunk/mcs/; revision=2058
2002-01-18 22:40:27 +00:00
Duncan Mak 488a6b9b50 Killed a stray semicolon.
svn path=/trunk/mcs/; revision=2057
2002-01-18 22:38:22 +00:00
Duncan Mak df606238de Fix e-mail address in ChangeLog
svn path=/trunk/mcs/; revision=2056
2002-01-18 22:06:52 +00:00
Duncan Mak 2747409103 2002-1-18 Duncan Mak <[email protected]>
* EnumCheck.cs: A checkin for Miguel to make EnumCheck not hardcode
	     path to corlib.dll.

svn path=/trunk/mcs/; revision=2055
2002-01-18 22:06:26 +00:00
Duncan Mak b675c77a68 Forgot about DllNotFoundException
svn path=/trunk/mcs/; revision=2054
2002-01-18 21:29:35 +00:00
Duncan Mak 4747b57129 Remove one more exception from the list
svn path=/trunk/mono/; revision=2053
2002-01-18 21:25:00 +00:00
Nick Drochak e4cdfddd1a 2002-01-19 Nick Drochak <[email protected]>
* corlib.build: exclude Delegate from corlib_cmp.

svn path=/trunk/mcs/; revision=2052
2002-01-18 21:23:01 +00:00
Nick Drochak 461bb5e3e9 2002-01-19 Nick Drochak <[email protected]>
* makefile: corcompare works again now, so make xml of missing types
	* CorCompare.cs: use exception that .NET v1 throws to get types in mono corlib

svn path=/trunk/mcs/; revision=2051
2002-01-18 21:19:38 +00:00
Duncan Mak aeb1edd979 Updated pending-classes.in, removing classes that I commited in the last few days
svn path=/trunk/mono/; revision=2050
2002-01-18 20:52:43 +00:00
Duncan Mak e11e0dfc70 Forgot to cvs add
svn path=/trunk/mcs/; revision=2049
2002-01-18 20:37:38 +00:00
Duncan Mak c94343d383 2002-01-18 Duncan Mak <[email protected]>
* AppDomainUnloadedException.cs:
	    * MethodAccessException.cs:
	    * ContextMarshalException.cs:
   	    * CannotUnloadAppDomainException.cs:
	    * EntryPointNotFoundException.cs:
            * FieldAccessException.cs:
            * TypeUnloadedException.cs:
�    	    * MissingFieldException.cs: Added to CVS.

	    * ApplicationException.cs:
	    * MemberAccessException.cs:
	    * MissingMemberException.cs
	    * MissingMethodException.cs:
	    * SystemException.cs: Added [Serializable] attribute.

            * Exception.cs: Added [Serializable] attribute, made properties
	    'Message', 'Source' and 'StackTrace' virtual methods, per 1.0 spec.

svn path=/trunk/mcs/; revision=2048
2002-01-18 20:36:58 +00:00
Miguel de Icaza ab7465ea46 Updates to the web site, documentation
svn path=/trunk/mono/; revision=2047
2002-01-18 16:26:47 +00:00
Gaurav Vaish 382b1f3628 2002-01-18 Gaurav Vaish <[email protected]>
* TableCellCollection.cs, TableRowCollection.cs,
  TableHeaderCell.cs, TableRow.cs    -- Completed

* TODO  -- Updated. Added a note on "Attributes" to be added to the classes.

svn path=/trunk/mcs/; revision=2046
2002-01-18 13:41:58 +00:00
Nick Drochak cc6e0e8a5d don't generate xml from corcompare for now. it throws an error on v1.0 of .NET
svn path=/trunk/mcs/; revision=2045
2002-01-18 10:55:56 +00:00
Nick Drochak bffc0cd4d9 2002-01-18 Nick Drochak <[email protected]>
* makefile: remove path to beta2 csc.exe.  path to csc.exe must be in PATH instead.

svn path=/trunk/mcs/; revision=2044
2002-01-18 10:53:10 +00:00
Miguel de Icaza 7cab9c0106 Flush
svn path=/trunk/mcs/; revision=2043
2002-01-18 02:27:23 +00:00
Miguel de Icaza 161b9caec4 2002-01-17 Miguel de Icaza <[email protected]>
* interface.cs (Interface.GetInterfaceTypeByName): Only lookup the
	hashtable if there are classes or structs defined.

	* expression.cs (LocalVariableReference.DoResolve): Simplify this
	code, as the constant resolution moved.

	* statement.cs (Block.EmitMeta): Resolve all constants as we emit
	the metadata, so we can flag error 133.

svn path=/trunk/mcs/; revision=2042
2002-01-18 02:17:45 +00:00
Miguel de Icaza 9071a1fd56 Add new error
svn path=/trunk/mcs/; revision=2041
2002-01-18 02:10:10 +00:00
Miguel de Icaza 1510c979dc Improved tests
svn path=/trunk/mcs/; revision=2040
2002-01-18 02:09:53 +00:00
Duncan Mak 4b54b3f463 2002-01-18 Duncan Mak <[email protected]>
* EnvironmentPermissionAttribute.cs:
    * FileDialogPermissionAttribute.cs:
    * FileIOPermissionAttribute.cs:
    * IsolatedStorageAttribute.cs:
    * IsolatedStorageFilePermissionAttribute.cs:
    * PermissionSetAttribute.cs:
    * PrinciplePermissionAttribute.cs:
    * ReflectionPermissionAttribute.cs:
    * RegistryPermissionAttribute.cs:
    * SiteIdentityPermissionAttribute.cs:
    * StrongNamePermissionAttribute.cs:
    * UIPermissionAttribute.cs:
    * UrlIdentityPermissionAttribute.cs:
    * ZoneIdentityPermissionAttribute.cs: New files. Stubbed out with MonoTODOs

    * Note: These are all the Attributes in the System.Security.Permissions
    namespace. The only missing one is PublishIdentityPermissionAttribute.cs because
    we don't have anything for the X509Certificate class.

svn path=/trunk/mcs/; revision=2039
2002-01-18 01:44:30 +00:00
Duncan Mak 10fd24c272 2002-1-18 Duncan Mak <[email protected]>
* Environment.cs: Commented out references to
	     EnvironmentPermissionAttribute, because they're just
	     stubbed out right now and has no implementation.

svn path=/trunk/mcs/; revision=2038
2002-01-18 01:34:44 +00:00
Andrei Zmievski b171dbb1d9 Forgot to commit ChangeLog.
svn path=/trunk/mcs/; revision=2037
2002-01-18 01:01:06 +00:00
Duncan Mak 37b2d59da6 Some more minor fixes
svn path=/trunk/mcs/; revision=2036
2002-01-18 00:57:49 +00:00
Duncan Mak 152841a79f Minor fixes
svn path=/trunk/mcs/; revision=2035
2002-01-18 00:43:18 +00:00
Miguel de Icaza af5735d115 Fix errors, so the compiler can focus on reporting the right error
svn path=/trunk/mcs/; revision=2034
2002-01-18 00:31:21 +00:00
Duncan Mak 7ef49ff877 indentation fix
svn path=/trunk/mcs/; revision=2033
2002-01-18 00:17:59 +00:00
Duncan Mak 28ff4b98fc 2002-1-17 Duncan Mak <duncan@[email protected]>
* *.cs: convert to Miguel's brace style.

svn path=/trunk/mcs/; revision=2032
2002-01-18 00:17:08 +00:00
Miguel de Icaza cdb4d61b83 This file tracks the bugs in the compiler with regard to the bugs in
this `errors' directory.

svn path=/trunk/mcs/; revision=2031
2002-01-18 00:11:32 +00:00
Duncan Mak fd1d18a15a 2002-1-17 Duncan Mak <[email protected]>
* ResourceSet.cs: Implemented GetObject (string, bool) and GetString
	     (string, bool). ResourceSet has no more MonoTODOs! Also added in the
	     Serializable attribute.

svn path=/trunk/mcs/; revision=2029
2002-01-17 22:56:28 +00:00
Miguel de Icaza f02ec2891f Fix
svn path=/trunk/mcs/; revision=2028
2002-01-17 21:15:47 +00:00
Miguel de Icaza 504b883cc6 Small fixes to report 117
svn path=/trunk/mcs/; revision=2027
2002-01-17 21:15:03 +00:00
Miguel de Icaza ecdf3155e8 Add missing file
svn path=/trunk/mcs/; revision=2026
2002-01-17 19:55:07 +00:00
Miguel de Icaza 7984b8181b Improve error reporting
svn path=/trunk/mcs/; revision=2025
2002-01-17 19:54:27 +00:00
Duncan Mak 07df008a5e 2002-01-17 Duncan Mak <[email protected]>
* ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
	      new attributes documented in 1.0 SDK.

svn path=/trunk/mcs/; revision=2024
2002-01-17 18:51:34 +00:00
Miguel de Icaza db1bb4f4eb Mostly changes to get System.dll compiling again. Removes a bunch
of excludes, and now we actually build things.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Win32Exception.cs: Add.

2002-01-17  Miguel de Icaza  <[email protected]>

	* TraceListenerCollection.cs: Remove Warnings.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Dns.cs: Updated to API changes.

	* IPAddress.cs: Updated API.  Much left to implement.

	* Dns.cs: Remove IPToString method

2002-01-17  Miguel de Icaza  <[email protected]>

	* SocketException.cs: Reimplemented.

svn path=/trunk/mcs/; revision=2023
2002-01-17 18:51:01 +00:00
Duncan Mak a22d5c780c 2002-01-17 Duncan Mak <[email protected]>
* ResourceWriter.cs: Added MonoTODO decorations.

    * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.

    * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK

svn path=/trunk/mcs/; revision=2022
2002-01-17 18:46:09 +00:00
Miguel de Icaza a3864a3fc3 oops
svn path=/trunk/mcs/; revision=2021
2002-01-17 17:06:17 +00:00
Miguel de Icaza 4f87e6769e Add .cvsignore
svn path=/trunk/mcs/; revision=2020
2002-01-17 17:03:29 +00:00
Miguel de Icaza b3a4c2c901 Flush
svn path=/trunk/mcs/; revision=2019
2002-01-17 17:03:09 +00:00
Miguel de Icaza dd79275dc1 Add documentatin from Nant
svn path=/trunk/mcs/; revision=2018
2002-01-17 16:47:20 +00:00
Miguel de Icaza a88f8fd7de Integrate Nant sources into the mcs code base to simplify the build.
Also, make Resources compile.

svn path=/trunk/mcs/; revision=2017
2002-01-17 16:45:39 +00:00
Miguel de Icaza f9e754668c Flush
svn path=/trunk/mono/; revision=2016
2002-01-17 14:10:45 +00:00
Dietmar Maurer a4ccf0cb35 2002-01-17 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_stack_size): impl.

	* class.c (mono_class_get_field): impl. memberref token

	* jit.c (mono_analyze_stack): use LDIND_REF/STIND_REF

	* jit.c (main): install the trampoline before we start to create
	objects.

svn path=/trunk/mono/; revision=2015
2002-01-17 10:08:43 +00:00
Miguel de Icaza 1f2b306c4e 2002-01-17 Miguel de Icaza <[email protected]>
* const.cs: Allow `unsafe'

	* interface.cs: (PopulateMethod): Check for pointers being defined
	only if the unsafe context is active.
	(PopulateProperty): ditto.
	(PopulateIndexer): ditto.

	* class.cs (Method, Method.Define): Allow `unsafe' modifier to be
	specified.  If pointers are present, make sure that they are
	present in an unsafe context.
	(Constructor, Constructor.Define): ditto.
	(Field, Field.Define): ditto.
	(Property, Property.Define): ditto.
	(Event, Event.Define): ditto.

	* decl.cs (MemberCore.UnsafeOK): New function to test that a
	pointer is being declared in an unsafe context.

2002-01-16  Miguel de Icaza  <[email protected]>

	* modifiers.cs (Modifiers.Check): Require a Location argument.
	Report error 227 for Unsafe use.

	* typemanager.cs: Remove IsPointerType, we should be using Type.IsPointer

svn path=/trunk/mcs/; revision=2014
2002-01-17 02:22:50 +00:00
Andrei Zmievski 8cb07d42eb * Boolean.cs: implemented IConvertible interface
svn path=/trunk/mcs/; revision=2013
2002-01-17 00:28:40 +00:00
Miguel de Icaza 177e4fbfaa 2002-01-16 Miguel de Icaza <[email protected]>
* statement.cs (For.Emit): If the test is null, then report that
	we do `return', as we wont reach anything afterwards.

	(Switch.SwitchGoverningType): Track the expression that matched
	the conversion.

	* driver.cs: Allow negative numbers as an error code to flag.

svn path=/trunk/mcs/; revision=2011
2002-01-16 22:26:59 +00:00
Veronica De Santis 1222ab1b5c 2002-01-16 Veronica De Santis <veron78@@interfree.it>
* icall.h : Added the internal calls mapping for CreateMutex_internal
	  	    and ReleaseMutex_internal.

	* threads.h : Added the prototype of mutexes internal calls.

	* threads.c : Added the implementations of mutexes internal calls.

	* WaitHandle.cs : Renamed handle to os_handle and make it protected
	                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
              	     and the ReleaseMutex)

svn path=/trunk/mono/; revision=2010
2002-01-16 21:08:04 +00:00
Veronica De Santis 169190f49b 2002-01-16 Veronica De Santis <veron78@@interfree.it>
* icall.h : Added the internal calls mapping for CreateMutex_internal
	  	    and ReleaseMutex_internal.

	* threads.h : Added the prototype of mutexes internal calls.

	* threads.c : Added the implementations of mutexes internal calls.

	* WaitHandle.cs : Renamed handle to os_handle and make it protected
	                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
              	     and the ReleaseMutex)

svn path=/trunk/mcs/; revision=2010
2002-01-16 21:08:04 +00:00
Miguel de Icaza 13a04d9f60 Small fixes for Duncan
svn path=/trunk/mcs/; revision=2009
2002-01-16 20:57:28 +00:00
Miguel de Icaza 71f28a14ae Flush
svn path=/trunk/mono/; revision=2008
2002-01-16 20:15:56 +00:00
Duncan Mak 69423ab0b6 2002-01-16 Duncan Mak <[email protected]>
* ResourceManager.cs: Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
      because Miguel just implemented the whole class, including the constructor that
      I needed (CultureInfo (string)).

svn path=/trunk/mcs/; revision=2007
2002-01-16 20:11:32 +00:00
Miguel de Icaza d76053ec49 2002-01-16 Miguel de Icaza <[email protected]>
* CultureInfo.cs: Completed the tables.   Now we need to actually
	fill it in.

svn path=/trunk/mcs/; revision=2006
2002-01-16 20:08:35 +00:00
Duncan Mak 3c2865bb5e 2002-01-16 Duncan Mak <[email protected]>
* ResourceManager.cs: After reading the tutorial from the SDK,
      finished all the ResourceManager constructors and removed those
      MonoTODO tags. Updated fields after reading the new docs from the
      final SDK.

    * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
      Windows.Forms and require System.Xml, which we don't have access to.

2002-01-13  Duncan Mak  <[email protected]>

    * ResourceManager.cs: Added more MonoTODOs and cleaned up some
      indenting.

svn path=/trunk/mcs/; revision=2005
2002-01-16 19:18:45 +00:00
Miguel de Icaza a0d9e27a2b 2002-01-16 Miguel de Icaza <[email protected]>
* driver.cs: Allow negative numbers as an error code to flag.

	* cs-parser.jay: Handle 1551.

	* namespace.cs: Add 1537 checking (repeated using alias namespaces).

2002-01-15  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Report 1518 (type declaration can only contain
	class, struct, interface, enum or delegate)

	(switch_label): Report 1523 (keywords `case' or `default' must
	preced code)

	(opt_switch_sections): Report 1522 (empty switch)

	* driver.cs: Report 1515 (response file specified multiple times)
	Report 1516 (Source file specified multiple times).

	* expression.cs (Argument.Resolve): Signal 1510

	(BaseAccess.Resolve, BaseIndexer.Resolve): Signal 1511 (base
	access not allowed in static code)

svn path=/trunk/mcs/; revision=2004
2002-01-16 18:53:16 +00:00
Miguel de Icaza 41b32e7b76 add new bug
svn path=/trunk/mcs/; revision=2003
2002-01-16 18:52:44 +00:00
Gaurav Vaish 06a058d20f 2002-01-17 Gaurav Vaish <[email protected]>
* Button.cs  -- Bug fix for CommandName { set; } , thanks to Alex.

svn path=/trunk/mcs/; revision=2002
2002-01-16 17:13:32 +00:00
Nick Drochak cc365d3b8e Build new tool for linux target too.
svn path=/trunk/mcs/; revision=2001
2002-01-16 12:18:14 +00:00
Nick Drochak f09fa522dd 2002-01-17 Nick Drochak <[email protected]>
* IFaceDisco.cs, XMLUtil.cs: Added new files for interface discovery tool.
	* makefile: added target for IFaceDisco.exe and added to clean target for same

svn path=/trunk/mcs/; revision=2000
2002-01-16 12:16:07 +00:00
Dietmar Maurer 9449dcb53e 2002-01-16 Dietmar Maurer <[email protected]>
* jit.c (main): install the trampoline before we start to create
	objects.

	* x86.brg: impl. CLT_UN, CGT_UN

	* emit-x86.c (leave_method): added check for null object
	(enter_method): consider byref arguments

svn path=/trunk/mono/; revision=1999
2002-01-16 09:05:25 +00:00
Ravi Pratap M 0ff55eb2fe 2002-01-11 Ravi Pratap <[email protected]>
* typemanager.cs (IsPointerType): Utility method which we are going
	to need a lot.

	* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
	the object type, so we take care of that.

	* expression.cs (FullMethodDesc): Also include the return type in descriptions.

	* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
	added to non-params parameters :-)

	* typemanager.cs (CSharpName): Include 'void' type too.

	(void_ptr_type): Include in the set of core types.

	* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
	duplicating code.

	(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
	an unsafe context.

	* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
	completely forgotten about it.

2002-01-10  Ravi Pratap  <[email protected]>

	* cs-parser.jay (pointer_type): Add. This begins our implementation
	of parsing rules for unsafe code.

	(unsafe_statement): Implement.

	(embedded_statement): Modify to include the above.

	* statement.cs (Unsafe): Implement new class for unsafe blocks.

	* codegen.cs (EmitContext.InUnsafe): Add. This determines
	if the current context is an unsafe one.

	* cs-parser.jay (local_variable_pointer_type): Since local variable types
	are handled differently, we need separate rules for them.

	(local_variable_declaration): Update to use local_variable_pointer_type
	to allow variable declarations of unmanaged pointer types.

	* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
	in unsafe contexts.

	* ../errors/cs0214.cs : Add.

svn path=/trunk/mcs/; revision=1998
2002-01-16 02:30:46 +00:00
Miguel de Icaza 9bc926dcd1 Add more errors that we handle now
svn path=/trunk/mcs/; revision=1997
2002-01-16 01:38:39 +00:00
Nick Drochak 20bce169fa 2002-01-16 Nick Drochak <[email protected]>
* makefile: remove 'response' file when cleaning.

svn path=/trunk/mcs/; revision=1996
2002-01-16 00:43:43 +00:00
Duncan Mak 7d9531aef0 2002-01-15 Duncan Mak <[email protected]>
* CultureInfo.cs: Convert it to unix text.

svn path=/trunk/mcs/; revision=1995
2002-01-15 18:35:28 +00:00
Miguel de Icaza 72e915a7c6 2002-01-15 Miguel de Icaza <[email protected]>
* cs-parser.jay: Report 1524.

2002-01-14  Miguel de Icaza  <[email protected]>

	* typemanager.cs (RegisterMethod): drop checking if we have

svn path=/trunk/mcs/; revision=1994
2002-01-15 18:06:08 +00:00
Paolo Molaro d3a1e73320 Tue Jan 15 22:47:57 CET 2002 Paolo Molaro <[email protected]>
* metaparse.h: removed unused file.
	* reflection.c, reflection.h: added stream_data_align () function
	to align data in streams and keep stream aligned. Add support for
	exception support in method headers.

svn path=/trunk/mono/; revision=1993
2002-01-15 18:03:25 +00:00
Paolo Molaro 156be4ff5d Tue Jan 15 22:46:21 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: implement some of the exception support methods.

svn path=/trunk/mcs/; revision=1992
2002-01-15 18:03:21 +00:00
Paolo Molaro 2c5514e8ac Tue Jan 15 19:42:50 CET 2002 Paolo Molaro <[email protected]>
* unicode.c: make iconv_convert () return the number of bytess written
	in the output buffer.

svn path=/trunk/mono/; revision=1991
2002-01-15 14:54:08 +00:00
Dick Porter 5f6d81eebc 2002-01-15 Dick Porter <[email protected]>
* WaitHandle.cs:
	* Thread.cs: Make the runtime's idea of infinite timeouts coincide
	with the class library's

svn path=/trunk/mcs/; revision=1990
2002-01-15 13:28:41 +00:00
Dick Porter c84db0d097 2002-01-15 Dick Porter <[email protected]>
* threads.c: Make the runtime's idea of infinite timeouts coincide
	with the class library's

	Fix a particularly egregious bug in mono_thread_cleanup(). That
	code was so utterly bogus it must have been written on a Monday.

svn path=/trunk/mono/; revision=1989
2002-01-15 13:26:57 +00:00
Nick Drochak a32084cdb7 2002-01-15 Nick Drochak <[email protected]>
* ResolveEventArgs.cs: class should derive from EventArgs.

svn path=/trunk/mcs/; revision=1988
2002-01-15 11:17:54 +00:00
John Barnette ae1b7a251a Added initial build file, which is most likely broken.
svn path=/trunk/mcs/; revision=1987
2002-01-15 00:15:55 +00:00
John Barnette 75aa2eec1c Broke status XML generation into a functional class and a driver.
svn path=/trunk/mcs/; revision=1986
2002-01-15 00:04:19 +00:00
John Barnette d13c6d016f Useless enum removed.
svn path=/trunk/mcs/; revision=1985
2002-01-15 00:00:55 +00:00
John Barnette 5ee8e7e523 Removed useless enum.
svn path=/trunk/mcs/; revision=1984
2002-01-14 23:59:55 +00:00
Miguel de Icaza 8109c1d0f2 Back out my change
svn path=/trunk/mcs/; revision=1983
2002-01-14 18:57:56 +00:00
Miguel de Icaza 4b599d3731 Flush csproj
svn path=/trunk/mcs/; revision=1982
2002-01-14 14:45:38 +00:00
Miguel de Icaza ae44d6d211 fix build
svn path=/trunk/mcs/; revision=1981
2002-01-14 14:40:29 +00:00
Miguel de Icaza e359929108 2002-01-14 Miguel de Icaza <[email protected]>
* String.cs (System): Use DefaultMemberName for the String class.

svn path=/trunk/mcs/; revision=1980
2002-01-14 13:58:48 +00:00
Paolo Molaro 2d47deb984 Make each test return a different error code.
svn path=/trunk/mono/; revision=1979
2002-01-14 12:24:34 +00:00
Paolo Molaro 9f904c061c Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <[email protected]>
* dump.c: more info in method table dump.


Mon Jan 14 17:01:03 CET 2002 Paolo Molaro <[email protected]>

	* reflection.h: add subtypes field to TypeBuilder.
	* reflection.c: encode constants for literal fields.
	Handle subtypes. Fix user string token (and add a zero byte)
	at the end.

svn path=/trunk/mono/; revision=1978
2002-01-14 12:19:11 +00:00
Paolo Molaro 7da3a4450f Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <[email protected]>
* String.cs: use IndexerName in index char accessor.


Mon Jan 14 17:07:32 CET 2002 Paolo Molaro <[email protected]>

	* ModulerBuilder.cs: search also for subtypes in GetTypes().
	* TypeBuilder.cs: bugfix in FullName. Implemented DefineNestedType().

svn path=/trunk/mcs/; revision=1977
2002-01-14 12:19:11 +00:00
Dietmar Maurer 1fa5b3d109 * x86.brg (EMIT_COND_EXCEPTION): added signed flag, impl. more _OVF opcodes
svn path=/trunk/mono/; revision=1976
2002-01-14 11:33:27 +00:00
Dietmar Maurer 35e4412f79 * mono/tests/exception6.cs: added tests for SUB_OVF, SUB_OVF_UN
* x86.brg: impl. ADD_OVF_UN, SUB_OVF, SUB_OVF_UN

svn path=/trunk/mono/; revision=1975
2002-01-14 10:06:05 +00:00
Dietmar Maurer 96ea6977a5 added exception6.cs
svn path=/trunk/mono/; revision=1974
2002-01-14 09:11:45 +00:00
Dietmar Maurer 21be9b7c10 2002-01-14 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in CONV_OVF_I1_UN
	impl. ADD_OVF, MUL_OVF

svn path=/trunk/mono/; revision=1973
2002-01-14 09:10:09 +00:00
Nick Drochak 4bc50075e7 2002-01-14 Nick Drochak <[email protected]>
* class.xml: Added classes I implemented.

svn path=/trunk/mono/; revision=1972
2002-01-14 08:32:43 +00:00
Nick Drochak 9767943a21 2002-01-14 Nick Drochak <[email protected]>
* FileIOPermission.cs: New file.  Implemented.

svn path=/trunk/mcs/; revision=1971
2002-01-14 08:29:09 +00:00
Nick Drochak 39abcace16 2002-01-14 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: New File.
	* AllTests.cs: New File.

svn path=/trunk/mcs/; revision=1970
2002-01-14 08:27:34 +00:00
Nick Drochak ebdf17add8 2002-01-14 Nick Drochak <[email protected]>
* AllTests.cs: Add System.Security.Permissions.AllTests.Suite

svn path=/trunk/mcs/; revision=1969
2002-01-14 08:26:19 +00:00
Paolo Molaro e173aacf0f Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <[email protected]>
* x86/x86-codegen.c: added overflow condition code and some aliases
	for the other ccs.

svn path=/trunk/mono/; revision=1968
2002-01-14 07:00:24 +00:00
Dietmar Maurer a14e48d308 2002-01-14 Dietmar Maurer <[email protected]>
* class.c (mono_class_init): bug fix: assign slot numbers for
	abstract methods.

svn path=/trunk/mono/; revision=1967
2002-01-14 05:48:45 +00:00
Ravi Pratap M 27af357425 Revert last patch
svn path=/trunk/mcs/; revision=1966
2002-01-13 01:22:48 +00:00
Ravi Pratap M 9302614718 2002-01-11 Ravi Pratap <[email protected]>
* typemanager.cs (IsPointerType): Utility method which we are going
	to need a lot.

	* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
	the object type, so we take care of that.

	* expression.cs (FullMethodDesc): Also include the return type in descriptions.

	* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
	added to non-params parameters :-)

	* typemanager.cs (CSharpName): Include 'void' type too.

	(void_ptr_type): Include in the set of core types.

	* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
	duplicating code.

	(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
	an unsafe context.

	* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
	completely forgotten about it.

2002-01-10  Ravi Pratap  <[email protected]>

	* cs-parser.jay (pointer_type): Add. This begins our implementation
	of parsing rules for unsafe code.

	(unsafe_statement): Implement.

	(embedded_statement): Modify to include the above.

	* statement.cs (Unsafe): Implement new class for unsafe blocks.

	* codegen.cs (EmitContext.InUnsafe): Add. This determines
	if the current context is an unsafe one.

	* cs-parser.jay (local_variable_pointer_type): Since local variable types
	are handled differently, we need separate rules for them.

	(local_variable_declaration): Update to use local_variable_pointer_type
	to allow variable declarations of unmanaged pointer types.

	* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
	in unsafe contexts.

	* ../errors/cs0214.cs : Add.

svn path=/trunk/mcs/; revision=1965
2002-01-13 01:19:10 +00:00
Ravi Pratap M eaca86c141 2002-01-13 Ravi Pratap <[email protected]>
* test-58.cs : Since it was a duplicate, replace with unsafe
	code testing.

svn path=/trunk/mcs/; revision=1964
2002-01-13 01:16:51 +00:00
Miguel de Icaza 112d17c4f6 Add error
svn path=/trunk/mcs/; revision=1963
2002-01-13 00:35:59 +00:00
Miguel de Icaza fda294c428 2002-01-12 Miguel de Icaza <[email protected]>
* class.cs (Method.EmitDestructor): Implement calling our base
	destructor.

	* statement.cs (Try.Emit): Fix to reset the InFinally to the old
	value of InFinally.

	* codegen.cs (EmitContext.EmitTopBlock): Destructors will call
	this routine and will wrap the call in a try/catch block.  Deal
	with the case.

svn path=/trunk/mcs/; revision=1962
2002-01-12 14:40:31 +00:00
Paolo Molaro 767fe45d04 Renamed TESTS var so make distcheck works with the new automake.
svn path=/trunk/mono/; revision=1961
2002-01-12 11:05:29 +00:00
Miguel de Icaza a78026dbf4 2002-01-11 Miguel de Icaza <[email protected]>
(FieldExpr): Added partial support for volatile fields.  This does
	not work for volatile fields exposed from assemblies, as I can not
	figure out how to extract the modreq from it.

	Updated all the source files to use this.

svn path=/trunk/mcs/; revision=1959
2002-01-11 18:57:07 +00:00
Paolo Molaro a6a584eec5 Fri Jan 11 20:06:22 CET 2002 Paolo Molaro <[email protected]>
* jit.c: implement stloc, ldloc, ldloca.

svn path=/trunk/mono/; revision=1958
2002-01-11 15:16:31 +00:00
Paolo Molaro 4f5ea3d7f9 Fri Jan 11 18:54:42 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: don't try to output a code RVA for abstract methods.
	Small fixes for method header format. Output parameter info to the
	ParamDef table. Save method overriding info to MethodImpl table.
	Fix property support. Allow typedef.extends to be a type in the
	building assembly.
	* verify.c: fix off-by-one error.

svn path=/trunk/mono/; revision=1957
2002-01-11 14:13:13 +00:00
Paolo Molaro d6b7c8747b Fri Jan 11 19:00:29 CET 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs, ConstructorBuilder.cs: save parameter info.

svn path=/trunk/mcs/; revision=1956
2002-01-11 14:12:54 +00:00
Dietmar Maurer da145dd9ae 2002-01-11 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): fixed calculation of last_instr

	* x86.brg
	(RET, RET_VOID, RET_OBJ, ...): fixed jump to epilog

svn path=/trunk/mono/; revision=1955
2002-01-11 10:19:48 +00:00
Dietmar Maurer 566002b03d 2002-01-11 Dietmar Maurer <[email protected]>
* x86.brg (LDLEN): emit null_reference exception
	(BLE_UN): bug fix.

svn path=/trunk/mono/; revision=1954
2002-01-11 07:22:53 +00:00
Ravi Pratap M c29e3c62c6 Add.
svn path=/trunk/mcs/; revision=1953
2002-01-11 02:37:24 +00:00
Miguel de Icaza 8d8a05805d 2002-01-11 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.MemberLookup): instead of taking a
	parameter `same_type' that was used to tell whether we could
	access private members we compute our containing type from the
	EmitContext.

	Updated all the source files to use this.

	* codegen.cs (EmitContext): Compute ContainerType ahead of time,
	because it is referenced by MemberLookup very often.

svn path=/trunk/mcs/; revision=1952
2002-01-11 02:29:59 +00:00
Paolo Molaro 51065915f8 Thu Jan 10 21:07:54 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: handle type tokens (used for box opcode).


Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <[email protected]>

	* MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
	* String.c: eliminate 64k+ method calls in search.
	* Type.cs: handle byref and array types in ToString ().

svn path=/trunk/mcs/; revision=1951
2002-01-10 16:17:53 +00:00
Paolo Molaro 0670f6b573 Thu Jan 10 19:36:27 CET 2002 Paolo Molaro <[email protected]>
* class.c: fix mono_class_from_mono_type () for szarray types.
	Remove unused cache check in mono_class_from_type_spec().
	* icall.c: *type_from_name () functions handle simple arrays and byref.
	* reflection.c: handle byref and szarray types. Handle methods without
	body (gets P/Invoke compilation working). Handle types and fields in
	get_token ().
	* reflection.h: add rank to MonoTypeInfo.


Thu Jan 10 20:59:59 CET 2002 Paolo Molaro <[email protected]>

	* interp.c, interp.h: add a flag to mono_create_trampoline ()
	to handle runtime methods.


Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c: mono_create_trampoline (): the runtime argument is
	needed to handle correctly delegates, the previous change in handling
	the string return type broke them.

svn path=/trunk/mono/; revision=1950
2002-01-10 16:13:26 +00:00
Matt Kimball 5a31aac95d Thu Jan 10 12:06:46 MST 2002 Matt Kimball <[email protected]>
* BufferedStream.cs: Initial implemenation.  The synchronous
	methods for both reading and writing are implemented.  I'll do the
	asynchronous methods in a bit.

svn path=/trunk/mcs/; revision=1949
2002-01-10 15:16:17 +00:00
Aaron Weber 6ccc997c53 2002-01-10 Aaron Weber <[email protected]>
* doc/rationale: corrected linkrot: new link to bonobo whitepaper
	at developer.ximian.com

svn path=/trunk/mono/; revision=1947
2002-01-10 14:02:40 +00:00
Gaurav Vaish f3ceded673 2002-01-10 Gaurav Vaish <[email protected]>
* HyperLinkControlBuilder.cs, Table.cs, TableCell.cs, TableCellControlBuilder.cs, TableRowCollection.cs, TableCellCollection.cs --- Completed all except one. Don't recall which one. See TODO for details.

* HyperLinkColumn.cs, ButtonColumn.cs -- *Columns and *ControlBuilder are proving to be rather simple classes to be implemented. :))

* TODO  -- Updated

* ChangeLog -- Oops! Not here.. Will update it :(

svn path=/trunk/mcs/; revision=1946
2002-01-10 13:41:08 +00:00
Dick Porter e32e8c40c8 Fix memory leak
svn path=/trunk/mono/; revision=1945
2002-01-10 11:03:10 +00:00
Dick Porter b77a491b90 2002-01-10 Dick Porter <[email protected]>
* threads.c: Implemented WaitAll(), WaitAny() and WaitOne()
	internal calls

svn path=/trunk/mono/; revision=1944
2002-01-10 11:00:19 +00:00
Dick Porter a4f1ad32eb 2002-01-10 Dick Porter <[email protected]>
* WaitHandle.cs: Added checks for too many handles and null
	handles in WaitAll() and WaitAny

svn path=/trunk/mcs/; revision=1943
2002-01-10 10:59:44 +00:00
Dietmar Maurer ef68d5241a *** empty log message ***
svn path=/trunk/mono/; revision=1942
2002-01-10 09:21:21 +00:00
Dietmar Maurer 142dfbad25 2002-01-04 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in CASTCLASS

svn path=/trunk/mono/; revision=1941
2002-01-10 09:20:09 +00:00
Dietmar Maurer a4d07c90b0 small bug fix
svn path=/trunk/mcs/; revision=1940
2002-01-10 08:51:48 +00:00
Ravi Pratap M ee3ef8b3ae 2002-01-09 Ravi Pratap <[email protected]>
* typemanager.cs (IndexerPropertyName): If we have a TypeBuilder, use
	TypeBuilder.GetCustomAttributes to retrieve what we need.

	Get rid of redundant default_member_attr_type as this is the same as
	default_member_type which already exists.

	* interface.cs, attribute.cs : Update accordingly.

svn path=/trunk/mcs/; revision=1939
2002-01-10 03:27:51 +00:00
Miguel de Icaza 8733940a45 Update errors
svn path=/trunk/mcs/; revision=1938
2002-01-09 21:50:06 +00:00
Miguel de Icaza 89148686e3 Update
svn path=/trunk/mono/; revision=1937
2002-01-09 21:46:22 +00:00
Duncan Mak 9a8f8a4c5b Added MonoTODO to InternalGetResourceSet(). I forgot to save before my last
commit.

svn path=/trunk/mcs/; revision=1936
2002-01-09 20:18:10 +00:00
Duncan Mak 7476295ab7 * ResourceManager.cs: Removed MonoTODO attribute on GetString
(string), as I believe it's correct. However, GetString
	  (string, CultureInfo) is definitely broken, so I'm marking it with
	  MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().

svn path=/trunk/mcs/; revision=1935
2002-01-09 20:16:23 +00:00
Duncan Mak 4bee68895b 2002-01-09 Duncan Mak <[email protected]>
* ResourceManager.cs: Fixed the GetSatelliteContractVersion()
	      method. It was missing a cast before. Removed MonoTODO
	      attribute. ;-) It was tested by John Barn, so this shouldn't
	      break the build.

svn path=/trunk/mcs/; revision=1934
2002-01-09 20:02:45 +00:00
Matt Kimball 7ab49e1517 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <[email protected]>
* BinaryWriter.cs: Initial implementation.  And it's all there.

	* BinaryReader.cs: The constructor now uses the passed in encoding,
	not UTF8 always.

svn path=/trunk/mcs/; revision=1933
2002-01-09 19:13:42 +00:00
Duco Fijma a7957766d3 Created Guid.cs
svn path=/trunk/mcs/; revision=1932
2002-01-09 19:02:59 +00:00
Matt Kimball 863ff578c7 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <[email protected]>
* BinaryReader.cs: Initial implementation.  I think it's complete.

svn path=/trunk/mcs/; revision=1931
2002-01-09 17:03:08 +00:00
Paolo Molaro 6f85f7c68d Wed Jan 9 19:37:55 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: emit float and doubles.
	* ModuleBuilder.cs: off-by-one error fix and GetType()
	implementations.
	* TypeBuilder.cs: AttributesImpl added.
	* UnmanagedMarshal.cs: stubbed out class.


Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <[email protected]>

	* MonoMethod.cs: ToString () implementation.


Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <[email protected]>

	* MulticastDelegate.cs: add == and != operator stubs.
	* String.cs: check for null in == operator.
	* Type.cs: use a virtual method to get TypeAttributes.

svn path=/trunk/mcs/; revision=1930
2002-01-09 14:49:44 +00:00
Paolo Molaro d669fb632f Wed Jan 9 19:27:13 CET 2002 Paolo Molaro <[email protected]>
* icall.c: initialize class in type_from_handle ().
	Loop also in parent classes for get_method ().
	* reflection.c: properly encode class and valuetype types.
	Start on encoding TypeBuilder types. Handle fieldrefs.
	Use correct length when registering a user string.
	Handle ConstructorBuilder and MonoMethod in get_token ().
	Make mono_type_get_object () aware of cached types.
	* object.c: back out change to mono_string_new ().

svn path=/trunk/mono/; revision=1929
2002-01-09 14:41:59 +00:00
John Barnette f24324368d Initial import.
svn path=/trunk/mcs/; revision=1928
2002-01-09 08:36:37 +00:00
John Barnette 2015497b39 Minor error message change.
svn path=/trunk/mcs/; revision=1927
2002-01-09 08:34:46 +00:00
Matt Kimball 41c1d3689b Tue Jan 8 23:30:19 EST 2002 Matt Kimball <[email protected]>
* String.cs: Fixed several off-by-one errors in LastIndexOf* methods

svn path=/trunk/mcs/; revision=1926
2002-01-09 02:39:30 +00:00
Miguel de Icaza f90b77d835 Remove old fixmes that were fixed
svn path=/trunk/mcs/; revision=1925
2002-01-09 02:27:11 +00:00
Matt Kimball 7a7fcdedff Tue Jan 8 22:47:44 EST 2002 Matt Kimball <[email protected]>
* object.c: mono_string_new should return a NULL when the string
	passed in is NULL -- not try to deference it.

svn path=/trunk/mono/; revision=1924
2002-01-09 01:56:59 +00:00
Matt Kimball 4ec774cf86 Tue Jan 8 22:38:41 MST 2002 Matt Kimball <[email protected]>
* x86/tramp.c: handle strings returned from functions in external
	libraries by converting to a Mono string object after the pinvoke'd
	function returns

svn path=/trunk/mono/; revision=1923
2002-01-09 01:49:12 +00:00
Miguel de Icaza 45ca1c1baf Flush
svn path=/trunk/mcs/; revision=1922
2002-01-08 22:12:51 +00:00
Miguel de Icaza 0977f89da9 2002-01-08 Miguel de Icaza <[email protected]>
* typemanager.cs: Enable IndexerPropertyName again.  It does not
	work for TYpeBuilders though.  Ravi, can you please fix this?

	* cs-tokenizer.cs: Accept _ as a name in pp-expressions.

svn path=/trunk/mcs/; revision=1921
2002-01-08 21:54:24 +00:00
Miguel de Icaza bdd4bdabd5 2002-01-08 Miguel de Icaza <[email protected]>
* expression.cs (Argument.Emit): Handle the case of ref objects
	being passed to ref functions;

	(ParameterReference.EmitLoad): Loads the content of the pointer
	without dereferencing.

2002-01-07  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs: Implemented the pre-processing expressions.

This also includes Matt Kimball's patch for LookupType.

svn path=/trunk/mcs/; revision=1918
2002-01-08 19:52:32 +00:00
Miguel de Icaza fc0208a072 Add BitConverter from Matt Kimball
svn path=/trunk/mcs/; revision=1917
2002-01-08 16:07:03 +00:00
Miguel de Icaza 233b4847ec Revert patch
svn path=/trunk/mcs/; revision=1916
2002-01-08 15:48:29 +00:00
John Barnette ac0d73d5fe ADD: Initial import for some of the utility classes shared by all the
documentation generators.

svn path=/trunk/mcs/; revision=1915
2002-01-08 15:28:01 +00:00
John Barnette 3a27270ea5 Already obsoleted, and should have never been added to CVS in the first
place.  Mea culpa.

svn path=/trunk/mono/; revision=1914
2002-01-08 15:19:25 +00:00
Miguel de Icaza 4014485491 Updated email address
svn path=/trunk/mono/; revision=1913
2002-01-08 15:15:40 +00:00
John Barnette dd0e5a554a Removed the todo utility, as it is being obsoleted by tools in ../docutils
svn path=/trunk/mcs/; revision=1912
2002-01-08 14:57:18 +00:00
Ravi Pratap M 0548f4d106 2002-01-08 Ravi Pratap <[email protected]>
* class.cs (Indexer.DefineMethod): Incorporate the interface
	type in the name of the method if we are doing explicit interface
	implementation.

	* expression.cs (ConversionExists): Remove as it is completely obsolete.

	(BetterConversion): Fix extremely trivial bug where we were referring to
	ConversionExists instead of StandardConversionExists ! Hooray, things are fine
	again !

	* ../errors/bug16.cs : Add although we have fixed it.

svn path=/trunk/mcs/; revision=1911
2002-01-08 14:08:57 +00:00
Ravi Pratap M 80b3679465 Add although we have just fixed it :-)
svn path=/trunk/mcs/; revision=1910
2002-01-08 13:15:33 +00:00
Nick Drochak cc4284b6cf 2002-01-08 Nick Drochak <[email protected]>
* CodeAccessSecurityAttribute.cs, SecurityAttribute.cs,
	SecurityPermissionAttribute.cs: New Files

	* SecurityPermissionFlag.cs: Add missing enum values

svn path=/trunk/mcs/; revision=1909
2002-01-08 11:33:32 +00:00
Nick Drochak 597e9c93ab 2002-01-09 Nick Drochak <[email protected]>
* corlib.build: Exclude Security Attribute classes that need mcs
	magic to get them to compile.

svn path=/trunk/mcs/; revision=1908
2002-01-08 11:31:24 +00:00
Nick Drochak 3cc1ef8741 2002-01-09 Nick Drochak <[email protected]>
* Environment.cs: Comment out Security attribute and put a MonoTODO
	there as a reminder.  We need mcs magic to handle security attributes in
	corlib.

svn path=/trunk/mcs/; revision=1907
2002-01-08 11:28:14 +00:00
Miguel de Icaza bd38f645f0 Compilation Patch from Matt Kimball
svn path=/trunk/mcs/; revision=1906
2002-01-08 01:49:35 +00:00
Miguel de Icaza cb5a67cf66 Add new tests
svn path=/trunk/mcs/; revision=1905
2002-01-08 01:43:56 +00:00
Miguel de Icaza be53236264 2002-01-07 Miguel de Icaza <[email protected]>
* expression.cs (BaseIndexer): Begin implementation.

	* class.cs (TypeContainer.IsInterfaceMethod): Bug fix.

	* cs-parser.jay (indexer_declarator): Use qualified_identifier
	production directly to remove a shift/reduce, and implement
	explicit interface implementation.

	* cs-tokenizer.cs: Fix tokenizer, it was consuming one extra char
	after a floating point suffix.

	* expression.cs (DoNumericPromotions): Improved the conversion for
	uint/uint.  If we have a constant, we avoid doing a typecast to a
	larger type.

	* class.cs (Indexer): Implement explicit interface implementation
	for indexers.

svn path=/trunk/mcs/; revision=1903
2002-01-07 22:47:03 +00:00
Duco Fijma e69cd3906c Added some MonoTODO attributes
svn path=/trunk/mcs/; revision=1902
2002-01-07 18:28:58 +00:00
Duco Fijma 894a74d809 Created INormalizeForIsolatedStorage
svn path=/trunk/mcs/; revision=1901
2002-01-07 17:59:34 +00:00
Duco Fijma 2400cea85f Finalized SymAddressKind
svn path=/trunk/mcs/; revision=1900
2002-01-07 17:57:00 +00:00
Duco Fijma 7eed5797fe Created IAppDomainSetup
svn path=/trunk/mcs/; revision=1899
2002-01-07 17:54:06 +00:00
Gaurav Vaish e873b8c05f 2002-01-07 Gaurav Vaish <[email protected]>
* Button.cs, ButtonColumn.cs, CheckBoxList.cs   -- Completed. Uh!

* HyperLinkColumn.cs -- Started off. But feeling sleepy. Will do it
   tomorrow. ;-)

* TODO, ChangeLog  -- Properly Updated.

svn path=/trunk/mcs/; revision=1898
2002-01-07 12:51:56 +00:00
Dick Porter 218dd5c9d8 Fix MonoTODO attribute name
svn path=/trunk/mcs/; revision=1897
2002-01-07 11:06:41 +00:00
Gaurav Vaish d4dc02b037 2002-01-07 Gaurav Vaish <[email protected]>
* ChangeLog  -- Updated for information about TODO decoration

svn path=/trunk/mcs/; revision=1896
2002-01-07 09:44:55 +00:00
Gaurav Vaish c7e24c29b7 2002-01-07 Gaurav Vaish <[email protected]>
* TODOAttribute.cs   -- TODOAttribute Class for System.Web Assembly

svn path=/trunk/mcs/; revision=1895
2002-01-07 09:42:30 +00:00
Gaurav Vaish 34c16913ef 2002-01-07 Gaurav Vaish <[email protected]>
* type-maintainers.xml  -- Hey, hey! My name is "Vaish" not "Vanish".
:))

svn path=/trunk/mono/; revision=1894
2002-01-07 08:11:17 +00:00
John Barnette 485005fd2f Added todo, a tool for generating TODO lists and optional missing types
for an assembly.  Also minor makefile cleanup.

svn path=/trunk/mcs/; revision=1893
2002-01-07 07:29:18 +00:00
John Barnette a353a40bc8 Remove file added for Miguel.
svn path=/trunk/mcs/; revision=1892
2002-01-07 07:13:41 +00:00
John Barnette 1ca2165fb1 Update.
svn path=/trunk/mono/; revision=1891
2002-01-07 07:11:56 +00:00
John Barnette 4a5c431faa New combined format XML for maintainers and the classes they love.
Will likely obsolete maintainers.xml and class.xml when the TODO and
status generation stuff is done.

svn path=/trunk/mono/; revision=1890
2002-01-07 07:09:42 +00:00
Gaurav Vaish c6f870eb2b 2002-01-07 Gaurav Vaish <[email protected]>
* EnumCheck.cs  -- A very important tool added. Can list the actual
   values of an enumeration. do "EnumCheck.exe --help" for details.

* ChangeLog, makefile  -- updated

svn path=/trunk/mcs/; revision=1889
2002-01-07 04:38:56 +00:00
John Barnette 783b3d1093 Minor spelling, punctuation, and grammar edits.
svn path=/trunk/mcs/; revision=1888
2002-01-07 02:41:45 +00:00
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Miguel de Icaza 9ff309e79f Add man page
svn path=/trunk/mcs/; revision=1886
2002-01-07 02:01:27 +00:00
John Barnette b60da18876 Pre-initial ;-) commit for Miguel to look at.
svn path=/trunk/mcs/; revision=1885
2002-01-07 01:38:25 +00:00
Ravi Pratap M 4c4a64200a Add this here too. I am quite sure this is incorrect so somebody
please tell me the right way of referencing the file inside :

mcs/class/corlib/System/TODOAttribute.cs

svn path=/trunk/mcs/; revision=1884
2002-01-07 00:34:40 +00:00
Ravi Pratap M 5be8859a8d Updates for TODOAttribute.cs
svn path=/trunk/mcs/; revision=1883
2002-01-07 00:31:18 +00:00
Duco Fijma 6817af623d Created all System.Diagnostics.SymbolWriter interfaces
svn path=/trunk/mcs/; revision=1881
2002-01-06 19:25:44 +00:00
Duco Fijma cf04fd122a REALLY removed System.Resources from <excludes>
svn path=/trunk/mcs/; revision=1880
2002-01-06 19:24:01 +00:00
David Dawkins ee11d4f1c1 New file (ISurrogateSelector.cs)
svn path=/trunk/mcs/; revision=1879
2002-01-06 19:08:04 +00:00
Nick Drochak a88542478f 2002-01-07 Nick Drochak <[email protected]>
* PrincipalPolicy.cs: made enum public like it should be to get _AppDomain to compile.

svn path=/trunk/mcs/; revision=1878
2002-01-06 18:50:38 +00:00
David Dawkins 3820f7e459 New file (ISerializationSurrogate.cs)
svn path=/trunk/mcs/; revision=1877
2002-01-06 18:48:11 +00:00
Duco Fijma 8257317300 Created _AppDomain.cs
svn path=/trunk/mcs/; revision=1876
2002-01-06 18:30:58 +00:00
David Dawkins a5724e86ed New file (IFormatter.cs)
svn path=/trunk/mcs/; revision=1875
2002-01-06 18:19:52 +00:00
Duco Fijma e1e14b1a5c Removed <excludes> for System.Resources from corlib.build
svn path=/trunk/mcs/; revision=1874
2002-01-06 17:51:20 +00:00
Duco Fijma 31f5fff339 Finalized IResourceReader and IResourceWriter. Made other files compileable
svn path=/trunk/mcs/; revision=1873
2002-01-06 17:49:47 +00:00
Miguel de Icaza 53f1e86636 Update with the link to the approved ECMA specs
svn path=/trunk/mono/; revision=1872
2002-01-06 16:32:07 +00:00
Ravi Pratap M 92cd22d0c3 2002-01-06 Ravi Pratap <[email protected]>
* ChangeLog : Add.

	* Matrix.cs : MonoTODO everywhere.

	* TODOAttribute.cs : Add here too.

svn path=/trunk/mcs/; revision=1870
2002-01-06 11:10:59 +00:00
Ravi Pratap M 1528500419 2002-01-06 Ravi Pratap <[email protected]>
* ChangeLog : Add to this directory.

	* SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
	attribute decoration.

svn path=/trunk/mcs/; revision=1869
2002-01-06 10:58:38 +00:00
Ravi Pratap M 7aec7b985f 2002-01-06 Ravi Pratap <[email protected]>
* Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
	attribute insertion.

svn path=/trunk/mcs/; revision=1868
2002-01-06 10:52:58 +00:00
Ravi Pratap M 87576192c0 2002-01-06 Ravi Pratap <[email protected]>
* Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
	with the MonoTODO attribute.

svn path=/trunk/mcs/; revision=1867
2002-01-06 10:48:33 +00:00
Ravi Pratap M c861ffea80 2002-01-06 Ravi Pratap <[email protected]>
* ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration

	* SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
	NameValueSectionHandler.cs : Ditto.

svn path=/trunk/mcs/; revision=1866
2002-01-06 10:26:35 +00:00
Nick Drochak 0dea891973 2002-01-06 Nick Drochak <[email protected]>
* corcompare.cs: Catch the FileNotFoundException and handle it nicely.

svn path=/trunk/mcs/; revision=1865
2002-01-06 04:54:08 +00:00
Nick Drochak 15c2244730 2002-01-06 Nick Drochak <[email protected]>
* ResolveEventArgsTest.cs: New test.
	* AllTests.cs: Added new test to suite.

svn path=/trunk/mcs/; revision=1864
2002-01-05 23:43:10 +00:00
Nick Drochak dc810d5869 2002-01-06 Nick Drochak <[email protected]>
* ResolveEventArgs.cs: New File, completely implemented! ;)

svn path=/trunk/mcs/; revision=1863
2002-01-05 23:29:35 +00:00
Dick Porter 4f9df5634a Fix the case of the CorCompare file name
svn path=/trunk/mcs/; revision=1862
2002-01-05 14:35:43 +00:00
Ravi Pratap M 80081d895e 2002-01-05 Ravi Pratap <[email protected]>
* CategoryAttribute.cs, Component.cs, ComponentCollection.cs: MonoTODO.

	* Container.cs, MemberDescriptor.cs, PropertyDescriptor.cs : Ditto.

svn path=/trunk/mcs/; revision=1861
2002-01-05 13:38:01 +00:00
Ravi Pratap M d65de221e9 2002-01-05 Ravi Pratap <[email protected]>
* BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!

	* NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.

svn path=/trunk/mcs/; revision=1859
2002-01-05 13:23:03 +00:00
Ravi Pratap M 26122b0661 Add here too. I am not sure if this is really right so somebody
who knows better can please holler :-)

svn path=/trunk/mcs/; revision=1858
2002-01-05 13:20:46 +00:00
Ravi Pratap M 1af668b2fc 2002-01-05 Ravi Pratap <[email protected]>
* CodeGenerator.cs : Mark bits with MonoTODO.

svn path=/trunk/mcs/; revision=1857
2002-01-05 13:07:37 +00:00
Ravi Pratap M 9344adbb44 2002-01-05 Ravi Pratap <[email protected]>
* ChangeLog : Add to this directory.

	* Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.

svn path=/trunk/mcs/; revision=1856
2002-01-05 13:03:48 +00:00
Ravi Pratap M e98d6d047f Trivial makefile fixes
svn path=/trunk/mcs/; revision=1854
2002-01-05 12:43:09 +00:00
Paolo Molaro 0ba54e9fa1 Sat Jan 5 16:08:23 CET 2002 Paolo Molaro <[email protected]>
* class.cs: make the default instance constructor public and hidebysig.

svn path=/trunk/mcs/; revision=1853
2002-01-05 11:18:57 +00:00
Paolo Molaro 2c7d6526e5 Sat Jan 5 15:48:04 CET 2002 Paolo Molaro <[email protected]>
* icall.c: hack to make IsSubType work for TypeBuilders.
	* reflection.c: emit constructors before methods.
	Retrieve param names in mono_param_get_objects().


Sat Jan 5 15:45:14 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: allow classname:method name in --debug argument.
	Fix box opcode for valuetypes. Fix a few opcode to take a 16 bit
	index instead of 32 (stloc, ldloc, starg, etc.).


Sat Jan 5 15:51:06 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c: handle short integer return types.

svn path=/trunk/mono/; revision=1852
2002-01-05 11:15:42 +00:00
Paolo Molaro a88a62cce1 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <[email protected]>
* Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.


Sat Jan 5 15:59:05 CET 2002 Paolo Molaro <[email protected]>

	* ILGenerator.cs: fix emission of two-bytes opcodes.
	Missing slot for locals array. Throw exceptions on unimplemented
	methods.
	* OpCode.cs: add a comment: the Value property is useless.
	* OpCodes.cs: fix name of tail opcode (Tail -> Tailcall).


Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <[email protected]>

	* Enum.cs: dummy ToString impl.
	* String.cs: dummy format implementations to get compiler errors
	somewhat working.
	* Type.cs: implemented filter delegates. FindMembers runs the filter, now.

svn path=/trunk/mcs/; revision=1851
2002-01-05 11:12:22 +00:00
Ravi Pratap M 0f04441d63 002-01-05 Ravi Pratap <[email protected]>
* AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
	decoration.

	* Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
	Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.

svn path=/trunk/mcs/; revision=1850
2002-01-05 06:26:59 +00:00
Ravi Pratap M 9cffbe82ab 2002-01-05 Ravi Pratap <[email protected]>
* ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs,
	UnicodeEncoding.cs: MonoTODO attribute marking.

	* StringBuilder.cs : Ditto.

svn path=/trunk/mcs/; revision=1849
2002-01-05 06:11:42 +00:00
Ravi Pratap M 76218d8771 2002-01-05 Ravi Pratap <[email protected]>
* CryptoAPITransform.cs, DESCryptoProvider.cs : MonoTODO attribute
	decoration.

	* HashAlgorithm.cs, MD5.cs, SHA1.cs, SHA256.cs, SHA384.cs : Ditto.

	* SHA512.cs, SymmetricAlgorithm.cs, ToBase64Transform.cs,
	AsymmetricAlgorithm.cs, CryptoStream.cs, DSA.cs, DSASignatureDeformatter.cs,
	DSASignatureFormatter.cs, SignatureDescription.cs : Ditto.

svn path=/trunk/mcs/; revision=1848
2002-01-05 06:10:24 +00:00
Ravi Pratap M ae13c94258 2002-01-05 Ravi Pratap <[email protected]>
* SecurityElement.cs : Insert MonoTODO attribute.

svn path=/trunk/mcs/; revision=1847
2002-01-05 06:08:57 +00:00
Ravi Pratap M e5c8c0b4dc 2002-05-01 Ravi Pratap <[email protected]>
* SerializationInfo.cs : Insert MonoTODO attribute.

svn path=/trunk/mcs/; revision=1846
2002-01-05 05:22:24 +00:00
Ravi Pratap M df59c46b8b 2002-01-05 Ravi Pratap <[email protected]>
* ObjRef.cs : Strew the MonoTODO attribute.

svn path=/trunk/mcs/; revision=1845
2002-01-05 04:43:46 +00:00
Ravi Pratap M 53d5988bbb 2002-01-05 Ravi Pratap <[email protected]>
* OutAttribute.cs : Decorate with MonoTODO.

svn path=/trunk/mcs/; revision=1844
2002-01-05 04:42:37 +00:00
Ravi Pratap M f038570894 2002-01-05 Ravi Pratap <[email protected]>
* ResourceManager.cs : MonoTODO attribute decoration.

svn path=/trunk/mcs/; revision=1843
2002-01-05 04:27:25 +00:00
Ravi Pratap M ff1e232462 2002-01-05 Ravi Pratap <[email protected]>
* ConstructorBuilder.cs : Use the MonoTODO attribute.

	* ILGenerator.cs, Label.cs, MethodBuilder.cs, ModuleBuilder.cs,
	ParameterBuilder.cs, TypeBuilder.cs : Ditto.

svn path=/trunk/mcs/; revision=1842
2002-01-05 04:23:44 +00:00
Ravi Pratap M 3d0d29caf8 2002-01-05 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Augment some more; provide two constructors
	with support for a comment too.

svn path=/trunk/mcs/; revision=1841
2002-01-05 04:23:00 +00:00
Nick Drochak 877d09b4e9 2002-01-05 Nick Drochak <[email protected]>
* corlib.build: Have the clean target remove any .pdb files that
	might be around if we compiled with debug on.

svn path=/trunk/mcs/; revision=1840
2002-01-04 21:10:15 +00:00
Nick Drochak 36ec79e310 2002-01-05 Nick Drochak <[email protected]>
* .cvsignore: ignore the debug files *.pdb

svn path=/trunk/mcs/; revision=1839
2002-01-04 19:53:06 +00:00
Nick Drochak 09c5d15645 2002-01-05 Nick Drochak <[email protected]>
* Uncommented those MonoTODO's now that Ravi's got
	the class in there

svn path=/trunk/mcs/; revision=1838
2002-01-04 19:48:22 +00:00
Duco Fijma 6a0cde529b Created
svn path=/trunk/mcs/; revision=1837
2002-01-04 19:22:52 +00:00
Duco Fijma 645d3281a8 Added TimeSpanTest
svn path=/trunk/mcs/; revision=1836
2002-01-04 19:22:29 +00:00
Miguel de Icaza 8425084ed9 Link to Alex's binary packages
svn path=/trunk/mono/; revision=1835
2002-01-04 18:49:43 +00:00
Miguel de Icaza 7ccf69fa78 Flush
svn path=/trunk/mono/; revision=1834
2002-01-04 16:38:40 +00:00
Ravi Pratap M e8d42158da 2002-01-04 Ravi Pratap <[email protected]>
* Assembly.cs : Decorate missing bits with the MonoTODO
	attribute.

	* ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
	ReflectionTypeLoadException.cs : Ditto.

	* FieldInfo.cs : Ditto.

svn path=/trunk/mcs/; revision=1833
2002-01-04 16:06:55 +00:00
Ravi Pratap M de8d750995 2002-01-04 Ravi Pratap <[email protected]>
* CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
	attribute decorations.

	* DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
	Path.cs, TextReader.cs, TextWriter.cs : Ditto.

	* FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
	Ditto.

svn path=/trunk/mcs/; revision=1832
2002-01-04 15:46:38 +00:00
Miguel de Icaza 34ea288e82 Small fix
svn path=/trunk/mcs/; revision=1831
2002-01-04 15:44:32 +00:00
Ravi Pratap M 06e878a3a1 2002-01-04 Ravi Pratap <[email protected]>
* GreogrianCalendar.cs : The same old MonoTODO attribute.

svn path=/trunk/mcs/; revision=1830
2002-01-04 15:17:49 +00:00
Ravi Pratap M 7c68e9e58f 2002-01-04 Ravi Pratap <[email protected]>
* StackFrame.cs : Use the MonoTODO attribute to mark
	incomplete code.

	StackTrace.cs : Ditto.

svn path=/trunk/mcs/; revision=1829
2002-01-04 15:06:52 +00:00
John R. Hicks 4749da52c1 Added DebugTest to System.Diagnostics tests.
svn path=/trunk/mcs/; revision=1828
2002-01-04 14:57:20 +00:00
Ravi Pratap M 78c146066d Trivial fix
svn path=/trunk/mcs/; revision=1827
2002-01-04 14:56:58 +00:00
John R. Hicks 4a1c610664 Added DebugTest.cs to the test build.
svn path=/trunk/mcs/; revision=1826
2002-01-04 14:55:34 +00:00
John R. Hicks d45a898bce Added Debug.cs to the build.
svn path=/trunk/mcs/; revision=1825
2002-01-04 14:54:44 +00:00
Ravi Pratap M b669cc583d 2002-01-04 Ravi Pratap <[email protected]>
* Correct name to MonoTODO everywhere.

svn path=/trunk/mcs/; revision=1824
2002-01-04 14:54:38 +00:00
Ravi Pratap M bae9d9e381 2001-01-04 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Actually add this time ;-)

	Change name to MonoTODO.

svn path=/trunk/mcs/; revision=1823
2002-01-04 14:51:43 +00:00
Ravi Pratap M 604444cf9c Add ;-)
svn path=/trunk/mcs/; revision=1822
2002-01-04 14:40:45 +00:00
Ravi Pratap M 79fc3429c7 2002-01-04 Ravi Pratap <[email protected]>
* ArrayList.cs : Setting an index does not implicitly
	extend the arraylist : remove FIXME.

	Decorate incomplete elements with the TODO attribute.

	* BitArray.cs : Insert TODO attributes where appropriate.

	* CaseInsensitiveHashcodeProvider.cs: Ditto.

	* Hashtable.cs, SortedList.cs : Ditto.

svn path=/trunk/mcs/; revision=1821
2002-01-04 14:37:37 +00:00
Nick Drochak 26e46dc9fe 2002-01-05 Nick Drochak <[email protected]>
* makefile: build corcompare
	* corcompare.cs: add new file.  compares an assembly with mscorlib

svn path=/trunk/mcs/; revision=1820
2002-01-04 14:11:38 +00:00
Nick Drochak ac64e34341 2002-01-05 Nick Drochak <[email protected]>
* corlib.build: Make new build of corlib_cmp.dll.  This is the same
	as corlib.dll without Object and ValueType.  It is used by
	/mcs/tools/corcompare.exe to compare with mscorlib.

svn path=/trunk/mcs/; revision=1819
2002-01-04 14:08:35 +00:00
Nick Drochak d4171c978f 2002-01-05 Nick Drochak <[email protected]>
* .cvsignore: ignore cormissing file which is generated by
	/mcs/tools/corcompare.exe

svn path=/trunk/mono/; revision=1818
2002-01-04 14:05:37 +00:00
Jeffrey Stedfast f88aba5611 2002-01-04 Jeffrey Stedfast <[email protected]>
* String.cs (Trim): Fixed a few logic bugs in the code that
	calculated how much to trim off the end of the string.

svn path=/trunk/mcs/; revision=1817
2002-01-04 13:59:52 +00:00
Nick Drochak d245ec3d58 2002/01/05 Nick Drochak <[email protected]>
* Makefile.am: fix list of headers and sources so automake 1.5
	doesn't complain. Removed \# at end of list.

svn path=/trunk/mono/; revision=1816
2002-01-04 13:58:26 +00:00
Daniel Weber 8ce48cac1b Check in latest build versions
svn path=/trunk/mcs/; revision=1815
2002-01-04 13:08:49 +00:00
Daniel Weber e59091843f Check in latest version to fix build errors
svn path=/trunk/mcs/; revision=1814
2002-01-04 13:07:29 +00:00
John R. Hicks 3980b949ab Added preliminary TraceListenerCollection.cs to the build.
svn path=/trunk/mcs/; revision=1813
2002-01-04 12:56:51 +00:00
John R. Hicks 53f754f2ab Added TraceListener.cs, TextWriterTraceListener.cs, and TraceListener.cs to the build, and moved them into the proper assembly.
svn path=/trunk/mcs/; revision=1812
2002-01-04 11:38:43 +00:00
John R. Hicks 0c9931a0ae Moved files to System assembly.
svn path=/trunk/mcs/; revision=1811
2002-01-04 11:34:11 +00:00
John R. Hicks 8b06fe39dc Added DiagnosticsConfigurationHandler.cs to the build.
svn path=/trunk/mcs/; revision=1810
2002-01-04 11:30:03 +00:00
John R. Hicks fc7276e440 Added TextWriterTraceListenerTest to the build.
svn path=/trunk/mcs/; revision=1809
2002-01-04 11:03:17 +00:00
John R. Hicks 0174aea715 Added TraceListener.cs, TextWriterTraceListener.cs, and DefaultTraceListener.cs to the build.
svn path=/trunk/mcs/; revision=1808
2002-01-04 11:01:28 +00:00
John R. Hicks 146c07fa75 Added stubbed Debugger.cs to the build.
svn path=/trunk/mcs/; revision=1807
2002-01-04 10:57:15 +00:00
Nick Drochak b547682659 2001-01-04 Nick Drochak <[email protected]>
* Commented out the [TODO] attributes for now.  We don't have the
	class written.  Also changed it to [MonoTODO]

svn path=/trunk/mcs/; revision=1806
2002-01-04 09:47:24 +00:00
Ravi Pratap M 807cabaff1 2002-01-04 Ravi Pratap <[email protected]>
* Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.

	* Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
	UInt16.cs, UInt32.cs, ValueType.cs: Ditto.

svn path=/trunk/mcs/; revision=1805
2002-01-04 08:37:35 +00:00
Ravi Pratap M cf1559d02f 2002-01-04 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Add. We use this attribute to tag all bits
	in our class libraries that are incomplete.

	* Array.cs : Apply attribute wherever we find a FIXME which says we need
	something to be implemented there.

	* Int32.cs : Ditto.

	* MulticastDelegate.cs : Ditto.

	* RuntimeFieldHandler.cs, RuntimeMethodHandle.cs, RuntimeTypeHandle.cs : Ditto.

	* String.cs : Ditto.

	* Type.cs : Ditto.

svn path=/trunk/mcs/; revision=1804
2002-01-04 07:51:16 +00:00
Dietmar Maurer c518c9c895 *** empty log message ***
svn path=/trunk/mono/; revision=1803
2002-01-04 07:04:20 +00:00
Dietmar Maurer 35867e86d6 switched to glib2.0, unicode support, bug fixes
svn path=/trunk/mono/; revision=1802
2002-01-04 06:34:42 +00:00
Dietmar Maurer 12d3d0ce8c unicode support (using iconv)
svn path=/trunk/mcs/; revision=1801
2002-01-04 06:32:08 +00:00
Ravi Pratap M 98f9c97329 2001-01-03 Ravi Pratap <[email protected]>
* interface.cs (EmitDefaultMemberAttr): Make this helper method static
	so we can call it from elsewhere.

	* class.cs (TypeContainer.Emit): Emit the attribute here too. The rule is that
	we emit it internally if the class has a defined indexer; otherwise the user
	emits it by decorating the class definition with the DefaultMemberAttribute.

	* attribute.cs (ApplyAttributes): Perform checks to see that the DefaultMember
	attribute is not used on a type which defines an indexer.

	* cs-tokenizer.cs (get_cmd_arg): Ensure we trim whitespace and also include the tab
	character when we skip whitespace.

	* ../errors/cs0646.cs : Add.

svn path=/trunk/mcs/; revision=1800
2002-01-04 04:42:46 +00:00
Ravi Pratap M b46795af4a Add.
svn path=/trunk/mcs/; revision=1799
2002-01-04 04:39:01 +00:00
Miguel de Icaza 6337caea64 Add pending classes
svn path=/trunk/mono/; revision=1798
2002-01-04 03:55:08 +00:00
Miguel de Icaza 7b169e2d14 2002-01-03 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.ResolveSimpleName): Report error 120
	again.

	* makefile: Add practical target `mcs3.exe' which builds the third
	generation compiler.

	* expression.cs (New): Fix structures constructor calling.

svn path=/trunk/mcs/; revision=1796
2002-01-03 20:51:02 +00:00
Miguel de Icaza cbe2c16c52 Fix build for new automakes, seems to work
svn path=/trunk/mono/; revision=1795
2002-01-03 20:13:47 +00:00
Paolo Molaro 123d93da37 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <[email protected]>
* Delegate.cs: add Remove() stub.
	* Enum.cs: add ToObject().
	* Type.cs: add IsEnum property.


Thu Jan 3 23:26:15 CET 2002 Paolo Molaro <[email protected]>

	* ILGenerator.cs: typo fix.


Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <[email protected]>

	* Assembly.cs: trow unimplemented exceptions.

svn path=/trunk/mcs/; revision=1794
2002-01-03 18:35:59 +00:00
Paolo Molaro e6c6cadfd6 Thu Jan 3 23:19:27 CET 2002 Paolo Molaro <[email protected]>
* interp.c: temporary mul.ovf, mul.ovf.un, add.ovf.un implementations
	to get the compiler going.


Thu Jan 3 23:17:17 CET 2002 Paolo Molaro <[email protected]>

	* reflection.c: get token for a method ref. Set return type of
	constructor to void.
	* loader.c: debug message.
	* class.c: typo fix.

svn path=/trunk/mono/; revision=1793
2002-01-03 18:30:48 +00:00
Miguel de Icaza 7a6a32bfa2 2002-01-03 Miguel de Icaza <[email protected]>
* expression.cs (New): Fix structures constructor calling.

svn path=/trunk/mcs/; revision=1792
2002-01-03 17:00:27 +00:00
Gaurav Vaish 7d21b02eab 2002-01-03 Gaurav Vaish <[email protected]>
* .cvsignore  -- ignores files.

Will start coding from next week (hopefully).

svn path=/trunk/mcs/; revision=1791
2002-01-03 11:11:46 +00:00
Miguel de Icaza a1df5e44c8 2002-01-03 Miguel de Icaza <[email protected]>
* class.cs (Property, Method, Indexer): Emit Final flag on the
	method if we are an interface implementation and we are not
	abstract.

	* ecore.cs (PropertyExpr): New public field `IsBase', tells
	whether this property is referencing a `base' method.

	* expression.cs (Invocation.EmitCall): take an extra argument:
	is_base, this is used to determine whether the `call' or
	`callvirt' opcode should be used.


	* delegate.cs: update EmitCall.

	* class.cs (Method.Define): Set NewSlot for the cases where we are
	not implementing an interface method.

	(Property.Define): ditto.

svn path=/trunk/mcs/; revision=1790
2002-01-03 04:56:30 +00:00
Nick Drochak 52b5e60e68 2002-01-03 Nick Drochak <[email protected]>
* .cvsignore: ignore corlib.pdb for times when it's built with debug on.

svn path=/trunk/mcs/; revision=1789
2002-01-03 04:11:59 +00:00
Nick Drochak d6cae27ae5 2002-01-02 Nick Drochak <[email protected]>
* corlib.build: Put the linux target at the top.  I keep changing the
	build for windows 'cause it's at the top.  Then when I do make, nothing
	changes.  It seems like it always takes me half a day to remember
	that the linux target comes second.  Old age I guess.

svn path=/trunk/mcs/; revision=1788
2002-01-03 04:09:54 +00:00
Miguel de Icaza 1fe8b9ee41 Heh, fix the test
svn path=/trunk/mcs/; revision=1787
2002-01-03 02:00:10 +00:00
Miguel de Icaza eaee6ee321 2002-01-03 Kristian Rietveld <[email protected]>
* Convert.cs: add non-CLS-compliant ToBoolean methods for char,
        DateTime and object.

svn path=/trunk/mcs/; revision=1786
2002-01-03 01:59:26 +00:00
Miguel de Icaza 5d388d9d68 Add new test
svn path=/trunk/mcs/; revision=1785
2002-01-03 01:58:48 +00:00
Miguel de Icaza ed02390400 Integrate class lib docs
svn path=/trunk/mono/; revision=1784
2002-01-03 01:22:31 +00:00
John Barnette 0d446f192a Initial commit of XML doc roadmap.
svn path=/trunk/mono/; revision=1783
2002-01-02 22:48:10 +00:00
Miguel de Icaza 1c337bbc27 2002-01-02 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: (Tokenizer.escape): Escape '\r' as '\r' not as
	'r'.  Allows mcs to parse itself fully.

svn path=/trunk/mcs/; revision=1782
2002-01-02 16:20:37 +00:00
Paolo Molaro 7fa63fd7eb Build fixes.
svn path=/trunk/mcs/; revision=1781
2002-01-02 14:40:57 +00:00
Nick Drochak 441b83b286 Added new System.Security.Policy interfaces I just comitted
svn path=/trunk/mono/; revision=1780
2002-01-02 12:23:29 +00:00
Nick Drochak 89eee5d64c 2002-01-03 Nick Drochak <[email protected]>
* IIdentityPermissionFactory.cs: New File
	* IMembershipCondition: New File

svn path=/trunk/mcs/; revision=1779
2002-01-02 12:20:42 +00:00
Nick Drochak 68d92708a4 2002-01-03 Nick Drochak <[email protected]>
* HttpRuntime.cs: remove uneeded exception variable from catch and
	initialize remaining instance members to avoid compile warnings

	* DesignTimeParseData.cs: initialze static member to avoid compile
	error
	* PropertyConverter.cs: remove uneeded exception variables from
	catch blocks.

	* FileChangesMonitor.cs: remove redundant using statement; use int
	for MAXLEN; capitalize correctly 'WebHashCodeProvider';
	fix typo rsLock -> rwLock; Change IsRooted to IsPathRooted;
	set out parameter value where needed
	* FilePathParser.cs: qualify method GetPathRoot() with 'Path.'
	* IISVersionInfo.cs: initialize static member to avoid compile error.
	* WebEqualComparer.cs: static member defC shouldn't be readonly;
	the string comparer had some typos (fixed)
	* WebHashCodeProvider.cs: needed System.Globalization; static member
	defHcp shouldn't be readonly; remove double equal typo.

	* System.Web.build: don't exclude System.Web.UI anymore

svn path=/trunk/mcs/; revision=1778
2002-01-02 11:25:07 +00:00
Nick Drochak fc396a784a 2002-01-02 Nick Drochak <[email protected]>
* FileAction.cs: Use 0x7FFFFFFF as enum value for error.  0xFFFFFFFF
	is too big for Int32.
	* FileChangeEventHandler.cs: put missing 'void' return type on delegate
	FileChangeEventHandler()
	* FileChangedEventArgs.cs: ditto for FileChangedEvent()
	* NativeFileChangeEventHandler.cs: ditto for NativeFileChangeEventHandler()
	* FileChangesMonitor.cs: add needed namespaces and comment out imcomplete
	code.

svn path=/trunk/mcs/; revision=1777
2002-01-02 10:37:08 +00:00
Ravi Pratap M 5913bd3fc9 2002-01-02 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation.num_automatic_initializers): Keep track
	of the number of initializers that require the InitializeArray method.

	(CheckIndices): Store the Expression in all cases - not the plain value. Also
	update the above field where necessary.

	(MakeByteBlob): Update accordingly.

	(DoEmit): Call EmitStaticInitializers only if the number of initializers is
	greater than 2.

	(EmitDynamicInitializers): Update in accordance with the new optimization.

	(ArrayAccess.EmitStoreOpcode): Include char type along with short and ushort - the
	same OpCode applies.

	* cs-parser.jay : Fix some glaring errors I introduced.

svn path=/trunk/mcs/; revision=1776
2002-01-02 06:23:54 +00:00
Ravi Pratap M 1632717afb 2002-01-02 Ravi Pratap <[email protected]>
* test-45.cs : Augment to exercise support for array initialization
	for various other types.

svn path=/trunk/mcs/; revision=1775
2002-01-02 06:20:29 +00:00
Nick Drochak 1fa76a845c 2002-01-02 Nick Drochak <[email protected]>
* DesignTimeParseData.cs: fix header to show correct class name

svn path=/trunk/mcs/; revision=1774
2002-01-02 05:05:29 +00:00
Nick Drochak 7a2ec1188f 2002-01-02 Nick Drochak <[email protected]>
* HttpRuntime.cs: fix spelling error/variable name change.

svn path=/trunk/mcs/; revision=1773
2002-01-02 05:01:26 +00:00
Ravi Pratap M e35b9f6b1b 2002-01-01 Ravi Pratap <[email protected]>
* parameters.cs (AddVariable, AddConstant): Pass in current_local_parameters
	so that we can check for name clashes there too.

	* typemanager.cs (default_member_attr_type): The attribute that we need to emit
	for interface indexers.

	* interfaces.cs (Define): Emit the default member attribute.

	* expression.cs (MakeByteBlob): Fix extremely trivial bug where the wrong
	variable was being referred to while setting the value ;-)

svn path=/trunk/mcs/; revision=1772
2002-01-02 01:09:38 +00:00
Miguel de Icaza 8059b33472 2002-01-01 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Optimize: we do not need to fill
	byte-by-byte information when we know the data is zero.

	Make the block always a multiple of 4, because
	DefineInitializedData has a bug.

svn path=/trunk/mcs/; revision=1771
2002-01-02 00:54:10 +00:00
Nick Drochak 709ffdcbe8 2002-01-02 Nick Drochak <[email protected]>
* IUnrestrictedPermission.cs: Added missing interface class

svn path=/trunk/mcs/; revision=1770
2002-01-01 19:33:28 +00:00
Miguel de Icaza b638e43f8a Improve tests
svn path=/trunk/mcs/; revision=1769
2002-01-01 19:06:23 +00:00
Miguel de Icaza 2f9e142a1b 2002-01-01 Miguel de Icaza <[email protected]>
* assign.cs: Fix, we should assign from the temporary, not from
	the source.

	* expression.cs (MakeByteBlob): Fix my incorrect code.

svn path=/trunk/mcs/; revision=1768
2002-01-01 18:53:21 +00:00
Nick Drochak a5f9977862 Added entry for new interface I added today: System.Security.Permissions.IUnrestrictedPermission
svn path=/trunk/mono/; revision=1767
2002-01-01 12:57:14 +00:00
Nick Drochak c387f3e670 2002-01-02 Nick Drochak <[email protected]>
* corlib.build: Removed "exclude CodeAccessPermission.cs"
	* CodeAccessPermission.cs: Fix syntax error hidden by exclusion in .build file

svn path=/trunk/mcs/; revision=1766
2002-01-01 12:10:24 +00:00
Nick Drochak 8c8717363b 2002-01-01 Nick Drochak <[email protected]>
* class.xml: corrected IHashCodeProvider entry.  "I" was missing.

svn path=/trunk/mono/; revision=1765
2002-01-01 01:10:30 +00:00
Miguel de Icaza 7986ed58a3 2001-12-31 Miguel de Icaza <[email protected]>
* typemanager.cs (EnumToUnderlying): This function is used to get
	the underlying type from an enumeration, because it does not
	always work.

	* constant.cs: Use the I4_S form for values between -128 and 127.

	* statement.cs (Block.LookupLabel): Looks up a label.
	(Block): Drop support for labeled blocks.

	(LabeledStatement): New kind of statement that represents a label
	only.

	(Goto): Finally implement this bad boy.

	* cs-parser.jay: Update to reflect new mechanism to implement
	labels.

svn path=/trunk/mcs/; revision=1764
2001-12-31 19:28:45 +00:00
Nick Drochak 201454f3c1 Updated with classes I added last night.
svn path=/trunk/mono/; revision=1762
2001-12-30 18:54:57 +00:00
Miguel de Icaza e3a1a4cd14 2001-12-30 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext.This): a codegen property that keeps the
	a single instance of this instead of creating many different this
	instances.

	* delegate.cs (Delegate.DoResolve): Update to use the property;

	* ecore.cs (SimpleName.SimpleNameResolve): Ditto

	* expression.cs (BaseAccess.DoResolve): Ditto.

svn path=/trunk/mcs/; revision=1761
2001-12-30 16:38:50 +00:00
Miguel de Icaza 82fa948924 Flush
svn path=/trunk/mcs/; revision=1760
2001-12-30 16:31:13 +00:00
Ravi Pratap M 4b318d2f7e Add.
svn path=/trunk/mcs/; revision=1759
2001-12-30 14:56:46 +00:00
Ravi Pratap M f0a7e4a042 2001-12-29 Ravi Pratap <[email protected]>
* typemanager.cs (methodimpl_attr_type): Add to hold the type
	corresponding to System.Runtime.CompilerServices.MethodImplAttribute.

	(InitCoreTypes): Update accordingly.

	* attribute.cs (Resolve): Remember if the attribute is a MethodImplAttribute
	so we can quickly store the state.

	(ApplyAttributes): Set the current implementation flags
	for InternalCall methods.

svn path=/trunk/mcs/; revision=1758
2001-12-30 14:46:12 +00:00
Ravi Pratap M 85144f9f7a 2001-12-29 Ravi Pratap <[email protected]>
* test-69.cs : Add. This tests support for methods which are
	internal calls.

svn path=/trunk/mcs/; revision=1757
2001-12-30 14:40:17 +00:00
Nick Drochak 32517a5c4f Forgot to save this before comitting. oops.
svn path=/trunk/mcs/; revision=1756
2001-12-30 11:04:13 +00:00
Nick Drochak 0a758352be 2001-12-30 Nick Drochak <[email protected]>
* Byte.cs (Parse): Add comments to aid in testing.

svn path=/trunk/mcs/; revision=1755
2001-12-30 11:01:17 +00:00
Nick Drochak 0c6aa47bd1 2001-12-30 Nick Drochak <[email protected]>
* PermissionSet.cs SecurityManager.cs: New Files
	* CodeAccessPermission.cs: Add Skeleton code
	* IPermission.cs: Make public and inherit from ISecurityEncodable
	* ISecurityEncodable.cs: Make interface public
	* ISecurityPolicyEncodable.cs: Ditto
	* IStackWalk.cs: Ditto

svn path=/trunk/mcs/; revision=1754
2001-12-30 10:54:46 +00:00
Nick Drochak 829976c78e 2001-08-24 Nick Drochak <[email protected]>
* IDeserializationCallback.cs: New File

svn path=/trunk/mcs/; revision=1753
2001-12-30 10:46:45 +00:00
Miguel de Icaza 6e5e0cc3fd Added bug15
svn path=/trunk/mcs/; revision=1752
2001-12-29 20:26:01 +00:00
Miguel de Icaza 8e7ed4ad67 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (EmitCall): if a method is not virtual, then do
	not use callvirt on it.

	(ArrayAccess.EmitAssign): storing non-builtin value types (ie,
	user defined stuff) requires the use of stobj, which takes an
	address on the stack instead of an array and an index.  So emit
	the Ldelema operation for it.

	(EmitStoreOpcode): Use stobj for valuetypes.

	(UnaryMutator.EmitCode): Use the right 1 value depending on
	whether we are dealing with int64/uint64, float or doubles.

	* class.cs (TypeContainer.AddConstructor): Fix the logic to define
	constructors that I implemented last night.

	(Constructor.IsDefault): Fix to work properly for static
	constructors.

	* cs-parser.jay (CheckDef): report method signature errors.
	Update error number 103 to be 132.

	* decl.cs: New AdditionResult enumeration value: MethodExists.
	Although we do this check for methods later on in the semantic
	analysis, catching repeated default constructors is so easy that
	we catch these here.

svn path=/trunk/mcs/; revision=1751
2001-12-29 20:25:56 +00:00
Gaurav Vaish 37910d0f63 2001-12-28 Gaurav Vaish <[email protected]>
* Unit.cs --- Completed. A little final touch was required. The problem
   of IsEmpty solved.

svn path=/trunk/mcs/; revision=1750
2001-12-29 13:04:50 +00:00
Nick Drochak ba7879b5a9 2001-12-29 Nick Drochak <[email protected]>
* ISecurityPolicyEncodable.cs, PolicyLevelType.cs,
	SecurityZone.cs, SecurityException.cs, UnverifiableCodeAttribute.cs,
	SuppressUnmanagedCodeSecurityAttribute.cs,
	VerificationException.cs, XmlSyntaxException.cs: New files

svn path=/trunk/mcs/; revision=1749
2001-12-29 12:07:33 +00:00
Nick Drochak 1b84ffbb52 2001-12-29 Nick Drochak <[email protected]>
* Added System.Security and System.Security.Policy classes
	that I comitted

svn path=/trunk/mono/; revision=1748
2001-12-29 12:03:33 +00:00
Nick Drochak 304021fe86 2001-12-29 Nick Drochak <[email protected]>
* ChangeLog: New file

svn path=/trunk/mcs/; revision=1747
2001-12-29 11:59:28 +00:00
Nick Drochak 804504f50c 2001-12-29 Nick Drochak <[email protected]>
* PolicyLevel.cs: New file

svn path=/trunk/mcs/; revision=1746
2001-12-29 11:57:58 +00:00
Miguel de Icaza 64ea18ece5 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (Binary.DoNumericPromotions): Fix the uint64 type
	promotions code.

svn path=/trunk/mcs/; revision=1745
2001-12-29 05:22:30 +00:00
Miguel de Icaza 7b9cab443d 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.EmitAssign, Emit): handle
	bools as bytes.

	(ArrayAccess.EmitLoadOpcode): Handle bool type here.
	(ArrayAccess.EmitStoreOpcode): ditto.

	* cs-tokenizer.cs (is_punct): Eliminated empty computation.

	* expression.cs (MakeByteBlob): Complete all the missing types
	(uint, short, ushort, byte, sbyte)

	* class.cs: Only init instance field initializers on instance
	constructors.

	Rename `constructors' to instance_constructors.

	(TypeContainer.AddConstructor): Only add constructors to the list
	if it is not static.

	Make sure that we handle default_static_constructor independently
	everywhere where we handle instance_constructors

svn path=/trunk/mcs/; revision=1744
2001-12-29 05:02:18 +00:00
Miguel de Icaza 8d1912017a Updated FAQ; News items
svn path=/trunk/mono/; revision=1743
2001-12-29 03:34:28 +00:00
Daniel Weber 1a2861d8c7 First cut at Xml Parser
svn path=/trunk/mcs/; revision=1742
2001-12-28 22:54:13 +00:00
Miguel de Icaza 17a434e856 2001-12-28 Miguel de Icaza <[email protected]>
* class.cs: Do not lookup or create a base initializer for a
	static constructor.

	(ConstructorInitializer.Resolve): use the proper type to lookup
	for constructors.

	* cs-parser.jay: Report error 1585 (modifiers between type and name).

	* enum.cs, interface.cs: Remove CloseType, this is taken care by
	in DeclSpace.

	* decl.cs: CloseType is now an virtual method, the default
	implementation just closes this type.

svn path=/trunk/mcs/; revision=1741
2001-12-28 20:53:11 +00:00
Ravi Pratap M a09977bc3e 2001-12-28 Ravi Pratap <[email protected]>
* attribute.cs (DefinePInvokeMethod): Set the implementation flags
	to PreserveSig by default. Also emit HideBySig on such methods.

	Basically, set the defaults to standard values.

	* expression.cs (Invocation.BetterFunction): We need to make sure that for each
	argument, if candidate is better, it can't be worse than the best !

	(Invocation): Re-write bits to differentiate between methods being
	applicable in their expanded form and their normal form - for params
	methods of course.

	Get rid of use_standard everywhere as only standard conversions are allowed
	in overload resolution.

	More spec conformance.

svn path=/trunk/mcs/; revision=1740
2001-12-28 15:26:06 +00:00
Ravi Pratap M 912389db8b 2001-12-28 Ravi Pratap <[email protected]>
* test-34.cs : UPdate to exercise the new overload resolution
	code.

svn path=/trunk/mcs/; revision=1739
2001-12-28 15:21:34 +00:00
Gaurav Vaish 5e666d525a 2001-12-28 Gaurav Vaish <[email protected]>
* TODO, ChangeLog   -- Today's update.

svn path=/trunk/mcs/; revision=1738
2001-12-28 14:01:35 +00:00
Gaurav Vaish 51d4fa17e6 2001-12-28 Gaurav Vaish <[email protected]>
* Unit.cs   -- Almost done. Don't know how to implement IsEquality.
   What criterion to use?

svn path=/trunk/mcs/; revision=1737
2001-12-28 14:00:42 +00:00
Gaurav Vaish 6420027e92 2001-12-28 Gaurav Vaish <[email protected]>
* FontUnit.cs   -- GetTypeFromString <--- Function name changed from
    IndexOf, which looked ugly. The function name is self-explanatory

svn path=/trunk/mcs/; revision=1736
2001-12-28 13:21:14 +00:00
Gaurav Vaish 938c7a188f 2001-12-28 Gaurav Vaish <[email protected]>
* FontUnit.cs   -- Completed

svn path=/trunk/mcs/; revision=1735
2001-12-28 12:25:20 +00:00
Gaurav Vaish 5aa7c29edc 2001-12-28 Gaurav Vaish <[email protected]>
* DataGridPageChangedEventHandler.cs,
* DataGridSortCommandEventHandler.cs,
* DataListCommandEventHandler.cs,
* DataListItemEventHandler.cs
* MonthChangedEventHandler.cs,
* RepeaterCommandEventHandler.cs,
* RepeaterItemEventHandler.cs,
* ServerValidateEventHandler.cs    -- Added delegates


* TODO   -- Updated to reveal the latest
* ChangeLog  -- Updated to reveal the latest updates

svn path=/trunk/mcs/; revision=1734
2001-12-28 07:07:45 +00:00
Gaurav Vaish c2a5898040 2001-12-28 Gaurav Vaish <[email protected]>
* Literal.cs, LiteralControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1733
2001-12-28 05:19:16 +00:00
Gaurav Vaish 4196ad6b44 2001-12-28 Gaurav Vaish <[email protected]>
* ImageButton.cs, Label.cs  -- Minor corrections with LoadViewState's

* LinkButton.cs, LinkButtonControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1732
2001-12-28 01:43:57 +00:00
Gaurav Vaish 53cade753c 2001-12-28 Gaurav Vaish <[email protected]>
* Utils.cs  -- Added functions GetClientValidatedEvent, GetClientValidatedPostBack

svn path=/trunk/mcs/; revision=1731
2001-12-28 00:41:50 +00:00
Gaurav Vaish 6aea03e323 2001-12-28 Gaurav Vaish <[email protected]>
* ImageButton.cs  -- Status flag changed (comments)

* Label.cs, LabelControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1730
2001-12-28 00:12:22 +00:00
Gaurav Vaish 6aef124a1f 2001-12-28 Gaurav Vaish <[email protected]>
* Image.cs -- Missed the "using" directives

* ImageButton.cs -- Completed

svn path=/trunk/mcs/; revision=1729
2001-12-27 22:57:42 +00:00
Miguel de Icaza d504f1c4a2 2001-12-27 Miguel de Icaza <[email protected]>
* driver.cs: Add --timestamp, to see where the compiler spends
	most of its time.

	* ecore.cs (SimpleName.DoResolve): Do not create an implicit
	`this' in static code.

	(SimpleName.DoResolve): Implement in terms of a helper function
	that allows static-references to be passed upstream to
	MemberAccess.

	(Expression.ResolveWithSimpleName): Resolve specially simple
	names when called by MemberAccess to implement the special
	semantics.

	(Expression.ImplicitReferenceConversion): Handle conversions from
	Null to reference types before others, as Null's type is
	System.Object.

svn path=/trunk/mcs/; revision=1728
2001-12-27 20:09:40 +00:00
Miguel de Icaza 419a2ce9f7 2001-12-27 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Handle the special case of
	calling methods declared on a reference type from a ValueType
	(Base classes System.Object and System.Enum)

	(MemberAccess.Resolve): Only perform lookups on Enumerations if
	the left hand side is a TypeExpr, not on every enumeration.

	(Binary.Resolve): If types are reference types, then do a cast to
	object on operators != and == of both arguments.

	* typemanager.cs (FindMembers): Extract instance and static
	members if requested.

	* interface.cs (PopulateProperty): Use void_type instead of null
	as the return type for the setter method.

	(PopulateIndexer): ditto.

svn path=/trunk/mcs/; revision=1727
2001-12-27 16:54:10 +00:00
Ravi Pratap M 2db597d2a1 2001-12-27 Ravi Pratap <[email protected]>
* support.cs (ReflectionParameters): Fix minor bug where we
	were examining the wrong parameter for the ParamArray attribute.

	Cope with requests for the type of the parameter at position
	greater than the params parameter's. We now return the element
	type of the params array as that makes more sense.

	* expression.cs (Invocation.IsParamsMethodApplicable): Update
	accordingly as we no longer have to extract the element type
	ourselves.

	(Invocation.OverloadResolve): Update.

svn path=/trunk/mcs/; revision=1726
2001-12-27 16:05:00 +00:00
Miguel de Icaza 2017ea26b3 Add new test
svn path=/trunk/mcs/; revision=1725
2001-12-27 16:01:08 +00:00
Gaurav Vaish e090f3f2d4 2001-12-27 Gaurav Vaish <[email protected]>
* Image.cs  -- Completed

svn path=/trunk/mcs/; revision=1724
2001-12-27 13:38:24 +00:00
Gaurav Vaish 365834436d 2001-12-27 Gaurav Vaish <[email protected]>
* HyperLink.cs  -- Completed.

svn path=/trunk/mcs/; revision=1723
2001-12-27 12:42:45 +00:00
Gaurav Vaish 6aa42f4bc1 2001-12-27 Gaurav Vaish <[email protected]>
* Calendar.cs  -- Done Rendering part. Just one function left.

* ChangeLog  -- Updated

svn path=/trunk/mcs/; revision=1722
2001-12-27 10:05:12 +00:00
Miguel de Icaza e2ca9686dd Add new bug
svn path=/trunk/mcs/; revision=1721
2001-12-27 04:21:49 +00:00
Miguel de Icaza ffe4df2dfa 2001-12-27 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.GetEnumeratorFilter): Do not compare
	against IEnumerator, test whether the return value is a descendant
	of the IEnumerator interface.

	* class.cs (Indexer.Define): Use an auxiliary method to implement
	the other bits of the method definition.  Begin support for
	explicit interface implementation.

	(Property.DefineMethod): Use TypeManager.void_type instead of null
	for an empty return value.

svn path=/trunk/mcs/; revision=1720
2001-12-27 04:17:22 +00:00
Ravi Pratap M 8394a2d4a9 2001-12-26 Ravi Pratap <[email protected]>
* class.cs (Event.Define): Define the private field only if there
	are no accessors defined.

	* expression.cs (ResolveMemberAccess): If there is no associated
	field with the event, that means we have an event defined with its
	own accessors and we should flag error cs0070 since transforming
	ourselves into a field is not valid in that case.

	* ecore.cs (SimpleName.DoResolve): Same as above.

	* attribute.cs (DefinePInvokeMethod): Set the default calling convention
	and charset to sane values.

svn path=/trunk/mcs/; revision=1719
2001-12-27 03:27:09 +00:00
Ravi Pratap M d7b9c98c42 2001-12-26 Ravi Pratap <[email protected]>
* test-67.cs : Add. These are tests for explicit layout
	of structs and classes.

	* makefile : Update accordingly.

svn path=/trunk/mcs/; revision=1718
2001-12-27 03:23:47 +00:00
Nick Drochak 6b9dbc0572 2001-12-27 Nick Drochak <[email protected]>
* UInt32Test.cs: Added messages to Asserts()'s to find out which one was failing.

svn path=/trunk/mcs/; revision=1717
2001-12-26 19:07:47 +00:00
Gaurav Vaish cdd88a9c51 2001-12-27 Gaurav Vaish <[email protected]>
* class.xml   -- Weekly update for class.xml. Missed one on 22nd :)

svn path=/trunk/mono/; revision=1716
2001-12-26 14:54:08 +00:00
Gaurav Vaish 7f6d7bd300 2001-12-27 Gaurav Vaish <[email protected]>
* test6.aspx  --- Test in connection with Calendar

* Calendar.cs  -- ViewStates (Track/Save/View), RaisePostBackEvent

svn path=/trunk/mcs/; revision=1715
2001-12-26 14:43:45 +00:00
Ravi Pratap M 22233f865a 2001-12-25 Ravi Pratap <[email protected]>
* assign.cs (DoResolve): Perform check on events only if they
	are being accessed outside the declaring type.

	* cs-parser.jay (event_declarations): Update rules to correctly
	set the type of the implicit parameter etc.

	(add_accessor, remove_accessor): Set current local parameters.

	* expression.cs (Binary): For delegate addition and subtraction,
	cast the return value from the method into the appropriate delegate
	type.

svn path=/trunk/mcs/; revision=1714
2001-12-25 14:35:18 +00:00
Ravi Pratap M c5d8ebb1df 2001-12-25 Ravi Pratap <[email protected]>
* test-57.cs : Update to exercise more of the code base for
	events.

svn path=/trunk/mcs/; revision=1713
2001-12-25 14:29:45 +00:00
Ravi Pratap M 3b1343dc02 2001-12-24 Ravi Pratap <[email protected]>
* attribute.cs (ApplyAttributes): New method to take care of common tasks
	of attaching attributes instead of duplicating code everywhere.

	* everywhere : Update code to do attribute emission using the above method.

svn path=/trunk/mcs/; revision=1712
2001-12-24 15:42:55 +00:00
Paolo Molaro a0fc68e616 Mon Dec 24 17:23:45 CET 2001 Paolo Molaro <[email protected]>
* interp.c: fix ldc.i8.


Mon Dec 24 17:18:10 CET 2001 Paolo Molaro <[email protected]>

	* icall.c: fix array init with rank > 1. FindMembers
	loops in parent class as well.
	* image.c: do not insert nested types in name cache.
	* reflection.c: warning fix.
	* reflection.h: add override method (for interface impl).

svn path=/trunk/mono/; revision=1711
2001-12-24 12:32:03 +00:00
Paolo Molaro 4215875548 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <[email protected]>
* main.c, dump.h, dump.c: add dump_table_nestedclass().
	* dis-cil.c: output int64 as hex.

svn path=/trunk/mono/; revision=1710
2001-12-24 12:31:26 +00:00
Paolo Molaro b4e6650a93 Mon Dec 24 17:21:30 CET 2001 Paolo Molaro <[email protected]>
* TypeBuilder.cs: added DefineMethodOverride().
	* MethodBuilder.cs: add override_method member and setter.

svn path=/trunk/mcs/; revision=1709
2001-12-24 12:28:59 +00:00
Paolo Molaro 9b89039e6a Mon Dec 24 16:16:56 CET 2001 Paolo Molaro <[email protected]>
* metadata.c: fix customattr decoding.

svn path=/trunk/mono/; revision=1708
2001-12-24 11:23:30 +00:00
Ravi Pratap M f947f0161b 2001-12-24 Ravi Pratap <[email protected]>
* typemanager.cs (RegisterDelegateData, GetDelegateData): Get rid
	of these as the workaround is unnecessary.

	* delegate.cs (NewDelegate.DoResolve): Get rid of bits which registered
	delegate data - none of that is needed at all.

	Re-write bits to extract the instance expression and the delegate method
	correctly.

	* expression.cs (Binary.ResolveOperator): Handle the '-' binary operator
	on delegates too.

svn path=/trunk/mcs/; revision=1707
2001-12-24 06:46:22 +00:00
Ravi Pratap M fa55a93ba5 2001-12-24 Ravi Pratap <[email protected]>
* test-19.cs : Augment to exercise tests on delegates
	defined in mscorlib.

	* test-57.cs : Update to exercise the -= operator
	as well.

svn path=/trunk/mcs/; revision=1706
2001-12-24 06:34:03 +00:00
Miguel de Icaza c72c27994e 2001-12-23 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): if there are not
	parameters, return immediately.

	* ecore.cs: The 0 literal can be implicity converted to an enum
	type.

	(SimpleName.DoResolve): First lookup the type, then lookup the
	members.

	(FieldExpr.Emit): If the InstanceExpression is a ValueType, we

svn path=/trunk/mcs/; revision=1705
2001-12-24 02:17:19 +00:00
Miguel de Icaza 1baf009cdd More bugs
svn path=/trunk/mcs/; revision=1704
2001-12-24 01:05:39 +00:00
Miguel de Icaza 094c8f790b Add
svn path=/trunk/mcs/; revision=1703
2001-12-24 01:03:13 +00:00
Miguel de Icaza 8a2886f7d0 Update tests
svn path=/trunk/mcs/; revision=1702
2001-12-24 00:59:36 +00:00
Miguel de Icaza ae9b5fed30 2001-12-23 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): if there are not
	parameters, return immediately.

	* ecore.cs: The 0 literal can be implicity converted to an enum
	type.

	(SimpleName.DoResolve): First lookup the type, then lookup the
	members.

	(FieldExpr.Emit): If the InstanceExpression is a ValueType, we
	want to get its address.  If the InstanceExpression is not
	addressable, store the result in a temporary variable, then get
	the address of it.

	* codegen.cs: Only display 219 errors on warning level or above.

	* expression.cs (ArrayAccess): Make it implement the
	IMemoryLocation interface.

	(Binary.DoResolve): handle the operator == (object a, object b)
	and operator != (object a, object b) without incurring into a
	BoxedCast (because 5 != o should never be performed).

	Handle binary enumerator operators.

	(EmitLoadOpcode): Use Ldelema if the object we are loading is a
	value type, otherwise use Ldelem_ref.

	Use precomputed names;

	(AddressOf): Implement address of

	* cs-parser.jay (labeled_statement): Fix recursive block
	addition by reworking the production.

	* expression.cs (New.DoEmit): New has a special case:

		 If we are dealing with a ValueType, we have a few
		 situations to deal with:

		    * The target of New is a ValueType variable, that is
		      easy, we just pass this as the variable reference

		    * The target of New is being passed as an argument,
		      to a boxing operation or a function that takes a
		      ValueType.

		      In this case, we need to create a temporary variable
		      that is the argument of New.

svn path=/trunk/mcs/; revision=1701
2001-12-24 00:57:29 +00:00
Miguel de Icaza 94f6dc255b Add another bug
svn path=/trunk/mcs/; revision=1700
2001-12-24 00:22:45 +00:00
Nick Drochak 0c356f107a 2001-12-23 Nick Drochak <[email protected]>
* ChangeLog: Flush old edit to this file.

svn path=/trunk/mcs/; revision=1699
2001-12-23 20:22:31 +00:00
Miguel de Icaza 3e2bf7b586 Test 62
svn path=/trunk/mcs/; revision=1698
2001-12-23 15:29:57 +00:00
Miguel de Icaza 5ba87d96fe Add test-65, and include 63 and 64 on the build
svn path=/trunk/mcs/; revision=1697
2001-12-23 15:29:15 +00:00
Ravi Pratap M f28c04a4e3 Committing again just to be sure ;-)
svn path=/trunk/mcs/; revision=1696
2001-12-23 14:53:22 +00:00
Ravi Pratap M 9888ed1367 2001-12-23 Ravi Pratap <[email protected]>
* typemanager.cs : Use PtrHashtable for Delegate data hashtable etc.

	* assign.cs : Get rid of EventIsLocal everywhere.

svn path=/trunk/mcs/; revision=1695
2001-12-23 14:44:12 +00:00
Ravi Pratap M 600f75358b 2001-12-23 Ravi Pratap <[email protected]>
* rootcontext.cs (LookupType): Check that current_type is not null before
	going about looking at nested types.

	* ecore.cs (EventExpr.EmitAddOrRemove): Rename from EmitAssign as we do
	not implement the IAssignMethod interface any more.

	* expression.cs (MemberAccess.ResolveMemberAccess): Handle EventExprs specially
	where we tranform them into FieldExprs if they are being resolved from within
	the declaring type.

	* ecore.cs (SimpleName.DoResolve): Do the same here.

	* assign.cs (DoResolve, Emit): Clean up code considerably.

	* ../errors/bug10.cs : Add.

	* ../errors/cs0070.cs : Add.

svn path=/trunk/mcs/; revision=1694
2001-12-23 14:08:58 +00:00
Ravi Pratap M 6ec0525dcc 2001-12-23 Ravi Pratap <[email protected]>
* test-57.cs : Update.

	* makefile : Update to include the above as it passes nicely.

svn path=/trunk/mcs/; revision=1693
2001-12-23 14:04:11 +00:00
Ravi Pratap M ce8a364511 Add
svn path=/trunk/mcs/; revision=1692
2001-12-23 14:01:44 +00:00
Miguel de Icaza f8272ef9f3 2001-12-23 Miguel de Icaza <[email protected]>
* typemanager.cs (GetAccessors): Make the return value consistent
	(ie, 0 is always get, 1 is always set)

	* ecore.cs (ConvertIntLiteral): finished the implementation.

	* statement.cs (SwitchLabel): Convert the value we are using as a
	key before looking up the table.

svn path=/trunk/mcs/; revision=1691
2001-12-23 04:48:10 +00:00
Miguel de Icaza df52c90d7b 2001-12-22 Miguel de Icaza <[email protected]>
* codegen.cs (EmitTopBlock): Require a Location argument now.

	* cs-parser.jay (constructor_declarator): We need to setup
	current_local_parameters before we parse the
	opt_constructor_initializer, to allow the variables to be bound
	to the constructor arguments.

	* rootcontext.cs (LookupType): First lookup nested classes in our
	class and our parents before we go looking outside our class.

	* expression.cs (ConstantFold): Extract/debox the values at the
	beginnning.

	* rootcontext.cs (EmitCode): Resolve the constants first before we
	resolve the types.  This is not really needed, but it helps debugging.

svn path=/trunk/mcs/; revision=1690
2001-12-22 23:42:12 +00:00
Miguel de Icaza 0661f1afea Added new test
svn path=/trunk/mcs/; revision=1689
2001-12-22 22:45:37 +00:00
Miguel de Icaza c1d95ca518 Update
svn path=/trunk/mono/; revision=1688
2001-12-22 15:45:43 +00:00
Miguel de Icaza 441fb6c311 2001-12-22 Miguel de Icaza <[email protected]>
* statement.cs: report location.

	* cs-parser.jay: pass location to throw statement.

	* driver.cs: Small bug fix.

	* report.cs: Updated format to be 4-zero filled digits.

svn path=/trunk/mcs/; revision=1687
2001-12-22 15:29:09 +00:00
Ravi Pratap M 453c9ba7a2 2001-12-22 Ravi Pratap <[email protected]>
* expression.cs (CheckIndices): Fix minor bug where the wrong
	variable was being referred to ;-)

	(DoEmit): Do not call EmitStaticInitializers when the
	underlying type is System.Object.

svn path=/trunk/mcs/; revision=1686
2001-12-22 14:04:13 +00:00
Ravi Pratap M eb41a60d0e 2001-12-21 Ravi Pratap <[email protected]>
* test-19.cs : Augment to exercise code which fixed the bug
	where we were not generating a This for the delegate's
	instance expression - for the non-static methods ie.

svn path=/trunk/mcs/; revision=1685
2001-12-22 10:50:10 +00:00
Ravi Pratap M 404eb5f79b 2001-12-21 Ravi Pratap <[email protected]>
* ecore.cs (EventExpr.Resolve): Implement to correctly set the type
	and do the usual workaround for SRE.

	* class.cs (MyEventBuilder.EventType): New member to get at the type
	of the event, quickly.

	* expression.cs (Binary.ResolveOperator): Handle delegate addition.

	* assign.cs (Assign.DoResolve): Handle the case when the target
	is an EventExpr and perform the necessary checks.

	* ecore.cs (EventExpr.EmitAssign): Implement the IAssignMethod
	interface.

	(SimpleName.MemberStaticCheck): Include check for EventExpr.

	(EventExpr): Set the type in the constructor itself since we
	are meant to be born fully resolved.

	(EventExpr.Define): Revert code I wrote earlier.

	* delegate.cs (NewDelegate.Resolve): Handle the case when the MethodGroup's
	instance expression is null. The instance expression is a This in that case
	or a null, depending on whether it is a static method or not.

	Also flag an error if the reference to a method is ambiguous i.e the MethodGroupExpr
	refers to more than one method.

	* assign.cs (DoResolve): Check whether the event belongs to the same Type container
	and accordingly flag errors.

svn path=/trunk/mcs/; revision=1684
2001-12-22 10:47:10 +00:00
Miguel de Icaza e2f6341f2e New build file
svn path=/trunk/mcs/; revision=1683
2001-12-22 04:28:21 +00:00
Miguel de Icaza b5615e0cd8 2001-12-21 Miguel de Icaza <[email protected]>
* SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
	IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.

svn path=/trunk/mcs/; revision=1682
2001-12-22 04:28:02 +00:00
Miguel de Icaza bc8229d6a4 2001-12-21 Miguel de Icaza <[email protected]>
* Char.cs (Parse): Implement.

	* Byte.cs (Parse): Implement a fast parser.

	* SByte.cs (Parse): Implement a fast parser.

	* UInt16.cs (Parse): Implement a fast parser.

	* Int16.cs (Parse): Implement a fast parser.

	* UInt32.cs (Parse): Implement a fast parser.

	* Int32.cs (Parse): Implement a fast parser.

svn path=/trunk/mcs/; revision=1681
2001-12-22 03:46:42 +00:00
Miguel de Icaza 0925d5f1c3 2001-12-21 Miguel de Icaza <[email protected]>
* statement.cs (Throw.Emit): Add support for re-throwing exceptions.

svn path=/trunk/mcs/; revision=1680
2001-12-22 02:39:31 +00:00
Miguel de Icaza e8cda7bcc4 Add new error
svn path=/trunk/mcs/; revision=1679
2001-12-22 01:14:10 +00:00
Miguel de Icaza f463753a5c 2001-12-22 Miguel de Icaza <[email protected]>
* location.cs (ToString): Provide useful rutine.

2001-12-21  Miguel de Icaza  <[email protected]>

	* ecore.cs (Expression.ConvertIntLiteral): Do not return Constant
	objects, return the actual integral boxed.

	* statement.cs (SwitchLabel): define an ILLabel for each
	SwitchLabel.

	(Switch.CheckSwitch): If the value is a Literal, extract
	the underlying literal.

	Also in the unused hashtable we had, add the SwitchLabel so we can
	quickly look this value up.

	* constant.cs: Implement a bunch of new constants.  Rewrite
	Literal based on this.  Made changes everywhere to adapt to this.

	* expression.cs (Expression.MakeByteBlob): Optimize routine by
	dereferencing array only once, and also copes with enumrations.

	bytes are two bytes wide, not one.

	(Cast): Perform constant conversions.

	* ecore.cs (TryImplicitIntConversion): Return literals instead of
	wrappers to the literals here.

	* expression.cs (DoNumericPromotions): long literals can converted
	to ulong implicity (this is taken care of elsewhere, but I was
	missing this spot).

	* ecore.cs (Expression.Literalize): Make the return type Literal,
	to improve type checking.

	* rootcontext.cs: Lookup for nested classes in our class hierarchy.

svn path=/trunk/mcs/; revision=1678
2001-12-22 01:12:03 +00:00
Miguel de Icaza 83597f36b8 Update
svn path=/trunk/mcs/; revision=1677
2001-12-22 00:35:28 +00:00
Miguel de Icaza 8481d49f6f Update
svn path=/trunk/mcs/; revision=1676
2001-12-22 00:30:57 +00:00
Miguel de Icaza c6e6dc2a45 Flush
svn path=/trunk/mcs/; revision=1675
2001-12-22 00:28:37 +00:00
Miguel de Icaza f2a60c1776 2001-12-21 Miguel de Icaza <[email protected]>
* rawbuffer.cs: Added native Win32 implementation, avoids using
	mmap on Cygwin.  This patch is from Dan Lewis ([email protected])

svn path=/trunk/mono/; revision=1674
2001-12-21 21:03:29 +00:00
Gaurav Vaish e080b0ce07 2001-12-22 Gaurav Vaish <[email protected]>
* HttpRuntime -- updated comments

* FileChangesMonitor.cs, IISVersionInfo.cs -- updated comments

* UrlUtils.cs -- Added IsRooted function

* FilePathParser -- Another intensive class needed

* WebEqualComparer.cs, WebHashCodeProvider.cs  -- IComparer, IHashCodeProvider

svn path=/trunk/mcs/; revision=1673
2001-12-21 19:51:42 +00:00
Aaron Weber 9ef758eaa5 2001-12-21 Aaron Weber <[email protected]>
* doc/faq (A): added a linebreak that was missing and was causing
	a heading to appear badly.

svn path=/trunk/mono/; revision=1672
2001-12-21 17:43:31 +00:00
Aaron Weber 2f41a875fe 2001-12-20 Aaron Weber <[email protected]>
* doc/faq: added <a name=""> nav links, and moved all MSFT-related
	questions into a single section.

svn path=/trunk/mono/; revision=1671
2001-12-21 17:18:49 +00:00
Miguel de Icaza 3672a69604 Small beautification patch
svn path=/trunk/mono/; revision=1670
2001-12-21 16:00:10 +00:00
Paolo Molaro 6273060d6c Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <[email protected]>
* Array.cs: fix null ref in sort code.
	* UInt64.cs: add bare-bones parse.

svn path=/trunk/mcs/; revision=1669
2001-12-21 10:21:37 +00:00
Paolo Molaro 781d019170 More tests.
svn path=/trunk/mono/; revision=1668
2001-12-21 10:17:00 +00:00
Gaurav Vaish 4d23bb6aa0 2001-12-21 Gaurav Vaish <[email protected]>
* ChangeLog   -- Updated.

svn path=/trunk/mcs/; revision=1667
2001-12-21 09:18:56 +00:00
Gaurav Vaish 01172da4be 2001-12-21 Gaurav Vaish <[email protected]>
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs

  -- The ISP was down yesterday and today morning. So many files. See changelog for more details.

svn path=/trunk/mcs/; revision=1666
2001-12-21 08:42:28 +00:00
Gaurav Vaish 8babf1205b 2001-12-21 Gaurav Vaish <[email protected]>
* .cvsignore   -- ??

svn path=/trunk/mcs/; revision=1665
2001-12-21 08:26:46 +00:00
Miguel de Icaza 66d2485cef rethrow test
svn path=/trunk/mcs/; revision=1664
2001-12-21 01:27:30 +00:00
Miguel de Icaza 9d8d7064cb Add bug9
svn path=/trunk/mcs/; revision=1663
2001-12-21 00:51:53 +00:00
Miguel de Icaza e4e598f379 2001-12-20 Miguel de Icaza <[email protected]>
* literal.cs: Revert code from ravi that checked the bounds.  The
	bounds are sane by the definition of the type itself.

	* typemanager.cs: Fix implementation of ImplementsInterface.  We
	need to actually look up in our parent hierarchy for interfaces
	implemented.

svn path=/trunk/mcs/; revision=1662
2001-12-21 00:51:29 +00:00
Miguel de Icaza c3ab5e0fc7 Flush
svn path=/trunk/mcs/; revision=1661
2001-12-20 21:29:11 +00:00
Miguel de Icaza 428530724b Flush
svn path=/trunk/mcs/; revision=1660
2001-12-20 16:15:37 +00:00
Paolo Molaro e4d5990369 Update to demonstrate problem with static/instance methods.
svn path=/trunk/mono/; revision=1659
2001-12-20 15:22:08 +00:00
Paolo Molaro 960024e53e Thu Dec 20 20:11:26 CET 2001 Paolo Molaro <[email protected]>
* class.c: make the low-level routines handle the cache.

svn path=/trunk/mono/; revision=1658
2001-12-20 15:21:23 +00:00
Paolo Molaro bee1627a81 Thu Dec 20 20:09:48 CET 2001 Paolo Molaro <[email protected]>
* interp.c: fix delegate method invocation to handle both
	static and instance methods.

svn path=/trunk/mono/; revision=1657
2001-12-20 15:21:02 +00:00
Paolo Molaro 717e891450 Thu Dec 20 20:13:07 CET 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: fix create_method_pointer() to pass the arguments
	correctly and add check for overflow.

svn path=/trunk/mono/; revision=1656
2001-12-20 15:20:42 +00:00
Miguel de Icaza 1b485a304d 2001-12-20 Miguel de Icaza <[email protected]>
* delegate.cs: Compute the basename for the delegate creation,
	that should fix the delegate test case, and restore the correct
	Type Lookup semantics in rootcontext

	* rootcontext.cs: Revert Ravi's last patch.  The correct way of
	referencing a nested type with the Reflection API is using the "+"
	sign.

svn path=/trunk/mcs/; revision=1655
2001-12-20 14:07:30 +00:00
Ravi Pratap M 61abea9003 2001-12-20 Ravi Pratap <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): Add support for
	the case when the member is an EventExpr.

	* ecore.cs (EventExpr.InstanceExpression): Every event which is not
	static has an associated instance expression.

	* typemanager.cs (RegisterEvent): The usual workaround, now for events.

	(GetAddMethod, GetRemoveMethod): Workarounds, as usual.

	* class.cs (Event.Define): Register event and perform appropriate checks
	for error #111.

 	We define the Add and Remove methods even if the use provides none because
	in that case, we provide default implementations ourselves.

	Define a private field of the type of the event. This is done by the CSC compiler
	and we should be doing it too ;-)

	* typemanager.cs (delegate_combine_delegate_delegate, delegate_remove_delegate_delegate):
	More methods we use in code we generate.

	(multicast_delegate_type, delegate_type): Two separate types since the distinction
	is important.

	(InitCoreTypes): Update accordingly for the above.

	* class.cs (Event.Emit): Generate code for default accessors that we provide

	(EmitDefaultMethod): Do the job in the above.

	* delegate.cs (DefineDelegate): Use TypeManager.multicast_delegate_type in the
	appropriate place.

svn path=/trunk/mcs/; revision=1654
2001-12-20 13:52:12 +00:00
Miguel de Icaza d94b08f6a5 2001-12-20 Miguel de Icaza <[email protected]>
* cs-parser.jay: Do not require EOF token at the end.

svn path=/trunk/mcs/; revision=1653
2001-12-20 11:55:30 +00:00
Paolo Molaro a7cc8c5b3d Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <[email protected]>
* FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
	OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
	more stuff needed by the compiler.

svn path=/trunk/mcs/; revision=1652
2001-12-20 10:53:07 +00:00
Paolo Molaro c8b44b005e Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <[email protected]>
* Byte.cs: removed use of Regexes.

svn path=/trunk/mcs/; revision=1651
2001-12-20 10:36:18 +00:00
Paolo Molaro 72d2f79fa6 Thu Dec 20 15:20:35 CET 2001 Paolo Molaro <[email protected]>
* image.c: fopen (file, "rb") ("David Dawkins" <[email protected]>).

svn path=/trunk/mono/; revision=1650
2001-12-20 10:27:40 +00:00
Ravi Pratap M b5c658b32a 2001-12-20 Ravi Pratap <[email protected]>
* rootcontext.cs (LookupType): Concatenate type names with
	a '.' instead of a '+' The test suite passes again.

	* enum.cs (Enum.DefineEnum): Set RTSpecialName on the 'value__'
	field of the enumeration.

svn path=/trunk/mcs/; revision=1649
2001-12-20 07:08:56 +00:00
Miguel de Icaza a6e92a8cb3 2001-12-20 Miguel de Icaza <[email protected]>
* class.cs (Indexer.Define): Fix bug, we were setting both Get/Set
	builders even if we were missing one.

	* interface.cs, class.cs, enum.cs: When calling DefineNestedType
	pass the Basename as our class name instead of the Name.  The
	basename will be correctly composed for us.

	* parameter.cs (Paramters): Now takes a Location argument.

	* decl.cs (DeclSpace.LookupType): Removed convenience function and
	make all the code call directly LookupType in RootContext and take
	this chance to pass the Location information everywhere.

	* Everywhere: pass Location information.

2001-12-19  Miguel de Icaza  <[email protected]>

	* class.cs (Constructor.Define): Updated way of detecting the
	length of the parameters.

	(TypeContainer.DefineType): Use basename as the type name for
	nested types.

	(TypeContainer.Define): Do not recursively define types here, as
	definition is taken care in order by the RootContext.

svn path=/trunk/mcs/; revision=1648
2001-12-20 02:09:30 +00:00
Miguel de Icaza b031f30ade Flush
svn path=/trunk/mcs/; revision=1647
2001-12-20 01:45:27 +00:00
Miguel de Icaza 8e683bb35d Add new bug and new error
svn path=/trunk/mcs/; revision=1646
2001-12-20 01:28:06 +00:00
Miguel de Icaza 0471bf47e4 2001-12-19 Miguel de Icaza <[email protected]>
* tree.cs: Keep track of namespaces in a per-file basis.

	* parameter.cs (Parameter.ComputeSignature): Update to use
	DeclSpace.

	(Parameters.GetSignature): ditto.

	* interface.cs (InterfaceMethod.GetSignature): Take a DeclSpace
	instead of a TypeContainer.

	(Interface.SemanticAnalysis): Use `this' instead of our parent to
	resolve names.  Because we need to be resolve in our context, not
	our parents.

	* driver.cs: Implement response files.

	* class.cs (TypeContainer.DefineType): If we are defined, do not
	redefine ourselves.

	(Event.Emit): Emit the code for add/remove handlers.
	(Event.Define): Save the MethodBuilders for add/remove.

	* typemanager.cs: Use pair here too.

	* cs-parser.jay: Replaced use of DictionaryEntry for Pair because
	DictionaryEntry requires the first argument to be non-null.

	(enum_declaration): Compute full name for registering the
	enumeration.

	(delegate_declaration): Instead of using
	formal_parameter_list, use opt_formal_parameter_list as the list
	can be empty.

	* cs-tokenizer.cs (PropertyParsing): renamed from `properties'
	(EventParsing): New property that controls whether `add' and
	`remove' are returned as tokens or identifiers (for events);

svn path=/trunk/mcs/; revision=1645
2001-12-19 20:09:13 +00:00
Miguel de Icaza 1c448ef397 Add parsing test
svn path=/trunk/mcs/; revision=1644
2001-12-19 17:51:33 +00:00
Gaurav Vaish 25642c7ef3 2001-12-20 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs
   -- on the way. FontInfo completed

svn path=/trunk/mcs/; revision=1643
2001-12-19 17:34:12 +00:00
Ravi Pratap M d42981dba9 2001-12-19 Ravi Pratap <[email protected]>
* class.cs (Event.Define): Revamp use of EventBuilder completely. We now
	use MyEventBuilder only and let it wrap the real builder for us.

	(MyEventBuilder): Revamp constructor etc.

	Implement all operations that we perform on EventBuilder in precisely the same
	way here too.

	(FindMembers): Update to use the EventBuilder member.

	(Event.Emit): Update accordingly.

2001-12-18  Ravi Pratap  <[email protected]>

	* class.cs (MyEventBuilder.Set*): Chain to the underlying builder
	by calling the appropriate methods.

	(GetCustomAttributes): Make stubs as they cannot possibly do anything
	useful.

	(Event.Emit): Use MyEventBuilder everywhere - even to set attributes.

2001-12-17  Ravi Pratap  <[email protected]>

	* delegate.cs (Delegate.Populate): Check that the return type
	and various parameters types are indeed accessible.

	* class.cs (Constructor.Define): Same here.

	(Field.Define): Ditto.

	(Event.Define): Ditto.

	(Operator.Define): Check that the underlying Method defined itself
	correctly - so it's MethodBuilder should not be null.

	* delegate.cs (DelegateInvocation.DoResolve): Bale out if the type of the Instance
	expression happens to be null.

	* class.cs (MyEventBuilder): Workaround for SRE lameness. Implement various abstract
	members but as of now we don't seem to be able to do anything really useful with it.

	(FindMembers): Handle events separately by returning the MyEventBuilder of the event,
	not the EventBuilder.

svn path=/trunk/mcs/; revision=1642
2001-12-19 13:17:20 +00:00
Gaurav Vaish 5cdecdb151 2001-12-19 Gaurav Vaish <[email protected]>
* AUTHORS: Ha ha, having fun time.

* ListItem.cs  -- needed because of visibility issues(?)

svn path=/trunk/mcs/; revision=1641
2001-12-19 12:04:23 +00:00
Gaurav Vaish a25836b7b2 2001-12-19 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs

 --> Got over 100 erros, 50+ warning (with /nowarn:1595). Trying to remove them for first build. Completing uncompleted. Creating new ones.

svn path=/trunk/mcs/; revision=1640
2001-12-19 10:35:06 +00:00
Miguel de Icaza 34f8b5f28a remove debugging messages, fix buglette
svn path=/trunk/mcs/; revision=1639
2001-12-19 00:30:31 +00:00
Miguel de Icaza 2a0325c29f 2001-12-18 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Add support for defines.
	Add support for #if, #elif, #else, #endif

	(eval_var): evaluates a variable.
	(eval): stubbed for evaluating functions.

	* cs-parser.jay: Pass the defines information

	* driver.cs: Add --define command line option.

svn path=/trunk/mcs/; revision=1638
2001-12-19 00:23:39 +00:00
Miguel de Icaza b539ebfe54 Add test 60
svn path=/trunk/mcs/; revision=1637
2001-12-19 00:23:19 +00:00
Miguel de Icaza 6ae3f3630a 2001-12-18 Miguel de Icaza <[email protected]>
* decl.cs: Move MemberCore here.

	Make it the base class for DeclSpace.  This allows us to catch and
	report 108 and 109 for everything now.

	* class.cs (TypeContainer.Define): Extract all the members
	before populating and emit the warning 108 (new keyword required
	to override) instead of having each member implement this.

	(MemberCore.Define): New abstract method, we will be using this in
	the warning reporting engine in Populate.

svn path=/trunk/mcs/; revision=1636
2001-12-18 21:32:56 +00:00
Gaurav Vaish 67a987aeab 2001-12-19 Gaurav Vaish <[email protected]>
* UI/*.cs
* WebControls/*.cs

 -- Oops forgot to add these files in previous commit

svn path=/trunk/mcs/; revision=1635
2001-12-18 20:33:29 +00:00
Gaurav Vaish 9857157773 2001-12-19 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls/*.cs

  ---      Still working hard to make build succesfull. Lots of errors. Really, lots and lots. Not it's 6:00AM and I need to sleep :))

svn path=/trunk/mcs/; revision=1634
2001-12-18 20:29:05 +00:00
Miguel de Icaza 613137c6d5 Flush
svn path=/trunk/mono/; revision=1633
2001-12-18 18:54:17 +00:00
Miguel de Icaza 351c01c26e flush
svn path=/trunk/mono/; revision=1632
2001-12-18 18:42:30 +00:00
Miguel de Icaza da2e491a33 2001-12-18 Miguel de Icaza <[email protected]>
* class.cs (Method.Define): Allow the entry point to be in a
	specific class.

	* driver.cs: Rewrite the argument handler to clean it up a bit.

	* rootcontext.cs: Made it just an auxiliary namespace feature by
	making everything static.

	* driver.cs: Adapt code to use RootContext type name instead of
	instance variable.

	* delegate.cs: Remove RootContext argument.

	* class.cs: (Struct, TypeContainer, Class): Remove RootContext
	argument.

	* class.cs (Event.Define): The lookup can fail.


	* cs-tokenizer.cs: Begin implementation of pre-procesor.

	* expression.cs: Resolve the this instance before invoking the code.

svn path=/trunk/mcs/; revision=1631
2001-12-18 18:23:14 +00:00
Gaurav Vaish 9e4aedf6f3 2001-12-19 Gaurav Vaish <[email protected]>
* ChangeLog ---          changes for 2001-12-18

svn path=/trunk/mcs/; revision=1630
2001-12-18 16:15:40 +00:00
Gaurav Vaish 810ebf9a88 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls.cs  -- trying to make build. A nightmare!!

svn path=/trunk/mcs/; revision=1629
2001-12-18 15:34:40 +00:00
Paolo Molaro 413c75df07 Interface needed by the compiler.
svn path=/trunk/mcs/; revision=1628
2001-12-18 14:26:49 +00:00
Gaurav Vaish 7679c319e1 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web/*.cs      -- Looks like I need to take control of this now. Build is otherwise failing

svn path=/trunk/mcs/; revision=1627
2001-12-18 14:11:11 +00:00
Paolo Molaro c6ac579c5f Tue Dec 18 18:50:00 CET 2001 Paolo Molaro <[email protected]>
* class.c: fix mono_array_element_size() for objects.
	* class.h, class.c: add properties to MonoClass and load them
	at init time.
	* icall.c: check with isinst() when assigning a value to an array
	instead of requiring the classes to match exactly.
	Implemented icall for System.Type::GetType().
	Implemented icalls to get ParameterInfo, ProprtyInfo and info about
	enums. Handle bindingflags when looking for methods and fields.
	* metadata.h, metadata.c: implemented mono_metadata_properties_from_typedef()
	and mono_metadata_methods_from_property().
	* reflection.h, reflection.c: added structures for propreties,
	parameters and enums. Implemented mono_property_get_object() and
	mono_param_get_objects().


Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <[email protected]>

	* main.c: use mono_metadata_methods_from_property() and
	mono_metadata_properties_from_typedef() from metadata instead of
	custom code.


Tue Dec 18 18:48:50 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: make segv_handler static, handle runtime methods in stack
	trace.

svn path=/trunk/mono/; revision=1626
2001-12-18 14:06:49 +00:00
Paolo Molaro 371eeef7c0 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <[email protected]>
* MonoMethod.cs: implemented GetParameters().
	* MonoProperty.cs: PropertyInfo implementation.
	* ParameterInfo.cs: implemented.
	* PropertyInfo.cs: fixes.


Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <[email protected]>

	* Enum.cs: implemented GetValues(), GetNames(), GetName(),
	IsDefined(), GetUnderlyingType().
	* String.cs: fix one instance of Compare().
	* Type.cs: implemented GetProperties(), GetProperty().

svn path=/trunk/mcs/; revision=1625
2001-12-18 14:05:35 +00:00
Gaurav Vaish 5a7aa77e7e 2001-12-18 Gaurav Vaish <[email protected]>
* HttpRuntime.cs, DesignTimeParseData.cs -- Initial implementation. Can now build without any problem

svn path=/trunk/mcs/; revision=1624
2001-12-18 13:05:43 +00:00
Gaurav Vaish 735be5f733 2001-12-18 Gaurav Vaish <[email protected]>
::   Looks like I can build now... Yes!

svn path=/trunk/mcs/; revision=1623
2001-12-18 12:55:30 +00:00
Dick Porter a0ae1ea3e2 2001-12-18 Dick Porter <[email protected]>
* file-io.c: Use mono_string_to_utf16() instead of
	mono_string_chars()

	* object.c: Added mono_string_to_utf16(), which copies the non
	NULL-terminated MonoString into a new double-null-terminated
	buffer.

svn path=/trunk/mono/; revision=1622
2001-12-18 11:25:56 +00:00
Gaurav Vaish c6f16b7603 2001-12-18 Gaurav Vaish <[email protected]>
* HttpRuntime.cs      --- Initial Implementation. Only those that caused build failing for System.Web.UI.WebControls

svn path=/trunk/mcs/; revision=1621
2001-12-18 11:08:22 +00:00
Gaurav Vaish 8e7184eb07 2001-12-18 Gaurav Vaish <[email protected]>
* DayRenderEventArgs.cs   --- Done for DayRenderEventHandler in Calendar.cs

svn path=/trunk/mcs/; revision=1620
2001-12-18 09:30:40 +00:00
Dietmar Maurer 01fb3e5f74 new abstract classes
svn path=/trunk/mcs/; revision=1619
2001-12-18 09:15:00 +00:00
Paolo Molaro 6b79777d40 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <[email protected]>
* *.cs: fixed some of the compilation issues: missing
	using directives, typos.

svn path=/trunk/mcs/; revision=1618
2001-12-18 08:25:22 +00:00
Miguel de Icaza c5111b2ceb 2001-12-18 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Begin implementation of pre-procesor.

	* expression.cs: Resolve the this instance before invoking the code.

svn path=/trunk/mcs/; revision=1617
2001-12-18 04:04:55 +00:00
Miguel de Icaza c09ef08436 Make test-51 part of the default tests
svn path=/trunk/mcs/; revision=1616
2001-12-18 02:27:47 +00:00
Miguel de Icaza f3ba3ed51e Add test-56 and improve description of test
svn path=/trunk/mcs/; revision=1615
2001-12-18 00:22:00 +00:00
Miguel de Icaza 2de2ebe172 Small fix
svn path=/trunk/mcs/; revision=1614
2001-12-18 00:19:48 +00:00
Miguel de Icaza 5dc1e96389 2001-12-17 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a production in element_access that allows
	the thing to become a "type" reference.  This way we can parse
	things like "(string [])" as a type.

	Note that this still does not handle the more complex rules of
	casts.

svn path=/trunk/mcs/; revision=1613
2001-12-17 20:21:10 +00:00
Gaurav Vaish d6cce0b82a 200-112-18 Gaurav Vaish <[email protected]>
* BaseDataList    --- Another class completed

svn path=/trunk/mcs/; revision=1612
2001-12-17 18:34:15 +00:00
Aaron Weber 2e9a549a33 001-12-17 Aaron Weber <[email protected]>
* doc/faq (Q): Question-by-question, line-by-line revision.

svn path=/trunk/mono/; revision=1611
2001-12-17 18:12:43 +00:00
Gaurav Vaish 4380b1b625 2001-12-17 Gaurav Vaish <[email protected]>
* TODO:  Properly made and added

svn path=/trunk/mcs/; revision=1610
2001-12-17 15:03:05 +00:00
Gaurav Vaish b1f21c4ee2 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils.cs    -- Added IsRelativeUrl(...)
* AdRotator.cs   -- Completed

svn path=/trunk/mcs/; revision=1609
2001-12-17 15:02:06 +00:00
Miguel de Icaza 78710e506f 2001-12-16 Miguel de Icaza <[email protected]>
* x86.brg, jit.c: Split up the nodes that we used to share on
	CONV_OVF.  They were sharing the nodes because they are the same
	on 32-bit machines, but on 64-bit machines you need different
	code for them.

svn path=/trunk/mono/; revision=1608
2001-12-17 14:52:20 +00:00
Dietmar Maurer 6c34056d2b 2001-12-17 Dietmar Maurer <[email protected]>
* x86.brg: removed prerequisite that (tree->left->reg1 <
	tree->right->reg1) to make register allocation easier.

svn path=/trunk/mono/; revision=1607
2001-12-17 13:02:43 +00:00
Dietmar Maurer 43dd8fa3b2 (_wapi_unicode_to_utf8): only swap bytes on LE systems, remove bug
from previous commit.

svn path=/trunk/mono/; revision=1606
2001-12-17 12:50:15 +00:00
Gaurav Vaish 25fe8e6452 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils    --- Implemented functions Combine and Reduce. Huh! What a relief
* ChangeLog   --- Informed others

svn path=/trunk/mcs/; revision=1605
2001-12-17 12:26:27 +00:00
Dietmar Maurer d989eddb44 2001-12-17 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_System_DateTime_GetNow): added EPOCH adjustment

svn path=/trunk/mono/; revision=1604
2001-12-17 10:43:07 +00:00
Dietmar Maurer 8b89461702 2001-12-16 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_handle_exception): new code to handle
	exceptions inside unmanaged code.

	* x86.brg: impl. SAVE_LMF, RESTORE_LMF, pass implizit valuetype
	address as first argument.

	* x86.brg: pass exceptions on the stack

	* jit.h (ISSTRUCT): new macro to check for real value types
	(return false for enum types).

	* unicode.c (_wapi_unicode_to_utf8): byteswap UTF16 strings before
	passing them to iconv

	* file-io.c: raise exceptions if handle is invalid.

svn path=/trunk/mono/; revision=1603
2001-12-17 06:50:02 +00:00
Miguel de Icaza 339c9e4864 2001-12-17 Miguel de Icaza <[email protected]>
* delegate.cs (Delegate.Populate): Register the delegage constructor builder here.

	* ecore.cs: (CopyNewMethods): new utility function used to
	assemble the list of methods from running FindMembers.

	(MemberLookup): Rework FindMembers so that

svn path=/trunk/mcs/; revision=1602
2001-12-17 05:08:30 +00:00
Gaurav Vaish 4626ddbcb8 2001-12-17 Gaurav Vaish <[email protected]>
* PropertyConverter   -- Made compilable. Minor errors corrected
* Utils               -- Minor error

svn path=/trunk/mcs/; revision=1601
2001-12-17 03:48:03 +00:00
Gaurav Vaish d4bc986e75 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils   --- Removed ugly Console.WriteLine(...) used for debugging.

svn path=/trunk/mcs/; revision=1600
2001-12-17 03:20:09 +00:00
Gaurav Vaish 12bf315721 2001-12-17 Gaurav Vaish <[email protected]>
* BaseCompareValidator           ---  Completed. Finally!
* ChangeLog                      ---  Informed.

svn path=/trunk/mcs/; revision=1599
2001-12-17 03:13:19 +00:00
Miguel de Icaza a6d1f04409 2001-12-16 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer): Remove Delegates who fail to be
	defined.

	* delegate.cs (Populate): Verify that we dont get null return
	values.   TODO: Check for AsAccessible.

	* cs-parser.jay: Use basename to emit error 574 (destructor should
	have the same name as container class), not the full name.

svn path=/trunk/mcs/; revision=1598
2001-12-16 19:27:42 +00:00
Miguel de Icaza e1da975cc5 Add test for integer suffixes
svn path=/trunk/mcs/; revision=1597
2001-12-16 19:12:16 +00:00
Gaurav Vaish c94c62d896 2001-12-17 Gaurav Vaish <[email protected]>
* class.xml        ---- This week's update from my side.

svn path=/trunk/mono/; revision=1596
2001-12-16 18:42:42 +00:00
Gaurav Vaish b0cb454c4c 2001-12-17 Gaurav Vaish <[email protected]>
* DataList, IRepeatInfoUser, RepeaterCommandEventArgs, ValidationCompareOperator               ---- Corrected SILLY mistakes

* BaseCompareValidator    --- Almost done. Just left with AddAttributesToRender(...)

svn path=/trunk/mcs/; revision=1595
2001-12-16 18:26:37 +00:00
Gaurav Vaish 785acfc3e8 2001-12-17 Gaurav Vaish <[email protected]>
* ChangeLog    --- Informed about generated classes.

svn path=/trunk/mcs/; revision=1594
2001-12-16 18:20:32 +00:00
Gaurav Vaish ef8bc3930f 2001-12-17 Gaurav Vaish <[email protected]>
* PropertyConverter   -- I needed it. Completed
* Utils               -- Also needed this. Initial implementation

svn path=/trunk/mcs/; revision=1593
2001-12-16 18:17:35 +00:00
Miguel de Icaza 15b98547ac 2001-12-16 Miguel de Icaza <[email protected]>
* DataSourceHelper.cs, UrlUtils.cs: Set the correct namespace.

svn path=/trunk/mcs/; revision=1592
2001-12-16 16:35:23 +00:00
Gaurav Vaish 65596a386e 2001-12-17 Gaurav Vaish <[email protected]>
* RepeaterItem  --- Initial DUMMY implementation

* AdRotator - Minor

* BaseCompareValidator -- Large part done
* ListControl -- Minor error

* RepeaterCommandEventArgs -- Modified

svn path=/trunk/mcs/; revision=1591
2001-12-16 15:28:23 +00:00
Gaurav Vaish cf7861fac4 2001-12-16 Gaurav Vaish <[email protected]>
* CommandEventHandler, DataGridCommandEventHandler, DataGridItemEventHandler

          --- Added some delegates.

svn path=/trunk/mcs/; revision=1590
2001-12-16 09:44:18 +00:00
Miguel de Icaza 75b15060b9 2001-12-15 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.DoResolve): We need to do the
	argument resolution *always*.

	* decl.cs: Make this hold the namespace.  Hold the root context as
	well.
	(LookupType): Move here.

	* enum.cs, class.cs, interface.cs: Adapt to new hierarchy.

	* location.cs (Row, Name): Fixed the code, it was always returning
	references to the first file.

	* interface.cs: Register properties defined through interfaces.

	* driver.cs: Add support for globbing on the command line

	* class.cs (Field): Make it derive from MemberCore as well.
	(Event): ditto.

svn path=/trunk/mcs/; revision=1589
2001-12-16 00:33:35 +00:00
Miguel de Icaza a84ad4c896 Flush
svn path=/trunk/mcs/; revision=1588
2001-12-16 00:28:14 +00:00
Miguel de Icaza aa505e3ab6 update tests
svn path=/trunk/mcs/; revision=1587
2001-12-16 00:28:03 +00:00
Ravi Pratap M f8f8910083 2001-12-15 Ravi Pratap <[email protected]>
* class.cs (Event::Define): Check that the type of the event is a delegate
	type else flag error #66.

	Also, re-use TypeContainer.MethodModifiersValid here too as the rules are the
	same.

	* attribute.cs (DefinePInvokeMethod): Handle named arguments and process
	values of EntryPoint, CharSet etc etc.

	Pass in the values to TypeBuilder.DefinePInvokeMethod; determine Type etc neatly.

	* class.cs (FindMembers): If a method is in transit, its MethodBuilder will
	be null and we should ignore this. I am not sure if this is really clean. Apparently,
	there's no way of avoiding hitting this because the call is coming from SimpleName.DoResolve,
	which needs this to do its work.

	* ../errors/cs0066.cs : Add.

svn path=/trunk/mcs/; revision=1586
2001-12-16 00:27:44 +00:00
Ravi Pratap M 3d91144ae3 Add as we now catch this error.
svn path=/trunk/mcs/; revision=1585
2001-12-16 00:14:23 +00:00
Ravi Pratap M 3fa3e1f909 2001-12-15 Ravi Pratap <[email protected]>
* makefile : Include test-52.cs in the suite, it works fine!

	(NO_PASS): It's test-51 which doesn't seem to pass.

	* test-50.cs : Augment some more to set named arguments on
	the DllImport attribute.

	* test-57.cs : Add. This tests support for Events and does not
	pass yet.

svn path=/trunk/mcs/; revision=1584
2001-12-16 00:13:28 +00:00
Mike Kestner 39b93c7858 Some class status updates.
svn path=/trunk/mono/; revision=1583
2001-12-15 19:59:08 +00:00
Mike Kestner 75f9d29d89 2001-12-15 Mike Kestner <[email protected]>
* Rectangle.cs : Add a doc comment.
	* RectangleF.cs : New struct implementation.

svn path=/trunk/mcs/; revision=1582
2001-12-15 19:54:11 +00:00
Mike Kestner 6f66b71a03 2001-12-15 Mike Kestner <[email protected]>
Updated <c> statements
	* Rectangle.cs : New struct implementation.

svn path=/trunk/mcs/; revision=1581
2001-12-15 18:40:04 +00:00
Gaurav Vaish 3fb669e97d 2001-12-15 Gaurav Vaish <[email protected]>
* DataListCommandEventArgs  -- Completed
* CompareValidator          -- Partial Implemetation

* ChangeLog                 -- Updated

svn path=/trunk/mcs/; revision=1580
2001-12-15 13:52:11 +00:00
Gaurav Vaish 6ea7425d71 2001-12-15 Gaurav Vaish <[email protected]>
* AdCreatedEventArgs.cs   - Comments

* BaseCompareValidator.cs - Some undocumented methods
* CheckBoxList.cs         - Comments
* CommandEventArgs, DataGridCommandEventArgs, RepeaterCommandEventArgs -- Completed


* ChangeLog - Updated

svn path=/trunk/mcs/; revision=1579
2001-12-15 13:49:31 +00:00
Miguel de Icaza 8369df8451 More refactoring work
svn path=/trunk/mcs/; revision=1578
2001-12-15 04:32:39 +00:00
Miguel de Icaza 6855196d82 improve slightly test-31
svn path=/trunk/mcs/; revision=1577
2001-12-14 21:05:53 +00:00
Miguel de Icaza c226a661e2 2001-12-14 Miguel de Icaza <[email protected]>
* typemanager.cs: (GetPropertyGetter, GetPropertyGetter): New
	helper functions.

	* class.cs: (MethodSignature.MethodSignature): Removed hack that
	clears out the parameters field.
	(MemberSignatureCompare): Cleanup

	(MemberCore): New base class used to share code between MethodCore
	and Property.

	(RegisterRequiredImplementations) BindingFlags.Public requires
	either BindingFlags.Instace or Static.  Use instance here.

	* parameter.cs (GetParameterInfo): Return an empty array instead
	of null on error.

svn path=/trunk/mcs/; revision=1576
2001-12-14 21:05:22 +00:00
Miguel de Icaza ddc3492448 Flush changes from work, minimal
svn path=/trunk/mcs/; revision=1575
2001-12-14 14:25:07 +00:00
Ravi Pratap M ce7cc5ef8a ArrayCreation::MakeByteBlob): Handle floats and doubles.
* makefile: Pass in /unsafe.

svn path=/trunk/mcs/; revision=1574
2001-12-14 13:59:46 +00:00
Ravi Pratap M a850c623e2 * test-45.cs : Update for float and double initialization.
svn path=/trunk/mcs/; revision=1573
2001-12-14 13:52:49 +00:00
Miguel de Icaza dccd7f6565 2001-12-14 Miguel de Icaza <[email protected]>
* parameter.cs (GetParameterInfo): return a zero-sized array.

	* class.cs (TypeContainer.MethodModifiersValid): Move all the
	method modifier validation to the typecontainer so we can reuse
	this on properties.

	(MethodCore.ParameterTypes): return an empty sized array of types.

	(Property.Define): Test property modifier validity.

	Add tests for sealed/override too.

	(Method.Emit): abstract or extern methods have no bodies.

svn path=/trunk/mcs/; revision=1572
2001-12-14 13:19:55 +00:00
Ravi Pratap M 737cdf452a avi Pratap <[email protected]>
* class.cs (Method.IsPInvoke): Get rid of it as it is an expensive
	thing.

	(Method::Define, ::Emit): Modify accordingly.

	* expression.cs (Invocation::OverloadResolve): Handle error # 121.

svn path=/trunk/mcs/; revision=1571
2001-12-14 12:36:18 +00:00
Miguel de Icaza 8fb7e2d7d5 2001-12-13 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.Define): Correctly define explicit
	method implementations (they require the full interface name plus
	the method name).

	* typemanager.cs: Deply the PtrHashtable here and stop using the
	lame keys.  Things work so much better.

svn path=/trunk/mcs/; revision=1570
2001-12-13 23:37:01 +00:00
Miguel de Icaza 3729931a23 3 more tests pass now
svn path=/trunk/mcs/; revision=1569
2001-12-13 23:32:13 +00:00
Miguel de Icaza 83582dc377 2001-12-13 Miguel de Icaza <[email protected]>
* support.cs (PtrHashtable): A hashtable that avoid comparing with
	the object stupid Equals method (because, that like fails all over
	the place).  We still do not use it.

	* class.cs (TypeContainer.SetRequiredInterface,
	TypeContainer.RequireMethods): Killed these two routines and moved
	all the functionality to RegisterRequiredImplementations.

	(TypeContainer.RegisterRequiredImplementations): This routine now
	registers all the implementations required in an array for the
	interfaces and abstract methods.  We use an array of structures
	which can be computed ahead of time to reduce memory usage and we
	also assume that lookups are cheap as most classes will not
	implement too many interfaces.

	We also avoid creating too many MethodSignatures.

	(TypeContainer.IsInterfaceMethod): Update and optionally does not
	clear the "pending" bit if we find that there are problems with
	the declaration.

	(TypeContainer.VerifyPendingMethods): Update to report errors of
	methods that look like implementations but are not.

	(TypeContainer.Define): Add support for explicit interface method
	implementation.

svn path=/trunk/mcs/; revision=1568
2001-12-13 23:10:24 +00:00
Paolo Molaro 5a50d5ab47 Thu Dec 13 20:27:08 CET 2001 Paolo Molaro <[email protected]>
* assembly.c: yet another check for mscorlib.
	* class.c, class.h: load nesting info for classes.
	* icall.c: many new functions to support the Reflection classes.
	* metadata.c, metadata.h: mono_metadata_nested_in_typedef() added.
	* reflection.h, reflection.c: mono_image_create_token(),
	mono_assembly_get_object(), mono_type_get_object(),
	mono_method_get_object(), mono_field_get_object(): methods to return
	objects that parallel the C representation of assemblies, types,
	methods, fields.


Thu Dec 13 20:24:28 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: correctly handle exceptions generated in C code.
	Install an handler for SIGSEGV. Bare-bones profiler and hook for the
	verifier.

svn path=/trunk/mono/; revision=1567
2001-12-13 15:57:58 +00:00
Paolo Molaro 6236225a86 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <[email protected]>
* Array.cs: implement CopyTo ().
	* Char.cs: implement ToString ().
	* Exception.cs: bugfix.
	* Int32.cs: bare-bones Parse ().
	* MonoType.cs: query the needed info with an internalcall.
	* String.cs: speedups, bugfixes, reduced copies.
	* Type.cs: added missing fields. Implemented many of the Is*
	properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
	GetFields(), FindMembers(), ToString().

Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implemented AddRange(), CopyTo().


Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <[email protected]>

	* FieldInfo.cs: implemented some Is* propeties.
	* MethodBase.cs: fixed attribute accessors.
	* MonoField.cs: runtime object to represent a field.
	* MonoMethod.cs: runtime object to represent a method.
	* AssemblyBuilder.cs: GetToken() methods to get tokens for
	strings, fields, methods...
	* ILGenerator.cs: handle tokens for methods.

Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <[email protected]>

	* DllImportAttribute.cs: added.
	* MethodImplOptions.cs: removed: this is already in CompilerServices.

svn path=/trunk/mcs/; revision=1566
2001-12-13 15:57:22 +00:00
Paolo Molaro e1acbe9636 Thu Dec 13 15:56:53 CET 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: x86_mov_memindex_imm() added.

svn path=/trunk/mono/; revision=1565
2001-12-13 11:03:21 +00:00
Miguel de Icaza 462587a1b5 2001-12-12 Miguel de Icaza <[email protected]>
* typemanager.cs: Keep track of the parameters here instead of
	being a feature of the TypeContainer.

	* class.cs: Drop the registration of parameters here, as
	InterfaceMethods are also interface declarations.

	* delegate.cs: Register methods with the TypeManager not only with
	the TypeContainer.  This code was buggy.

	* interface.cs: Full registation here.

svn path=/trunk/mcs/; revision=1564
2001-12-12 23:53:12 +00:00
Miguel de Icaza 77ab22144d More bugs
svn path=/trunk/mcs/; revision=1563
2001-12-12 23:21:15 +00:00
Miguel de Icaza 1311821095 Add error cs0121
svn path=/trunk/mcs/; revision=1562
2001-12-12 23:20:55 +00:00
Dick Porter 5caa0bd00f Fixed 32 bit -> 64 bit arithmetic problem found by Paolo
svn path=/trunk/mono/; revision=1561
2001-12-12 13:50:07 +00:00
Miguel de Icaza 1fe21e7cee Small bug fix introduced in previous commit
svn path=/trunk/mcs/; revision=1560
2001-12-12 00:53:25 +00:00
Miguel de Icaza 666ddd999b Flush going home, nothing important
svn path=/trunk/mcs/; revision=1558
2001-12-11 22:20:20 +00:00
Dick Porter d5c948c036 2001-12-11 Dick Porter <[email protected]>
* Linux.cs: IO implemented with file handles with internal calls,
	rather than casting file descriptors for C library p/invokes.
	Implemented Get/Set Creation/LastAccess/LastWrite TimeFile
	functions.

2001-12-11  Dick Porter  <[email protected]>

	* FileStream.cs: Use handles rather than casting file descriptors.
	Added Handle property.

2001-12-11  Dick Porter  <[email protected]>

	* DateTime.cs: Implemented FromFileTime() and ToFileTime()

	* Console.cs: Use handles rather than casting file descriptors

2001-12-11  Dick Porter  <[email protected]>

	* WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
	internal calls.

svn path=/trunk/mcs/; revision=1557
2001-12-11 16:59:43 +00:00
Dick Porter a942f681db 2001-12-11 Dick Porter <[email protected]>
* icall.c:
	* file-io.c: Internal calls for file IO.

2001-12-11  Dick Porter  <[email protected]>

	* io.c: Implement DeleteFile(), GetFileTime(), SetFileTime() and
	FileTimeToSystemTime().

	* unicode.c (unicode_len): Nasty way of finding length of unicode
	string with embedded NULLs (counts until two NULLs together).

svn path=/trunk/mono/; revision=1556
2001-12-11 16:31:34 +00:00
Duncan Mak 45f88374bc 2001-12-11 Duncan Mak <[email protected]>
* ChangeLog: Added "System.Resources" to the exclude list.

svn path=/trunk/mcs/; revision=1555
2001-12-11 15:05:37 +00:00
Duncan Mak 4277468058 2001-12-11 Duncan Mak <[email protected]>
* Checked in to CVS.

svn path=/trunk/mcs/; revision=1554
2001-12-11 15:04:20 +00:00
Dietmar Maurer 7aa62f1087 etmar Maurer <[email protected]>
* x86.brg: use position indepentent code if possible.

	* x86.brg (EMIT_COND_EXCEPTION): new macro.

	* emit-x86.c (mono_emit_cfg): impl. variable code buffer size

	* jit.c (mono_analyze_flow): use g_malloc0 o allocate large bcinfo
	blocks.
	(mono_analyze_flow): use g_malloc0 o allocate large bblocks array.

svn path=/trunk/mono/; revision=1553
2001-12-11 11:16:20 +00:00
Miguel de Icaza f60217decb Add bug
svn path=/trunk/mcs/; revision=1552
2001-12-11 00:17:09 +00:00
Dietmar Maurer 467708b7f3 added a new test that fails with mint
svn path=/trunk/mono/; revision=1551
2001-12-10 11:57:47 +00:00
Dietmar Maurer 882366af0d 2001-12-10 Dietmar Maurer <[email protected]>
* x86.brg (stmt): added opt. for STIND_R4/STIND_R8

svn path=/trunk/mono/; revision=1550
2001-12-10 09:11:55 +00:00
Miguel de Icaza 5ba31c7e3a More errors that we catch
svn path=/trunk/mcs/; revision=1549
2001-12-10 01:25:29 +00:00
Miguel de Icaza a22d7c9dfb 2001-12-09 Miguel de Icaza <[email protected]>
* statement.cs (Return.Emit): Report error 157 if the user
	attempts to return from a finally block.

	(Return.Emit): Instead of emitting a return, jump to the end of
	the function.

	* codegen.cs (EmitContext): ReturnValue, ReturnLabel: new
	LocalBuilder to store the result of the function.  ReturnLabel is
	the target where we jump.

svn path=/trunk/mcs/; revision=1548
2001-12-10 01:24:16 +00:00
Radek Doulik c8f0f220a9 2001-12-09 Radek Doulik <[email protected]>
* makefile (TEST_SOURCES): added test-55 for using alias directive

svn path=/trunk/mcs/; revision=1547
2001-12-09 15:29:27 +00:00
Radek Doulik 6a10ea4531 2001-12-09 Radek Doulik <[email protected]>
* cs-parser.jay: remember alias in current namespace

	* ecore.cs (SimpleName::DoResolve): use aliases for types or
	namespaces

	* class.cs (LookupAlias): lookup alias in my_namespace

	* namespace.cs (UsingAlias): add alias, namespace_or_type pair to
	aliases hashtable
	(LookupAlias): lookup alias in this and if needed in parent
	namespaces

svn path=/trunk/mcs/; revision=1546
2001-12-09 15:28:19 +00:00
Miguel de Icaza 96c5fedf11 Add more tests, update test-53
svn path=/trunk/mcs/; revision=1545
2001-12-08 22:48:43 +00:00
Miguel de Icaza 0b0e2fa27c 2001-12-08 Miguel de Icaza <[email protected]>
* support.cs:

	* rootcontext.cs: (ModuleBuilder) Made static, first step into
	making things static.  I need this to avoid passing the
	TypeContainer when calling ParameterType.

	* support.cs (InternalParameters.ParameterType): Remove ugly hack
	that did string manipulation to compute the type and then call
	GetType.  Use Parameter.ParameterType instead.

	* cs-tokenizer.cs: Consume the suffix for floating values.

	* expression.cs (ParameterReference): figure out whether this is a
	reference parameter or not.  Kill an extra variable by computing
	the arg_idx during emission.

	* parameter.cs (Parameters.GetParameterInfo): New overloaded
	function that returns whether a parameter is an out/ref value or not.

	(Parameter.ParameterType): The type of the parameter (base,
	without ref/out applied).

	(Parameter.Resolve): Perform resolution here.
	(Parameter.ExternalType): The full type (with ref/out applied).

	* statement.cs (Using.Emit, Using.EmitExpression): Implement
	support for expressions on the using statement.

2001-12-07  Miguel de Icaza  <[email protected]>

	* statement.cs (Using.EmitLocalVariableDecls): Split the
	localvariable handling of the using statement.

	(Block.EmitMeta): Keep track of variable count across blocks.  We
	were reusing slots on separate branches of blocks.

	(Try.Emit): Emit the general code block, we were not emitting it.

	Check the type of the declaration to be an IDisposable or
	something that can be implicity converted to it.

	Emit conversions if required.

	* ecore.cs (EmptyExpression): New utility class.
	(Expression.ImplicitConversionExists): New utility function.

svn path=/trunk/mcs/; revision=1544
2001-12-08 22:45:22 +00:00
Sergey Chaban 69993dfb8f * Ignoring <PrivateImplementationDetails>;
* Checking for more attributes when comparing types;

svn path=/trunk/mcs/; revision=1543
2001-12-08 15:21:31 +00:00
Dietmar Maurer 65f223f0f5 use x86_inc/x86_dec, bug fix in getNow()
svn path=/trunk/mono/; revision=1542
2001-12-08 05:06:06 +00:00
Dietmar Maurer e47167267a *** empty log message ***
svn path=/trunk/mono/; revision=1540
2001-12-07 13:01:36 +00:00
Dietmar Maurer adfb49408e etmar Maurer <[email protected]>
* jit.c (mono_allocate_intvar): bug fix.

	* emit-x86.c (get_unbox_trampoline): impl.

	* jit.c (mono_analyze_stack): impl STOBJ, LEAVE

	* x86.brg: raise more exceptions.

svn path=/trunk/mono/; revision=1539
2001-12-07 12:09:30 +00:00
Nick Drochak 9e8d3ee5bb 2001-12-08 Nick Drochak <[email protected]>
* Byte.cs (Parse): Start implementation. Parse(string) works, but
	now we need to handle other formats

svn path=/trunk/mcs/; revision=1538
2001-12-07 12:05:28 +00:00
Nick Drochak 762b6d3a7c 2001-12-08 Nick Drochak <[email protected]>
* ByteTest.cs: Added messages to Assert()'s to find out which one was failing.

svn path=/trunk/mcs/; revision=1537
2001-12-07 11:51:37 +00:00
Nick Drochak 59e880f69b 2001-12-07 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* System.XML.build: Add dependancy on linux target to test target.
	Need to have the dll before we can test it, right?  Plus it encourages
	others to try 'make test'.

svn path=/trunk/mcs/; revision=1536
2001-12-07 10:53:20 +00:00
Nick Drochak 1807f5ce13 2001-12-07 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* System.build: Add dependancy on linux target to test target. Need to
	have the dll before we can test it, right?  Plus it encourages others
	to try 'make test'.

svn path=/trunk/mcs/; revision=1535
2001-12-07 10:50:26 +00:00
Nick Drochak 07438478f1 2001-12-05 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* corlib.build: Add dependancy on linux target to test target. Need to have the dll before we can test it, right?  Plus it encourages others to try 'make test'.

svn path=/trunk/mcs/; revision=1534
2001-12-07 10:42:03 +00:00
Miguel de Icaza 5d7a32dd97 Extra tests
svn path=/trunk/mcs/; revision=1533
2001-12-07 04:56:12 +00:00
Miguel de Icaza a835fd65bb 2001-12-06 Miguel de Icaza <[email protected]>
* statement.cs (Using): Implement.

	* expression.cs (LocalVariableReference): Support read only variables.

	* statement.cs: Remove the explicit emit for the Leave opcode.
	(VariableInfo): Add a readonly field.

svn path=/trunk/mcs/; revision=1532
2001-12-07 04:52:18 +00:00
Miguel de Icaza d8c00f792a 2001-12-06 Miguel de Icaza <[email protected]>
* statement.cs: Remove the explicit emit for the Leave opcode.

svn path=/trunk/mcs/; revision=1531
2001-12-06 14:06:50 +00:00
Paolo Molaro 088a2311f2 Thu Dec 6 16:21:30 CET 2001 Paolo Molaro <[email protected]>
* tabledefs.h: missing FileAttributes.
	* verify.h, verify.c: use is_valid_string () to simplify and check for
	valid strings more correctly. Fix warnings and speeling.
	Check more tables: Filed, File, ModuleRef, StandAloneSig.
	Check code: branches, maxstack, method calls.

svn path=/trunk/mono/; revision=1530
2001-12-06 11:32:32 +00:00
Dietmar Maurer 9d5692b50a 2001-12-06 Dietmar Maurer <[email protected]>
* makefile: added new target test-jit

	* Double.cs: added the parse method from Bob Smith

	* DateTime.cs: added an icall to GetNow()

svn path=/trunk/mcs/; revision=1529
2001-12-06 05:00:39 +00:00
Miguel de Icaza efa05b473a 2001-12-06 Miguel de Icaza <[email protected]>
* jit.c (mono_analyze_stack), x86.brg: Implement CONV.OVF.I1,
	CONV.OVF.I4, CONV.OVF.I1.UN, CONV.OVF.U1, CONV.OVF.U1.UN,
	CONV.OVF.I2.UN, CONV.OVF.I8.UN

svn path=/trunk/mono/; revision=1528
2001-12-06 04:02:50 +00:00
Miguel de Icaza 125f9844ac 2001-12-05 Miguel de Icaza <[email protected]>
* ecore.cs (ConvCast): new class used to encapsulate the various
	explicit integer conversions that works in both checked and
	unchecked contexts.

	(Expression.ConvertNumericExplicit): Use new ConvCast class to
	properly generate the overflow opcodes.

2001-12-04  Miguel de Icaza  <[email protected]>

	* statement.cs: The correct type for the EmptyExpression is the

svn path=/trunk/mcs/; revision=1527
2001-12-05 13:11:27 +00:00
Ravi Pratap M 1f4766e7da 2001-12-04 Ravi Pratap <[email protected]>
* class.cs (Method::Define): Handle PInvoke methods specially
	by using DefinePInvokeMethod instead of the usual one.

	* attribute.cs (DefinePInvokeMethod): Implement as this is what is called
	above to do the task of extracting information and defining the method.

svn path=/trunk/mcs/; revision=1525
2001-12-04 17:33:03 +00:00
Ravi Pratap M 341b4aee9d 2001-12-04 Ravi Pratap <[email protected]>
* makefile : Update to include test 50 as it now passes.

svn path=/trunk/mcs/; revision=1524
2001-12-04 17:31:15 +00:00
Dietmar Maurer 730d592d39 2001-12-04 Dietmar Maurer <[email protected]>
* x86.brg: impl. UNBOX, NEWSTRUCT, removed VTYPE, bug fixes,
	removed the locaddr nonterminal, reimplemented value types

	* jit.c: reimplemented value type support, better support for
	enumeration types.

	* object.c (mono_object_allocate): removed static, so that the jit
	can allocate value types.

	* icall.c (ves_icall_System_DateTime_GetNow): impl.

svn path=/trunk/mono/; revision=1523
2001-12-04 15:59:27 +00:00
Ravi Pratap M cbf8773b48 2001-12-04 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::EmitStaticInitializers): Get rid
	of the condition for string type.

	(Emit): Move that here.

	(ArrayCreation::CheckIndices): Keep string literals in their expression
	form.

	(EmitDynamicInitializers): Handle strings appropriately.

svn path=/trunk/mcs/; revision=1522
2001-12-04 14:52:10 +00:00
Ravi Pratap M 45f721076e 2001-12-04 Ravi Pratap <[email protected]>
* test-45.cs : Update for string initialization tests.

svn path=/trunk/mcs/; revision=1521
2001-12-04 14:43:21 +00:00
Miguel de Icaza b2a7604a92 Fix mail server url
svn path=/trunk/mono/; revision=1520
2001-12-04 14:31:59 +00:00
Miguel de Icaza 8b64444135 2001-12-03 Miguel de Icaza <[email protected]>
* x86.brg, jit.c: Implement conv.ovf.u4, conv.ovf.u2, conv.ovf.i2,
	conv.ovf.u8

svn path=/trunk/mono/; revision=1519
2001-12-04 07:31:31 +00:00
Miguel de Icaza 9134ba5446 2001-12-04 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext): Replace multiple variables with a
	single pointer to the current Switch statement.

	* statement.cs (GotoDefault, Switch): Adjust to cleaned up
	EmitContext.

svn path=/trunk/mcs/; revision=1518
2001-12-04 02:32:08 +00:00
Miguel de Icaza fda35b19ad New error test files
svn path=/trunk/mcs/; revision=1517
2001-12-04 00:55:13 +00:00
Miguel de Icaza 9b240f5e20 Add new tests
svn path=/trunk/mcs/; revision=1516
2001-12-04 00:54:29 +00:00
Miguel de Icaza c736b252ac 2001-12-03 Miguel de Icaza <[email protected]>
* statement.cs

	* statement.cs (GotoDefault), cs-parser.jay: Implement `goto
	default'.

	(Foreach.Emit): Foreach on arrays was not setting
	up the loop variables (for break/continue).

	(GotoCase): Semi-implented.

svn path=/trunk/mcs/; revision=1515
2001-12-04 00:28:32 +00:00
Ravi Pratap M 8744bcae99 2001-12-03 Ravi Pratap <[email protected]>
* attribute.cs (CheckAttribute): Handle system attributes by using
	Attribute.GetAttributes to examine information we need.

	(GetValidPlaces): Same here.

	* class.cs (Method::Define): Catch invalid use of extern and abstract together.

	* typemanager.cs (dllimport_type): Core type for System.DllImportAttribute.

	* class.cs (Method.IsPinvoke): Used to determine if we are a PInvoke method.

	(Method::Define): Set appropriate flags if we have a DllImport attribute.

	(Method::Emit): Handle the case when we are a PInvoke method.

svn path=/trunk/mcs/; revision=1514
2001-12-03 17:47:44 +00:00
Ravi Pratap M 536c633fb8 2001-12-03 Ravi Pratap <[email protected]>
* test-50.cs : Add. This does not pass yet.

svn path=/trunk/mcs/; revision=1513
2001-12-03 17:42:48 +00:00
Miguel de Icaza c1ccc6e6a7 update
svn path=/trunk/mono/; revision=1512
2001-12-03 14:37:34 +00:00
Miguel de Icaza 35f1ec6c8c 2001-12-03 Miguel de Icaza <[email protected]>
* expression.cs: Use ResolveWithSimpleName on compound names.

svn path=/trunk/mcs/; revision=1511
2001-12-03 14:02:25 +00:00
Paolo Molaro a5d359c2eb Dum de dum, missing files for previous commit.
svn path=/trunk/mono/; revision=1510
2001-12-03 12:30:59 +00:00
Paolo Molaro c30bdea6d6 Mon Dec 3 17:02:01 CET 2001 Paolo Molaro <[email protected]>
* class.c: init enum types right away and register the
	token->MonoClass map in mono_class_create_from_typedef ().
	* verify.h, verify.c: first cut of the verifier.
	* pedump.c: add --verify switch to verify metadata tables.
	* tabledefs.h: add some missing enums.


Mon Dec 3 17:16:36 CET 2001 Paolo Molaro <[email protected]>

	* jit.c: call mono_init() after registering internal calls.


Mon Dec 3 17:15:44 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: call mono_init() after registering internal calls.

svn path=/trunk/mono/; revision=1509
2001-12-03 12:23:29 +00:00
Gaurav Vaish f41ee8dda3 2001-12-02 Gaurav Vaish <[email protected]>
* ChangeLog  --- Updated for CheckBoxList

svn path=/trunk/mcs/; revision=1508
2001-12-02 17:16:42 +00:00
Gaurav Vaish e4baacc8ba 2001-12-02 Gaurav Vaish <[email protected]>
* Minor changes in comments

svn path=/trunk/mcs/; revision=1507
2001-12-02 17:14:11 +00:00
Gaurav Vaish 6ef8607b21 2001-12-02 Gaurav Vaish <[email protected]>
* ListControl.cs     --- Done

svn path=/trunk/mcs/; revision=1506
2001-12-02 17:13:20 +00:00
Gaurav Vaish 5291ad4823 2001-12-02 Gaurav Vaish <[email protected]>
* CheckBoxList.cs   --- Almost done. Except for Render-ing

svn path=/trunk/mcs/; revision=1505
2001-12-02 17:12:40 +00:00
Ravi Pratap M 9035db0b68 2001-12-02 Ravi Pratap <[email protected]>
* constant.cs (EmitConstant): Make sure we resolve the associated expression
	before trying to reduce it.

	* typemanager.cs (RegisterConstant, LookupConstant): Implement.

	* constant.cs (LookupConstantValue): Implement.

	(EmitConstant): Use the above in emitting the constant.

	* expression.cs (MemberAccess::ResolveMemberAccess): Handle constants
	that are user-defined by doing a LookupConstantValue on them.

	(SimpleName::DoResolve): When we have a FieldExpr, cope with constants
	too, like above.

svn path=/trunk/mcs/; revision=1504
2001-12-02 10:07:06 +00:00
Ravi Pratap M a4295440e1 2001-12-02 Ravi Pratap <[email protected]>
* test-40.cs : Update to now test recursive definitions with
	constants hooked up.

svn path=/trunk/mcs/; revision=1503
2001-12-02 10:04:15 +00:00
Miguel de Icaza dfff35163c Add AnonCVS
svn path=/trunk/mono/; revision=1502
2001-12-01 21:50:32 +00:00
Ravi Pratap M b8c04460bc Make the recursive definitions more roundabout
svn path=/trunk/mcs/; revision=1501
2001-12-01 17:47:53 +00:00
Miguel de Icaza b53421229b 2001-11-29 Miguel de Icaza <[email protected]>
* expression.cs (BaseAccess, BaseIndexer): Also split this out.

	(BaseAccess.DoResolve): Implement.

	(MemberAccess.DoResolve): Split this routine into a
	ResolveMemberAccess routine that can be used independently

2001-11-28  Miguel de Icaza  <[email protected]>

	* expression.cs (Probe, Is, As): Split Probe in two classes Is and
	As that share bits of the implementation.  Is returns a boolean,
	while As returns the Type that is being probbed.

svn path=/trunk/mcs/; revision=1500
2001-12-01 16:25:08 +00:00
Ravi Pratap M e2fdf31a2a 2001-12-01 Ravi Pratap <[email protected]>
* enum.cs (LookupEnumValue): Re-write various bits, return an object value
	instead of a Literal - much easier.

	(EnumInTransit): Remove - utterly useless :-)

	(Populate): Re-write bits - remove duplicate code etc. The code is much neater now.

	* expression.cs (MemberLookup): Cope with user-defined enums when they are in transit.

	* enum.cs (LookupEnumValue): Auto-compute next values by going down the dependency
	chain when we have no associated expression.

2001-11-30  Ravi Pratap  <[email protected]>

	* constant.cs (Define): Use Location while reporting the errror.

	Also emit a warning when 'new' is used and there is no inherited
	member to hide.

	* enum.cs (EnumInTransit): Used to tell if an enum type is in the process of being
	populated.

	(LookupEnumValue): Implement to lookup an enum member's value and define it
	if necessary.

	(Populate): Re-write accordingly to use the above routine.

svn path=/trunk/mcs/; revision=1498
2001-12-01 13:55:44 +00:00
Ravi Pratap M fcc0569e6a 2001-12-01 Ravi Pratap <[email protected]>
* test-40.cs : Update to do recursive enumeration definition.

svn path=/trunk/mcs/; revision=1497
2001-12-01 13:53:53 +00:00
Gaurav Vaish 02473cec3d 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs       --- Finished it. And also understood what DataBinding is all about. :)))

svn path=/trunk/mcs/; revision=1496
2001-12-01 05:15:43 +00:00
Gaurav Vaish dee208d59f 2001-12-01 Gaurav Vaish <[email protected]>
* ChangeLog -- ListControl Finished man!

svn path=/trunk/mcs/; revision=1495
2001-12-01 05:14:58 +00:00
Gaurav Vaish 5d79c2e260 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs  --- Pretty descent. Looks complete.

svn path=/trunk/mcs/; revision=1494
2001-12-01 04:56:03 +00:00
Dietmar Maurer f035056087 2001-11-30 Dietmar Maurer <[email protected]>
* emit-x86.c (tree_preallocate_regs): improved register allocation

	* x86.brg: impl. ISINST, CASTCLASS

	* class.c (mono_install_runtime_class_init): impl.
	(mono_class_init): renamed mono_class_metadata_init to
	mono_class_init, also removed the metadata_inited flag

	* object.c (mono_object_isinst): use faster algorithm

svn path=/trunk/mono/; revision=1493
2001-11-30 12:39:30 +00:00
Radek Doulik 28517f3513 2001-11-30 Radek Doulik <[email protected]>
* configure.in: remove ACCESS_UNALIGNED="no" from ppc

svn path=/trunk/mono/; revision=1492
2001-11-30 11:17:31 +00:00
Radek Doulik 5324a1c3f0 reverted my last changes, fixed unaligned access to make it work
2001-11-30  Radek Doulik  <[email protected]>

	* mono-endian.h: reverted last change
	added function prototypes

	* Makefile.am (libmetadata_a_SOURCES): reverted my last change and
	add mono-endian.c back

	* mono-endian.c: returned back, as Paolo pointed out, it's needed
	for unaligned access, I've mistaked it with endianess. I am
	sorry.
	(mono_read16): fix reverted endianess
	(mono_read64): ditto
	(mono_read32): ditto

svn path=/trunk/mono/; revision=1491
2001-11-30 11:09:16 +00:00
Dick Porter a91ce9928d 2001-11-30 Dick Porter <[email protected]>
* exception.c: Implement mono_exception_from_name()

2001-11-30  Dick Porter  <[email protected]>

	* interp.c: Replace get_named_exception() with
	mono_exception_from_name()

svn path=/trunk/mono/; revision=1490
2001-11-30 09:11:56 +00:00
Gaurav Vaish 5b2cde78d0 2001-11-30 Gaurav Vaish <[email protected]>
* class.xml   --- Current status for System.Web.UI.WebControls namespace

svn path=/trunk/mono/; revision=1489
2001-11-30 07:26:11 +00:00
Paolo Molaro 68dbe0e301 Fri Nov 30 12:01:02 CET 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c: remove params_size and locals_size and their
	calculation from the metadata code: they are only usefult to the
	interp.


Fri Nov 30 12:02:24 CET 2001 Paolo Molaro <[email protected]>

	* x86.brg: rearrange fields to reduce struct size.
	* jit.c: use signature->param_count, not signature->params_size.
	* debug.c: off-by-one error fix.


Fri Nov 30 12:05:21 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: calculate locals and args offsets only once
	per method call. Cache trampoline code as well.

svn path=/trunk/mono/; revision=1488
2001-11-30 07:20:41 +00:00
Gaurav Vaish b34e676fa4 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs, UrlUtils.cs  -- Moved to proper places

* ChangeLog's  --- Properly updated

svn path=/trunk/mcs/; revision=1487
2001-11-30 03:47:01 +00:00
Gaurav Vaish c11b52a917 2001-11-30 Gaurav Vaish <[email protected]>
Important changes:

 * System.Web.WebUtils removed... renamed to System.Web.Utils based on some hacking done.

 * AdRotator.cs      --- Updated to use Utils
 * BaseDataList.cs   --- Removing rubbishness
 * CheckBox.cs       --- Working
 * CheckBoxList.cs   --- Finalized?
 * ListControl.cs    --- Initital Implementation

svn path=/trunk/mcs/; revision=1486
2001-11-30 03:43:45 +00:00
Gaurav Vaish 6e81d4a36b 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper   --- Corrected the function name to GetResolvedDataSource(...)

svn path=/trunk/mcs/; revision=1485
2001-11-30 02:07:03 +00:00
Gaurav Vaish c6b36d8c44 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs --- Renamed the class DataSourceUtils to DataSourceHelper (an internal class)

* ChangeLog           --- Properly updated

svn path=/trunk/mcs/; revision=1484
2001-11-30 01:58:12 +00:00
Gaurav Vaish 35f3133887 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceUtils.cs   -- Internal class. Does the job of resolving data from the source based on a member element.

----- This function is required during the OnDataBinding(EventArgs) method in several of the UI.*, UI.WebControtrols.* classes

svn path=/trunk/mcs/; revision=1483
2001-11-30 01:53:33 +00:00
Radek Doulik e49235fff3 2001-11-29 Radek Doulik <[email protected]>
* ppc/tramp.c: use r12 which is volatile instead of non-volatile
	r14 to avoid saving

svn path=/trunk/mono/; revision=1482
2001-11-29 21:23:53 +00:00
Radek Doulik 1a893190ea 2001-11-29 Radek Doulik <[email protected]>
* configure.in (ACCESS_UNALIGNED): uncommented and modified
	powerpc-*-linux*
	generate mono/arch/ppc/Makefile

svn path=/trunk/mono/; revision=1481
2001-11-29 20:20:45 +00:00
Radek Doulik ce1167716f 2001-11-29 Radek Doulik <[email protected]>
* object.c (mono_ldstr): swap bytes here, it's probably not the
	best place, but works for me now, I'll redo it once I know mono
	better, also note that I add PROT_WRITE and don't reset back, also
	note that it's only affects big endians, so x86 should be OK

	* mono-endian.h (read16): use just glib macros for both endians

	* mono-endian.c: removed as glib macros are used in in
	mono-endian.h so we don't need to care about endianess for read
	macros as glib does that for us already

svn path=/trunk/mono/; revision=1480
2001-11-29 20:20:18 +00:00
Radek Doulik b472575e81 2001-11-29 Radek Doulik <[email protected]>
* Makefile.am: build mono only for X86 architecture, compilation
	fails for ppc now because of accessing registers in sigcontext
	structure

svn path=/trunk/mono/; revision=1479
2001-11-29 20:19:32 +00:00
Radek Doulik 47d3543260 2001-11-29 Radek Doulik <[email protected]>
* Makefile.am (libmonoarch_la_LIBADD): added ppc to DIST_SUBDIRS
	generate libmonoarch for ppc

svn path=/trunk/mono/; revision=1478
2001-11-29 20:19:00 +00:00
Radek Doulik d4c1ec89a5 added test
svn path=/trunk/mono/; revision=1477
2001-11-29 19:32:48 +00:00
Radek Doulik 0546117131 added files for initial ppc support
svn path=/trunk/mono/; revision=1476
2001-11-29 19:32:19 +00:00
Gaurav Vaish 5feaa3ea7a 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBoxList.cs     --- Wanted to go for this class.

* ListControl.cs      --- But ended up taking up this one.

svn path=/trunk/mcs/; revision=1475
2001-11-29 18:11:51 +00:00
Gaurav Vaish 64b22c6476 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs         --- Initial Implementation

* ChangeLog           --- Updated with latest information. I think so, at least.

svn path=/trunk/mcs/; revision=1474
2001-11-29 18:09:44 +00:00
Gaurav Vaish c0a6c6e3e3 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs      --- Oops! I forgot OnPreRender. The last method left, well, still supposedly. Looks pretty fine now.

svn path=/trunk/mcs/; revision=1473
2001-11-29 15:48:48 +00:00
Paolo Molaro cde1e28f3a Reformat to reduce line length.
svn path=/trunk/mono/; revision=1472
2001-11-29 15:31:08 +00:00
Gaurav Vaish d8bd6b652d 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs   -- Huh! Completed another class. Looks to be at least. :))

* ChangeLog     -- Notified others

svn path=/trunk/mcs/; revision=1471
2001-11-29 14:38:12 +00:00
Gaurav Vaish 01f2946ddf 2001-11-29 Gaurav Vaish <[email protected]>
* CheckBox.cs     -- Can now do Render-ing and LoadPostData-ing.

* ChangeLog       -- Made proper updates

svn path=/trunk/mcs/; revision=1470
2001-11-29 14:32:17 +00:00
Paolo Molaro 9195559f70 Thu Nov 29 18:20:58 CET 2001 Paolo Molaro <[email protected]>
* class.h, class.h: take minimum alignment into consideration so
	that the fields of a class remain aligned also when in an array.

svn path=/trunk/mono/; revision=1469
2001-11-29 13:39:08 +00:00
Gaurav Vaish c382325931 2001-11-29 Gaurav Vaish <[email protected]>
*  ChangeLog  -- When did I add System.Web.WebUtils?

svn path=/trunk/mcs/; revision=1468
2001-11-29 13:27:07 +00:00
Daniel Weber f856b27cc4 * XmlAttribute.cs re-arrange source file to put attributes first. Implement
value, modify constructor

* XmlAttributeCollection.cs - Fix bug on owner document check, add TODO - Make
insert operations match XmlNode insertion on null pointer refNode.

* XmlDeclaration.cs - Add copyright info to top of file

* XmlDocument.cs - implement localName, Name

* XmlDocumentFragment.cs : first cut at implementation.  Implement name,
localName

* XmlElement.cs - implement value, modify constructor

* XmlNames_1_0.cs - add IsXmlName function, fix bug in IsXmlChar()

* XmlNode.cs - implement BaseURI and value, add more comments

* XmlWriter.cs - begin stubbing out methods

* Added XmlUtil.cs - Internal class. Contains static utility methods that are non-Xml version
specific, mostly character encoding conversions

* Added XmlInputSource.cs - internal class to handle streaming Xml input.

* Added DomEncodingType.cs - internal enueration class to detail supported encodings
(ISO-8859-n, UTF-8/UTF-16, eg)

svn path=/trunk/mcs/; revision=1467
2001-11-29 10:49:39 +00:00
Dietmar Maurer 049f4ad9a1 bug fixes, code cleanup
svn path=/trunk/mono/; revision=1466
2001-11-29 10:46:40 +00:00
Paolo Molaro d8cd797099 Thu Nov 29 12:32:01 CET 2001 Paolo Molaro <[email protected]>
* debug.c: fix type handling. Position function position at start of
	IL code. Output more fine-grained stepping information.

svn path=/trunk/mono/; revision=1465
2001-11-29 07:42:04 +00:00
Dietmar Maurer 7b52efd545 documentation
svn path=/trunk/mono/; revision=1464
2001-11-29 05:51:04 +00:00
Miguel de Icaza beb87dd65d 2001-11-28 Miguel de Icaza <[email protected]>
* UInt64.cs: ditto.

	* UInt32.cs: ditto.

	* Int32.cs (Int32.CompareTo): Fix because we can not just
	substract the values.

	Return possitive value if the object is null.

	* Boolean.cs: (Boolean.CompareTo): ditto.

	* Int16.cs (Int16.CompareTo): ditto.

	* Byte.cs (Byte.CompareTo): ditto.

	* SByte.cs (SByte.CompareTo): ditto.

	* Char.cs (Char.CompareTo): ditto.

	* Decimal.cs (Decimal.CompareTo): ditto.

	* Int64.cs (Int64.CompareTo): ditto.

	* Single.cs: Ditto.

	* UInt16.cs: Ditto.

svn path=/trunk/mcs/; revision=1463
2001-11-28 18:18:32 +00:00
Miguel de Icaza 01f5ed5569 Add more error tests
svn path=/trunk/mcs/; revision=1462
2001-11-28 18:15:16 +00:00
Miguel de Icaza 7dc4f845cd Add test for switch
svn path=/trunk/mcs/; revision=1461
2001-11-28 18:14:13 +00:00
Miguel de Icaza dc7963a2ac 2001-11-27 Miguel de Icaza <[email protected]>
* expression.cs (This): Fix prototype for DoResolveLValue to
	override the base class DoResolveLValue.

	* cs-parser.cs: Report errors cs574 and cs575 (destructor
	declarations)

	* ecore.cs (FieldExpr.EmitAssign): Handle value types specially
	(we need to load the address of the field here).  This fixes
	test-22.

	(FieldExpr.DoResolveLValue): Call the DoResolve
	function to initialize the Instance expression.

	* statement.cs (Foreach.Emit): Fix the bug where we did not invoke
	correctly the GetEnumerator operation on a value type.

	* cs-parser.jay: Add more simple parsing error catches.

	* statement.cs (Switch): Add support for string switches.
	Handle null specially.

	* literal.cs (NullLiteral): Make NullLiteral objects singletons.

svn path=/trunk/mcs/; revision=1460
2001-11-28 17:51:00 +00:00
Miguel de Icaza 17dac60520 Updates
svn path=/trunk/mono/; revision=1459
2001-11-28 17:26:34 +00:00
Ravi Pratap M 2fd60063de 2001-11-28 Ravi Pratap <[email protected]>
* cs-parser.jay (local_constant_declaration): Use declare_local_constant.

	(declare_local_constant): New helper function.

	* statement.cs (AddConstant): Keep a separate record of constants

	(IsConstant): Implement to determine if a variable is a constant.

	(GetConstantExpression): Implement.

	* expression.cs (LocalVariableReference): Handle the case when it is a constant.

	* statement.cs (IsVariableDefined): Re-write.

2001-11-27  Ravi Pratap  <[email protected]>

	* class.cs (TypeContainer::FindMembers): Look for constants
	in the case when we are looking for MemberTypes.Field

	* expression.cs (MemberAccess::DoResolve): Check that in the
	case we are a FieldExpr and a Literal, we are not being accessed
	by an instance reference.

	* cs-parser.jay (local_constant_declaration): Implement.

	(declaration_statement): Implement for constant declarations.

svn path=/trunk/mcs/; revision=1458
2001-11-28 17:16:40 +00:00
Ravi Pratap M db7248bb54 2001-11-28 Ravi Pratap <[email protected]>
* test-48.cs : Add for constant emission tests.

	* makefile : Update for the above as it passes nicely :-)

svn path=/trunk/mcs/; revision=1457
2001-11-28 17:12:19 +00:00
Dietmar Maurer b6e1585a30 2001-11-28 Dietmar Maurer <[email protected]>
* x86.brg (LDIND_I1, LDIND_I2): use x86_widen_ instead of x86_mov_

	* jit.c (sigsegv_signal_handler): translate sigsegv into "Internal error"
	exception.

svn path=/trunk/mono/; revision=1456
2001-11-28 14:14:56 +00:00
Nick Drochak a42ec3b1b9 2001-11-28 Nick Drochak <[email protected]>
* Byte.cs: Throw NotImplementedException for Parse.

svn path=/trunk/mcs/; revision=1455
2001-11-28 09:18:02 +00:00
Dietmar Maurer 5a46bddbb4 don't print debug infos
svn path=/trunk/mono/; revision=1454
2001-11-28 05:01:41 +00:00
Dietmar Maurer 6facc3b1f6 *** empty log message ***
svn path=/trunk/mono/; revision=1453
2001-11-28 04:58:54 +00:00
Dietmar Maurer 3b2401f8cc 2001-11-28 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): record the cli_address for later use
	with gdb.

svn path=/trunk/mono/; revision=1452
2001-11-28 04:55:06 +00:00
Nick Drochak 9f35715338 2001-11-28 Nick Drochak <[email protected]>
* Int16Test.cs Int32Test.cs SByteTest.cs: Surgically removed tests that
rely on culture of system.  These need to be crafted a bit differently.

svn path=/trunk/mcs/; revision=1451
2001-11-27 19:34:13 +00:00
Paolo Molaro f35fa82ec8 Dum de dum, missing files.
svn path=/trunk/mono/; revision=1450
2001-11-27 11:46:56 +00:00
Paolo Molaro ffeda01ab9 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <[email protected]>
* main.c: output a marker for method (used in debug support).


Tue Nov 27 16:32:41 CET 2001 Paolo Molaro <[email protected]>

	* debug.c, debug.h: added support for generating stabs.
	Stabs can be compiled with as and the resulting object file can be
	loaded in a gdb session with add-symbol-file object.o.
	* jit.c, jit.h: add --stabs and --debug command line arguments. Keep track
	where locals and arguments are stored in the stack. Add support for
	passing command line arguments to CLR programs.
	* emit-x86.c: insert a breakpoint at method invocation if needed.


Tue Nov 27 16:39:01 CET 2001 Paolo Molaro <[email protected]>

	* loader.h, loader.c: add mono_method_get_param_names().
	* class.c: 0-init class fields.

svn path=/trunk/mono/; revision=1449
2001-11-27 11:46:11 +00:00
Derek Holden eecd406a53 2001-11-27 Derek Holden <[email protected]>
* IntegerFormatter.cs: Formatting of type "Number" was not
        using NumberFormatInfo.NumberNegativePattern.

svn path=/trunk/mcs/; revision=1448
2001-11-27 10:44:53 +00:00
Paolo Molaro cb5cbcda98 Tue Nov 27 15:24:07 CET 2001 Paolo Molaro <[email protected]>
* x96/x86-codegen.c: x86_lea_memindex() added.

svn path=/trunk/mono/; revision=1447
2001-11-27 10:30:39 +00:00
Dietmar Maurer 09cb28096b etmar Maurer <[email protected]>
* jit.c: exception support

	* emit-x86.c (arch_emit_epilogue): bug fix: restore the regs in
	the right order.

	* mono/tests/exception3.cs: modified the test to show a bug in the
	current exception handling implementation.

svn path=/trunk/mono/; revision=1446
2001-11-27 10:05:14 +00:00
Nick Drochak f7c0b3ec7b 2001-11-27 Nick Drochak <[email protected]>
* SByteTest.cs: Add messages to Assert()'s so we can tell where the tests fail.
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=1445
2001-11-27 08:35:03 +00:00
Miguel de Icaza aa7c9e35fe Update TODO
svn path=/trunk/mcs/; revision=1444
2001-11-27 01:55:25 +00:00
Miguel de Icaza 98fa595e04 Switch statement implementation
svn path=/trunk/mcs/; revision=1443
2001-11-26 22:22:21 +00:00
Miguel de Icaza 8e7c652ca0 Update Visual Studio Project
svn path=/trunk/mcs/; revision=1442
2001-11-26 22:20:57 +00:00
Dick Porter d3f63d2d18 2001-11-26 Dick Porter <[email protected]>
* Thread.cs: DataSlot uses a single system TLS slot, and a
	hashtable per thread.  Some minor changes to reflect the new
	internal calls using the new IO library, and the newly-supported
	bool returns from internal calls.

	* Monitor.cs: Use bool returns from internal calls now they are
	supported by the runtime.  Coalesce enter with the try_enter
	internal call.

2001-11-26  Dick Porter  <[email protected]>

	* LocalDataStoreSlot.cs: No need to delete a system TLS slot in
	the finalise routine any more

svn path=/trunk/mcs/; revision=1441
2001-11-26 13:17:57 +00:00
Dick Porter 46ff807cf0 2001-11-26 Dick Porter <[email protected]>
* icall.c:
	* threads-types.h:
	* threads.c: New file that handles System.Threading on all platforms

	* object.c:
	* object.h: Remove the synchronisation struct from MonoObject,
	replace it with a pointer that gets initialised on demand

	* Makefile.am: Replace all the system-specific threading code with
	a single file that uses the new wrapper library

2001-11-26  Dick Porter  <[email protected]>

	* critical-sections.c:
	* events.c:
	* handles.c:
	* io.c:
	* mutexes.c:
	* semaphores.c:
	* threads.c:
	* timed-thread.c:
	* wait.c: turn off DEBUG messages

2001-11-26  Dick Porter  <[email protected]>

	* Makefile.am (mono_LDADD): Add io-layer library

svn path=/trunk/mono/; revision=1440
2001-11-26 13:10:18 +00:00
Phillip Pearson 2431c61d15 * TcpClient.cs: common_constructor() changed to Init() to match coding
style elsewhere in class libraries.  Comments added.
* TcpListener.cs: Same
* Socket.cs: Filled out methods and properties and commented most of
  them.

svn path=/trunk/mcs/; revision=1439
2001-11-26 05:52:53 +00:00
Ravi Pratap M f70f8a5021 2001-11-24 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation): Get rid of ArrayExprs : we save
	some memory.

	(EmitDynamicInitializers): Cope with the above since we extract data
	directly from ArrayData now.

	(ExpectInitializers): Keep track of whether initializers are mandatory
	or not.

	(Bounds): Make it a hashtable to prevent the same dimension being
	recorded for every element in that dimension.

	(EmitDynamicInitializers): Fix bug which prevented the Set array method
	from being found.

	Also fix bug which was causing the indices to be emitted in the reverse
	order.

svn path=/trunk/mcs/; revision=1436
2001-11-24 12:37:18 +00:00
Ravi Pratap M ea113276c6 2001-11-24 Ravi Pratap <[email protected]>
* test-45.cs : Update further.

svn path=/trunk/mcs/; revision=1435
2001-11-24 12:36:10 +00:00
Miguel de Icaza 428a4b1953 2001-11-24 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation): Implement the bits that Ravi left
	unfinished.  They do not work, because the underlying code is
	sloppy.

2001-11-22  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Remove bogus fixme.

	* statement.cs (Switch, SwitchSection, SwithLabel): Started work
	on Switch statement.

svn path=/trunk/mcs/; revision=1434
2001-11-24 04:03:47 +00:00
Daniel Weber 7da20e7f40 Internal class to handle Xml 1.0 character/name validation
svn path=/trunk/mcs/; revision=1433
2001-11-24 01:09:37 +00:00
Miguel de Icaza b95eb6714a Update
svn path=/trunk/mono/; revision=1432
2001-11-23 21:11:33 +00:00
Miguel de Icaza 2254f098fb Add TcpClient and TcpListener from Phillip Pearson
svn path=/trunk/mcs/; revision=1431
2001-11-23 21:07:52 +00:00
Ravi Pratap M f79a51e21f 2001-11-23 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::Emit): Handle string initialization separately.

	(MakeByteBlob): Handle types more correctly.

	* expression.cs (ArrayCreation:Emit): Write preliminary code to do
	initialization from expressions but it is incomplete because I am a complete
	Dodo :-|

svn path=/trunk/mcs/; revision=1430
2001-11-23 17:15:00 +00:00
Ravi Pratap M fb3d0f28ac Update various tests
svn path=/trunk/mcs/; revision=1429
2001-11-23 17:05:00 +00:00
Ravi Pratap M c9da7072b3 2001-11-23 Ravi Pratap <[email protected]>
* typemanager.cs (IsDelegateType, IsEnumType): Fix logic to determine
	the same.

	* expression.cs (ArrayCreation::CheckIndices): Get rid of the require_constant
	parameter. Apparently, any expression is allowed.

	(ValidateInitializers): Update accordingly.

	(CheckIndices): Fix some tricky bugs thanks to recursion.

	* delegate.cs (NewDelegate::DoResolve): Re-write large portions as
	I was being completely brain-dead.

	(VerifyMethod, VerifyApplicability, VerifyDelegate): Make static
	and re-write acordingly.

	(DelegateInvocation): Re-write accordingly.

svn path=/trunk/mcs/; revision=1428
2001-11-23 09:08:53 +00:00
Miguel de Icaza 3b121439a9 2001-11-22 Miguel de Icaza <[email protected]>
* statement.cs (If.Emit): Fix a bug that generated incorrect code
	on If.  Basically, we have to return `true' (ie, we do return to
	our caller) only if both branches of the if return.

	* expression.cs (Binary.Emit): LogicalOr and LogicalAnd are
	short-circuit operators, handle them as short circuit operators.

svn path=/trunk/mcs/; revision=1427
2001-11-22 20:36:17 +00:00
Miguel de Icaza b2f78e38cf Add more testage
svn path=/trunk/mcs/; revision=1426
2001-11-22 19:11:20 +00:00
Miguel de Icaza fe5a33fd9b 2001-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Cast.DoResolve): Resolve type.
	(Cast.Cast): Take an expression as the target type.

	* cs-parser.jay (cast_expression): Remove old hack that only
	allowed a limited set of types to be handled.  Now we take a
	unary_expression and we resolve to a type during semantic
	analysis.

	Use the grammar productions from Rhys to handle casts (this is
	not complete like Rhys syntax yet, we fail to handle that corner
	case that C# has regarding (-x), but we will get there.

svn path=/trunk/mcs/; revision=1425
2001-11-22 18:55:00 +00:00
Ravi Pratap M 8807ade6cf 2001-11-22 Ravi Pratap <[email protected]>
* ecore.cs : The error message was correct, it's the variable's names that
	were misleading ;-) Make the code more readable.

	(MemberAccess::DoResolve): Fix the code which handles Enum literals to set
	the correct type etc.

	(ConvertExplicit): Handle Enum types by examining the underlying type.

svn path=/trunk/mcs/; revision=1424
2001-11-22 16:34:02 +00:00
Dick Porter be0127409b 2001-11-22 Dick Porter <[email protected]>
* handles.c (SignalObjectAndWait): Implement

	* wait.c (WaitForSingleObject): Fix case where timeout == 0

	* threads.c:
	* semaphores.c:
	* mutexes.c:
	* io.c:
	* events.c: Support for SignalObjectAndWait

svn path=/trunk/mono/; revision=1423
2001-11-22 13:31:13 +00:00
Ravi Pratap M e888b10571 2001-11-22 Ravi Pratap <[email protected]>
* cs-parser.jay (for_statement): Update for array initialization while
	declaring variables.

svn path=/trunk/mcs/; revision=1422
2001-11-22 12:26:30 +00:00
Ravi Pratap M e003d8daf5 2001-11-22 Ravi Pratap <[email protected]>
* typemanager.cs (MakeKey): Implement.

	(everywhere): Use the above appropriately.

svn path=/trunk/mcs/; revision=1421
2001-11-22 12:18:59 +00:00
Dietmar Maurer b3d4950a6e another test for exceptions
svn path=/trunk/mono/; revision=1420
2001-11-22 09:25:32 +00:00
Ravi Pratap M 5c88745b04 2001-11-22 Ravi Pratap <[email protected]>
* class.cs (EmitFieldInitializer): Take care of the case when we have a
	field which is an array type.

	* cs-parser.jay (declare_local_variables): Support array initialization too.

svn path=/trunk/mcs/; revision=1419
2001-11-22 07:05:45 +00:00
Ravi Pratap M ccb0c3703c 2001-11-22 Ravi Pratap <[email protected]>
* test-45.cs : Augment some more to test shorthand declaration
	of variables/fields that are array types.

svn path=/trunk/mcs/; revision=1418
2001-11-22 06:58:36 +00:00
Miguel de Icaza a5e3c2c4d3 2001-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Update the values of `l'
	and `r' after calling DoNumericPromotions.

	* ecore.cs: Fix error message (the types were in the wrong order).

	* statement.cs (Foreach.ProbeCollectionType): Need to pass
	BindingFlags.Instance as well

svn path=/trunk/mcs/; revision=1417
2001-11-22 03:13:04 +00:00
Daniel Weber b4905da810 Add summary information to enumerations.
svn path=/trunk/mcs/; revision=1416
2001-11-22 03:00:06 +00:00
Daniel Weber 586a8126c1 Add descriptions to enumerations
svn path=/trunk/mcs/; revision=1415
2001-11-22 02:54:19 +00:00
Daniel Weber bf7e29a3c2 Implement basic functionality, still missing CloneNode, WriteTo, innerXml, outerXml
svn path=/trunk/mcs/; revision=1414
2001-11-22 02:42:31 +00:00
Miguel de Icaza 6c38ed5c01 2001-11-22 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.TryImplicitIntConversion): Wrap the result
	implicit int literal conversion in an empty cast so that we
	propagate the right type upstream.

svn path=/trunk/mcs/; revision=1413
2001-11-22 02:02:06 +00:00
Miguel de Icaza f8d102b9dd 2001-11-22 Miguel de Icaza <[email protected]>
* ecore.cs (UnboxCast): new class used to unbox value types.
	(Expression.ConvertExplicit): Add explicit type conversions done
	by unboxing.

	(Expression.ImplicitNumericConversion): Oops, forgot to test for
	the target type before applying the implicit LongLiterals to ULong
	literal cast.

svn path=/trunk/mcs/; revision=1412
2001-11-22 01:44:08 +00:00
Daniel Weber dcc4b74a91 Add copyright information
svn path=/trunk/mcs/; revision=1411
2001-11-22 01:19:33 +00:00
Daniel Weber 9bf6c24280 Initial implementation of XmlException
svn path=/trunk/mcs/; revision=1410
2001-11-22 01:18:36 +00:00
Daniel Weber 6084534798 Implement NextSibling, PreviousSibling, RemoveAll, InsertBefore(), InsertAfter, prepend, append in XmlNode.cs
Override RemoveAll in XmlElement

svn path=/trunk/mcs/; revision=1409
2001-11-22 00:46:55 +00:00
Miguel de Icaza 1970d5d6f7 2001-11-21 Miguel de Icaza <[email protected]>
* cs-parser.jay (for_statement): Reworked the way For works: now
	we declare manually any variables that are introduced in
	for_initializer to solve the problem of having out-of-band code
	emition (that is what got for broken).

	(declaration_statement): Perform the actual variable declaration
	that used to be done in local_variable_declaration here.

	(local_variable_declaration): Do not declare anything, just pass
	the information on a DictionaryEntry

svn path=/trunk/mcs/; revision=1408
2001-11-21 21:17:53 +00:00
Nick Drochak 7a86c63770 2001-11-22 Nick Drochak <[email protected]>
* IPAddress.cs: Fix constructor bug, properly name Address property,
	and use triple-slash for comments.

svn path=/trunk/mcs/; revision=1407
2001-11-21 18:49:08 +00:00
Miguel de Icaza f7b109a94f 2001-11-21 Miguel de Icaza <[email protected]>
* ApplicationException.cs: internationalize by adding calls to
	Locale.GetText ().  And throw NotImplementedExceptions on calls
	that we have to implement.

	* Version.cs: Ditto.

	* ValueType.cs: ditto.

	* UnauthorizedAccessException.cs: ditto.

	* UInt32.cs: ditto.

	* UInt64.cs: ditto.

	* UInt16.cs: ditto.

	* TypeLoadException.cs: ditto

	* TypeInitializationException.cs: ditto.

	* Type.cs: ditto.

	* TimeSpan.cs: ditto.

	* SystemException.cs: ditto.

	* String.cs: ditto.

	* StackOverflowException.cs: ditto.x

	* Single.cs: ditto.

	* SByte.cs: ditto.

	* RuntimeTypeHandle.cs: ditto.

	* RuntimeMethodHandle.cs: ditto.

	* RuntimeFieldHandle.cs: ditto.

	* Random.cs: ditto.

	* OutOfMemoryException.cs: ditto.

	* OperatingSystem.cs: ditto.

	* ObjectDisposedException.cs: ditto.

	* NullReferenceException.cs: ditto.

	* NotImplementedException.cs: ditto.

	* NotFiniteNumberException.cs: ditto.o

	* MulticastNotSupportedException.cs: ditto.

	* MissingMethodException.cs: ditto.

	* MemberAccessException.cs: ditto.

	* Math.cs: ditto.

	* InvalidCastException.cs: ditto.

	* IntegerFormatter.cs: ditto.

	* Int32.cs: ditto.

	* Int16.cs: ditto.

	* IndexOutOfRangeException.cs: ditto.

	* Environment.cs: ditto

	* Enum.cs: ditto.

	* DuplicateWaitObjectException.cs: ditto.

	* DivideByZeroException.cs: ditto.

	* Delegate.cs: ditto

	* DecimalFormatter.cs: ditto.

	* Decimal.cs: ditto.

	* DateTime.cs: ditto.

	* Convert.cs: ditto.

	* Char.cs: ditto.

	* Byte.cs: ditto.

	* Boolean.cs: ditto.

	* ArrayTypeMismatchException.cs: ditto.

	* ArithmeticException.cs: ditto.

	* ArgumentOutOfRangeException.cs: ditto.

	* ArgumentNullException.cs: ditto.

	* Enum.cs: Make it derive from ValueType, add CompareTo method.

	* Attribute.cs: Reformat.

svn path=/trunk/mcs/; revision=1406
2001-11-21 18:12:11 +00:00
Dick Porter cb8b0abfbd 2001-11-21 Dick Porter <[email protected]>
* events.c:
	* handles.c:
	* mutexes.c:
	* semaphores.c:
	* threads.c:
	* wait.c: Reliable method of returning which handle was signalled
	on return from WaitForMultipleObjects().

svn path=/trunk/mono/; revision=1405
2001-11-21 12:50:12 +00:00
Dick Porter 11b673c6f9 2001-11-21 Dick Porter <[email protected]>
* events.c: Implement events

svn path=/trunk/mono/; revision=1404
2001-11-21 10:21:22 +00:00
Ravi Pratap M 04b82a2101 Fix up to do double-dimension array access too !
svn path=/trunk/mcs/; revision=1403
2001-11-21 05:04:52 +00:00
Daniel Weber c670098b6f Fix build bug on XPathNavigator
svn path=/trunk/mcs/; revision=1402
2001-11-20 23:26:03 +00:00
Daniel Weber a788bd809f Move XPath classes to their own directory (System.Xml.XPath)
svn path=/trunk/mcs/; revision=1401
2001-11-20 22:46:32 +00:00
Daniel Weber e4c6a12643 Fix constructors
svn path=/trunk/mcs/; revision=1400
2001-11-20 22:43:26 +00:00
Daniel Weber 38902cbcb0 Add constructor
svn path=/trunk/mcs/; revision=1399
2001-11-20 22:36:43 +00:00
Daniel Weber 64821a4adc Implement events, add constructors
svn path=/trunk/mcs/; revision=1398
2001-11-20 22:36:03 +00:00
Daniel Weber 2461af68f3 Correct System.Xml.XPath error, implement InsertAfter
svn path=/trunk/mcs/; revision=1397
2001-11-20 22:35:11 +00:00
Daniel Weber 398cb6574e *** empty log message ***
svn path=/trunk/mcs/; revision=1396
2001-11-20 19:02:06 +00:00
Ravi Pratap M 21f1862187 2001-11-20 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::CheckIndices): The story continues :-) Complete
	re-write of the logic to now make it recursive.

	(UpdateIndices): Re-write accordingly.

	Store element data in a separate ArrayData list in the above methods.

	(MakeByteBlob): Implement to dump the array data into a byte array.

2001-11-19  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation): Factor out some code from ValidateInitializers
	into CheckIndices.

	* constant.cs (Define): Implement.

	(EmitConstant): Re-write fully.

	Pass in location info.

	* class.cs (Populate, Emit): Call Constant::Define and Constant::EmitConstant
	respectively.

	* cs-parser.jay (constant_declarator): Use VariableDeclaration instead of
	DictionaryEntry since we need location info too.

	(constant_declaration): Update accordingly.

	* expression.cs (ArrayCreation): Make ValidateInitializers simpler by factoring
	code into another method : UpdateIndices.

svn path=/trunk/mcs/; revision=1395
2001-11-20 17:37:54 +00:00
Ravi Pratap M a81fc304db 2001-11-20 Ravi Pratap <[email protected]>
* test-45.cs : Add for array initialization testing.

svn path=/trunk/mcs/; revision=1394
2001-11-20 17:36:24 +00:00
Miguel de Icaza ded71509da 2001-11-20 Miguel de Icaza <[email protected]>
* IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
	None as suggested by Phillip.

svn path=/trunk/mcs/; revision=1393
2001-11-20 15:47:49 +00:00
Daniel Weber 0c8f63df2f Added myself as maintainer of several System.Xml classes, replacing Joe Hildebrand in class.xml
Updated Changelog and maintainers.xml

svn path=/trunk/mono/; revision=1392
2001-11-20 03:38:07 +00:00
Miguel de Icaza f0a4a4f9e9 oops
svn path=/trunk/mcs/; revision=1391
2001-11-20 02:20:47 +00:00
Daniel Weber 04639cc5f0 finish adding stubs to begin work on XmlDocuemnt.Load(file)
Most files are merely placeholders.

svn path=/trunk/mcs/; revision=1390
2001-11-19 20:30:08 +00:00
Daniel Weber 227b56db7a add new System.Xml classes
svn path=/trunk/mcs/; revision=1389
2001-11-19 20:15:32 +00:00
Miguel de Icaza 348faf3bd6 2001-11-19 Miguel de Icaza <[email protected]>
* DictionaryBase.cs: Implemented.

svn path=/trunk/mcs/; revision=1388
2001-11-19 13:19:54 +00:00
Dietmar Maurer a14f7cb38d 2001-11-19 Dietmar Maurer <[email protected]>
* jit.c (MAKE_SPILLED_BI_ALU): always spill DIV/REM results to memory to
	make register allocation easier on x86

svn path=/trunk/mono/; revision=1387
2001-11-19 12:06:10 +00:00
Dietmar Maurer f6af9fad5a use (class == mono_defaults.string_class) instead of a strcmp
svn path=/trunk/mono/; revision=1386
2001-11-19 09:48:02 +00:00
Dietmar Maurer 46618f3452 2001-11-19 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. LDFTN

	* emit-x86.c (enter_method): more debugging output for Strings
	(arch_compile_method): added delegate support
	(arch_compile_method): align EBP to 8 byte boundary

svn path=/trunk/mono/; revision=1385
2001-11-19 09:30:00 +00:00
Paolo Molaro 5fb257ad8c Mon Nov 19 13:58:01 CET 2001 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: add method to register a string in the "#US"
	stream.
	* EnumBuilder.cs, SignatureHelper.cs: added stubs.
	* ILGenerator.cs: more stuff implemented.
	* LocalBuilder.cs: keep track of local var index.


Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <[email protected]>

	* MethodBase.cs: add internal get_next_table_index() for use in
	Reflection.Emit.

svn path=/trunk/mcs/; revision=1384
2001-11-19 09:09:26 +00:00
Dietmar Maurer 49759284e0 s/Utf7_Encoding/UTF7Encoding/
svn path=/trunk/mcs/; revision=1383
2001-11-19 09:08:39 +00:00
Paolo Molaro 188e2277f8 Typo fixes pointed out by Dick (HASCOSTANT -> HASCONSTANT).
svn path=/trunk/mono/; revision=1382
2001-11-19 07:27:46 +00:00
Paolo Molaro 80f4888e49 Make the JIT run also the slow (for the interp:-) methods.
Make ackermann.cs return 0 on success, 1 on failure.
Enable broken code in delegate.cs.

svn path=/trunk/mono/; revision=1381
2001-11-19 07:11:32 +00:00
Paolo Molaro cb9f067553 Mon Nov 19 11:37:14 CET 2001 Paolo Molaro <[email protected]>
* class.c, class.h: add mono_install_trampoline() so that the runtime
	can register a function to create a trampoline: removes the ugly
	requirement that a runtime needed to export arch_create_jit_trampoline.
	* object.h, object.c: added mono_install_handler() so that the runtime
	can install an handler for exceptions generated in C code (with
	mono_raise_exception()). Added C struct for System.Delegate.
	* pedump.c: removed arch_create_jit_trampoline.
	* reflection.c: some cleanups to allow registering user strings and
	later getting a token for methodrefs and fieldrefs before the assembly
	is built.
	* row-indexes.h: updates and fixes from the new ECMA specs.


Mon Nov 19 11:36:22 CET 2001 Paolo Molaro <[email protected]>

	* jit.c: use mono_install_trampoline (), instead of exporting
	a function to a lower-level library.


Mon Nov 19 11:33:00 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: start adding support for handling exceptions across
	managed/unmanaged boundaries. Cleanup Delegate method invocation.
	Pass the correct target object in Delegate::Invoke and use the correct
	'this' pointer in ldvirtftn (bugs pointed out by Dietmar).

Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <[email protected]>

	* main.c: remove arch_create_jit_trampoline().

svn path=/trunk/mono/; revision=1380
2001-11-19 06:52:53 +00:00
Miguel de Icaza a68a4aa109 Documentation updates
svn path=/trunk/mcs/; revision=1379
2001-11-19 00:44:09 +00:00
Miguel de Icaza 0c3a8436fe Link to Gtk# site
svn path=/trunk/mono/; revision=1378
2001-11-18 17:57:29 +00:00
Ravi Pratap M 8d510ba7f3 2001-11-18 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::ValidateInitializers): Update to perform
	some type checking etc.

2001-11-17  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation::ValidateInitializers): Implement
	bits to provide dimension info is user skips doing that.

	Update second constructor to store the rank correctly.

2001-11-16  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation::ValidateInitializers): Poke around
	and try to implement.

	* ../errors/cs0150.cs : Add.

	* ../errors/cs0178.cs : Add.

svn path=/trunk/mcs/; revision=1377
2001-11-18 10:17:16 +00:00
Ravi Pratap M e68e4f9aa7 Add files for the 2 new errors.
svn path=/trunk/mcs/; revision=1376
2001-11-18 10:14:58 +00:00
Miguel de Icaza 512d5633f7 Add test-43
svn path=/trunk/mcs/; revision=1375
2001-11-17 11:50:52 +00:00
Miguel de Icaza 4bf5a2deb5 More cleanups
svn path=/trunk/mcs/; revision=1374
2001-11-17 01:39:27 +00:00
Miguel de Icaza ca1b9688e9 Add love
svn path=/trunk/mcs/; revision=1373
2001-11-17 01:36:49 +00:00
Miguel de Icaza 73b849f929 Flush
svn path=/trunk/mono/; revision=1372
2001-11-17 01:23:34 +00:00
Miguel de Icaza fea2d810c8 2001-11-16 Miguel de Icaza <[email protected]>
* statement.cs: Implement foreach on multi-dimensional arrays.

	* parameter.cs (Parameters.GetParameterByName): Also lookup the
	name of the params argument.

	* expression.cs: Use EmitStoreOpcode to get the right opcode while
	initializing the array.

	(ArrayAccess.EmitStoreOpcode): move the opcode generation here, so
	we can use this elsewhere.

	* statement.cs: Finish implementation of foreach for single
	dimension arrays.

	* cs-parser.jay: Use an out-of-band stack to pass information
	around, I wonder why I need this.

	foreach_block: Make the new foreach_block the current_block.

	* parameter.cs (Parameters.GetEmptyReadOnlyParameters): New
	function used to return a static Parameters structure.  Used for
	empty parameters, as those are created very frequently.

	* cs-parser.jay, class.cs: Use GetEmptyReadOnlyParameters

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

	* test-34.cs: Improve this test to check if we are actually
	walking over the arguments in foreach.

svn path=/trunk/mcs/; revision=1371
2001-11-17 01:16:14 +00:00
Gaurav Vaish 8007424631 2001-11-16 Gaurav Vaish <[email protected]>
* Calendar.cs         Unimplemented functions throw NotImplementedException

svn path=/trunk/mcs/; revision=1370
2001-11-16 11:00:32 +00:00
Dietmar Maurer e2867d358c 2001-11-16 Dietmar Maurer <[email protected]>
* x86.brg (STRING_ARG): impl. a way to marshal strings. This
	will be extensible to handle all possible kinds of marshalling
	requirements.

	* jit.c (map_call_type): added MB_TERM_CALL_VOID
	(mono_analyze_stack): impl. LDELEMA, reimplemented CALL
	instructions to handle this arguments more effectively.

svn path=/trunk/mono/; revision=1369
2001-11-16 10:56:52 +00:00
Miguel de Icaza 78c3390301 Massive update
svn path=/trunk/mono/; revision=1368
2001-11-16 06:51:40 +00:00
Ravi Pratap M 33be90e658 2001-11-15 Ravi Pratap <[email protected]>
* interface.cs : Default modifier is private, not public. The
	make verify test passes again.

svn path=/trunk/mcs/; revision=1367
2001-11-16 02:46:27 +00:00
Ravi Pratap M 551f633fa7 2001-11-15 Ravi Pratap <[email protected]>
* support.cs (ReflectionParameters): Fix logic to determine
	whether the last parameter is a params one. Test 9 passes again.

	* delegate.cs (Populate): Register the builders we define with
	RegisterParameterForBuilder. Test 19 passes again.

	* cs-parser.jay (property_declaration): Reference $6 instead
	of $$ to get at the location.

	(indexer_declaration): Similar stuff.

	(attribute): Ditto.

	* class.cs (Property): Register parameters for the Get and Set methods
	if they exist. Test 23 passes again.

	* expression.cs (ArrayCreation::Emit): Pass null for the method in the
	call to EmitArguments as we are sure there aren't any params arguments.
	Test 32 passes again.

	* suppor.cs (ParameterDesc, ParameterModifier): Fix trivial bug causing
	IndexOutOfRangeException.

	* class.cs (Property::Define): Register property using TypeManager.RegisterProperty
	Test 33 now passes again.

svn path=/trunk/mcs/; revision=1366
2001-11-15 13:05:20 +00:00
Ravi Pratap M e776fdf5b8 *** empty log message ***
svn path=/trunk/mcs/; revision=1365
2001-11-15 12:04:47 +00:00
Miguel de Icaza 99bf249676 2001-11-15 Miguel de Icaza <[email protected]>
* cs-parser.jay: Kill horrendous hack ($??? = lexer.Location) that
	broke a bunch of things.  Will have to come up with a better way
	of tracking locations.

svn path=/trunk/mcs/; revision=1364
2001-11-15 11:53:24 +00:00
Dietmar Maurer edeee9bd60 2001-11-15 Dietmar Maurer <[email protected]>
* Makefile.am (mono_SOURCES): renamed testjit to mono

	* x86.brg: added debugging support

	* testjit.c: added support for value types, CFG improvements

	* emit-x86.c (enter_method): handle value types
	(tree_allocate_regs): impl. a better way to handle chain rules

svn path=/trunk/mono/; revision=1363
2001-11-15 11:11:20 +00:00
Dick Porter 2c499ca92d Forgot some wait tidy-up
svn path=/trunk/mono/; revision=1362
2001-11-15 09:56:23 +00:00
Dick Porter 3530de1a22 2001-11-15 Dick Porter <[email protected]>
* mutexes.c: Implement mutexes

	* threads.c:
	* semaphores.c:
	* misc.c: Factor out some common code

svn path=/trunk/mono/; revision=1361
2001-11-15 09:46:14 +00:00
Gaurav Vaish 4e6f4fe924 2001-11-15 Gaurav Vaish <[email protected]>
* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
                         - the dummy / unimplemented / partially implemented functions now throw NotImplementedException.

svn path=/trunk/mcs/; revision=1360
2001-11-15 07:48:37 +00:00
Miguel de Icaza 4450fbb927 Updated
svn path=/trunk/mcs/; revision=1358
2001-11-14 23:32:20 +00:00
Miguel de Icaza 6ebdb730b0 2001-11-09 Miguel de Icaza <[email protected]>
* enum.cs (Enum.Emit): Delay the lookup of loc until we run into
	an error.  This removes the lookup from the critical path.

	* cs-parser.jay: Removed use of temporary_loc, which is completely
	broken.

svn path=/trunk/mcs/; revision=1357
2001-11-14 23:07:10 +00:00
Miguel de Icaza 3a6a83cd21 2001-11-14 Miguel de Icaza <[email protected]>
* support.cs (ReflectionParameters.ParameterModifier): Report
	whether the argument is a PARAMS argument or not.

	* class.cs: Set the attribute `ParamArrayAttribute' on the
	parameter argument.

	* typemanager.cs: Define param_array_type (ParamArrayAttribute)
	and cons_param_array_attribute (ConstructorInfo for
	ParamArrayAttribute).,

	* codegen.cs: Emit the return using the `Return' statement, that
	way we can report the error correctly for missing return values.

	* class.cs (Method.Emit): Clean up.

	* expression.cs (Argument.Resolve): Take another argument: the
	location where this argument is used.  Notice that this is not
	part of the "Argument" class as to reduce the size of the
	structure (we know the approximate location anyways).

	Test if the argument is a variable-reference, if not, then
	complain with a 206.

	(Argument.Emit): Emit addresses of variables.

	(Argument.FullDesc): Simplify.

	(Invocation.DoResolve): Update for Argument.Resolve.

	(ElementAccess.DoResolve): ditto.

svn path=/trunk/mcs/; revision=1356
2001-11-14 22:59:35 +00:00
Miguel de Icaza b623f18d20 Force test-34 to fail and exhibit the bug
svn path=/trunk/mcs/; revision=1355
2001-11-14 22:58:59 +00:00
Miguel de Icaza 02b414cf9c 2001-11-14 Miguel de Icaza <[email protected]>
* Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
	UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
	exception if the value is null too.

	* Char.cs (CompareTo): ditto.

	* ApplicationException.cs: Added constructor that does serialization.

	* ParamArrayAttribute.cs: Define attribute correctly.

svn path=/trunk/mcs/; revision=1354
2001-11-14 20:35:42 +00:00
Miguel de Icaza e6cd78bb8e 2001-11-14 Miguel de Icaza <[email protected]>
* delegate.cs (DelegateInvocation.Emit): Invocation of Invoke
	method should be virtual, as this method is always virtual.

svn path=/trunk/mcs/; revision=1353
2001-11-14 19:00:04 +00:00
Paolo Molaro 221e60c13c Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle boolean as a return value.
	* x96/x86-codegen.c: x86_widen_memindex() added.


Wed Nov 14 19:23:00 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: move the stack frame dumping code to a function so it can
	be called from the debugger. Fix virtual method lookup for interfaces.
	Throw exceptions instead of aborting in more places.
	Print also the message in an exception. Updates for field renames in
	corlib.


Wed Nov 14 19:26:06 CET 2001 Paolo Molaro <[email protected]>

	* class.h, class.c: add a max_interface_id to MonoClass.
	* icall.c: rename my_mono_new_object() to my_mono_new_mono_type()
	since it's used to do that. Added mono_type_type_from_obj().
	Make GetType() return NULL instead of segfaulting if the type was not
	found. Handle simple arrays in assQualifiedName.
	* object.h: add a struct to represent an Exception.
	* reflection.c: output call convention in method signature.
	Add code to support P/Invoke methods and fixed offsets for fields.

svn path=/trunk/mono/; revision=1352
2001-11-14 15:18:56 +00:00
Paolo Molaro c441fe5cc6 Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <[email protected]>
* Linux.cs: a '/' is a valid char in a file path.


Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected]>

	* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
	* Array.cs: fix Array.Copy.
	* AssemblyLoadEventArgs.cs: rename field.
	* CLSCompliantAttribute.cs: use correct name for the class.
	* Char.cs: fix IsLetter.
	* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
	SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
	* Convert.cs: CLSCompliant updates, add ChangeType() methods.
	* Delegate.cs: renamed target field to m_target.
	* Enum.cs: added missing methods.
	* MonoType.cs: add a constructor and some needed properties.
	* Object.cs: implement GetType().
	* String.cs: CLSCompliant updates. Fixes everywhere to remove the
	ending 0 char.
	* Type.cs: add missing methods/properties.


Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implement ArrayListEnumerator.
	* Hashtable.cs: hardcode the prime number table.


Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected]>

	* Calendar.cs: CLSCompliant updates.


Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]>

	* CheckPermission.cs: disable ModeAccess() code: it's wrong.
	* FileStream.cs: only trow an exception if the read failed in ReadByte().
	* StreamReader.cs: implement Peek and Read.
	* TextWriter.cs: CLSCompliant updates.


Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected]>

	* Assembly.cs: implement some of the Load() methods.
	* ConstructorInfo.cs: some missing stubs and fields.
	* FieldInfo.cs: IsInitOnly property.
	* ParameterInfo.cs: stubs for missing properties.
	* ParameterModifier.cs: implemented class.


Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]>

	* ConstructorBuilder.cs: added missing stubs and some implementation.
	* CustomAttributeBuilder.cs: added.
	* EventBuilder.cs: added.
	* FieldBuilder.cs: updates.
	* MethodBuilder.cs: stuff to implement P/Invoke methods.
	* ModuleBuilder.cs: added GetArrayMethod() stub.
	* ParameterBuilder.cs, PropertyBuilder.cs: updates.
	* TypeBuilder.cs: updates and stubs.


Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected]>

	* CallingConvention.cs: add missing Winapi.


Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected]>

	* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.


Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected]>

	* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
	SHA256Managed.cs: CLSCompliant updates.


Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected]>

	* Encoding.cs: renamed some fields.
	* StringBuilder.cs: CLSCompliant updates.


Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>

	* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.

svn path=/trunk/mcs/; revision=1351
2001-11-14 15:18:05 +00:00
Miguel de Icaza 9fb8a28a31 Added a delegate test that fails
svn path=/trunk/mcs/; revision=1350
2001-11-14 14:21:38 +00:00
Miguel de Icaza f15a4411cc Update the news
svn path=/trunk/mono/; revision=1349
2001-11-14 13:51:53 +00:00
Miguel de Icaza 6651b4822b Add test that checks arrays
svn path=/trunk/mcs/; revision=1348
2001-11-14 02:14:57 +00:00
Miguel de Icaza f80fc87969 2001-11-13 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.Emit): Use EmitAssign instead of Store.

	* expression.cs (ParameterReference): Drop IStackStorage and implement
	IAssignMethod instead.

	(LocalVariableReference): ditto.

	* ecore.cs (FieldExpr): Drop IStackStorage and implement
	IAssignMethod instead.

2001-11-13  Miguel de Icaza <[email protected]>

	* parameter.cs, expression.cs, class.cs, ecore.cs: Made all
	enumerations that are used in heavily used structures derive from
	byte in a laughable and pathetic attempt to reduce memory usage.
	This is the kind of pre-optimzations that you should not do at
	home without adult supervision.

	* expression.cs (UnaryMutator): New class, used to handle ++ and
	-- separatedly from the other unary operators.  Cleans up the
	code, and kills the ExpressionStatement dependency in Unary.

	(Unary): Removed `method' and `Arguments' from this class, making
	it smaller, and moving it all to SimpleCall, so I can reuse this
	code in other locations and avoid creating a lot of transient data
	strucutres when not required.

	* cs-parser.jay: Adjust for new changes.

2001-11-11  Miguel de Icaza  <[email protected]>

	* enum.cs (Enum.Populate): If there is a failure during
	definition, return

	* cs-parser.jay (opt_enum_base): we used to catch type errors
	here, but this is really incorrect.  The type error should be
	catched during semantic analysis.

svn path=/trunk/mcs/; revision=1347
2001-11-14 01:41:24 +00:00
Miguel de Icaza 4b18eb5b67 Updated the test-42 to be more comprehensive, and also documented
which tests we do not pass currently, and put some "holes" into the
list to make it obvious.

svn path=/trunk/mcs/; revision=1346
2001-11-14 01:32:36 +00:00
Martin Weindel 88ac8ee00d added last changes
svn path=/trunk/mono/; revision=1344
2001-11-13 18:34:45 +00:00
Ravi Pratap M 875420d34b 2001-11-13 Ravi Pratap <[email protected]>
* cs-parser.jay (operator_declarator, conversion_operator_declarator): Set
	current_local_parameters as expected since I, in my stupidity, had forgotten
	to do this :-)

	* attribute.cs (GetValidPlaces): Fix stupid bug.

	* class.cs (Method::Emit): Perform check on applicability of attributes.

	(Constructor::Emit): Ditto.

	(Field::Emit): Ditto.

	(Field.Location): Store location information.

	(Property, Event, Indexer, Operator): Ditto.

	* cs-parser.jay (field_declaration): Pass in location for each field.

	* ../errors/cs0592.cs : Add.

2001-11-12  Ravi Pratap  <[email protected]>

	* typemanager.cs (attribute_usage_type): New static member for System.AttributeUsage.

	(InitCoreTypes): Update accordingly.

	(RegisterAttrType, LookupAttr): Implement.

	* attribute.cs (Attribute.Targets, AllowMultiple, Inherited): New fields to hold
	info about the same.

	(Resolve): Update to populate the above as necessary.

	(Error592): Helper.

	(GetValidPlaces): Helper to the above.

	(CheckAttribute): Implement to perform validity of attributes on declarative elements.

	* class.cs (TypeContainer::Emit): Update attribute emission code to perform checking etc.

svn path=/trunk/mcs/; revision=1343
2001-11-13 13:50:06 +00:00
Ravi Pratap M 97fd8804ab Add. We now properly check attribute placing.
svn path=/trunk/mcs/; revision=1342
2001-11-13 13:47:18 +00:00
Ravi Pratap M 26461ffeae 2001-11-13 Ravi Pratap <[email protected]>
* test-7.cs : Re-write to make the tests more robust.

svn path=/trunk/mcs/; revision=1341
2001-11-13 13:45:55 +00:00
Dick Porter 293f6e1e8d 2001-11-13 Dick Porter <[email protected]>
* threads.c: Implement TLS.  Implement GetCurrentThreadId(), and
	GetCurrentThread() by maintaining a hash of thread handles.

	* threads.h: Define thread and process creation flags

svn path=/trunk/mono/; revision=1340
2001-11-13 13:07:35 +00:00
Dick Porter 9666f63a62 2001-11-13 Dick Porter <[email protected]>
* configure.in: Some more tests for pthread features
	(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
	still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)

svn path=/trunk/mono/; revision=1339
2001-11-13 09:04:31 +00:00
Miguel de Icaza a97b1f0b2a Add another test
svn path=/trunk/mcs/; revision=1338
2001-11-13 01:28:35 +00:00
Miguel de Icaza 43439c5e47 Make the test not pass, Ravi, check this please
svn path=/trunk/mcs/; revision=1337
2001-11-13 01:14:02 +00:00
Miguel de Icaza 52b00bce38 Another test that we dont pass
svn path=/trunk/mcs/; revision=1336
2001-11-13 00:56:03 +00:00
Gaurav Vaish c6a6e436eb 2001-11-13 Gaurav Vaish <[email protected]>
** Added files ChangeLog's to the namespaces I am working on.

svn path=/trunk/mcs/; revision=1335
2001-11-12 17:32:40 +00:00
Gaurav Vaish 4b60b40c87 2001:11:13 Gaurav Vaish <[email protected]>
* Calendar.cs          Fixed some bugs

* TODO                 Removed

svn path=/trunk/mcs/; revision=1334
2001-11-12 15:00:13 +00:00
Ravi Pratap M a1843f59b5 2001-12-11 Ravi Pratap <[email protected]>
* attribute.cs (Attribute::Resolve): Expand to handle named arguments too.

	* ../errors/cs0617.cs : Add.

svn path=/trunk/mcs/; revision=1333
2001-11-12 13:29:05 +00:00
Ravi Pratap M 4ac5a672ee 2001-11-12 Ravi Pratap <[email protected]>
* test-39.cs : Update to test named arguments too.

svn path=/trunk/mcs/; revision=1332
2001-11-12 13:27:22 +00:00
Ravi Pratap M dafcf2908e Add for the new error we catch in relation to named arguments.
svn path=/trunk/mcs/; revision=1331
2001-11-12 13:26:44 +00:00
Dick Porter c1e5980273 2001-11-12 Dick Porter <[email protected]>
* critical-sections.c: Implement critical sections

svn path=/trunk/mono/; revision=1330
2001-11-12 12:05:50 +00:00
Dick Porter 180aa81bdf 2001-11-12 Dick Porter <[email protected]>
* semaphores.c: Implement semaphores

	* wait.c (wait_for_item): Maintain a wait count rather than count
	signalled booleans.

	* threads.c (thread_wait_multiple): Don't lock the wait item, that
	will block other wait threads

2001-11-11  Dick Porter  <[email protected]>

	* Makefile.am: Rename some automake variables
	(from Nick Drochak <[email protected]>)

svn path=/trunk/mono/; revision=1329
2001-11-12 08:59:21 +00:00
Paolo Molaro 31494f694f Mon Nov 12 12:41:32 CET 2001 Paolo Molaro <[email protected]>
* decimal.c, decimal.h: mono_double2decimal() get the sign bit from
	the value.
	* icall.c: use mono_array_addr instead of array->vector: fixes the
	reflection image writing.
	* reflection.c: init call convention byte to 0 in method signature.
	Encode the property signature. Don't output property-related methods
	twice. Really process the properties for a type (don't cast a field to
	a property, my mom always told me that).
	Fix 64 bit issues in pointer alignment in a different and more
	readable way.

svn path=/trunk/mono/; revision=1328
2001-11-12 08:05:52 +00:00
Gaurav Vaish 535eaddea7 2001:11:12 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1327
2001-11-11 16:21:45 +00:00
Sean MacIsaac bfccf1dc6e * AttributeUseage.cs: Should define AttributeUsageAttribute.
* CLSCompliant.cs: Marked with AttributeUsage attribute.

* Decimal.cs: Fixed CLSCompliant attributes.

* Type.cs: changed _impl to internal (needs to be accessable by
subclasses).

(TypeHandle): Marked as abstract, implementation removed.

(IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
GetMethod): Added stub implementations so NUnit would link against
corlib

* FileNotFoundException.cs: Added some constructors

* Path.cs (GetFullPath): Fixed implementation

* Assembly.cs: Filled in some stub implementations

* ConstructorInfo.cs: Added some stub functions for NUnit

* TypeBuilder.cs: Added implementation for TypeHandle.

svn path=/trunk/mcs/; revision=1326
2001-11-11 16:15:20 +00:00
Sean MacIsaac 86414b05d3 * loader.h: Removed type class from MonoDefaults, added monotype
* loader.c: Loaded MonoType, removed loading of Type

* icall.c (my_mono_new_object): Now returns a System.MonoType,
and fills in System.Type._impl with a RuntimeTypeHandle rather
than the actual MonoClass *

(ves_icall_type_from_handle): change from type_class to
monotype_class

(ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr):
implemented

(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAuto):
implemented

(ves_icall_System_Reflection_Assembly_LoadFrom): implemented

(ves_icall_System_Reflection_Assembly_GetType): implemented

(ves_icall_System_MonoType_assQualifiedName): implemented

(ves_icall_System_PAL_OpSys_GetCurrentDirecotry): implemented

svn path=/trunk/mono/; revision=1325
2001-11-11 16:01:34 +00:00
Ravi Pratap M 88b0954271 2001-11-11 Ravi Pratap <[email protected]>
* enum.cs (Emit): Rename to Populate to be more consistent with what
	we expect it to do and when exactly it is called.

	* class.cs, rootcontext.cs : Update accordingly.

	* typemanager.cs (RegisterField, GetValue): Workarounds for the fact that
	FieldInfo.GetValue does not work on dynamic types ! S.R.E lameness strikes again !

	* enum.cs (Populate): Register fields with TypeManager.RegisterField.

	* expression.cs (MemberAccess.DoResolve): Adjust code to obtain the value
	of a fieldinfo using the above, when dealing with a FieldBuilder.

2001-11-10  Ravi Pratap  <[email protected]>

	* ../errors/cs0031.cs : Add.

	* ../errors/cs1008.cs : Add.

	* ../errrors/cs0543.cs : Add.

	* enum.cs (DefineEnum): Check the underlying type and report an error if not a valid
	enum type.

	(FindMembers): Implement.

	* typemanager.cs (FindMembers): Re-write to call the appropriate methods for
	enums and delegates too.

	(enum_types): Rename to builder_to_enum.

	(delegate_types): Rename to builder_to_delegate.

	* delegate.cs (FindMembers): Implement.

svn path=/trunk/mcs/; revision=1324
2001-11-11 08:06:43 +00:00
Ravi Pratap M ff75ba529b 2001-11-11 Ravi Pratap <[email protected]>
* test-40.cs : Update to be a little more useful.

svn path=/trunk/mcs/; revision=1323
2001-11-11 08:03:49 +00:00
Ravi Pratap M 2a7159dbd8 Add files for the new errors we catch.
svn path=/trunk/mcs/; revision=1322
2001-11-11 08:01:48 +00:00
Gaurav Vaish 2bb46acd32 2001:11:11 Gaurav Vaish <[email protected]>
* Calendar.cs	Added some functions, provided skeleton to some more

* BaseCompareValidator.cs	Still wondering how to implement this

svn path=/trunk/mcs/; revision=1321
2001-11-10 19:28:49 +00:00
Gaurav Vaish dc53dc36f0 2001:11:11 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1320
2001-11-10 19:25:53 +00:00
Paolo Molaro 7431a47708 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <[email protected]>
* main.c, dump, dump.c: decode the customattr table.
	* dump.c: handle also field signature when dumping the memberref
	table.

svn path=/trunk/mono/; revision=1318
2001-11-10 12:39:37 +00:00
Dick Porter e639140afe 2001-11-10 Dick Porter <[email protected]>
* Makefile.am (libwapiincludedir): Fix include destination

	* .cvsignore: Ignore generated files

svn path=/trunk/mono/; revision=1317
2001-11-10 07:32:15 +00:00
Dietmar Maurer fe9752dda1 2001-11-10 Dietmar Maurer <[email protected]>
* pthread-compat.c: added some include files to make it compile on
	linux.

	* x86.brg (INITOBJ): bug fix: initialize data before use,
	simplified the code.

svn path=/trunk/mono/; revision=1316
2001-11-10 04:29:12 +00:00
Miguel de Icaza 05d7507da3 Remove dependency on Windows.Forms
svn path=/trunk/mcs/; revision=1313
2001-11-09 22:22:27 +00:00
Miguel de Icaza 5872e41fb6 2001-11-09 Miguel de Icaza <[email protected]>
* testjit.c (mono_analyze_stack): Remove compiler warning by
	testing against NULL.
2001-11-09  Miguel de Icaza  <[email protected]>

	* assembly.c (mono_assembly_open): Implement a cache for the
	assemblies.

	(mono_assembly_close): only destroy the assembly when the last
	reference is gone.

svn path=/trunk/mono/; revision=1312
2001-11-09 22:20:33 +00:00
Ravi Pratap M f0eed07f51 2001-11-09 Ravi Pratap <[email protected]>
* typemanager.cs (IsEnumType): Implement.

	* enum.cs (Emit): Re-write parts to account for the underlying type
	better and perform checking etc.

	(GetNextDefaultValue): Helper to ensure we don't overshoot max value
	of the underlying type.

	* literal.cs (GetValue methods everywhere): Perform bounds checking and return
	value

	* enum.cs (error31): Helper to report error #31.

	* cs-parser.jay (enum_declaration): Store location of each member too.

	* enum.cs (member_to_location): New hashtable.

	(AddEnumMember): Update location hashtable.

	(Emit): Use the location of each member while reporting errors.

svn path=/trunk/mcs/; revision=1311
2001-11-09 16:52:29 +00:00
Dick Porter f93100c063 2001-11-09 Dick Porter <[email protected]>
* configure.in: Try and get large file support, but it's not fatal
	if it's not there (the io-layer just ignores the high word in that
	case.)

	Check for windows builds, and only bother to look for pthreads and
	large files if we're not building for cygwin or native win32.  Not
	having pthread support on Posix systems is now a fatal error.

	* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
	aclocal

2001-11-08  Dick Porter  <[email protected]>

	* Initial checkin.

	This is a library emulating the win32 threading and IO API.

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (pedump_LDADD): Don't need THREAD_LIBS any more

svn path=/trunk/mono/; revision=1310
2001-11-09 16:39:50 +00:00
Dietmar Maurer 9c047b806d bug fix in BOX
svn path=/trunk/mono/; revision=1309
2001-11-09 14:27:04 +00:00
Dietmar Maurer b01bdf25d5 2001-11-09 Dietmar Maurer <[email protected]>
* testjit.c (mono_analyze_stack): new BOX impl.

	* x86.brg: implemented INITOBJ

	* testjit.c (mono_analyze_stack): finished array support
	(mono_analyze_stack): reimplemented DUP instruction

svn path=/trunk/mono/; revision=1308
2001-11-09 13:40:43 +00:00
Paolo Molaro 3afe489fdc Fri Nov 9 15:48:02 CET 2001 Paolo Molaro <[email protected]>
* icall.c, decimal.h, decimal.c: integrated decimal internalcalls
	from Martin Weindel.
	* object.h: add mono_string_chars ().

svn path=/trunk/mono/; revision=1307
2001-11-09 10:53:55 +00:00
Gaurav Vaish 7afc363a5c 2001:11:09 Gaurav Vaish <[email protected]>
* UrlUtils      completed MakeRelative, added GetDirectory

svn path=/trunk/mcs/; revision=1306
2001-11-09 09:13:16 +00:00
Dietmar Maurer fe2300c829 2001-11-09 Dietmar Maurer <[email protected]>
* testjit.c (mono_analyze_stack): finished array support

2001-11-08  Dietmar Maurer  <[email protected]>

	* testjit.c (MAKE_STELEM, MAKE_LDELEM): we build a tree which
	represents the address of the element. This way we can emit highly
	optimized x86 instructions to access elements (using base+index+offset
	adressing mode)

svn path=/trunk/mono/; revision=1305
2001-11-09 06:28:41 +00:00
Miguel de Icaza d6eec967cd oops. remove printfs
svn path=/trunk/mcs/; revision=1304
2001-11-09 03:08:30 +00:00
Miguel de Icaza 5ec9a82218 2001-11-09 Miguel de Icaza <[email protected]>
* cs-parser.jay: A for_initializer if is a
	local_variable_declaration really ammount to have an implicit
	block with the variable declaration and no initializer for for.

	* statement.cs (For.Emit): Cope with null initializers.

	This fixes the infinite loop on for initializers.

svn path=/trunk/mcs/; revision=1303
2001-11-09 02:54:38 +00:00
Gaurav Vaish 466930a3e8 2001:11:09 Gaurav Vaish <[email protected]>
* UrlUtils.cs   Added the following functions:

             GetProtocol(string) -> Returns the protocol used (before ://)
             IsRootUrl(string)   -> Is the url supplied is RootUrl
             IsValidProtocol(string)
                                 -> Can the protocol represent a valid protocol
             RegionMatches(...)  -> Matches an inner part of a string

svn path=/trunk/mcs/; revision=1302
2001-11-09 02:33:00 +00:00
Miguel de Icaza e9cdcc3d83 Few changes for RC1
svn path=/trunk/mcs/; revision=1301
2001-11-08 23:38:22 +00:00
Miguel de Icaza 5b4c6191d4 Few changes for RC1
svn path=/trunk/mcs/; revision=1300
2001-11-08 23:38:22 +00:00
Miguel de Icaza 988b742291 Flush ChangeLog
svn path=/trunk/mcs/; revision=1299
2001-11-08 22:41:19 +00:00
Miguel de Icaza fb733b8b62 2001-11-07 Miguel de Icaza <[email protected]>
* x86/tramp.c: Include stdlib to kill warning.

2001-11-07  Miguel de Icaza  <[email protected]>

	* main.c (dis_property_methods): Added missing colon which avoided
	setting loc.t

2001-11-07  Miguel de Icaza  <[email protected]>

	* interp.c: Include stdlib to kill warning.
	(check_corlib): Adjust format encodings to remove warnings.

2001-11-07  Miguel de Icaza  <[email protected]>

	* reflection.c (build_compressed_metadata): Eliminates warnings
	and uses 64-bit clean code.

	* metadata.c (mono_type_hash): Change signature to eliminate warnings.
	(mono_type_equal): Change signature to eliminate warnings.

2001-11-07  Miguel de Icaza  <[email protected]>

	* monoburg.y: Include string.h, stdlib.h to kill warnings.

	* sample.brg: Include string.h to remove warnings.

svn path=/trunk/mono/; revision=1298
2001-11-08 21:38:32 +00:00
Miguel de Icaza 68a364a529 2001-11-08 Miguel de Icaza <[email protected]>
* ecore.cs: Remove dead code.

	* class.cs (Property.Emit): More simplification.

svn path=/trunk/mcs/; revision=1297
2001-11-08 16:55:38 +00:00
Miguel de Icaza 9e739a026f 2001-11-08 Miguel de Icaza <[email protected]>
* class.cs (Property.Emit): More simplification.

svn path=/trunk/mcs/; revision=1296
2001-11-08 16:21:43 +00:00
Miguel de Icaza b70520af40 2001-11-08 Miguel de Icaza <[email protected]>
* class.cs: Reworked to have less levels of indentation.

svn path=/trunk/mcs/; revision=1295
2001-11-08 15:47:10 +00:00
Miguel de Icaza b8d9ad2444 Remove the dlls, that was lame
svn path=/trunk/mono/; revision=1294
2001-11-08 13:38:25 +00:00
Ravi Pratap M 62c576c2b6 2001-11-08 Ravi Pratap <[email protected]>
* class.cs (Property): Emit attributes.

	(Field): Ditto.

	(Event): Ditto.

	(Indexer): Ditto.

	(Operator): Ditto.

	* enum.cs (Emit): Ditto.

	* rootcontext.cs (ResolveTree, EmitCode, CloseTypes): Do the same for
	Enums too.

	* class.cs (Field, Event, etc.): Move attribute generation into the
	Emit method everywhere.

	* enum.cs (Enum): Revamp to use the same definition semantics as delegates so
	we have a DefineEnum, CloseEnum etc. The previous way of doing things was not right
	as we had no way of defining nested enums !

	* rootcontext.cs : Adjust code accordingly.

	* typemanager.cs (AddEnumType): To keep track of enum types separately.

2001-11-07  Ravi Pratap  <[email protected]>

	* expression.cs (EvalConstantExpression): Move into ecore.cs

	* enum.cs (Enum): Rename some members and make them public and readonly
	according to our convention.

	* modifiers.cs (EnumAttr): Implement as we need to set only visibility flags,
	nothing else.

	* enum.cs (Enum::Define): Use the above instead of TypeAttr.

	(Enum::Emit): Write a simple version for now which doesn't try to compute
	expressions. I shall modify this to be more robust in just a while.

	* class.cs (TypeContainer::Emit): Make sure we include Enums too.

	(TypeContainer::CloseType): Create the Enum types too.

	* attribute.cs (Resolve): Use the new Reduce method instead of EvalConstantExpression.

	* expression.cs (EvalConstantExpression): Get rid of completely.

	* enum.cs (Enum::Emit): Use the new expression reducer. Implement assigning
	user-defined values and other cases.

	(IsValidEnumLiteral): Helper function.

	* expression.cs (ExprClassfromMemberInfo): Modify to not do any literalizing
	out there in the case we had a literal FieldExpr.

	(MemberAccess:DoResolve): Do the literalizing of the FieldExpr here.

	(Literalize): Revamp a bit to take two arguments.

	(EnumLiteral): New class which derives from Literal to wrap enum literals.

2001-11-06  Ravi Pratap  <[email protected]>

	* cs-parser.jay (compilation_unit): Remove extra opt_attributes for now.

	* expression.cs (ArrayCreation::ValidateInitializers): Implement.

	(Resolve): Use the above to ensure we have proper initializers.

2001-11-05  Ravi Pratap  <[email protected]>

	* expression.cs (Expression::EvalConstantExpression): New method to
	evaluate constant expressions.

	* attribute.cs (Attribute::Resolve): Modify bits to use the above function.

svn path=/trunk/mcs/; revision=1293
2001-11-08 13:35:45 +00:00
Ravi Pratap M 3f8fe0f32b 2001-11-08 Ravi Pratap <[email protected]>
* test-39.cs : Add

	* test-40.cs : Add

	* makefile : Modify to include the above as they pass all tests.

svn path=/trunk/mcs/; revision=1292
2001-11-08 13:30:53 +00:00
Nick Drochak a9cb267ec3 2001-11-09 Nick Drochak <[email protected]>
* makefile(s): add 'test' target, so now you can do 'make test'
	and something useful will happen.

	* *.build: link NUnit test dll's with the mono assembly they are
	supposed to test, and suppress 1595 warnings.

svn path=/trunk/mcs/; revision=1291
2001-11-08 11:35:50 +00:00
Nick Drochak 874c6ccb96 2001-11-08 Nick Drochak <[email protected]>
* corlib_test.build: Include test for Queue in the dll

svn path=/trunk/mcs/; revision=1290
2001-11-08 11:10:19 +00:00
Gaurav Vaish 6ee7590715 Created freshly looking WebControl.cs
Now playing with AdRotator.cs

svn path=/trunk/mcs/; revision=1289
2001-11-08 09:52:45 +00:00
Nick Drochak 0c947dd61c 2001-11-08 Nick Drochak <[email protected]>
* corlib.build: put /norwarn in for 0169 and 0649 since most of the
	classes have unused fields, but it's really an problem right now
	because we know the class isn't finished.  'make' should be a lot
	quieter now!

svn path=/trunk/mcs/; revision=1288
2001-11-08 06:14:03 +00:00
Nick Drochak 4a8baf0739 2001-11-08 Nick Drochak <[email protected]>
* README: Explanation of the dll's which are built and what
	directories the go in.

svn path=/trunk/mcs/; revision=1287
2001-11-08 06:07:08 +00:00
Miguel de Icaza 52bbd6cf40 Add more tests
svn path=/trunk/mcs/; revision=1285
2001-11-08 00:17:45 +00:00
Miguel de Icaza 3c3ef2ba0f 2001-11-07 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.Emit): Some bits to initialize data
	in an array.

	(Binary.ResolveOperator): Handle operator != (object a, object b)
	and operator == (object a, object b);

	(Binary.DoNumericPromotions): Indicate whether the numeric
	promotion was possible.

	(ArrayAccess.DoResolve, ArrayAccess.Emit, ArrayAccess.EmitAssign):
	Implement.

	Made the ArrayAccess implement interface IAssignMethod instead of
	IStackStore as the order in which arguments are passed reflects
	this.

svn path=/trunk/mcs/; revision=1284
2001-11-08 00:17:29 +00:00
Nick Drochak ccdf80dc81 2001-11-08 Nick Drochak <[email protected]>
* corlib.build: build a corlib that can be linked against the nunit
	test dll's when linux is the target (just like windows).

	Added /nowarn 0649 and 0169 to cut down on the compiler noise for
	all the unused fields we have in the stubs.

svn path=/trunk/mcs/; revision=1283
2001-11-07 23:29:11 +00:00
Miguel de Icaza 1e97a8e1d0 Add a new test that we fail to pass
svn path=/trunk/mcs/; revision=1281
2001-11-07 13:33:25 +00:00
Paolo Molaro 56a952eb34 Wed Nov 7 15:40:01 CET 2001 Paolo Molaro <[email protected]>
* icall.c, loader.c: remove the internalcall array constructors.
	Changes to match the new MonoArray structure.
	* object.h, object.c: an array object doesn't allocate an extra
	vector. Add mono_array_new_full () to create jagged arrays easily.

Mon Nov 5 19:51:06 CET 2001 Paolo Molaro <[email protected]>

	* metadata.h, metadata.c: add mono_metadata_field_info () to
	retreive all the info about a field from vairous tables.
	* icall.c: implement S.Runtime.CServices::InitializeArray () icall.
	* class.h, class.c: augment MonoClassField with more info.
	Implemented mono_ldtoken for fields. Implemented ExplicitLayout
	policy and load a field's RVA if needed.


Wed Nov 7 15:47:36 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: updates for changes in array code.

Fri Nov 2 19:06:54 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: hanlde field refs. Throw an exception on NULL references.
	Check consistency of corlib types with the C struct representation.

svn path=/trunk/mono/; revision=1280
2001-11-07 11:02:31 +00:00
Paolo Molaro 6bc3046d5d Forgot to actually commit the test cases...
svn path=/trunk/mono/; revision=1279
2001-11-07 07:42:46 +00:00
Dietmar Maurer 533093c35b 2001-11-07 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): print out all method arguments
	(x86_magic_trampoline): impl.
	(arch_create_simple_jit_trampoline): we use different trampolines
	for static methods (no need to write the address back into to
	vtable).

svn path=/trunk/mono/; revision=1278
2001-11-07 06:33:48 +00:00
Miguel de Icaza 69d58f8416 2001-11-07 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.Emit): Some bits to initialize data
	in an array.

	* typemanager.cs: Load InitializeArray definition.

	* rootcontext.cs (RootContext.MakeStaticData): Used to define
	static data that can be used to initialize arrays.

svn path=/trunk/mcs/; revision=1277
2001-11-07 05:40:16 +00:00
Gaurav Vaish d55f22bcd9 Added files:
CalendarDay.cs
	CheckBox.cs
	DayRenderEventHandler.cs

Changing:
	WebControl.cs

svn path=/trunk/mcs/; revision=1276
2001-11-06 17:43:44 +00:00
Miguel de Icaza 724cc456ac Add test for !bool optimization; Make linux build the only one
svn path=/trunk/mcs/; revision=1275
2001-11-06 16:17:02 +00:00
Miguel de Icaza f8112272d9 2001-11-05 Miguel de Icaza <[email protected]>
* expression.cs: Handle operator== and operator!= for booleans.

	(Conditioal.Reduce): Implement reducer for the ?: operator.

	(Conditional.Resolve): Implement dead code elimination.

	(Binary.Resolve): Catch string literals and return a new
	concatenated string.

	(Unary.Reduce): Implement reduction of unary expressions.

	* ecore.cs: Split out the expression core handling here.

	(Expression.Reduce): New method used to perform constant folding
	and CSE.  This is needed to support constant-expressions.

	* statement.cs (Statement.EmitBoolExpression): Pass true and false
	targets, and optimize for !x.

svn path=/trunk/mcs/; revision=1274
2001-11-06 16:14:58 +00:00
Dietmar Maurer a7616f0211 2001-11-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_create_jit_trampoline): optimised trampoline to
	use less the 16 bytes.

	* x86.brg: code cleanup

svn path=/trunk/mono/; revision=1273
2001-11-06 09:46:18 +00:00
Paolo Molaro 0be15c1101 * corlib.build: remove AppDomain.cs from the corlib_res.dll.
Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <[email protected]>

	* AppDomain.cs: use an internal constructor for AssemblyBuilder.


Tue Nov 6 09:13:45 CET 2001 Paolo Molaro <[email protected]>

	* AssemblyBuilder.cs: define an internal constructor.

svn path=/trunk/mcs/; revision=1272
2001-11-06 06:50:13 +00:00
Paolo Molaro 077b8740c7 Mon Nov 5 19:50:11 CET 2001 Paolo Molaro <[email protected]>
* RuntimeHelpers.cs: make InitializeArray an internalcall.

svn path=/trunk/mcs/; revision=1271
2001-11-06 03:55:51 +00:00
Nick Drochak 3be6791c0f 2001-11-06 Nick Drochak <[email protected]>
* Queue.cs: Fixes from Ricardardo.  QueueTest also updated.

svn path=/trunk/mcs/; revision=1269
2001-11-05 18:33:44 +00:00
Miguel de Icaza a8cbc34ad8 News update
svn path=/trunk/mono/; revision=1268
2001-11-05 13:31:19 +00:00
Miguel de Icaza 25e5ade00a Add runtime
svn path=/trunk/mono/; revision=1267
2001-11-05 13:25:18 +00:00
Miguel de Icaza 3fb2692f71 2001-11-05 Miguel de Icaza <[email protected]>
* NonSerializedAttribute.cs: Add AttributeUsage rules for this
	attribute.

svn path=/trunk/mcs/; revision=1266
2001-11-05 13:16:01 +00:00
Miguel de Icaza a0033817c4 Until the code gets fixed
svn path=/trunk/mcs/; revision=1265
2001-11-05 13:15:57 +00:00
Dietmar Maurer 2e0d1e8f30 2001-11-05 Dietmar Maurer <[email protected]>
* testjit.c: bug fixes.

	* emit-x86.c (leave_method): print result values

svn path=/trunk/mono/; revision=1264
2001-11-05 11:31:20 +00:00
Miguel de Icaza 7c9ee1a3ee Flush pending changes I got from a contributor that did not put his name in
svn path=/trunk/mcs/; revision=1263
2001-11-05 07:10:08 +00:00
Paolo Molaro 7eb2c92598 Fri Nov 2 19:06:54 CET 2001 Paolo Molaro <[email protected]>
* interp.c: hanlde field refs. Throw an exception on NULL references.
	Check consistency of corlib types with the C struct representation.


Fri Nov 2 19:37:51 CET 2001 Paolo Molaro <[email protected]>

	* class.h, class.c: include name in MonoClassField.
	* class.c: fix fundamental type of System.Object and System.String.
	Set the right fundamental type for SZARRAY, too. Handle TypeSpec
	tokens in ldtoken.
	* icall.c: remove internalcalls for the Reflection stuff that is now
	done in C# code.
	* loader.c: mono_field_from_memberref () implementation.
	* mono-endian.c: thinko (s/struct/union/g).
	* object.c, object.h: make the mono_string_* prototypes actually use
	MonoString instead of MonoObject.
	* reflection.c, reflection.h: updates for changes in the reflection
	code in corlib: we use C structures that map to the actual C# classes.
	Handle SZARRAYs when encoding types. Handle locals in methods. Use a
	fat method header if needed and use the info from the ILGenerator for
	methods. Handle fields in types. Misc fixes.

svn path=/trunk/mono/; revision=1262
2001-11-05 06:22:05 +00:00
Paolo Molaro cd4878d445 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <[email protected]>
* SerializationException.cs: implemented.

svn path=/trunk/mcs/; revision=1261
2001-11-05 06:20:27 +00:00
Paolo Molaro 49c9e13de5 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <[email protected]>
* String.cs: fix a couple of bugs.
	* AppDomain.cs: use new AppBuilder constructor.
	* Buffer.cs, GC.cs, NonSerializedAttribute.cs,
	NotImplementedException.cs, ObjectDisposedException.cs,
	UnauthorizedAccessException.cs: add implementation.
	* OverflowException.cs: fix class name.


Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <[email protected]>

	* AmbiguousMatchException.cs,
	* Assembly.cs, Module.cs: updates.
	* FieldInfo.cs: better compliance to the spec.
	* MethodBase.cs: move call_conv out of the way.
	* AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
	* FieldBuilder.cs: implemented.
	* ILGenerator.cs: implemented some opcode handling.
	* Label.cs: add constructor.
	* LocalBuilder.cs: implemented.
	* MethodBuilder.cs: don't use internalcalls, more implemented stuff.
	* ModuleBuilder.cs: don't use internalcalls, more meat here, too.
	* ParameterBuilder.cs: implemented.
	* PropertyBuilder.cs: implemented.
	* TypeBuilder.cs: don't use internalcalls, more stuff working.


Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>

	* DirectoryNotFoundException.cs: implemented.

svn path=/trunk/mcs/; revision=1260
2001-11-05 06:18:33 +00:00
Miguel de Icaza ee4c94e9ba More Updates from Guarav
svn path=/trunk/mcs/; revision=1259
2001-11-05 06:11:37 +00:00
Miguel de Icaza cf2798d163 Updates from Guarav
svn path=/trunk/mcs/; revision=1258
2001-11-05 06:10:55 +00:00
Ravi Pratap M 26eda59c62 2001-11-04 Ravi Pratap <[email protected]>
* attribute.cs (Attribute::Resolve): Implement guts. Note that resolution
	of an attribute gives us a CustomAttributeBuilder which we use accordingly to
	set custom atttributes.

	* literal.cs (Literal::GetValue): New abstract method to return the actual
	value of the literal, cast as an object.

	(*Literal): Implement GetValue method.

	* cs-parser.jay (positional_argument_list, named_argument_list): Add not just plain
	expressions to the arraylist but objects of type Argument.

	* class.cs (TypeContainer::Emit): Emit our attributes too.

	(Method::Emit, Constructor::Emit): Ditto.

	* cs-parser.jay (constructor_declaration): Set attributes too, which we seemed
	to be ignoring earlier.

2001-11-03  Ravi Pratap  <[email protected]>

	* attribute.cs (AttributeSection::Define): Implement to do the business
	of constructing a CustomAttributeBuilder.

	(Attribute): New trivial class. Increases readability of code.

	* cs-parser.jay : Update accordingly.

	(positional_argument_list, named_argument_list, named_argument): New rules

	(attribute_arguments): Use the above so that we are more correct.

2001-11-02  Ravi Pratap  <[email protected]>

	* expression.cs (Invocation::IsParamsMethodApplicable): Implement
	to perform all checks for a method with a params parameter.

	(Invocation::OverloadResolve): Update to use the above method and therefore
	cope correctly with params method invocations.

	* support.cs (InternalParameters::ParameterDesc): Provide a desc for
	params too.

	* class.cs (ConstructorInitializer::Resolve): Make sure we look for Non-public
	constructors in our parent too because we can't afford to miss out on
	protected ones ;-)

	* attribute.cs (AttributeSection): New name for the class Attribute

	Other trivial changes to improve readability.

	* cs-parser.jay (opt_attributes, attribute_section etc.): Modify to
	use the new class names.

2001-11-01  Ravi Pratap  <[email protected]>

	* class.cs (Method::Define): Complete definition for params types too

	(Indexer::Define): Ditto.

	* support.cs (InternalParameters::ParameterType, ParameterDesc, ParameterModifier):
	Cope everywhere with a request for info about the array parameter.

svn path=/trunk/mcs/; revision=1257
2001-11-05 03:56:54 +00:00
Martin Weindel 29ae72602a added member datetime_format to CultureInfo.cs
svn path=/trunk/mcs/; revision=1255
2001-11-04 13:27:03 +00:00
Martin Weindel 84b2036d80 removed as already defined in DateTime.cs
svn path=/trunk/mcs/; revision=1254
2001-11-04 13:25:13 +00:00
Martin Weindel 83c8c0cc13 * added DateTimeFormatInfo.cs
* fixed minor bug in NumberFormatInfo.Clone() with readonly flag

svn path=/trunk/mcs/; revision=1253
2001-11-04 13:00:36 +00:00
Martin Weindel 3696d65bae added DayOfWeek.cs
svn path=/trunk/mcs/; revision=1252
2001-11-04 12:53:22 +00:00
Nick Drochak 7055d69050 2001-11-04 Nick Drochak <[email protected]>
* Queue.cs: Fixed small syntax errors that were preventing the compile.
        I changed the build file to include Queue.cs as well.

svn path=/trunk/mcs/; revision=1251
2001-11-04 10:59:08 +00:00
Nick Drochak bf47873190 2001-11-04 Nick Drochak <[email protected]>
* RandomTest.cs: Add message to Assert() in TestDouble.
	Double.ToString() is not implemented yet, so this doesn't
	help.

svn path=/trunk/mcs/; revision=1250
2001-11-04 10:51:59 +00:00
Nick Drochak a120cbd16b * Added message string to each Assert in TestByteConstructor
svn path=/trunk/mcs/; revision=1249
2001-11-04 06:04:13 +00:00
Nick Drochak d1f860f8cd 2001-11-04 Nick Drochak <[email protected]>
* ArrayList.cs: Fixed "off by one" error when shifting left the array when
	items are removed.

	* CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
	hook methods to the RemoveAt() method.

svn path=/trunk/mcs/; revision=1248
2001-11-04 04:48:36 +00:00
Nick Drochak d1c0257f6e 2001-11-04 Nick Drochak <[email protected]>
* ArrayList.cs: Added private enumerator class and make GetEnumerator()
	methods return an instance of it.

svn path=/trunk/mcs/; revision=1247
2001-11-04 03:15:53 +00:00
Dietmar Maurer cc3e864e8c 2001-11-03 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): new debugging code
	(leave_method): new debbuging code, this functions are called
	when you use the new option --trace-calls

svn path=/trunk/mono/; revision=1246
2001-11-03 05:56:29 +00:00
Dietmar Maurer 7a5417a30f 2001-11-02 Dietmar Maurer <[email protected]>
* testjit.c: impl. STELEM_XX, STELEM_XX

	* x86.brg: impl. LDLEN, LDELEMA

svn path=/trunk/mono/; revision=1244
2001-11-02 13:29:25 +00:00
Dietmar Maurer 5e99117394 the jit is now using a control flow graph
svn path=/trunk/mono/; revision=1243
2001-11-02 10:12:24 +00:00
Ravi Pratap M 9a7fb59886 Stunts to rename cs111.cs to cs0111.cs ;-)
svn path=/trunk/mcs/; revision=1242
2001-11-02 06:23:37 +00:00
Mike Kestner f4837fac50 Suppress building of the new Test directory.
svn path=/trunk/mcs/; revision=1241
2001-11-01 16:21:34 +00:00
Ravi Pratap M 79d91ad176 Remove test-34 from test suite for now because it won't pass
make verify.

svn path=/trunk/mcs/; revision=1240
2001-11-01 07:28:11 +00:00
Ravi Pratap M 13d3c6e4b8 2001-11-01 Ravi Pratap <[email protected]>
* tree.cs (RecordNamespace): Fix up to check for the correct key.

	* cs-parser.jay (GetQualifiedIdentifier): New Helper method used in
	local_variable_type to extract the string corresponding to the type.

	(local_variable_type): Fixup the action to use the new helper method.

	* codegen.cs : Get rid of RefOrOutParameter, it's not the right way to
	go.

	* expression.cs : Clean out code which uses the above.

svn path=/trunk/mcs/; revision=1239
2001-11-01 07:27:12 +00:00
Ravi Pratap M 07c58bb6a0 Add.
svn path=/trunk/mcs/; revision=1238
2001-11-01 06:35:40 +00:00
Mike Kestner 538d6bfac5 Updated Status for System.Drawing.Point to reflect test suite completion.
svn path=/trunk/mono/; revision=1237
2001-10-31 21:02:11 +00:00
Mike Kestner 643a021bcf 2001-10-31 Mike Kestner <[email protected]>
* TestPoint.cs : Tests I've had in my node forever. Need some nant
	action to build this new node.

svn path=/trunk/mcs/; revision=1236
2001-10-31 20:57:44 +00:00
Ravi Pratap M 7bb8dd106e Add.
svn path=/trunk/mcs/; revision=1235
2001-10-31 14:57:25 +00:00
Ravi Pratap M b321b4ee90 2001-10-31 Ravi Pratap <[email protected]>
* typemanager.cs (RegisterMethod): Check if we already have an existing key
	and bale out if necessary by returning a false.

	(RegisterProperty): Ditto.

	* class.cs (everywhere): Check the return value from TypeManager.RegisterMethod
	and print out appropriate error messages.

	* interface.cs (everywhere): Ditto.

	* cs-parser.jay (property_declaration, event_declaration, indexer_declaration): Pass
	location to constructor.

	* class.cs (Property, Event, Indexer): Update accordingly.

	* ../errors/cs111.cs : Added.

	* expression.cs (Invocation::IsApplicable): New static method to determine applicability
	of a method, as laid down by the spec.

	(Invocation::OverloadResolve): Use the above method.

svn path=/trunk/mcs/; revision=1234
2001-10-31 14:56:33 +00:00
Ravi Pratap M 11f07599e9 2001-10-31 Ravi Pratap <[email protected]>
* test-34.cs : Add

svn path=/trunk/mcs/; revision=1233
2001-10-31 14:53:53 +00:00
Ravi Pratap M 563a47271a 2001-10-31 Ravi Pratap <[email protected]>
* support.cs (InternalParameters): Get rid of crap taking in duplicate info. We
	now take a TypeContainer and a Parameters object.

	(ParameterData): Modify return type of ParameterModifier method to be
	Parameter.Modifier and not a string.

	(ReflectionParameters, InternalParameters): Update accordingly.

	* expression.cs (Argument::GetParameterModifier): Same here.

	* support.cs (InternalParameters::ParameterType): Find a better way of determining
	if we are a ref/out parameter. Actually, the type shouldn't be holding the '&'
	symbol in it at all so maybe this is only for now.

svn path=/trunk/mcs/; revision=1232
2001-10-31 06:38:00 +00:00
Ravi Pratap M 38ee3d6325 2001-10-30 Ravi Pratap <[email protected]>
* support.cs (InternalParameters): Constructor now takes an extra argument
	which is the actual Parameters class.

	(ParameterDesc): Update to provide info on ref/out modifiers.

	* class.cs (everywhere): Update call to InternalParameters to pass in
	the second argument too.

	* support.cs (ParameterData): Add ParameterModifier, which is a method
	to return the modifier info [ref/out etc]

	(InternalParameters, ReflectionParameters): Implement the above.

	* expression.cs (Argument::ParameterModifier): Similar function to return
	info about the argument's modifiers.

	(Invocation::OverloadResolve): Update to take into account matching modifiers
	too.

	* class.cs (Indexer::Define): Actually define a Parameter object and put it onto
	a new SetFormalParameters object which we pass to InternalParameters.

svn path=/trunk/mcs/; revision=1230
2001-10-30 12:52:22 +00:00
Ravi Pratap M 2ff91853df 2001-10-30 Ravi Pratap <[email protected]>
* expression.cs (NewArray): Merge into the ArrayCreation class.

2001-10-29  Ravi Pratap  <[email protected]>

	* expression.cs (NewArray): Merge classes NewBuiltinArray and
	NewUserdefinedArray into one as there wasn't much of a use in having
	two separate ones.

	* expression.cs (Argument): Change field's name to ArgType from Type.

	(Type): New readonly property which returns the proper type, taking into
	account ref/out modifiers.

	(everywhere): Adjust code accordingly for the above.

	* codegen.cs (EmitContext.RefOrOutParameter): New field to determine
	whether we are emitting for a ref or out parameter.

	* expression.cs (Argument::Emit): Use the above field to set the state.

	(LocalVariableReference::Emit): Update to honour the flag and emit the
	right stuff.

	* parameter.cs (Attributes): Set the correct flags for ref parameters.

	* expression.cs (Argument::FullDesc): New function to provide a full desc.

	* support.cs (ParameterData): Add method ParameterDesc to the interface.

	(ReflectionParameters, InternalParameters): Implement the above method.

	* expression.cs (Invocation::OverloadResolve): Use the new desc methods in
	reporting errors.

	(Invocation::FullMethodDesc): Ditto.

svn path=/trunk/mcs/; revision=1229
2001-10-30 04:06:58 +00:00
Miguel de Icaza b11dff21dd 2001-10-29 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add extra production for the second form of array
	creation.

	* expression.cs (ArrayCreation): Update to reflect the above
	change.

svn path=/trunk/mcs/; revision=1228
2001-10-29 23:44:54 +00:00
Miguel de Icaza 5c3cca9701 2001-10-29 Miguel de Icaza <[email protected]>
* Small changes to prepare for Array initialization.

svn path=/trunk/mcs/; revision=1227
2001-10-29 22:15:01 +00:00
Miguel de Icaza c2a3bc0c0a Fix namespace bug, patch from Rafael
svn path=/trunk/mcs/; revision=1226
2001-10-29 17:01:51 +00:00
Nick Drochak e53b2dd204 2001-10-29 Nick Drochak <[email protected]>
* StringBuilder.cs: Throw exceptions when constructor paramter(s) are
		invalid. Just like MS does (as best as I can tell).

	Tests for these exceptions are now added to the unit tests as well.

svn path=/trunk/mcs/; revision=1225
2001-10-29 11:16:03 +00:00
Jeffrey Stedfast 127067b3d1 2001-10-28 Jeffrey Stedfast <[email protected]>
* String.cs: Don't use a terminating nil char for our internal
	array.

svn path=/trunk/mcs/; revision=1224
2001-10-28 23:54:56 +00:00
Miguel de Icaza 27d1428d86 Add another test to array creation
svn path=/trunk/mcs/; revision=1223
2001-10-28 15:07:08 +00:00
Miguel de Icaza 791ce25fc7 2001-10-28 Miguel de Icaza <[email protected]>
* typemanager.cs (ImplementsInterface): interface might be null;
	Deal with this problem;

	Also, we do store negative hits on the cache (null values), so use
	this instead of calling t.GetInterfaces on the type everytime.

svn path=/trunk/mcs/; revision=1222
2001-10-28 15:03:52 +00:00
Ravi Pratap M 9223cb0028 2001-10-28 Ravi Pratap <[email protected]>
* typemanager.cs (IsBuiltinType): New method to help determine the same.

	* expression.cs (New::DoResolve): Get rid of array creation code and instead
	split functionality out into different classes.

	(New::FormArrayType): Move into NewBuiltinArray.

	(Invocation::EmitArguments): Get rid of the MethodBase argument. Appears
	quite useless.

	(NewBuiltinArray): New class to handle creation of built-in arrays.

	(NewBuiltinArray::DoResolve): Implement guts of array creation. Also take into
	account creation of one-dimensional arrays.

	(::Emit): Implement to use Newarr and Newobj opcodes accordingly.

	(NewUserdefinedArray::DoResolve): Implement.

	* cs-parser.jay (local_variable_type): Fix up to add the rank to the variable too.

	* typemanager.cs (AddModule): Used to add a ModuleBuilder to the list of modules
	we maintain inside the TypeManager. This is necessary to perform lookups on the
	module builder.

	(LookupType): Update to perform GetType on the module builders too.

	* driver.cs (Driver): Add the ModuleBuilder to the list maintained by the TypeManager.

	* exprssion.cs (NewUserdefinedArray::Emit): Implement.

svn path=/trunk/mcs/; revision=1221
2001-10-28 09:38:33 +00:00
Ravi Pratap M ab7247670d 2001-10-28 Ravi Pratap <[email protected]>
* test-32.cs : Added to test array definition and creation.

	* makefile : Updated accordingly.

svn path=/trunk/mcs/; revision=1220
2001-10-28 09:35:35 +00:00
Miguel de Icaza d09a8f2bfd Update TODO
svn path=/trunk/mcs/; revision=1219
2001-10-28 01:54:24 +00:00
Miguel de Icaza 3d7ad35ab4 Update
svn path=/trunk/mono/; revision=1218
2001-10-27 19:46:06 +00:00
Miguel de Icaza 795f72e02e More updates
svn path=/trunk/mono/; revision=1217
2001-10-27 19:40:51 +00:00
Miguel de Icaza f50f3c1b05 2001-10-27 Miguel de Icaza <[email protected]>
* Delegate.cs (Delegate.CombineImpl): Implement.
	(Delegate.Combine): Implement.

	* MulticastDelegate.cs (MulticastDelegate.Equals): Implement.

	(MulticastDelegate.CombineImpl): This was not as trivial as I
	thought.

	* ContextStaticAttribute.cs: Added AttributeUsage to
	ContextStaticAttribute.

	* FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute

svn path=/trunk/mcs/; revision=1216
2001-10-27 19:39:42 +00:00
Miguel de Icaza b187e6674e 2001-10-27 Miguel de Icaza <[email protected]>
* DesignerSerializationVisibilityAttribute.cs: Implemented.

	* DesignerSerializationVisibility.cs: New enumeration.

	* LocalizableAttribute.cs: Implemented.

	* BrowsableAttribute.cs: Implemented.

	* DesignOnlyAttribute.cs: Implemented.

	* DescriptionAttribute.cs: Implement.

	* MemberDescriptor.cs: Implemented.

	* CategoryAttribute.cs: implemented.

svn path=/trunk/mcs/; revision=1215
2001-10-27 19:38:07 +00:00
Miguel de Icaza 7ddd6de390 Incorporate System.Web.UI.WebControls to the build + some fixes
svn path=/trunk/mcs/; revision=1214
2001-10-27 19:27:55 +00:00
Miguel de Icaza 0b52ac3039 2001-10-27 Miguel de Icaza <[email protected]>
* expression.cs:

	(Expression.Resolve): Report a 246 error (can not resolve name)
	if we find a SimpleName in the stream.

	(Expression.ResolveLValue): Ditto.

	(Expression.ResolveWithSimpleName): This function is a variant of
	ResolveName, this one allows SimpleNames to be returned without a
	warning.  The only consumer of SimpleNames is MemberAccess

svn path=/trunk/mcs/; revision=1213
2001-10-27 15:14:36 +00:00
Miguel de Icaza a7b03801a1 Make the various versioning tests work
svn path=/trunk/mcs/; revision=1212
2001-10-27 15:12:16 +00:00
Miguel de Icaza 23d7ab9d35 2001-10-27 Miguel de Icaza <[email protected]>
* expression.cs: Fix bug I introduced lsat night that broke
	Delegates.

svn path=/trunk/mcs/; revision=1211
2001-10-27 13:06:50 +00:00
Miguel de Icaza 46190fbe4a Updates from Gaurav
svn path=/trunk/mono/; revision=1210
2001-10-27 12:44:59 +00:00
Miguel de Icaza 9ee230df00 Add lots of work from Gaurav
svn path=/trunk/mcs/; revision=1209
2001-10-27 12:35:12 +00:00
Miguel de Icaza 75c0a3b4d8 Update
svn path=/trunk/mono/; revision=1208
2001-10-27 12:27:56 +00:00
Miguel de Icaza e06146cbdd 2001-10-26 Miguel de Icaza <[email protected]>
* expression.cs (Invocation::DoResolve): Catch SimpleNames that
	might arrive here.  I have my doubts that this is correct.

	* statement.cs (Lock): Implement lock statement.

	* cs-parser.jay: Small fixes to support `lock' and `using'

	* cs-tokenizer.cs: Remove extra space

	* driver.cs: New flag --checked, allows to turn on integer math
	checking.

	* typemanger.cs: Load methodinfos for Threading.Monitor.Enter and
	Threading.Monitor.Exit

svn path=/trunk/mcs/; revision=1207
2001-10-27 00:15:20 +00:00
Miguel de Icaza 36ea61ab99 These tests are used for testing the C# versioning provisions. I have
not tested them yet.

svn path=/trunk/mcs/; revision=1206
2001-10-27 00:10:42 +00:00
Miguel de Icaza 4cd8207aae Add new classes to get rid of the warnings being emitted by the
interpreter (although new warning are now there, we need to get the
Decimal internalcalls in place).

Implement some bits of CultureInfo, but it is yet far from finished.

svn path=/trunk/mcs/; revision=1205
2001-10-27 00:08:33 +00:00
Miguel de Icaza 8edceaee21 Add a bunch of new classes to reduce warnings from Mint
svn path=/trunk/mcs/; revision=1202
2001-10-25 19:34:35 +00:00
Dietmar Maurer d9c7937680 use relative numbering for runtime type checks
svn path=/trunk/mono/; revision=1201
2001-10-25 05:34:19 +00:00
Martin Weindel ed69e57f19 more tests for general format and some changed tests for parsing
svn path=/trunk/mcs/; revision=1200
2001-10-24 14:49:59 +00:00
Martin Weindel c96e290532 minor bug fix for general format
svn path=/trunk/mcs/; revision=1199
2001-10-24 14:48:38 +00:00
Nick Drochak 6c01336226 2001-10-25 Nick Drochak <[email protected]>
* StringBuilder.cs: Throw exception if they try to make a StringBuilder
		whose capacity is greater than the MaxCapacity.

	I added some tests for the constructors and the above exception. More
	coming soon.

svn path=/trunk/mcs/; revision=1198
2001-10-24 12:27:50 +00:00
Nick Drochak be7eccaebb 2001-10-23 Nick Drochak <[email protected]>
* StringBuilder.cs: Refactored constructor code into just one
	constructor. All the other construtors call it. Also supplied missing
	constructors so the class has all those in the spec.

	Added the MaxCapacity property as well, however this needs to be
	completed to return a value is related to the available system memory.

svn path=/trunk/mcs/; revision=1197
2001-10-24 00:57:09 +00:00
Miguel de Icaza d60c29be90 2001-10-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::Emit): Emit code for indexers.

	* assign.cs (IAssignMethod): New interface implemented by Indexers
	and Properties for handling assignment.

	(Assign::Emit): Simplify and reuse code.

	* expression.cs (IndexerAccess, PropertyExpr): Implement

svn path=/trunk/mcs/; revision=1196
2001-10-23 14:14:26 +00:00
Miguel de Icaza 66495822df Update
svn path=/trunk/mono/; revision=1195
2001-10-23 13:20:15 +00:00
Ravi Pratap M 32b09d5f45 2001-10-22 Ravi Pratap <[email protected]>
* typemanager.cs (ImplementsInterface): New method to determine if a type
	implements a given interface. Provides a nice cache too.

	* expression.cs (ImplicitReferenceConversion): Update checks to use the above
	method.

	(ConvertReferenceExplicit): Ditto.

	* delegate.cs (Delegate::Populate): Update to define the parameters on the
	various methods, with correct names etc.

	* class.cs (Operator::OpType): New members Operator.UnaryPlus and
	Operator.UnaryNegation.

	* cs-parser.jay (operator_declarator): Be a little clever in the case where
	we have a unary plus or minus operator.

	* expression.cs (Unary): Rename memebers of Operator enum to UnaryPlus and
	UnaryMinus.

	* everywhere : update accordingly.

	* everywhere : Change Negate and BitComplement to LogicalNot and OnesComplement
	respectively.

	* class.cs (Method::Define): For the case where we are implementing a method
	inherited from an interface, we need to set the MethodAttributes.Final flag too.
	Also set MethodAttributes.NewSlot and MethodAttributes.HideBySig.

svn path=/trunk/mcs/; revision=1194
2001-10-22 12:32:25 +00:00
Ravi Pratap M e894212552 2001-10-22 Ravi Pratap <[email protected]>
* makefile : New target 'verify' which uses the verifier to check
	that executables produced by us are identical to the MS' produced ones.

	* test-7.cs : Update to exercise more overloadable operators.

svn path=/trunk/mcs/; revision=1193
2001-10-22 12:27:45 +00:00
Paolo Molaro 2bd6537a38 Mon Oct 22 15:20:14 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle boolean, u1 and i1 as return values.

svn path=/trunk/mono/; revision=1192
2001-10-22 09:24:31 +00:00
Miguel de Icaza 4e2cbb5b39 Flush pending work
svn path=/trunk/mcs/; revision=1191
2001-10-22 00:38:33 +00:00
Miguel de Icaza ccd28af887 Add indexer test, does not work yet
svn path=/trunk/mcs/; revision=1190
2001-10-21 17:00:24 +00:00
Miguel de Icaza 01c7ad7c8a quick flush
svn path=/trunk/mcs/; revision=1189
2001-10-21 16:52:36 +00:00
Ravi Pratap M 30af209631 2001-10-21 Ravi Pratap <[email protected]>
* interface.cs (FindMembers): Implement to work around S.R.E
	lameness.

	* typemanager.cs (IsInterfaceType): Implement.

	(FindMembers): Update to handle interface types too.

	* expression.cs (ImplicitReferenceConversion): Re-write bits which
	use IsAssignableFrom as that is not correct - it doesn't work.

	* delegate.cs (DelegateInvocation): Derive from ExpressionStatement
	and accordingly override EmitStatement.

	* expression.cs (ConvertReferenceExplicit): Re-write similary, this time
	using the correct logic :-)

svn path=/trunk/mcs/; revision=1188
2001-10-21 10:11:36 +00:00
Ravi Pratap M 87bc7c82c0 2001-10-21 Ravi Pratap <[email protected]>
* test-27.cs : Add to do various implicit and explicit
	reference conversions.

	* makefile : Update accordingly.

svn path=/trunk/mcs/; revision=1187
2001-10-21 10:07:17 +00:00
Miguel de Icaza ec8882d1d7 Flush
svn path=/trunk/mcs/; revision=1186
2001-10-20 21:47:40 +00:00
Miguel de Icaza 5d3d3998e5 2001-10-17 Miguel de Icaza <[email protected]>
* assign.cs (Assign::Resolve): Resolve right hand side first, and
	then pass this as a hint to ResolveLValue.

	* expression.cs (FieldExpr): Add Location information

	(FieldExpr::LValueResolve): Report assignment to readonly
	variable.

	(Expression::ExprClassFromMemberInfo): Pass location information.

	(Expression::ResolveLValue): Add new method that resolves an
	LValue.

	(Expression::DoResolveLValue): Default invocation calls
	DoResolve.

	(Indexers): New class used to keep track of indexers in a given
	Type.

	(IStackStore): Renamed from LValue, as it did not really describe
	what this did.  Also ResolveLValue is gone from this interface and
	now is part of Expression.

	(ElementAccess): Depending on the element access type

	* typemanager.cs: Add `indexer_name_type' as a Core type
	(System.Runtime.CompilerServices.IndexerNameAttribute)

	* statement.cs (Goto): Take a location.

svn path=/trunk/mcs/; revision=1185
2001-10-20 21:22:56 +00:00
Martin Weindel cfe55451ec more tests for parsing and ToString
svn path=/trunk/mcs/; revision=1184
2001-10-20 17:02:05 +00:00
Martin Weindel 5645a16024 refactoring, ToString completed
svn path=/trunk/mcs/; revision=1183
2001-10-20 17:00:59 +00:00
Ravi Pratap M a5deccb0aa Add file to demonstrate error -11
svn path=/trunk/mcs/; revision=1182
2001-10-19 08:55:19 +00:00
Sean MacIsaac cbc3282aa1 System.CodeDom.*: Missing namespace declarations
System.build: Fixed clean target

System.XML.build: Output changed to System.Xml.dll not from System.XML

corlib.build: More things excluded from testing corlib

HashtableTest.cs: Don't print extra debug info during tests

Windows.cs: Added code to read/write/open/close files

svn path=/trunk/mcs/; revision=1181
2001-10-18 15:07:08 +00:00
Ravi Pratap M e1b537b359 2001-10-18 Ravi Pratap <[email protected]>
* delegate.cs (Delegate::VerifyDelegate): New method to verify
	if two delegates are compatible.

	(NewDelegate::DoResolve): Update to take care of the case when
	we instantiate a delegate from another delegate.

	* typemanager.cs (FindMembers): Don't even try to look up members
	of Delegate types for now.

svn path=/trunk/mcs/; revision=1180
2001-10-18 12:34:51 +00:00
Ravi Pratap M dee882485e 2001-10-18 Ravi Pratap <[email protected]>
* test-26.cs : Update to test delegate creation from another
	delegate.

svn path=/trunk/mcs/; revision=1179
2001-10-18 12:32:07 +00:00
Ravi Pratap M 0bc9bc3bef 2001-10-18 Ravi Pratap <[email protected]>
* delegate.cs (NewDelegate): New class to take care of delegate
	instantiation.

	* expression.cs (New): Split the delegate related code out into
	the NewDelegate class.

	* delegate.cs (DelegateInvocation): New class to handle delegate
	invocation.

	* expression.cs (Invocation): Split out delegate related code into
	the DelegateInvocation class.

svn path=/trunk/mcs/; revision=1178
2001-10-18 07:01:43 +00:00
Ravi Pratap M 3a6c459c66 Modify to make a little more verbose :-)
svn path=/trunk/mcs/; revision=1177
2001-10-18 06:58:42 +00:00
Sean MacIsaac 42c7e30c6d Got nunit tests running in windows. Reorganized Test case directories.
svn path=/trunk/mcs/; revision=1176
2001-10-17 17:36:04 +00:00
Ravi Pratap M 48851f9b3b 2001-10-17 Ravi Pratap <[email protected]>
* expression.cs (New::DoResolve): Implement delegate creation fully
	and according to the spec.

	(New::DoEmit): Update to handle delegates differently.

	(Invocation::FullMethodDesc): Fix major stupid bug thanks to me
	because of which we were printing out arguments in reverse order !

	* delegate.cs (VerifyMethod): Implement to check if the given method
	matches the delegate.

	(FullDelegateDesc): Implement.

	(VerifyApplicability): Implement.

	* expression.cs (Invocation::DoResolve): Update to accordingly handle
	delegate invocations too.

	(Invocation::Emit): Ditto.

	* ../errors/cs1593.cs : Added.

	* ../errors/cs1594.cs : Added.

	* delegate.cs (InstanceExpression, TargetMethod): New properties.

2001-10-16  Ravi Pratap  <[email protected]>

	* typemanager.cs (intptr_type): Core type for System.IntPtr

	(InitCoreTypes): Update for the same.

	(iasyncresult_type, asynccallback_type): Ditto.

	* delegate.cs (Populate): Fix to use System.Intptr as it is indeed
	correct.

	* typemanager.cs (AddDelegateType): Store a pointer to the Delegate class
	too.

	* delegate.cs (ConstructorBuilder, InvokeBuilder, ...): New members to hold
	the builders for the 4 members of a delegate type :-)

	(Populate): Define the BeginInvoke and EndInvoke methods on the delegate
	type.

	* expression.cs (New::DoResolve): Implement guts for delegate creation.

	* ../errors/errors.txt : Update for an error (-11) which only we catch :-)

svn path=/trunk/mcs/; revision=1175
2001-10-17 09:25:26 +00:00
Ravi Pratap M 0aeccb1130 2001-10-17 Ravi Pratap <[email protected]>
* test-26.cs : Added to demonstrate delegate support.

svn path=/trunk/mcs/; revision=1174
2001-10-17 09:21:11 +00:00
Ravi Pratap M 8192342a2b Add files for delegate related errors.
svn path=/trunk/mcs/; revision=1173
2001-10-17 09:20:07 +00:00
Sean MacIsaac 0c096f73e3 class.c (mono_class_create_from_typeref): added debugging output
to print class name when MonoDummy is returned instead of real class

svn path=/trunk/mono/; revision=1172
2001-10-17 03:58:33 +00:00
Sean MacIsaac fc1bf781fa Added stub classes/methods needed by compiler in an attempt to get it
to run in Linux.

svn path=/trunk/mcs/; revision=1171
2001-10-17 03:54:01 +00:00
Miguel de Icaza 600820948f Add IndexerNameAttribute
svn path=/trunk/mcs/; revision=1170
2001-10-17 01:51:30 +00:00
Miguel de Icaza f0d64cf4a7 2001-10-15 Miguel de Icaza <[email protected]>
* statement.cs (Break::Emit): Implement.
	(Continue::Emit): Implement.

	(For::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(While::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(Do::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(Foreach::Emit): Track old being/end loops;  Set Begin loop, ack
	end loop

	* codegen.cs (EmitContext::LoopEnd, EmitContext::LoopBegin): New
	properties that track the label for the current loop (begin of the
	loop and end of the loop).

svn path=/trunk/mcs/; revision=1169
2001-10-16 00:57:41 +00:00
Miguel de Icaza a2b1c0dd36 UPdated
svn path=/trunk/mono/; revision=1168
2001-10-15 22:03:43 +00:00
Ravi Pratap M cf7f371359 2001-10-15 Ravi Pratap <[email protected]>
* delegate.cs (Emit): Get rid of it as there doesn't seem to be any ostensible
	use of emitting anything at all.

	* class.cs, rootcontext.cs : Get rid of calls to the same.

	* delegate.cs (DefineDelegate): Make sure the class we define is also sealed.

	(Populate): Define the constructor correctly and set the implementation
	attributes.

	* typemanager.cs (delegate_types): New hashtable to hold delegates that
	have been defined.

	(AddDelegateType): Implement.

	(IsDelegateType): Implement helper method.

	* delegate.cs (DefineDelegate): Use AddDelegateType instead of AddUserType.

	* expression.cs (New::DoResolve): Check if we are trying to instantiate a delegate type
	and accordingly handle it.

	* delegate.cs (Populate): Take TypeContainer argument.
	Implement bits to define the Invoke method. However, I still haven't figured out
	how to take care of the native int bit :-(

	* cs-parser.jay (delegate_declaration): Fixed the bug that I had introduced :-)
	Qualify the name of the delegate, not its return type !

	* expression.cs (ImplicitReferenceConversion): Implement guts of implicit array
	conversion.

	(StandardConversionExists): Checking for array types turns out to be recursive.

	(ConvertReferenceExplicit): Implement array conversion.

	(ExplicitReferenceConversionExists): New method to determine precisely that :-)

2001-10-12  Ravi Pratap  <[email protected]>

	* cs-parser.jay (delegate_declaration): Store the fully qualified
	name as it is a type declaration.

	* delegate.cs (ReturnType, Name): Rename members to these. Make them
	readonly.

	(DefineDelegate): Renamed from Define. Does the same thing essentially,
	as TypeContainer::DefineType.

	(Populate): Method in which all the definition of the various methods (Invoke)
	etc is done.

	(Emit): Emit any code, if necessary. I am not sure about this really, but let's
	see.

	(CloseDelegate): Finally creates the delegate.

	* class.cs (TypeContainer::DefineType): Update to define delegates.
	(Populate, Emit and CloseType): Do the same thing here too.

	* rootcontext.cs (ResolveTree, PopulateTypes, EmitCode, CloseTypes): Include
	delegates in all these operations.

svn path=/trunk/mcs/; revision=1167
2001-10-15 14:41:52 +00:00
Dietmar Maurer e90bb9a700 2001-10-15 Dietmar Maurer <[email protected]>
* class.c (mono_class_metadata_init): interface offset table now
	contains pointers into the vtable - this is more efficient for the jit

	* class.c (mono_class_metadata_init): use a temporary vtable (the
	old algorithm only worked for the interpreter, but not for the jit)

	* loader.c (method_from_memberref): use mono_class_get to get the
	class of an array instead of using System.Array directly.
	(mono_get_method): also add MEMBERREF methods to the method cache
	which usefull for arrays.

	* pedump.c (arch_compile_method): added to compute vtable entry

	* interp.c: removed newobj()

	* interp.c (get_virtual_method): use the vtable
	(arch_compile_method): added to compute vtable entry

	* x86.brg: added some experimental code for CALL
	instructions - still not found the optimal way to do it.

	* testjit.c (map_stind_type): add support for value types with
	a size of 1, 2 or 4 bytes, implemented CEE_UNBOX, CEE_LDOBJ,
	CEE_LDSTR, CEE_LDFLD, CEE_LDFLDA, CEE_STFLD, CEE_NEWOBJ, CEE_CEQ
	(ctree_create_newobj): impl.


	* emit-x86.c (tree_allocate_regs): removed allocation code for
	addr nonterminal.
	(get_address): use a simple, but bug free search instead of the
	buggy binary search.

	* testjit.c: support virtual functions

svn path=/trunk/mono/; revision=1166
2001-10-15 09:50:03 +00:00
Miguel de Icaza ec894c7899 2001-10-14 Miguel de Icaza <[email protected]>
* expression.cs: LocalTemporary: a new expression used to
	reference a temporary that has been created.

	* assign.cs: Handle PropertyAccess back here, so that we can
	provide the proper semantic access to properties.

svn path=/trunk/mcs/; revision=1165
2001-10-15 00:03:43 +00:00
Miguel de Icaza 1413d8129a 2001-10-14 Miguel de Icaza <[email protected]>
* expression.cs (Expression::ConvertReferenceExplicit): Implement
	a few more explicit conversions.

	* modifiers.cs: `NEW' modifier maps to HideBySig.

	* expression.cs (PropertyExpr): Make this into an
	ExpressionStatement, and support the EmitStatement code path.

	Perform get/set error checking, clean up the interface.

	* assign.cs: recognize PropertyExprs as targets, and if so, turn
	them into toplevel access objects.

svn path=/trunk/mcs/; revision=1164
2001-10-14 22:30:14 +00:00
Martin Weindel f3d9b319e8 added Martin Weindel
svn path=/trunk/mono/; revision=1163
2001-10-14 18:36:09 +00:00
Martin Weindel 8abdebb866 added entry for System.Decimal
svn path=/trunk/mono/; revision=1162
2001-10-14 18:35:06 +00:00
Martin Weindel d99307b6a7 Tests for System.Decimal
svn path=/trunk/mcs/; revision=1161
2001-10-14 18:28:54 +00:00
Martin Weindel 23dad040c3 *** empty log message ***
svn path=/trunk/mcs/; revision=1160
2001-10-14 18:27:32 +00:00
Martin Weindel a0a8afc288 added Decimal.cs and DecimalFormatter.cs
svn path=/trunk/mcs/; revision=1159
2001-10-14 18:26:04 +00:00
Miguel de Icaza 6cdabea336 2001-10-12 Miguel de Icaza <[email protected]>
* expression.cs: PropertyExpr::PropertyExpr: use work around the
	SRE.

	* typemanager.cs: Keep track here of our PropertyBuilders again to
	work around lameness in SRE.

svn path=/trunk/mcs/; revision=1158
2001-10-12 18:52:18 +00:00
Miguel de Icaza 8b86befa90 2001-10-11 Miguel de Icaza <[email protected]>
* expression.cs (LValue::LValueResolve): New method in the
	interface, used to perform a second resolution pass for LValues.

	(This::DoResolve): Catch the use of this in static methods.

	(This::LValueResolve): Implement.

	(This::Store): Remove warning, assigning to `this' in structures
	is

svn path=/trunk/mcs/; revision=1157
2001-10-12 14:18:21 +00:00
Miguel de Icaza 816298ea3d Make it compile
svn path=/trunk/mcs/; revision=1156
2001-10-12 14:13:12 +00:00
Ravi Pratap M 2b40cf4553 2001-10-12 Ravi Pratap <[email protected]>
* test-21.cs : Update to actually do some checking and return
	an appropriate value.

svn path=/trunk/mcs/; revision=1155
2001-10-12 11:28:02 +00:00
Paolo Molaro 87a4e6362e Fixed test cases.
svn path=/trunk/mono/; revision=1154
2001-10-12 10:32:09 +00:00
Miguel de Icaza eeffa700cf Add more tests
svn path=/trunk/mcs/; revision=1153
2001-10-12 01:24:02 +00:00
Jeffrey Stedfast d6c8f01231 added StringTest.cs
svn path=/trunk/mcs/; revision=1152
2001-10-11 23:27:11 +00:00
Jeffrey Stedfast 3dad3888f8 2001-10-11 Jeffrey Stedfast <[email protected]>
* System/StringTest.cs: Added.

svn path=/trunk/mcs/; revision=1151
2001-10-11 23:26:24 +00:00
Mario Carrion d92e9520ec Adding tests for the basic integer structs
svn path=/trunk/mcs/; revision=1150
2001-10-11 18:56:17 +00:00
Miguel de Icaza be9b6f4756 Initial import on the Mono BASIC patchs from Rafael
svn path=/trunk/mcs/; revision=1149
2001-10-11 18:21:25 +00:00
Miguel de Icaza 3fe0f855dd Add files from MonoBASIC compiler
svn path=/trunk/mcs/; revision=1148
2001-10-11 18:12:12 +00:00
Miguel de Icaza 8dd59fa103 2001-10-11 Miguel de Icaza <[email protected]>
* expression.cs (Invocation::Emit): Deal with invocation of
	methods on value types.  We need to pass the address to structure
	methods rather than the object itself.  (The equivalent code to
	emit "this" for structures leaves the entire structure on the
	stack instead of a pointer to it).

	(ParameterReference::DoResolve): Compute the real index for the
	argument based on whether the method takes or not a `this' pointer
	(ie, the method is static).

	* codegen.cs (EmitContext::GetTemporaryStorage): Used to store
	value types returned from functions when we need to invoke a
	method on the sturcture.

svn path=/trunk/mcs/; revision=1147
2001-10-11 18:02:55 +00:00
Thomas Neidhart f88519f59d * added sorting support for ByMaintainer.xsl
and ByNamespace.xsl

svn path=/trunk/mono/; revision=1146
2001-10-11 17:00:20 +00:00
Ravi Pratap M 4b965830c1 2001-10-11 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::DefineType): Method to actually do the business of
	defining the type in the Modulebuilder or Typebuilder. This is to take
	care of nested types which need to be defined on the TypeBuilder using
	DefineNestedMethod.

	(TypeContainer::GetClassBases): Implement. Essentially the code from the
	methods in RootContext, only ported to be part of TypeContainer.

	(TypeContainer::GetInterfaceOrClass): Ditto.

	(TypeContainer::LookupInterfaceOrClass, ::MakeFQN): Ditto.

	* interface.cs (Interface::DefineInterface): New method. Does exactly
	what RootContext.CreateInterface did earlier, only it takes care of nested types
	too.

	(Interface::GetInterfaces): Move from RootContext here and port.

	(Interface::GetInterfaceByName): Same here.

	* rootcontext.cs (ResolveTree): Re-write.

	(PopulateTypes): Re-write.

	* class.cs (TypeContainer::Populate): Populate nested types too.
	(TypeContainer::Emit): Emit nested members too.

	* typemanager.cs (AddUserType): Do not make use of the FullName property,
	instead just use the name argument passed in as it is already fully
	qualified.

	(FindMembers): Check in the Builders to TypeContainer mapping instead of the name
	to TypeContainer mapping to see if a type is user-defined.

	* class.cs (TypeContainer::CloseType): Implement.

	(TypeContainer::DefineDefaultConstructor): Use Basename, not Name while creating
	the default constructor.

	(TypeContainer::Populate): Fix minor bug which led to creating default constructors
	twice.

	(Constructor::IsDefault): Fix up logic to determine if it is the default constructor

	* interface.cs (CloseType): Create the type here.

	* rootcontext.cs (CloseTypes): Re-write to recursively close types by running through
	the hierarchy.

	Remove all the methods which are now in TypeContainer.

2001-10-10  Ravi Pratap  <[email protected]>

	* delegate.cs (Define): Re-write bits to define the delegate
	correctly.

svn path=/trunk/mcs/; revision=1145
2001-10-11 16:46:46 +00:00
Ravi Pratap M 42b4b342d3 Actually add the file this time :-)
svn path=/trunk/mcs/; revision=1144
2001-10-11 16:39:44 +00:00
Ravi Pratap M a0ac5aa738 2001-10-11 Ravi Pratap <[email protected]>
* test-21.cs : Add. This is a test for testing our support
	for nested types

svn path=/trunk/mcs/; revision=1143
2001-10-11 16:38:03 +00:00
Thomas Neidhart c1a80ba17d * updated class status
svn path=/trunk/mono/; revision=1142
2001-10-11 15:56:27 +00:00
Thomas Neidhart f0b7d41fb9 * Initial versions of several classes, including
DSA base classes and CSP base classes

svn path=/trunk/mcs/; revision=1141
2001-10-11 15:30:20 +00:00
Thomas Neidhart 1d894192c2 * Convert.cs: added Base64 converting methods
svn path=/trunk/mcs/; revision=1140
2001-10-11 15:24:19 +00:00
Dietmar Maurer bea5147eb2 more documentation
svn path=/trunk/mono/; revision=1138
2001-10-11 04:25:07 +00:00
Derek Holden a3b0410b1e IntegerFormatter test
svn path=/trunk/mcs/; revision=1137
2001-10-10 19:03:41 +00:00
Derek Holden b6c8d42de8 out of range error on FormatGeneral for uints
svn path=/trunk/mcs/; revision=1136
2001-10-10 19:02:42 +00:00
Thomas Neidhart 18f7bbffc7 * added directory Test/System.Security.Cryptography
* added TestSuite for all Crypto classes
* added tests for AsymmetricAlgorithm & SymmetricAlgorithm

svn path=/trunk/mcs/; revision=1135
2001-10-10 17:26:22 +00:00
Derek Holden a74cba1cb4 percision -> precision in 446 places
svn path=/trunk/mcs/; revision=1134
2001-10-10 15:36:11 +00:00
Paolo Molaro 67f75d73ac Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.c: added x86_set_{reg,mem,membase}.

svn path=/trunk/mono/; revision=1133
2001-10-10 10:11:17 +00:00
Derek Holden bfa592f6e9 updated
svn path=/trunk/mcs/; revision=1132
2001-10-10 08:05:59 +00:00
Derek Holden b8c4ba805b ToString's now using IntegerFormatter
svn path=/trunk/mcs/; revision=1131
2001-10-10 08:00:30 +00:00
Derek Holden 06e1ac2468 ToString formatter for integral types
svn path=/trunk/mcs/; revision=1130
2001-10-10 07:57:45 +00:00
Dietmar Maurer 26f5f5b2cb *** empty log message ***
svn path=/trunk/mono/; revision=1129
2001-10-10 07:51:37 +00:00
Dietmar Maurer b59cb68bab 2001-10-10 Dietmar Maurer <[email protected]>
* interp.c (get_virtual_method): use the vtable

        * metadata.c (mono_metadata_interfaces_from_typedef): also return the
        number of interfaces.

        * class.h: merged MonoArrayClass into MonoClass

        * class.c (mono_class_create_from_typedef): compute the vtable size and
        allocate space to include the vtable inside MonoClass
        (mono_class_metadata_init): initialize the vtable

svn path=/trunk/mono/; revision=1128
2001-10-10 07:47:05 +00:00
Ravi Pratap M 4909a2dde0 Fix up test-7.cs to use a double instead of float for explicit
conversion testing. We don;t parse float literals yet so ...

All tests pass again.

svn path=/trunk/mcs/; revision=1127
2001-10-10 03:43:32 +00:00
Miguel de Icaza c07b3a44d9 2001-10-10 Miguel de Icaza <[email protected]>
* makefile: Renamed the compiler to `mcs.exe' instead of compiler.exe

	* expression.cs (ImplicitReferenceConversion): handle null as well
	as a source to convert to any reference type.

	* statement.cs (Return): Perform any implicit conversions to
	expected return type.

	Validate use of return statement.

	* codegen.cs (EmitContext): Pass the expected return type here.

	* class.cs (Method, Constructor, Property): Pass expected return
	type to EmitContext.

2001-10-09  Miguel de Icaza  <[email protected]>

	* expression.cs: Make DoResolve take an EmitContext instead of a
	TypeContainer.

	Replaced `l' and `location' for `loc', for consistency.

	(Error, Warning): Remove unneeded Tc argument.

	* assign.cs, literal.cs, constant.cs: Update to new calling
	convention.

	* codegen.cs: EmitContext now contains a flag indicating whether
	code is being generated in a static method or not.

	* cs-parser.jay: DecomposeQI, new function that replaces the old
	QualifiedIdentifier.  Now we always decompose the assembled
	strings from qualified_identifier productions into a group of
	memberaccesses.

2001-10-08  Miguel de Icaza  <[email protected]>

	* rootcontext.cs: Deal with field-less struct types correctly now
	by passing the size option to Define Type.

	* class.cs: Removed hack that created one static field.

2001-10-07  Miguel de Icaza  <[email protected]>

	* statement.cs: Moved most of the code generation here.

svn path=/trunk/mcs/; revision=1126
2001-10-10 02:36:47 +00:00
Derek Holden 0d98160fe4 Small typo in PercentPositivePattern and CurrencyPositivePattern
svn path=/trunk/mcs/; revision=1125
2001-10-09 21:35:45 +00:00
Paolo Molaro 596a86e61b Missing file: this is what you get working on holidays :-(
svn path=/trunk/mono/; revision=1124
2001-10-09 10:28:29 +00:00
Ravi Pratap M 295181c5f9 2001-10-09 Ravi Pratap <[email protected]>
* expression.cs (New::DoResolve): Revert changes for array creation, doesn't
	seem very right.

	(ElementAccess): Remove useless bits for now - keep checks as the spec
	says.

svn path=/trunk/mcs/; revision=1123
2001-10-09 02:55:28 +00:00
Paolo Molaro 5e565c23f3 Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: define NO_UNALIGNED_ACCESS for platforms that
	can't read on unaligned boundaries


Mon Oct 8 16:12:38 CEST 2001 Paolo Molaro <[email protected]>

	* metadata.c, metadata.h: use MonoArrayType to describe the shape of an array.
	Guard against calling bsearch with a NULL pointer (pointed out by Laurent Rioux, smoux).
	* image.c: endian fixes by Laurent Rioux.
	* object.h, object.c: rename MonoStringObject to MonoString and
	MonoArrayObject to MonoArray. Change some function names to conform to
	the style mono_<object>_<action>. mono_string_new_utf16 () takes a
	guint16* as first argument, so don't use char*.
	Provide macros to do the interesting things on arrays in a portable way.
	* threads-pthread.c: updates for the API changes and #include <sched.h>
	(required for sched_yield()).
	* icall.c: updates for the API changes above.
	* Makefile.am, mono-endian.c. mono-endian.h: include unaligned read routines for
	platforms that need them.


Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <[email protected]>

	* get.c, get.h: MonoArray changed in MonoArrayType.
	* main.c: guard against calling bsearch with a NULL pointer
	(pointed out by Laurent Rioux, smoux).


Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: remove mono_get_ansi_string () and use
	mono_string_to_utf8 () instead.


Mon Oct 8 16:14:40 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: use the accessors provided in object.h to deal with
	MonoArrays. Updates for API renames in metadata. Throw exception
	in ldelema if index is out of bounds.

svn path=/trunk/mono/; revision=1122
2001-10-08 14:33:48 +00:00
Ravi Pratap M bc9bc0d083 2001-10-07 Ravi Pratap <[email protected]>
* cs-parser.jay (type_suffix*): Remove - they are redundant. Use
	rank_specifiers instead.

	(rank_specifiers): Change the order in which the rank specifiers are stored

	(local_variable_declaration): Use opt_rank_specifier instead of type_suffixes.

	* expression.cs (ElementAccess): Implement the LValue interface too.

2001-10-06  Ravi Pratap  <[email protected]>

	* expression.cs (ConvertExplicitStandard): Add. Same as ConvertExplicit
	except that user defined conversions are not included.

	(UserDefinedConversion): Update to use the ConvertExplicitStandard to
	perform the conversion of the return type, if necessary.

	(New::DoResolve): Check whether we are creating an array or an object
	and accordingly do the needful.

	(New::Emit): Same here.

	(New::DoResolve): Implement guts of array creation.

	(New::FormLookupType): Helper function.

svn path=/trunk/mcs/; revision=1121
2001-10-08 13:02:52 +00:00
Paolo Molaro 32fb0da568 Added copyright notices.
svn path=/trunk/mcs/; revision=1120
2001-10-08 12:02:19 +00:00
Dick Porter 4e11d3be13 Fixed syntax errors
svn path=/trunk/mcs/; revision=1119
2001-10-08 09:28:07 +00:00
Paolo Molaro d93fdec2b6 Mon Oct 8 10:43:23 CEST 2001 Paolo Molaro <[email protected]>
* class.c: set the correct type for all the fundamental
	type when loading the class.


Mon Oct 8 10:44:25 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: fixes for changes in metadata.

svn path=/trunk/mono/; revision=1118
2001-10-08 04:48:43 +00:00
Miguel de Icaza af2e01fffb 2001-10-07 Miguel de Icaza <[email protected]>
* codegen.cs: Added support for try/catch/finalize and throw.

	* cs-parser.jay: Added support for try/catch/finalize.

svn path=/trunk/mcs/; revision=1117
2001-10-07 21:01:57 +00:00
Miguel de Icaza c12461cc6f Add AllTests file from Mario
svn path=/trunk/mcs/; revision=1115
2001-10-07 02:13:01 +00:00
Miguel de Icaza 464b838711 Make the build pass
svn path=/trunk/mcs/; revision=1114
2001-10-07 01:54:54 +00:00
Miguel de Icaza 61634984c6 Some warning reduction:
2001-10-07  Miguel de Icaza  <[email protected]>

	* Exception.cs: Implement bits of serialization.

	* RuntimeFieldHandle.cs: Implement Serialization features.

	* Type.cs: Implement TypeHandle property.

2001-10-07  Miguel de Icaza  <[email protected]>

	* AssemblyBuilder.cs: Reformatted.

	Added override keywords to those that needed them.

	Removed methods that we do not override, but just inherit

2001-10-07  Miguel de Icaza  <[email protected]>

	* Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
	UnicodeEncoding.cs: Corrected API.

	* UTF8Encoding.cs: Checked in changes from Rafael.

svn path=/trunk/mcs/; revision=1113
2001-10-07 01:39:01 +00:00
Miguel de Icaza b958209366 Added updated UTF8Encoding from Rafael
svn path=/trunk/mcs/; revision=1111
2001-10-07 00:36:47 +00:00
Miguel de Icaza d3d8c17e18 Update TODO
svn path=/trunk/mcs/; revision=1110
2001-10-07 00:23:41 +00:00
Miguel de Icaza 058820db2f 2001-10-07 Miguel de Icaza <[email protected]>
* expression.cs (UserCast): This user cast was not really doing
	what it was supposed to do.  Which is to be born in fully resolved
	state.  Parts of the resolution were being performed at Emit time!

	Fixed this code.

svn path=/trunk/mcs/; revision=1109
2001-10-07 00:12:49 +00:00
Thomas Neidhart 788dd5ef7d * updated status
svn path=/trunk/mono/; revision=1108
2001-10-06 19:04:22 +00:00
Thomas Neidhart 657e782034 * AsymmetricAlgorithm.cs: Initial version
* AsymmetricKeyExchangeDeformatter.cs: Initial version
* AsymmetricKeyExchangeFormatter.cs: Initial version
* AsymmetricSignatureDeformatter.cs: Initial version
* AsymmetricSignatureFormatter.cs: Initial version
* PaddingMode.cs: Added PaddingMode.None
* SignatureDescription.cs: Initial version
* SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor and Create() methods

svn path=/trunk/mcs/; revision=1107
2001-10-06 17:25:25 +00:00
Dick Porter 46651cf74c Fixed thinko in usec/nsec time compare in pthread_mutex_timedlock()
svn path=/trunk/mono/; revision=1106
2001-10-06 06:14:04 +00:00
Thomas Neidhart f9b4c6284c SymmetricAlgorithm.cs: Implemented CreateDecryptor and CreateEncryptor methods
CryptographicException.cs: Initial version
CryptographicUnknownOperationException.cs: Initial version

svn path=/trunk/mcs/; revision=1105
2001-10-06 05:40:36 +00:00
Miguel de Icaza b2ee2776dd Work to get foreach working and analyzed.
ChangeLog comming later

svn path=/trunk/mcs/; revision=1103
2001-10-05 21:13:47 +00:00
Miguel de Icaza f4f49dbf98 2001-10-05 Miguel de Icaza <[email protected]>
* expression.cs: Implicity convert the result from UserCast.

Include the test from Ravi that exhibits the bug.

New classes from Toelen.

svn path=/trunk/mcs/; revision=1102
2001-10-05 17:03:10 +00:00
Miguel de Icaza 6c6fecaea1 More files from Toelen
svn path=/trunk/mcs/; revision=1101
2001-10-05 16:09:01 +00:00
Ravi Pratap M 943fd499d6 2001-10-05 Ravi Pratap <[email protected]>
* expression.cs (Expression::FindMostEncompassingType): Fix bug which
	prevented it from working correctly.

	(ConvertExplicit): Make the first try, a call to ConvertImplicitStandard, not
	merely ConvertImplicit.

svn path=/trunk/mcs/; revision=1100
2001-10-05 15:46:29 +00:00
Ravi Pratap M 1a14d9dd84 2001-10-05 Ravi Pratap <[email protected]>
* test-16.cs : Update to exercise the code which selects the best
	conversion operator based on "most encompassing/encompassed type"

	* test-7.cs : Update here too.

svn path=/trunk/mcs/; revision=1099
2001-10-05 15:41:21 +00:00
Miguel de Icaza f554a0c2e0 *** empty log message ***
svn path=/trunk/mcs/; revision=1098
2001-10-05 15:01:37 +00:00
Dick Porter 5cdbe59e40 Updated status
svn path=/trunk/mono/; revision=1097
2001-10-05 12:44:18 +00:00
Dick Porter bc3c9f9944 2001-10-05 Dick Porter <[email protected]>
* threads-pthread.c (pthread_mutex_timedlock): Simple
	compatibility version for C libraries that lack this call.

svn path=/trunk/mono/; revision=1096
2001-10-05 12:15:07 +00:00
Miguel de Icaza d660164d38 Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1094
2001-10-05 11:14:03 +00:00
Miguel de Icaza 65b050eecd Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1093
2001-10-05 11:07:40 +00:00
Miguel de Icaza ec14eee7e0 More News Items
svn path=/trunk/mono/; revision=1092
2001-10-05 10:54:02 +00:00
Ravi Pratap M 1180395c2b 2001-10-05 Ravi Pratap <[email protected]>
* expression.cs (Expression::ImplicitUserConversion): Rename to
	UserDefinedConversion.

	(Expression::UserDefinedConversion): Take an extra argument specifying
	whether we look for explicit user conversions too.

	(Expression::ImplicitUserConversion): Make it a call to UserDefinedConversion.

	(UserDefinedConversion): Incorporate support for user defined explicit conversions.

	(ExplicitUserConversion): Make it a call to UserDefinedConversion
	with the appropriate arguments.

	* cs-parser.jay (cast_expression): Record location too.

	* expression.cs (Cast): Record location info.

	(Expression::ConvertExplicit): Take location argument.

	(UserImplicitCast): Change name to UserCast. Take an extra constructor argument
	to determine if we are doing explicit conversions.

	(UserCast::Emit): Update accordingly.

	(Expression::ConvertExplicit): Report an error if everything fails.

	* ../errors/cs0030.cs : Add.

svn path=/trunk/mcs/; revision=1091
2001-10-05 08:39:39 +00:00
Ravi Pratap M eca55e95da 2001-10-05 Ravi Pratap <[email protected]>
* test-7.cs : Update to do explicit conversion tests.

	* makefile : small fix.

svn path=/trunk/mcs/; revision=1090
2001-10-05 08:37:06 +00:00
Ravi Pratap M e3a22b92fb Add a file for error CS0030
svn path=/trunk/mcs/; revision=1089
2001-10-05 08:35:28 +00:00
Dietmar Maurer f9f86d8b2b more tests
svn path=/trunk/mono/; revision=1088
2001-10-05 05:03:42 +00:00
Miguel de Icaza c6d400936a Updated
svn path=/trunk/mono/; revision=1087
2001-10-05 02:03:44 +00:00
Miguel de Icaza d817bd9e36 More News Items
svn path=/trunk/mono/; revision=1086
2001-10-05 01:52:52 +00:00
Miguel de Icaza ac52e0745a Added SymmetricAlgorithm from Thomas Neidhart
svn path=/trunk/mcs/; revision=1085
2001-10-05 01:49:16 +00:00
Miguel de Icaza 55102c540b 2001-10-04 Miguel de Icaza <[email protected]>
* modifiers.cs: If the ABSTRACT keyword is present, also set the
	virtual and newslot bits.

svn path=/trunk/mcs/; revision=1082
2001-10-04 21:39:50 +00:00
Miguel de Icaza 641555122d Update todo
svn path=/trunk/mcs/; revision=1081
2001-10-04 21:29:13 +00:00
Miguel de Icaza b5f79e1dad 2001-10-04 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::RegisterRequiredImplementations):
	Record methods we need.

	(TypeContainer::MakeKey): Helper function to make keys for
	MethodBases, since the Methodbase key is useless.

	(TypeContainer::Populate): Call RegisterRequiredImplementations
	before defining the methods.

	Create a mapping for method_builders_to_methods ahead of time
	instead of inside a tight loop.

	(::RequireMethods):  Accept an object as the data to set into the
	hashtable so we can report interface vs abstract method mismatch.

svn path=/trunk/mcs/; revision=1080
2001-10-04 21:24:28 +00:00
Miguel de Icaza 5b44b28540 Add more tests
svn path=/trunk/mcs/; revision=1079
2001-10-04 21:21:13 +00:00
Miguel de Icaza 4c65105bcc Add more errors, and fix some error tests
svn path=/trunk/mcs/; revision=1077
2001-10-04 20:34:02 +00:00
Miguel de Icaza 212c24b4f0 Flush
svn path=/trunk/mcs/; revision=1075
2001-10-04 17:51:34 +00:00
Miguel de Icaza b7fca3adb5 UPdate web page
svn path=/trunk/mono/; revision=1074
2001-10-04 17:47:44 +00:00
Dick Porter 6e4b1ec873 Temporary kludge to work around older linuxthreads implementations that
are missing pthread_mutex_timedlock()

svn path=/trunk/mono/; revision=1073
2001-10-04 14:27:02 +00:00
Paolo Molaro 9b95f6e327 Updates and fixes.
svn path=/trunk/mcs/; revision=1072
2001-10-04 13:34:37 +00:00
Paolo Molaro f50a1d5a93 Thu Oct 4 19:10:30 CEST 2001 Paolo Molaro <[email protected]>
* class.c: MonoTypes stored in MonoClass are stored as
	fundamental MonoTypes when the class represents a
	fundamental type (System.Int32, ...).
	The TypeHandle return by ldtoken is a MonoType*.
	* icall.c: ves_icall_get_data_chunk () write out all the
	PE/COFF stuff. Implement ves_icall_define_method (),
	ves_icall_set_method_body (), ves_icall_type_from_handle ().
	* image.c: properly skip unknown streams.
	* loader.h, loader.c: add type_class to mono_defaults.
	* metadata.c, metadata.h: export compute_size () as
	mono_metadata_compute_size () with a better interface.
	Typo and C&P fixes.
	* pedump.c: don't try to print the entry point RVA if there is no entry point.
	* reflection.c, reflection.h: many cleanups, fixes, output method
	signatures and headers, typedef and typeref info, compress the metadata
	tables, output all the heap streams, cli header etc.
	* row-indexes.h: typo fixes.


Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: allow marshalling valuetypes if they are
	4 bytes long.


Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <[email protected]>

	* dis-cil.c: fix printing of exception stuff.
	* dump.c: display some more info in the typedef table dump.
	* main.c: typo fix and method list fix.

svn path=/trunk/mono/; revision=1071
2001-10-04 13:32:23 +00:00
Dick Porter 50240505c6 2001-10-03 Dick Porter <[email protected]>
* Monitor.cs: Implemented all methods except the two Wait()
	methods that take boolean parameters

svn path=/trunk/mcs/; revision=1070
2001-10-04 09:44:14 +00:00
Dick Porter ed343c1d97 2001-10-04 Dick Porter <[email protected]>
* configure.in: Do some deeper checks on pthreads for some of the
	more interesting functions

2001-10-04  Dick Porter  <[email protected]>

	* object.h: Add a synchronisation mutex struct to MonoObject

	* object.c (mono_new_object): Initialise the object
	synchronisation mutexes

	* icall.c: System.Threading.Monitor internal calls

	* threads-pthread.h:
	* threads-pthread.c: System.Threading.Monitor internal calls

	* threads-types.h: New file, includes the system-specific thread
	structures

	* threads-pthread-types.h:
	* threads-pthread-types.c: New files, handle pthread-specific
	synchronisation types

	* threads-dummy-types.h:
	* threads-dummy-types.c: New files of dummy support for
	thread-specific types

	* metadata.c:
	* image.c:
	* pedump.c: include mono-endian.h not endian.h

	* Makefile.am: More threads files.
	Name mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* meta.h: include mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* interp.c (ves_runtime_method): init_class() the
	mono_defaults.delegate_class
	Include mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* testjit.c:
	* emit-x86.c: include mono-endian.h not endian.h

svn path=/trunk/mono/; revision=1069
2001-10-04 09:43:37 +00:00
Miguel de Icaza cf9c137f2e Flush
svn path=/trunk/mcs/; revision=1068
2001-10-03 21:37:52 +00:00
Miguel de Icaza f5611af471 *** empty log message ***
svn path=/trunk/mcs/; revision=1067
2001-10-03 14:27:05 +00:00
Ravi Pratap M 206b9898be 2001-10-03 Ravi Pratap <[email protected]>
* test-16.cs : Update to make the test more correct.

svn path=/trunk/mcs/; revision=1066
2001-10-03 14:10:23 +00:00
Ravi Pratap M 5a4fff8250 2001-10-03 Ravi Pratap <[email protected]>
* expression.cs (Binary::DoNumericPromotions): Fix the case when
	we do a forcible conversion regardless of type, to check if
	ForceConversion returns a null.

	(Binary::error19): Use location to report error.

	(Unary::error23): Use location here too.

	* ../errors/cs0019.cs : Check in.

	* ../errors/cs0023.cs : Check in.

	* expression.cs (Expression.MemberLookup): Return null for a rather esoteric
	case of a non-null MethodInfo object with a length of 0 !

	(Binary::ResolveOperator): Flag error if overload resolution fails to find
	an applicable member - according to the spec :-)
	Also fix logic to find members in base types.

	(Unary::ResolveOperator): Same here.

	(Unary::report23): Change name to error23 and make first argument a TypeContainer
	as I was getting thoroughly confused between this and error19 :-)

	* expression.cs (Expression::ImplicitUserConversion): Re-write fully
	(::FindMostEncompassedType): Implement.
	(::FindMostEncompassingType): Implement.
	(::StandardConversionExists): Implement.

	(UserImplicitCast): Re-vamp. We now need info about most specific
	source and target types so that we can do the necessary conversions.

	(Invocation::MakeUnionSet): Completely re-write to make sure we form a proper
	mathematical union with no duplicates.

svn path=/trunk/mcs/; revision=1065
2001-10-03 13:04:16 +00:00
Ravi Pratap M 914532ab8a Added files for errors CS0019 and CS0023
svn path=/trunk/mcs/; revision=1064
2001-10-03 13:01:18 +00:00
Ravi Pratap M b717c0c9eb 2001-10-03 Ravi Pratap <[email protected]>
* test-16.cs : Add.

	* makefile : update accordingly.

svn path=/trunk/mcs/; revision=1063
2001-10-03 12:59:16 +00:00
Dietmar Maurer a8b446e24b another test (does not work at the moment)
svn path=/trunk/mono/; revision=1062
2001-10-03 10:04:41 +00:00
Dietmar Maurer 3946082dfd 2001-10-02 Dietmar Maurer <[email protected]>
* get.c (get_method): always write namespace and class name.

svn path=/trunk/mono/; revision=1061
2001-10-03 02:28:04 +00:00
Miguel de Icaza 89a46c62ff *** empty log message ***
svn path=/trunk/mcs/; revision=1060
2001-10-03 01:26:24 +00:00
Paolo Molaro d19904c961 Tue Oct 2 20:33:48 CEST 2001 Paolo Molaro <[email protected]>
* Makefile.am, reflection.h, reflection.c: move here the reflection related
	stuff and implement a few more bits.
	* icall.c: a field needs to be dereferenced twice. Do not use the same
	name for two variables in the same scope.
	* image.c, image.h: cleanups.

svn path=/trunk/mono/; revision=1059
2001-10-02 14:42:07 +00:00
Miguel de Icaza baff6c9be7 Add new test
svn path=/trunk/mcs/; revision=1058
2001-10-02 13:52:13 +00:00
Martin Weindel e034955dfa added tests for System.Int64
svn path=/trunk/mcs/; revision=1057
2001-10-02 13:31:45 +00:00
Miguel de Icaza 5a22b50369 Add more tests
svn path=/trunk/mcs/; revision=1056
2001-10-02 13:05:15 +00:00
Miguel de Icaza 48a0828dc8 *** empty log message ***
svn path=/trunk/mcs/; revision=1055
2001-10-02 13:00:47 +00:00
Paolo Molaro 3df5438910 Tue Oct 2 18:51:25 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: set frame->ip in the leave opcode. Make db_methods static.

svn path=/trunk/mono/; revision=1054
2001-10-02 12:55:21 +00:00
Dietmar Maurer 847d6a0f76 2001-10-02 Dietmar Maurer <[email protected]>
* testjit.c (ctree_create_dup): really duplicate the tree.
	attach the arguments to the CALL node. Added a neiw macro to
	make argument order configurable (ARCH_ARGS_RIGHT_TO_LEFT).

svn path=/trunk/mono/; revision=1053
2001-10-02 06:52:58 +00:00
Dietmar Maurer ff1c4c7ed2 2001-10-02 Dietmar Maurer <[email protected]>
* class.c (mono_class_metadata_init): bug fix: compute the right size

svn path=/trunk/mono/; revision=1052
2001-10-02 03:37:40 +00:00
Ravi Pratap M b0057e2afe 2001-10-02 Ravi Pratap <[email protected]>
* test-13.cs : Added.

	* makefile : update accordingly.

svn path=/trunk/mcs/; revision=1051
2001-10-02 01:52:35 +00:00
Ravi Pratap M 60867ff34a 2001-10-02 Ravi Pratap <[email protected]>
* expression.cs (Unary::ResolveOperator): Find operators on base type
	too - we now conform exactly to the spec.

	(Binary::ResolveOperator): Same here.

	* class.cs (Operator::Define): Fix minor quirk in the tests.

	* ../errors/cs0215.cs : Added.

	* ../errors/cs0556.cs : Added.

	* ../errors/cs0555.cs : Added.

svn path=/trunk/mcs/; revision=1050
2001-10-02 01:45:42 +00:00
Ravi Pratap M 6e4cb8d32b Added more files for errors that we catch.
svn path=/trunk/mcs/; revision=1049
2001-10-02 01:41:26 +00:00
Miguel de Icaza f17abd7816 2001-10-01 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Reimplemented Location to be a struct with a
	single integer which is really efficient

svn path=/trunk/mcs/; revision=1047
2001-10-02 00:00:09 +00:00
Paolo Molaro 5bdd0bb7c7 Updates and some implementation bits.
svn path=/trunk/mcs/; revision=1046
2001-10-01 14:53:39 +00:00
Paolo Molaro 12800ef10b Mon Oct 1 20:43:57 CEST 2001 Paolo Molaro <[email protected]>
* icall.c: implemented some of the Reflection internalcalls.
	* image.c, image.h: start writing out the PE/COFF image.
	* metadata.h, metadata.c: implement mono_metadata_encode_value ()
	that does the reverse than decode_blob_size ().
	* object.c: use mono_metadata_encode_value (). Move here
	temporary implementation of mono_string_to_utf8 ().
	* rawbuffer.c: make malloc_map static.

svn path=/trunk/mono/; revision=1045
2001-10-01 14:53:07 +00:00
Paolo Molaro 78e26aeb8b Fix values for O_CREAT O_EXCL O_TRUNC O_APPEND to work on Linux,
these need to be taken from the wrapper generation tool, later.

svn path=/trunk/mcs/; revision=1044
2001-10-01 13:26:23 +00:00
Paolo Molaro 982cad2e22 No need to flush a filehandle (and anyway you can't since fflush
needs a _file_ handle).
Idem, avoid corruption calling fseek on a file handle (use lseek instead).
This file should be reworked to be 64 bits clean.

svn path=/trunk/mcs/; revision=1043
2001-10-01 13:12:32 +00:00
Paolo Molaro 045f160ee7 Mon Oct 1 18:48:27 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: fix thinko (s/SUB/ADD/) in stack adjustment
	and avoid a couple of unnecessary instructions.

svn path=/trunk/mono/; revision=1042
2001-10-01 13:07:53 +00:00
Ravi Pratap M f863757e01 2001-10-01 Ravi Pratap <[email protected]>
*  expression.cs (Expression::ImplicitUserConversion): Use location
        even in the case when we are examining True operators.

        * class.cs (Operator::Define): Perform extensive checks to conform
        with the rules for operator overloading in the spec.

	* expression.cs (Expression::ImplicitReferenceConversion): Implement
	some of the other conversions mentioned in the spec.

	* typemanager.cs (array_type): New static member for the System.Array built-in
	type.

	(cloneable_interface): For System.ICloneable interface.

	* driver.cs (Driver::Driver): Initialize TypeManager's core types even before
	we start resolving the tree and populating types.

	* ../errors/errors.txt : Update for error numbers -7, -8, -9, -10

svn path=/trunk/mcs/; revision=1041
2001-10-01 13:01:54 +00:00
Ravi Pratap M 85e3817a2f Update errors.txt for the new errors that only we catch.
svn path=/trunk/mcs/; revision=1040
2001-10-01 12:56:17 +00:00
Dietmar Maurer 1542f78f80 2001-10-01 Dietmar Maurer <[email protected]>
* interp.brg: the burm based interpreter: added the file as example.

svn path=/trunk/mono/; revision=1039
2001-10-01 08:53:31 +00:00
Miguel de Icaza 27ee0c1879 2001-10-01 Miguel de Icaza <[email protected]>
* expression.cs (Expression::ExprClassFromMemberInfo,
	Expression::Literalize): Create literal expressions from
	FieldInfos which are literals.

	(ConvertNumericExplicit, ImplicitNumericConversion): Fix a few
	type casts, because they were wrong.  The test suite in tests
	caught these ones.

	(ImplicitNumericConversion): ushort to ulong requires a widening
	cast.

	Int32 constant to long requires widening cast as well.

	* literal.cs (LongLiteral::EmitLong): Do not generate i4 constants
	for integers because the type on the stack is not i4.

svn path=/trunk/mcs/; revision=1038
2001-10-01 01:29:38 +00:00
Paolo Molaro ee264aa129 Sun Sep 30 11:57:15 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: compiler and ANSI C portability fixes.

svn path=/trunk/mono/; revision=1037
2001-09-30 06:04:32 +00:00
Miguel de Icaza a0d343eeb1 2001-09-30 Miguel de Icaza <[email protected]>
* expression.cs (report118): require location argument.

	* parameter.cs: Do not dereference potential null value.

	* class.cs: Catch methods that lack the `new' keyword when
	overriding a name.  Report warnings when `new' is used without
	anything being there to override.

	* modifiers.cs: Handle `NEW' as MethodAttributes.NewSlot.

svn path=/trunk/mcs/; revision=1036
2001-09-30 03:03:54 +00:00
Miguel de Icaza 6f4428a7e7 2001-09-30 Miguel de Icaza <[email protected]>
* class.cs: Only add constructor to hashtable if it is non-null
	(as now constructors can fail on define).

	(TypeManager, Class, Struct): Take location arguments.

	Catch field instance initialization in structs as errors.

	accepting_filter: a new filter for FindMembers that is static so
	that we dont create an instance per invocation.

	(Constructor::Define): Catch errors where a struct constructor is
	parameterless

	* cs-parser.jay: Pass location information for various new
	constructs.

	* delegate.cs (Delegate): take a location argument.

	* driver.cs: Do not call EmitCode if there were problesm in the
	Definition of the types, as many Builders wont be there.

	* decl.cs (Decl::Decl): Require a location argument.

	* cs-tokenizer.cs: Handle properly hex constants that can not fit
	into integers, and find the most appropiate integer for it.

	* literal.cs: Implement ULongLiteral.

	* rootcontext.cs: Provide better information about the location of
	failure when CreateType fails.

2001-09-29  Miguel de Icaza  <[email protected]>

	* rootcontext.cs (RootContext::PopulateTypes): Populates structs
	as well.

	* expression.cs (Binary::CheckShiftArguments): Add missing type
	computation.
	(Binary::ResolveOperator): Add type to the logical and and logical
	or, Bitwise And/Or and Exclusive Or code paths, it was missing
	before.

	(Binary::DoNumericPromotions): In the case where either argument
	is ulong (and most signed types combined with ulong cause an
	error) perform implicit integer constant conversions as well.

svn path=/trunk/mcs/; revision=1035
2001-09-30 02:22:09 +00:00
Miguel de Icaza d0969b05cb Added MethodImplAttribute and AttributeUsage classes
svn path=/trunk/mcs/; revision=1033
2001-09-29 16:57:38 +00:00
Dick Porter 0b30f0007d Added required 'Using' directive
svn path=/trunk/mcs/; revision=1032
2001-09-29 16:41:20 +00:00
Miguel de Icaza 59ecdcf73b 2001-09-28 Miguel de Icaza <[email protected]>
* expression.cs (UserImplicitCast): Method should always be
	non-null.
	(Invocation::BetterConversion): Simplified test for IntLiteral.

	(Expression::ImplicitNumericConversion): Split this routine out.
	Put the code that performs implicit constant integer conversions
	here.

	(Expression::Resolve): Become a wrapper around DoResolve so we can
	check eclass and type being set after resolve.

	(Invocation::Badness): Remove this dead function

	(Binary::ResolveOperator): Do not compute the expensive argumnets
	unless we have a union for it.

svn path=/trunk/mcs/; revision=1031
2001-09-28 20:27:52 +00:00
Miguel de Icaza 639f81cc5f 2001-09-28 Miguel de Icaza <[email protected]>
* expression.cs (Probe::Emit): Is needs to do an isinst and then
	compare against null.

	(::CanConvert): Added Location argument.  If the Location argument
	is null (Location.Null), then we do not report errors.  This is
	used by the `probe' mechanism of the Explicit conversion.  We do
	not want to generate an error for something that the user
	explicitly requested to be casted.  But the pipeline for an
	explicit cast first tests for potential implicit casts.

	So for now, if the Location is null, it means `Probe only' to
	avoid adding another argument.   Might have to revise this
	strategy later.

	(ClassCast): New class used to type cast objects into arbitrary
	classes (used in Explicit Reference Conversions).

	Implement `as' as well.

	Reverted all the patches from Ravi below: they were broken:

		* The use of `level' as a mechanism to stop recursive
		  invocations is wrong.  That was there just to catch the
		  bug with a strack trace but not as a way of addressing
		  the problem.

		  To fix the problem we have to *understand* what is going
		  on and the interactions and come up with a plan, not
		  just get things going.

		* The use of the type conversion cache that I proposed
		  last night had an open topic: How does this work across
		  protection domains.  A user defined conversion might not
		  be public in the location where we are applying the
		  conversion, a different conversion might be selected
		  (ie, private A->B (better) but public B->A (worse),
		  inside A, A->B applies, but outside it, B->A will
		  apply).

		* On top of that (ie, even if the above is solved),
		  conversions in a cache need to be abstract.  Ie, `To
		  convert from an Int to a Short use an OpcodeCast', not
		  `To convert from an Int to a Short use the OpcodeCast on
		  the variable 5' (which is what this patch was doing).

svn path=/trunk/mcs/; revision=1029
2001-09-28 18:10:28 +00:00
Paolo Molaro 0e1c47f7a5 Some fixes and some implementation bits. More classes.
svn path=/trunk/mcs/; revision=1028
2001-09-28 13:54:46 +00:00
Paolo Molaro bde4724905 Fri Sep 28 19:26:30 CEST 2001 Paolo Molaro <[email protected]>
* metadata.c: fix type comparison for arrays.
	* loader.h, loader.c: half-assed fix to get more tests work in cygwin.
	Added a couple of new classes to monodefaults.
	* icall.c: added a couple of Reflection-related internalcalls.
	* class.h, class.c: implemented mono_ldtoken () for RuntimeTypeHandles.
	Added a byval_arg MonoType to MonoClass.


Fri Sep 28 19:43:12 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: marshal valuetypes that are enums.


Fri Sep 28 19:37:46 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: Implemented ldtoken, conv.ovf.i. Use MonoClass->byval_arg
	(and remove related kludges). Don't choke on access to arrays of
	references. Throw an exception when an internalcall or P/Invoke
	function don't have an implementation. Throw and EngineException
	for unimplemented opcodes.

svn path=/trunk/mono/; revision=1027
2001-09-28 13:49:47 +00:00
Dick Porter 0460469e4d 2001-09-28 Dick Porter <[email protected]>
* icall.c:
	* threads-pthread.h:
	* threads-pthread.c: Implemented internal calls for
	LocalDataStoreSlot operations.  Applied mutexes around all shared
	data.  Reworked the thread creation and Start() operations to
	avoid a race condition.

	* threads-dummy.h:
	* threads-dummy.c: Dummy calls for the LocalDataStoreSlot operations

svn path=/trunk/mono/; revision=1026
2001-09-28 13:39:47 +00:00
Dick Porter 1046a5b8b8 2001-09-28 Dick Porter <[email protected]>
* Thread.cs: Implemented AllocateDataSlot(),
	AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
	GetNamedDataSlot(), SetData(), IsBackground.  Reworked Thread()
	and Start() to avoid a race condition. Added thread-safe state
	changing private operations.

	* Monitor.cs: Comment out the GetType() calls because it isn't implemented yet

2001-09-28  Dick Porter  <[email protected]>

	* LocalDataStoreSlot.cs: Implemented

svn path=/trunk/mcs/; revision=1025
2001-09-28 13:38:52 +00:00
Miguel de Icaza dc315c6bdf Revert Ravi's patch, it was completely broken
svn path=/trunk/mcs/; revision=1024
2001-09-28 12:43:53 +00:00
Ravi Pratap M d9d94a607f 2001-09-28 Ravi Pratap <[email protected]>
* expression.cs (Invocation::ConversionExists): Re-write to use
        the conversion cache

        (Expression::ConvertImplicit): Automatic bailing out if level != 0. Also
        cache all conversions done, not just user-defined ones.

        (Invocation::BetterConversion): The real culprit. Use ConversionExists
        to determine if a conversion exists instead of acutually trying to
        perform the conversion. It's faster too.

        (Expression::ConvertExplicit): Modify to use ConversionExists to check
        and only then attempt the implicit conversion.

svn path=/trunk/mcs/; revision=1023
2001-09-28 12:28:56 +00:00
Miguel de Icaza 972f849886 Small updates
svn path=/trunk/mono/; revision=1022
2001-09-28 12:02:35 +00:00
Ravi Pratap M e54ad6880b expression.cs (ConvertImplicit): Implement cache to prevent looping
[I am unable to past my ChangeLog entries here !!! Help !]

svn path=/trunk/mcs/; revision=1021
2001-09-28 05:01:14 +00:00
Dietmar Maurer e333f61d60 cleanup
svn path=/trunk/mono/; revision=1020
2001-09-28 03:22:30 +00:00
Miguel de Icaza 786f8547f0 Add new test
svn path=/trunk/mcs/; revision=1019
2001-09-28 01:40:11 +00:00
Miguel de Icaza 744466b59b 2001-09-28 Miguel de Icaza <[email protected]>
* typemanager.cs (string_concat_string_string, string_concat_object_object):
	Export standard methods that we expect for string operations.

	* statement.cs (Block::UsageWarning): Track usage of variables and
	report the errors for not used variables.

	* expression.cs (Conditional::Resolve, ::Emit): Implement ?:
	operator.

svn path=/trunk/mcs/; revision=1018
2001-09-28 01:33:54 +00:00
Miguel de Icaza af166bb3df 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs: Removed BuiltinTypeAccess class

svn path=/trunk/mcs/; revision=1016
2001-09-27 23:56:17 +00:00
Miguel de Icaza 8520268314 Add box test
svn path=/trunk/mcs/; revision=1015
2001-09-27 23:54:27 +00:00
Miguel de Icaza a87da59d1d Updated tests
svn path=/trunk/mcs/; revision=1014
2001-09-27 23:54:02 +00:00
Miguel de Icaza 65c4869e77 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs: Fix the order in which implicit conversions are
	done.

	The previous fixed dropped support for boxed conversions (adding a
	test to the test suite now)

	(UserImplicitCast::CanConvert): Remove test for source being null,
	that code is broken.  We should not feed a null to begin with, if
	we do, then we should track the bug where the problem originates
	and not try to cover it up here.

	Return a resolved expression of type UserImplicitCast on success
	rather than true/false.  Ravi: this is what I was talking about,
	the pattern is to use a static method as a "constructor" for
	objects.

	Also, do not create arguments until the very last minute,
	otherwise we always create the arguments even for lookups that
	will never be performed.

	(UserImplicitCast::Resolve): Eliminate, objects of type
	UserImplicitCast are born in a fully resolved state.

svn path=/trunk/mcs/; revision=1013
2001-09-27 23:51:44 +00:00
Miguel de Icaza 73f0fa398f 2001-09-27 Miguel de Icaza <[email protected]>
* typemanager.cs (InitCoreTypes): Init also value_type
	(System.ValueType).

svn path=/trunk/mcs/; revision=1011
2001-09-27 18:23:44 +00:00
Miguel de Icaza 8eb30ad1bf 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs (Cast::Resolve): First resolve the child expression.

svn path=/trunk/mcs/; revision=1010
2001-09-27 17:43:26 +00:00
Miguel de Icaza 66c78971d7 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs (LValue): Add new method AddressOf to be used by
	the `&' operator.

	Change the argument of Store to take an EmitContext instead of an
	ILGenerator, because things like FieldExpr need to be able to call
	their children expression to generate the instance code.

	(Expression::Error, Expression::Warning): Sugar functions for
	reporting errors.

	(Expression::MemberLookup): Accept a TypeContainer instead of a
	Report as the first argument.

	(Expression::ResolvePrimary): Killed.  I still want to improve
	this as currently the code is just not right.

	(Expression::ResolveMemberAccess): Simplify, but it is still
	wrong.

	(Unary::Resolve): Catch errors in AddressOf operators.

	(LocalVariableReference::Emit, ::Store, ::AddressOf): typecast
	index to a byte for the short-version, or the compiler will choose
	the wrong Emit call, which generates the wrong data.

	(ParameterReference::Emit, ::Store): same.

	(FieldExpr::AddressOf): Implement.

	* typemanager.cs: TypeManager: made public variable instead of
	property.

	* driver.cs: document --fatal.

	* report.cs (ErrorMessage, WarningMessage): new names for the old
	Error and Warning classes.

	* cs-parser.jay (member_access): Turn built-in access to types
	into a normal simplename

svn path=/trunk/mcs/; revision=1009
2001-09-27 17:36:55 +00:00
Ravi Pratap M e6499af621 Fix bug in BetterConversion and in ConvertImplicit
svn path=/trunk/mcs/; revision=1007
2001-09-27 17:17:18 +00:00
Paolo Molaro 525ffd4c8e Add tests again so that they are included in make dist.
svn path=/trunk/mono/; revision=1006
2001-09-27 17:05:26 +00:00
Paolo Molaro c7d7de6ab2 Thu Sep 27 21:45:55 CEST 2001 Paolo Molaro <[email protected]>
* rawbuffer.c: disable mmap on cygwin since it seems to be broken there.

svn path=/trunk/mono/; revision=1005
2001-09-27 15:49:54 +00:00
Paolo Molaro 4886fd3bfb Thu Sep 27 19:52:11 CEST 2001 Paolo Molaro <[email protected]>
* class.c, loader.c: warn and return NULL instead of erroring out.
	* icall.c: added System.AppDomain::getCurDomain().
	* loader.c: we don't need to lookup the typedef again for p/invoke calls.

svn path=/trunk/mono/; revision=1004
2001-09-27 13:57:46 +00:00
Paolo Molaro b7556d202f Some more stubs and fixes.
svn path=/trunk/mcs/; revision=1003
2001-09-27 13:51:14 +00:00
Miguel de Icaza 80438b4f08 Add more tests to compare our cast code
svn path=/trunk/mcs/; revision=1002
2001-09-27 13:39:40 +00:00
Ravi Pratap M 281ba72b2b 2001-09-27 Ravi Pratap <[email protected]>
* expression.cs (UserImplicitCast::Resolve): Fix bug.

svn path=/trunk/mcs/; revision=1001
2001-09-27 12:51:06 +00:00
Ravi Pratap M 3abf0ad6b1 2001-09-27 Ravi Pratap <[email protected]>
* test-7.cs : Uncomment lines True operator overload now works.

svn path=/trunk/mcs/; revision=1000
2001-09-27 12:43:56 +00:00
Miguel de Icaza 0001005660 Add a comment to Cast type
svn path=/trunk/mcs/; revision=999
2001-09-27 12:27:08 +00:00
Dietmar Maurer 36b2c829e9 cleanup
svn path=/trunk/mono/; revision=998
2001-09-27 11:43:34 +00:00
Dietmar Maurer b72e8ded43 2001-09-27 Dietmar Maurer <[email protected]>
* testjit.c: impl. LDIND/STIND/LDLOCA, use g_malloc to alloc static
	data.
	(map_stind_type): support enum types
	(map_ldind_type): support enum types

	* emit-x86.c (tree_allocate_regs): added code to support
	register allocation for addressing modes trees.
	(tree_emit): bug fix: we have to emit all mono_burg_functins. The
	previous impl. did not work for chain rules.
	(compute_branches): support for SWITCH statements

	* x86.brg: added rules to model x86 addressing modes

svn path=/trunk/mono/; revision=997
2001-09-27 10:41:13 +00:00
Miguel de Icaza 22f342edb5 Typo fix
svn path=/trunk/mono/; revision=996
2001-09-27 10:32:32 +00:00
Paolo Molaro cadf42f513 Thu Sep 27 15:34:37 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: in memindex operand you can use X86_NOBASEREG
	as basereg.

svn path=/trunk/mono/; revision=995
2001-09-27 09:38:19 +00:00
Ravi Pratap M a7855691e0 2001-09-27 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::AddConstructor): Fix a stupid bug
	I had introduced long ago (what's new ?).

	* expression.cs (UserImplicitCast::CanConvert): Static method to do
	the work of all the checking.
	(ConvertImplicit): Call CanConvert and only then create object if necessary.
	(UserImplicitCast::CanConvert, ::Resolve): Re-write.

	(Unary::Operator): Rename Add and Subtract to Addition and Subtraction because
	that is the right way.

	(Invocation::MakeUnionSet): Convenience function to make unions of sets for
	overloading resolution. Use everywhere instead of cutting and pasting code.

	(Binary::ResolveOperator): Use MakeUnionSet.

	(UserImplicitCast::CanConvert, ::Resolve): Update to take care of the case when
	we have to convert to bool types. Not complete yet.

svn path=/trunk/mcs/; revision=994
2001-09-27 08:24:07 +00:00
Ravi Pratap M 849580927d 2001-09-27 Ravi Pratap <[email protected]>
* test-7.cs : Revamp and add more operator tests. Still in progress.

	* test-9,10.cs : Added by Miguel earlier.

svn path=/trunk/mcs/; revision=993
2001-09-27 08:19:38 +00:00
Miguel de Icaza 778dbffa52 2001-09-27 Miguel de Icaza <[email protected]>
* typemanager.cs (TypeManager::CSharpName): support ushort.

	* expression.cs (Expression::TryImplicitIntConversion): Attempts
	to provide an expression that performsn an implicit constant int
	conversion (section 6.1.6).
	(Expression::ConvertImplicitRequired): Reworked to include
	implicit constant expression conversions.

	(Expression::ConvertNumericExplicit): Finished.

	(Invocation::Emit): If InstanceExpression is null, then it means
	that we perform a call on this.

svn path=/trunk/mcs/; revision=992
2001-09-27 01:16:47 +00:00
Miguel de Icaza 92c8ef759d Add Explicit Number Conversion operator test
svn path=/trunk/mcs/; revision=991
2001-09-27 00:43:59 +00:00
Miguel de Icaza 12e7f4fa71 *** empty log message ***
svn path=/trunk/mcs/; revision=990
2001-09-26 20:40:58 +00:00
Miguel de Icaza 328c5deb8d 2001-09-26 Miguel de Icaza <[email protected]>
* expression.cs (Unary::Emit): Remove some dead code.

svn path=/trunk/mcs/; revision=989
2001-09-26 18:56:23 +00:00
Miguel de Icaza 0f4462f2e4 2001-09-26 Miguel de Icaza <[email protected]>
* cs-parser.jay: Update operator constants.

	* parameter.cs (Parameters::GetParameterInfo): Hook up VerifyArgs
	(Parameters::GetSignature): Hook up VerifyArgs here.
	(Parameters::VerifyArgs): Verifies that no two arguments have the
	same name.

	* class.cs (Operator): Update the operator names to reflect the
	ones that the spec expects (as we are just stringizing the
	operator names).

	* expression.cs (Unary::ResolveOperator): Fix bug: Use
	MethodInfo's ReturnType instead of LookupMethodByBuilder as the
	previous usage did only work for our methods.
	(Expression::ConvertImplicit): Handle decimal implicit numeric
	conversions as well.
	(Expression::InternalTypeConstructor): Used to invoke constructors
	on internal types for default promotions.

	(Unary::Emit): Implement special handling for the pre/post
	increment/decrement for overloaded operators, as they need to have
	the same semantics as the other operators.

	(Binary::ResolveOperator): ditto.
	(Invocation::ConversionExists): ditto.
	(UserImplicitCast::Resolve): ditto.

svn path=/trunk/mcs/; revision=988
2001-09-26 18:32:27 +00:00
Sean MacIsaac e3229d0264 fixed clean target
svn path=/trunk/mcs/; revision=987
2001-09-26 16:08:28 +00:00
Sean MacIsaac eb23682f77 Don't build classes that reference WebRequest.
svn path=/trunk/mcs/; revision=986
2001-09-26 16:04:13 +00:00
Sean MacIsaac e0a7752139 new version of nant that shouldn't cause security exception for win98
(lupus).  i just removed the offending code.  i'll look into a better
solution.

svn path=/trunk/mcs/; revision=985
2001-09-26 11:17:23 +00:00
Paolo Molaro cb6d5bb200 Wed Sep 26 16:29:36 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: added memindex addressing mode encoding
	(and mov to/from register opcodes).

svn path=/trunk/mono/; revision=984
2001-09-26 10:33:18 +00:00
Sean MacIsaac d5a24f04dd changed target from unix to linux
svn path=/trunk/mcs/; revision=983
2001-09-26 09:58:25 +00:00
Sean MacIsaac cb4662adf7 Fixed some build problems (related to targets)
svn path=/trunk/mcs/; revision=982
2001-09-26 09:53:17 +00:00
Sean MacIsaac 786ddf4d04 makefile: calls NAnt to build class libs
System/System.build: Exclude broken source files

corlib/Test/corlib_test.build: Exclude broken source files

svn path=/trunk/mcs/; revision=981
2001-09-26 09:51:04 +00:00
Dietmar Maurer 482aa35d24 *** empty log message ***
svn path=/trunk/mono/; revision=980
2001-09-26 09:48:13 +00:00
Sean MacIsaac 9559e2b1ae Moved to corlib/Test
svn path=/trunk/mcs/; revision=979
2001-09-26 09:46:28 +00:00
Sean MacIsaac 85758502f2 Moved to corlib/Test Directory
svn path=/trunk/mcs/; revision=978
2001-09-26 09:44:54 +00:00
Sean MacIsaac 4fb4bf8fd0 No longer used. New Platform Abstraction Layer used instead.
svn path=/trunk/mcs/; revision=977
2001-09-26 09:42:52 +00:00
Sean MacIsaac faa6c953d1 NAnt executable
svn path=/trunk/mcs/; revision=976
2001-09-26 09:38:27 +00:00
Sean MacIsaac 5f24e03b41 NAnt build files and System.Data files moved to appropriate directory.
svn path=/trunk/mcs/; revision=975
2001-09-26 09:35:13 +00:00
Sean MacIsaac a3cfee175f NAnt build files and test cases that CVS is giving me problems with.
svn path=/trunk/mcs/; revision=974
2001-09-26 09:25:02 +00:00
Sean MacIsaac 9d4f8b4fbc Moved to old.
svn path=/trunk/mcs/; revision=973
2001-09-26 09:21:42 +00:00
Sean MacIsaac ab1b48e3ad Test files. Will soon be moved into appropriate namespace directory.
svn path=/trunk/mcs/; revision=972
2001-09-26 09:19:25 +00:00
Sean MacIsaac 905e80515c Moving to NAnt.
svn path=/trunk/mcs/; revision=971
2001-09-26 09:15:43 +00:00
Sean MacIsaac 08f82d42fc Moved temporarily to old. Soon I will move them into the proper
namespace directories.

svn path=/trunk/mcs/; revision=970
2001-09-26 09:14:31 +00:00
Sean MacIsaac 6d11b05caa Removing old build files. NAnt doesn't use them.
svn path=/trunk/mcs/; revision=969
2001-09-26 09:11:29 +00:00
Ravi Pratap M c298a1b598 2001-09-26 Ravi Pratap <[email protected]>
* expression.cs (Unary::Emit and Binary::Emit): If we have an overloaded
	operator, return after emitting body. Regression tests pass again !

	* expression.cs (ConvertImplicit): Take TypeContainer as first argument
	(Unary::ForceConversion, Binary::ForceConversion): Ditto.
	(Invocation::OverloadResolve): Ditto.
	(Invocation::BetterFunction, BetterConversion, ConversionExists): Ditto.

	* everywhere : update calls to the above methods accordingly.

svn path=/trunk/mcs/; revision=968
2001-09-26 07:11:40 +00:00
Ravi Pratap M fee72ef7ac 2001-09-26 Ravi Pratap <[email protected]>
* test-7.cs : Update to return an exit code

	* test-8.cs : Added by Miguel.

svn path=/trunk/mcs/; revision=967
2001-09-26 07:06:57 +00:00
Dietmar Maurer 8a4bcb4a7d 2001-09-26 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_compile_method): more documentation.

	* testjit.c: moved the architecture specific things to emit-x86.c
	and x86.brg. Added more documentation. code cleanup.

svn path=/trunk/mono/; revision=966
2001-09-26 06:38:36 +00:00
Mads Pultz d42f27bc43 *** empty log message ***
svn path=/trunk/mono/; revision=965
2001-09-26 05:34:51 +00:00
Mads Pultz e9f5a497c9 * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
* DnsTest.cs: initial tests of BeginGetHostByName and EndGetHostByName implemented.

svn path=/trunk/mcs/; revision=964
2001-09-26 04:53:42 +00:00
Miguel de Icaza 249510f420 *** empty log message ***
svn path=/trunk/mcs/; revision=963
2001-09-26 02:01:40 +00:00
Paolo Molaro 0279c59bb0 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: fix off-by-one error in Trim().

svn path=/trunk/mcs/; revision=961
2001-09-25 14:01:33 +00:00
Miguel de Icaza e796ce5fac 2001-09-25 Miguel de Icaza <[email protected]>
* driver.cs: Change the wording of message

svn path=/trunk/mcs/; revision=960
2001-09-25 13:31:28 +00:00
Paolo Molaro 7e26cbfacb Tue Sep 25 19:03:52 CEST 2001 Paolo Molaro <[email protected]>
* class.xml: updates.

svn path=/trunk/mono/; revision=959
2001-09-25 13:07:03 +00:00
Paolo Molaro d470ebd256 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <[email protected]>
* Type.cs: added GetType () method.


Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: fix Insert () to check capacity, not count.


Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <[email protected]>

	* File.cs: fix signatures of the Open() and OpenRead() functions
	(they are static).

svn path=/trunk/mcs/; revision=958
2001-09-25 12:58:06 +00:00
Dietmar Maurer 1aa42c5a5f 2001-09-25 Dietmar Maurer <[email protected]>
* x86.brg: we now have different types of addresses: ADDR_L for local
	values, ADDR_A for arguments and ADDR_G for global addresses. We
	also use LDIND_XX token to load values from a specific address
	instead of LDLOC/STLOC.

	* testjit.c: use the new adressing scheme everywhere:
	LDIND _XX (ADDR_X), and STIND_XX (ADDR_X, tree)

svn path=/trunk/mono/; revision=957
2001-09-25 12:51:51 +00:00
Paolo Molaro b8d83905f7 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <[email protected]>
* MissingMethodException.cs, MissingMemberException.cs,
	MemberAccessException.cs: added.

svn path=/trunk/mcs/; revision=956
2001-09-25 11:32:07 +00:00
Paolo Molaro 49917c2062 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <[email protected]>
* DictionaryEntry.cs: added.

svn path=/trunk/mcs/; revision=955
2001-09-25 10:57:56 +00:00
Paolo Molaro 85b277a87d Tue Sep 25 16:53:08 CEST 2001 Paolo Molaro <[email protected]>
* TypeBuilder.cs, ConstructorBuilder.cs, ModuleBuilder.cs: added.

svn path=/trunk/mcs/; revision=954
2001-09-25 10:56:37 +00:00
Paolo Molaro 61cd71479b Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <[email protected]>
* ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.

svn path=/trunk/mcs/; revision=953
2001-09-25 10:53:32 +00:00
Ravi Pratap M a4ab70c915 2001-09-25 Ravi Pratap <[email protected]>
* expression.cs (Binary::ResolveOperator): Had forgottten to set
	the type of the expression to the return type of the method if
	we have an overloaded operator match ! The regression tests pass again !
	(Unary::ResolveOperator): Ditto.

	* expression.cs (Invocation::ConversionExists): Correct the member lookup
	to find "op_Implicit", not "implicit" ;-)
	(UserImplicitCast): New class to take care of user-defined implicit conversions.
	(ConvertImplicit, ForceConversion): Take TypeContainer argument

	* everywhere : Correct calls to the above accordingly.

	* expression.cs (UserImplicitCast::Resolve, ::Emit): Implement.
	(ConvertImplicit): Do user-defined conversion if it exists.

svn path=/trunk/mcs/; revision=952
2001-09-25 10:52:47 +00:00
Paolo Molaro d33f1e00fa Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: don't access the string array out of bounds in LastIndexOf.
	* Type.cs: fix return type of the Assembly property.

svn path=/trunk/mcs/; revision=951
2001-09-25 10:50:58 +00:00
Ravi Pratap M 59f1181e7b 2001-09-25 Ravi Pratap <[email protected]>
* test-7.cs : Update to include implicit conversion tests.

svn path=/trunk/mcs/; revision=950
2001-09-25 10:47:42 +00:00
Dick Porter e523a9d323 2001-09-25 Dick Porter <[email protected]>
* threads-pthread.h:
	* threads-pthread.c: Implemented timed thread joining and added
	System.Threading.Thread::Join_internal internal call

	* icall.c: Added System.Threading.Thread::Join_internal internal call

	* threads-dummy.h:
	* threads-dummy.c: Dummy calls for System.Thread.Thread::Join_internal

svn path=/trunk/mono/; revision=949
2001-09-25 09:37:00 +00:00
Dick Porter e73a65ed3a Implemented more System.Threading.Thread members
svn path=/trunk/mono/; revision=948
2001-09-25 09:31:59 +00:00
Dick Porter 91ee016e23 2001-09-25 Dick Porter <[email protected]>
* Thread.cs: Implement Join and timed Join, set correct state
	around Start, Join and Sleep calls, implement IsAlive and
	ThreadState properties.

	* ThreadState.cs (Threading): Added StopRequested,
	SuspendRequested, Suspended values

svn path=/trunk/mcs/; revision=947
2001-09-25 09:31:20 +00:00
Paolo Molaro 433f745fed Tue Sep 25 11:12:35 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: fixed get_virtual_method () to deal with interface
	methods better.

svn path=/trunk/mono/; revision=946
2001-09-25 05:16:48 +00:00
Miguel de Icaza 267a36159c 2001-09-24 Miguel de Icaza <[email protected]>
* assign.cs: track location.
	(Resolve): Use implicit conversions on assignment.

	* literal.cs: Oops.  Not good, Emit of short access values should
	pass (Bytes) or the wrong argument will be selected.

	* expression.cs (Unary::Emit): Emit code for -expr.

	(Unary::ResolveOperator): Handle `Substract' for non-constants
	(substract from zero from the non-constants).
	Deal with Doubles as well.

	(Expression::ConvertImplicitRequired): New routine that reports an
	error if no implicit conversion exists.

	(Invocation::OverloadResolve): Store the converted implicit
	expressions if we make them

svn path=/trunk/mcs/; revision=945
2001-09-24 18:34:15 +00:00
Paolo Molaro 00f946c5bc Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: make Intern and IsIntern internalcalls.

svn path=/trunk/mcs/; revision=944
2001-09-24 14:38:49 +00:00
Paolo Molaro 78550fa962 Mon Sep 24 18:49:01 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: don't change a MONO_TYPE_STRING to a char*
	when it's an argument to an internalcall.


Mon Sep 24 18:56:59 CEST 2001 Paolo Molaro <[email protected]>

	* object.c, object.h: added mono_ldstr (), mono_string_is_interned () and
	mono_string_intern () to implement the semantics of the ldstr opcode
	and the interning of System.Strings.
	* icall.c: provide hooks to make String::IsIntern and String::Intern
	internalcalls.


Mon Sep 24 18:50:25 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: catch a few more error conditions with exceptions instead of
	erroring out.
	Don't use g_print() in stack traces because it doesn't work with
	some float values.
	When we call an instance method of a valuetype class, unbox the 'this'
	argument if it is an object.
	Use mono_ldstr () to implement the ldstr opcode: it takes care of
	interning the string if necessary.
	Implemented new opcodes: ckfinite, cgt.un, clt.un, ldvirtftn, ldarga.
	Fixes to handle NaNs when comparing doubles.
	Make sure the loaded assembly has an entry point defined.
	Fixed portability bugs in neg and not opcodes.

svn path=/trunk/mono/; revision=943
2001-09-24 13:30:32 +00:00
Dietmar Maurer f8fddf0001 (ves_exec_method): bug fix for NOT/NEG
svn path=/trunk/mono/; revision=942
2001-09-24 13:13:25 +00:00
Dietmar Maurer c26ae55ef1 * mono/jit/x86.brg: impl. more opcodes
svn path=/trunk/mono/; revision=941
2001-09-24 12:56:27 +00:00
Dietmar Maurer 5868786a33 2001-09-24 Dietmar Maurer <[email protected]>
* x86.brg: impl. more opcodes

svn path=/trunk/mono/; revision=940
2001-09-24 08:51:54 +00:00
Ravi Pratap M 248249079d 2001-09-24 Ravi Pratap <[email protected]>
* class.cs (ConstructorInitializer): Take a Location argument.
	(ConstructorBaseInitializer): Same here.
	(ConstructorThisInitializer): Same here.

	* cs-parser.jay : Update all calls accordingly.

	* expression.cs (Unary, Binary, New): Take location argument.
	Update accordingly everywhere.

	* cs-parser.jay : Update all calls to the above to take a location
	argument.

	* class.cs : Ditto.

svn path=/trunk/mcs/; revision=939
2001-09-24 06:04:44 +00:00
Ravi Pratap M 22d457e83c 2001-09-24 Ravi Pratap <[email protected]>
* expression.cs (Invocation::BetterFunction): Take TypeContainer argument
	(Invocation::BetterConversion): Same here
	(Invocation::ConversionExists): Ditto.

	(Invocation::ConversionExists): Implement.

svn path=/trunk/mcs/; revision=938
2001-09-24 04:24:01 +00:00
Mads Pultz 6242fd93db * DnsTest.cs: now tests GetHostByAddress, GetHostByName, IpToString and Resolve.
* Dns.cs: Minor changes (some print statements removed).

svn path=/trunk/mcs/; revision=937
2001-09-24 03:40:55 +00:00
Dick Porter 7fb449122c Forgot this file
svn path=/trunk/mono/; revision=936
2001-09-23 12:55:17 +00:00
Dick Porter b94c52ccbf Cope with systems that have pthread.h but no libpthread
svn path=/trunk/mono/; revision=935
2001-09-23 12:46:54 +00:00
Dick Porter 70b4ec9404 2001-09-23 Dick Porter <[email protected]>
* threads-dummy.c:
	* threads-dummy.h: New files of dummy threading routines

	* Makefile.am (THREAD_SOURCE): Arrange to compile different thread
	support code based on system specifics

	Rename PTHREAD_LIBS to THREAD_LIBS

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Arrange to compile dummy thread support routines
	if pthread isnt available

2001-09-23  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): rename PTHREAD_LIBS to THREAD_LIBS

2001-09-23  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): rename PTHREAD_LIBS to THREAD_LIBS

svn path=/trunk/mono/; revision=934
2001-09-23 12:32:33 +00:00
Dick Porter 879c3f3467 2001-09-23 Dick Porter <[email protected]>
* threads-pthread.c: Implement the System.Threading.Thread::Sleep,
	Schedule (called when asked to Sleep for 0 ms) and CurrentThread
	internal calls.
	(mono_thread_init): Set up a Thread object instance to return when
	the main thread calls Thread.CurrentThread
	(mono_thread_cleanup): Wait for all subthreads to exit

	* icall.c: New internal calls for System.Threading.Thread::Sleep
	(including Schedule) and CurrentThread

	* threads.h: New file, to insulate thread-specific stuff from the
	rest of the code

2001-09-23  Dick Porter  <[email protected]>

	* interp.c (main): Do some thread setup and cleanup around the
	call to ves_exec()

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Check for pthread.h, so that we can check for the
	HAVE_PTHREAD_H define in config.h

svn path=/trunk/mono/; revision=933
2001-09-23 11:28:08 +00:00
Dick Porter dfad216d21 2001-09-23 Dick Porter <[email protected]>
* Thread.cs: Implemented CurrentThread and Sleep (both versions)
	with internal calls, and Name.

svn path=/trunk/mcs/; revision=932
2001-09-23 11:13:40 +00:00
Mads Pultz f5d4fcdb37 *** empty log message ***
svn path=/trunk/mcs/; revision=931
2001-09-23 08:29:10 +00:00
Mads Pultz 5223d3f2f0 * DnsTest.cs: Initial work submitted to repository.
* IPHostEntryTest.cs: Initial work submitted to repository.
---------------------------------------------------------------------

svn path=/trunk/mcs/; revision=930
2001-09-23 08:27:17 +00:00
Mads Pultz d15c8ac724 * Dns.cs: Initial work submitted to repository.
* IPHostEntry.cs: Initial work submitted to repository.
---------------------------------------------------------------------

svn path=/trunk/mcs/; revision=929
2001-09-23 08:23:12 +00:00
Dietmar Maurer e76a460f04 2001-09-23 Dietmar Maurer <[email protected]>
* testjit.c: use the memory pool to avoid memory leaks

	monoburg.c: add a macro MBALLOC_STATE to define the allocation
	function for MBState. Added an additional user data argument to
	mono_burg_label - the data can be used in the cost functions. The
	type can be defined with MBCOST_DATA macro.
	(emit_cost_func): inline cost functions

svn path=/trunk/mono/; revision=928
2001-09-23 07:57:26 +00:00
Paolo Molaro de3d3d9d89 Sun Sep 23 13:44:57 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle MONO_TYPE_CLASS in trampolines.

svn path=/trunk/mono/; revision=927
2001-09-23 07:49:26 +00:00
Dietmar Maurer c9f2953a64 added more documentation
svn path=/trunk/mono/; revision=926
2001-09-22 12:02:19 +00:00
Ravi Pratap M 8ef4dc5111 2001-09-22 Ravi Pratap <[email protected]>
* expression.cs (OverloadResolve): Improve some more to catch errors 1502 and 1503
	Also take an additional TypeContainer argument.

	* All over : Pass in TypeContainer as argument to OverloadResolve.

	* typemanager.cs (CSharpName): Update to check for the string type and return
	that too.

	* expression.cs (Invocation::FullMethodDesc): New static method to return a string fully describing
	a given method.

svn path=/trunk/mcs/; revision=925
2001-09-22 08:10:28 +00:00
Dietmar Maurer 1f918032e7 * monoburg.y (strndup): removed, use g_strndup instead
svn path=/trunk/mono/; revision=924
2001-09-22 03:43:24 +00:00
Dietmar Maurer bb6bb0f942 * monoburg.y (strndup): terminate string with 0
svn path=/trunk/mono/; revision=923
2001-09-22 03:40:16 +00:00
Dietmar Maurer a432bb3698 * monoburg.c (create_term): bug fix: g_strdup strings from the parser
svn path=/trunk/mono/; revision=922
2001-09-22 02:45:59 +00:00
Dick Porter abfcad2381 Sample threading app
svn path=/trunk/mono/; revision=918
2001-09-21 13:07:33 +00:00
Miguel de Icaza a8f9327438 2001-09-21 Miguel de Icaza <[email protected]>
* Makefile.am (EXTRA_DIST): Add man page to the distro

svn path=/trunk/mono/; revision=917
2001-09-21 13:06:31 +00:00
Dietmar Maurer 6aaad23241 implemented more opcodes
svn path=/trunk/mono/; revision=916
2001-09-21 12:50:46 +00:00
Dietmar Maurer 436f56e57a *** empty log message ***
svn path=/trunk/mono/; revision=915
2001-09-21 12:45:43 +00:00
Dick Porter 9378329880 2001-09-21 Dick Porter <[email protected]>
* threads-pthread.h:
	* threads-pthread.c: New file, for handling pthreads-style
	threading support.  Start() now starts a new thread and executes
	the ThreadStart delegate instance.

	* icall.c: Added the internalcall for
	System.Threading.Thread::Start_internal

	* Makefile.am: Added new files, and PTHREADS_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): Added PTHREAD_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): Added PTHREAD_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* configure.in: Check for libpthread

svn path=/trunk/mono/; revision=914
2001-09-21 12:42:33 +00:00
Miguel de Icaza f8906a5605 Updates
svn path=/trunk/mono/; revision=913
2001-09-21 12:16:09 +00:00
Ravi Pratap M 02a1f5ab54 2001-09-21 Ravi Pratap <[email protected]>
* expression.cs (Invocation::OverloadResolve): Re-write to conform more to the spec.
	(Invocation::BetterFunction): Implement.
	(Invocation::BetterConversion): Implement.
	(Invocation::ConversionExists): Skeleton, no implementation yet.

	Okay, things work fine !

svn path=/trunk/mcs/; revision=912
2001-09-21 10:56:23 +00:00
Ravi Pratap M e3bd02a2e5 2001-09-21 Ravi Pratap <[email protected]>
* test-7.cs : Add.

svn path=/trunk/mcs/; revision=911
2001-09-21 10:54:53 +00:00
Dick Porter aa957a21ca System.Threading.ThreadExceptionEventArgs is done.
svn path=/trunk/mono/; revision=910
2001-09-21 10:50:27 +00:00
Dick Porter 7881d9719c 2001-09-21 Dick Porter <[email protected]>
* Thread.cs: Implement Thread(ThreadStart) constructor and Start()
	with an internal call

	* WaitHandle.cs: Close calls Dispose(false)

2001-09-21  Dick Porter  <[email protected]>

	* ThreadExceptionEventArgs.cs: Implemented

svn path=/trunk/mcs/; revision=909
2001-09-21 10:45:31 +00:00
Dietmar Maurer a9f6bb2538 x86.brg: (MB_OPT_LEVEL): define optimisation level macro
svn path=/trunk/mono/; revision=908
2001-09-21 10:38:07 +00:00
Dietmar Maurer d35331664d 2001-09-21 Dietmar Maurer <[email protected]>
* x86.brg: implemented long MUL/DIV

	* testjit.c (tree_allocate_regs): added a way to prevent EDX usage
	for operations like idiv. it is also possible to assign specific registers.

svn path=/trunk/mono/; revision=907
2001-09-21 09:26:51 +00:00
Miguel de Icaza 52402f66d1 2001-09-21 Miguel de Icaza <[email protected]>
* typemanager.cs: declare and load enum_type, delegate_type and
	void_type.

	* expression.cs (Expression::Emit): Now emit returns a value that
	tells whether a value is left on the stack or not.  This strategy
	might be reveted tomorrow with a mechanism that would address
	multiple assignments.
	(Expression::report118): Utility routine to report mismatches on
	the ExprClass.

	(Unary::Report23): Report impossible type/operator combination
	utility function.

	(Unary::IsIncrementableNumber): Whether the type can be
	incremented or decremented with add.
	(Unary::ResolveOperator): Also allow enumerations to be bitwise
	complemented.
	(Unary::ResolveOperator): Implement ++, !, ~, ++ and --.

	(Unvocation::Emit): Deal with new Emit convetion.

	* All Expression derivatives: Updated their Emit method to return
	whether they leave values on the stack or not.

	* codegen.cs (CodeGen::EmitStatement): Pop values left on the
	stack for expressions that are statements.

2001-09-20  Miguel de Icaza  <[email protected]>

	* expression.cs (LValue): New interface.  Must be implemented by
	LValue objects.
	(LocalVariableReference, ParameterReference, FieldExpr): Implement
	LValue interface.

	* assign.cs (Assign::Emit, Assign::Resolve): Use new LValue
	interface for generating code, simplifies the code.

svn path=/trunk/mcs/; revision=906
2001-09-21 00:17:01 +00:00
Miguel de Icaza b633f9a08a Update passport site
svn path=/trunk/mono/; revision=905
2001-09-20 22:15:57 +00:00
Paolo Molaro f414e2932f Thu Sep 20 16:32:42 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: implemented some more opcodes: calli, rem.un,
	shr.un, conv.u, cpobj, stobj, conv.r.un, conv.ovf.i1.un,
	conv.ovf.i2.un, conv.ovf.i4.un, conv.ovf.i8.un, conv.ovf.i.un,
	conv.ovf.u1.un, conv.ovf.u2.un, conv.ovf.u4.un, conv.ovf.u8.un,
	conv.ovf.u.un.
	Fix some 64 bit issues in the array element access code and a small bug.
	Throw an exception on index out of range instead of asserting.
	Throw an exception on a NULL array instead of dying.
	Stomped a memory corruption bug (.cctor methods were freed after
	executing them, but they are stores in MonoClass now...).
	Added a simple facility to invoke the debugger when a named
	function is entered (use the cmdline option --debug method_name).
	* interp.h: fix 64 bit issue.

svn path=/trunk/mono/; revision=904
2001-09-20 15:31:50 +00:00
Ravi Pratap M 38450d464c 2001-09-20 Ravi Pratap <[email protected]>
* expression.cs (everywhere): Comment out return statements in ::Resolve
	methods to avoid the warnings.

svn path=/trunk/mcs/; revision=903
2001-09-20 14:16:22 +00:00
Paolo Molaro 7a0debd9b7 Thu Sep 20 19:37:39 CEST 2001 Paolo Molaro <[email protected]>
* loader.c: work around the different signatures for delegates
	constructors csc generates in compiled code vs the ones compiled in mscorlib.

svn path=/trunk/mono/; revision=902
2001-09-20 13:41:56 +00:00
Dietmar Maurer b61704988b * x86.brg: addes basic support for itype "long"
svn path=/trunk/mono/; revision=901
2001-09-20 08:38:32 +00:00
Jim Richardson f98c423076 change IntPtr mapping from int to gpointer
svn path=/trunk/mono/; revision=900
2001-09-20 08:23:59 +00:00
Jim Richardson 62d24206f2 Modified environment varialbe methods to use new Wrapper.cs functions
svn path=/trunk/mcs/; revision=899
2001-09-20 07:52:48 +00:00
Jim Richardson 585fc68bad Removed platform specific implementations now implemented in Wrapper.cs
svn path=/trunk/mcs/; revision=898
2001-09-20 07:51:34 +00:00
Jim Richardson da2831604f Updating Wrapper generated class file
svn path=/trunk/mcs/; revision=897
2001-09-20 06:58:35 +00:00
Jim Richardson 647f235852 Added functions opendir, readdir, closedir, getenv, eviron
svn path=/trunk/mono/; revision=896
2001-09-20 06:56:36 +00:00
Dietmar Maurer 0ce7ed0191 2001-09-20 Dietmar Maurer <[email protected]>
* testjit.c (mono_compile_method): implemented POP

svn path=/trunk/mono/; revision=895
2001-09-20 04:08:20 +00:00
Miguel de Icaza 2f8585d754 2001-09-20 Miguel de Icaza <[email protected]>
* driver.cs (parse): Report error 2001 if we can not open the
	source file.

	* expression.cs (SimpleName::ResolveSimpleName): Error if we can
	not resolve it.

svn path=/trunk/mcs/; revision=893
2001-09-20 01:33:49 +00:00
Miguel de Icaza 4d1cc16aa4 Add more tests
svn path=/trunk/mcs/; revision=892
2001-09-20 01:31:54 +00:00
Miguel de Icaza 5620f4bc74 2001-09-20 Miguel de Icaza <[email protected]>
* statement.cs (Block::EmitMeta): Reuse the count across all the variables,
	otherwise nested blocks end up with the same index.

	* codegen.cs (CodeGen::EmitTopBlock): Pass initial sequence

svn path=/trunk/mcs/; revision=891
2001-09-20 01:09:08 +00:00
Miguel de Icaza 0c9322ce63 2001-09-20 Miguel de Icaza <[email protected]>
* expression.cs:  Instead of having FIXMEs in the Resolve
	functions, throw exceptions so it is obvious that we are facing a
	bug.

	* cs-parser.jay (invocation_expression): Pass Location information.

	* codegen.cs (CodeGen::Save, CodeGen::CodeGen, CodeGen::Basename):
	Use a basename for those routines because .NET does not like paths
	on them.

	* class.cs (TypeContainer::AddMethod): Do not call DefineName if the name was
	already defined.

2001-09-19  Miguel de Icaza  <[email protected]>

	* typemanager.cs (TypeManager::CoreLookupType): A function to make sure that we
	are loading the correct data types (throws an exception if not).
	(TypeManager::InitCoreTypes): Use CoreLookupType

	* expression.cs (Unary::ResolveOperator): return the child
	expression for expressions which are just +expr.
	(Unary::ResolveOperator): Return negative literals for -LITERAL
	expressions (otherwise they are Unary {Literal}).
	(Invocation::Badness): Take into account `Implicit constant
	expression conversions'.

	* literal.cs (LongLiteral): Implement long literal class.
	(IntLiteral): export the `Value' of the intliteral.

svn path=/trunk/mcs/; revision=890
2001-09-20 00:23:36 +00:00
Miguel de Icaza b5850646c3 Flush:
svn path=/trunk/mcs/; revision=889
2001-09-19 23:14:09 +00:00
Miguel de Icaza 883bbb3ace Add Paolo's comment to the front page
svn path=/trunk/mono/; revision=888
2001-09-19 18:50:48 +00:00
Miguel de Icaza b59669c22e 2001-09-19 Miguel de Icaza <[email protected]>
* testjit.c (usage): Added a couple of more usage options.

svn path=/trunk/mono/; revision=887
2001-09-19 15:32:11 +00:00
Paolo Molaro 654703aa2e Added 'How to port Mono' document.
svn path=/trunk/mono/; revision=886
2001-09-19 14:37:05 +00:00
Dietmar Maurer 7083bb084d code cleanup
svn path=/trunk/mono/; revision=885
2001-09-19 13:39:17 +00:00
Dietmar Maurer 7777454f34 2001-09-19 Dietmar Maurer <[email protected]>
* x86.brg: added more floating point grammar

	* testjit.c (mono_compile_method): make local offsets negative

	* mono/tests/test-ops.cs: added more tests

svn path=/trunk/mono/; revision=883
2001-09-19 11:16:12 +00:00
Ravi Pratap M dc96dd26bb 2001-09-19 Ravi Pratap <[email protected]>
* expression.cs (Binary::Emit): Finally get the emission right ! Woo!

	* class.cs (Operator::Define): Change the methodname prefix to 'op_'
	instead of 'Operator'

	* expression.cs (Binary::ResolveOperator): Update accordingly.
	(Unary::Operator): Change names to 'Add' and 'Subtract' instead 'Plus'
	and 'Minus'

	* cs-parser.jay (unary_expression): Update to use the new names.

	* gen-treedump.cs (GetUnary): Same here.

	* expression.cs (Unary::Resolve): Implement.
	(Binary::ResolveOperator): Re-write bits to quietly continue if no overloaded
	operators are found instead of making noise ;-)
	(Unary::ResolveOperator): New method to do precisely the same thing which
	Binary::ResolveOperator does for Binary expressions.
	(Unary.method, .Arguments): Add.
	(Unary::OperName): Implement.
	(Unary::ForceConversion): Copy and Paste !

	* class.cs (Operator::Define): Fix a small bug for the case when we have
	a unary operator.

	* expression.cs (Unary::Emit): Implement. Need to find the right Opcodes
	for the inbuilt operators. Only overloading works for now ;-)

svn path=/trunk/mcs/; revision=882
2001-09-19 10:38:05 +00:00
Dietmar Maurer 991a21bf18 *** empty log message ***
svn path=/trunk/mono/; revision=881
2001-09-19 07:05:00 +00:00
Dietmar Maurer a2719373f5 2001-09-19 Dietmar Maurer <[email protected]>
* testjit.c (mono_compile_method): arguments on the runtime
	stack are at least 4 bytes

	* x86.brg: partly implemented 8,16 bit integers

	* testjit.c (get_address): mark basic blocks

svn path=/trunk/mono/; revision=880
2001-09-19 06:55:05 +00:00
Dietmar Maurer 52cc2ed9ba 2001-09-19 Dietmar Maurer <[email protected]>
* monoburg.c (emit_header): bug fix for MBCOND macro

svn path=/trunk/mono/; revision=879
2001-09-19 06:50:26 +00:00
Miguel de Icaza aaf2b7ae8c 2001-09-18 Miguel de Icaza <[email protected]>
* expression.cs (CheckedExpr::Resolve, CheckedExpr::Emit,
	UnCheckedExpr::Resolve, UnCheckedExpr::Emit): Implement.

svn path=/trunk/mcs/; revision=877
2001-09-19 02:35:05 +00:00
Miguel de Icaza e19c228a23 Prepare for release
svn path=/trunk/mono/; revision=874
2001-09-18 21:33:39 +00:00
Miguel de Icaza 65a2e729df Add ChangeLog
svn path=/trunk/mcs/; revision=873
2001-09-18 21:20:40 +00:00
Miguel de Icaza 55c9d9a24d 0.7
svn path=/trunk/mono/; revision=872
2001-09-18 20:28:29 +00:00
1648 changed files with 182428 additions and 26327 deletions

No files matched your search

+121
View File
@@ -1,3 +1,124 @@
2002-02-05 Dietmar Maurer <[email protected]>
* mono/tests/enum2.cs: new file with more enum tests.
2002-02-01 Dietmar Maurer <[email protected]>
* mono/tests/jit-long.cs: added some SHL/SHR tests
Fri Feb 1 15:32:36 CET 2002 Paolo Molaro <[email protected]>
* configure.in: allow PKG_CONFIG_PATH for the build-platform
pkg-config invocation.
Fri Feb 1 15:13:25 CET 2002 Paolo Molaro <[email protected]>
* configure.in: add some support/fixes for cross-compilation.
2002-01-14 Dietmar Maurer <[email protected]>
* mono/tests/exception6.cs: new tests for ADD_OVF, MUL_OVF
added tests for SUB_OVF, SUB_OVF_UN
2001-12-21 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (TESTSRC): disabled stream-writer test
2001-12-21 Aaron Weber <[email protected]>
* doc/faq (A): added a linebreak that was missing and was causing
a heading to appear badly.
2001-12-20 Aaron Weber <[email protected]>
* doc/faq: added <a name=""> nav links, and moved all MSFT-related
questions into a single section.
2001-12-17 Aaron Weber <[email protected]>
* doc/faq (Q): Question-by-question, line-by-line revision.
2001-12-17 Dietmar Maurer <[email protected]>
* mono/tests/time.cs: new test
2001-11-30 Radek Doulik <[email protected]>
* configure.in: remove ACCESS_UNALIGNED="no" from ppc
2001-11-29 Radek Doulik <[email protected]>
* configure.in (ACCESS_UNALIGNED): uncommented and modified
powerpc-*-linux*
generate mono/arch/ppc/Makefile
2001-11-26 Dietmar Maurer <[email protected]>
* mono/tests/exception3.cs: modified the test to show a bug in the
current exception handling implementation.
2001-11-13 Dick Porter <[email protected]>
* configure.in: Some more tests for pthread features
(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)
2001-11-09 Dick Porter <[email protected]>
* configure.in: Try and get large file support, but it's not fatal
if it's not there (the io-layer just ignores the high word in that
case.)
Check for windows builds, and only bother to look for pthreads and
large files if we're not building for cygwin or native win32. Not
having pthread support on Posix systems is now a fatal error.
* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
aclocal
2001-10-15 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am: removed JITTESTS, simply run all tests for
target testjit.
2001-10-11 Dietmar Maurer <[email protected]>
* docs/object-layout: more documentation
Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: define NO_UNALIGNED_ACCESS for platforms that
can't read on unaligned boundaries
2001-10-04 Dick Porter <[email protected]>
* configure.in: Do some deeper checks on pthreads for some of the
more interesting functions
2001-09-24 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (testjit): a new target to test the JITer
* mono/tests/jit-*: added some test for the JITer
2001-09-23 Dick Porter <[email protected]>
* configure.in: Arrange to compile dummy thread support routines
if pthread isnt available
2001-09-23 Dick Porter <[email protected]>
* configure.in: Check for pthread.h, so that we can check for the
HAVE_PTHREAD_H define in config.h
2001-09-21 Dick Porter <[email protected]>
* configure.in: Check for libpthread
2001-09-19 Dietmar Maurer <[email protected]>
* mono/tests/test-ops.cs: added more tests
Mon Sep 10 20:19:00 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: check for sizeof(void*) and for the architecture.
+1 -1
View File
@@ -1 +1 @@
SUBDIRS = mono doc runtime
SUBDIRS = mono doc runtime scripts man
+10
View File
@@ -1,3 +1,13 @@
2002-Feb-11 Miguel de Icaza <[email protected]>
New release, functional x86-JIT, x86 interpreter, ppc interpreter
Class libraries ship.
Limited compiler ships.
Too many changes to list
2001-07-12 Miguel de Icaza <[email protected]>
New XSLT file from Sergey Chaban for CIL opcodes
+11 -1
View File
@@ -1,5 +1,13 @@
This is Mono.
Installation:
Read doc/download for installation instructions,
or read the HTML version:
http://www.go-mono.com/download.html
A directory roadmap:
doc/
@@ -37,6 +45,8 @@ A directory roadmap:
You can try the interpreter like this:
mono-int program.exe
mint program.exe
+6
View File
@@ -0,0 +1,6 @@
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef PLATFORM_WIN32_NATIVE
#undef HAVE_NEW_ICONV
+2 -2
View File
@@ -86,8 +86,8 @@ if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
fi
fi
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude || {
echo "Running aclocal $ACLOCAL_FLAGS ..."
aclocal $ACLOCAL_FLAGS || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
-17
View File
@@ -1,17 +0,0 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Name of package */
#undef PACKAGE
/* Version number of package */
#undef VERSION
+261 -29
View File
@@ -1,52 +1,275 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.6)
AM_INIT_AUTOMAKE(mono, 0.8)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
dnl may require a specific autoconf version
dnl AC_PROG_CC_FOR_BUILD
dnl CC_FOR_BUILD not automatically detected
CC_FOR_BUILD=$CC
BUILD_EXEEXT=
if test "x$cross_compiling" = "xyes"; then
CC_FOR_BUILD=cc
BUILD_EXEEXT=""
fi
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(HOST_CC)
AC_SUBST(BUILD_EXEEXT)
# Set STDC_HEADERS
AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_CHECK_SIZEOF(void *)
dnl ***************************
dnl *** Checks for glib 1.2 ***
dnl ***************************
AM_PATH_GLIB(1.2.0,,
AC_MSG_ERROR([Cannot find GLIB: Is glib-config in path?]))
GLIB_CFLAGS=`glib-config --cflags glib`
GLIB_LIBS=`glib-config --libs glib`
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
GMODULE_CFLAGS=`glib-config --cflags gmodule`
GMODULE_LIBS=`glib-config --libs gmodule`
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations'
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
fi
dnl for use on the build system
dnl pkg-config is stupid
BUILD_GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
BUILD_GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
AC_SUBST(BUILD_GLIB_CFLAGS)
AC_SUBST(BUILD_GLIB_LIBS)
PKG_PATH=
AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir],
if test x$with_crosspkgdir = "x"; then
if test -s $PKG_CONFIG_PATH; then
PKG_PATH=$PKG_CONFIG_PATH
fi
else
PKG_PATH=$with_crosspkgdir
PKG_CONFIG_PATH=$PKG_PATH
export PKG_CONFIG_PATH
fi
)
## Versions of dependencies
GLIB_REQUIRED_VERSION=1.3.11
PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)
GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
GMODULE_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0`
GMODULE_LIBS=`$PKG_CONFIG --libs gmodule-2.0`
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
dnl ****************************************
dnl *** Check if we're building on win32 ***
dnl ****************************************
AC_MSG_CHECKING([if building for some Win32 platform])
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
;;
*)
platform_win32=no
;;
esac
AC_MSG_RESULT($platform_win32)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
if test x$platform_win32 = xyes; then
AC_MSG_CHECKING([if building for native Win32])
case "$host" in
*-*-mingw*)
platform_win32_native=yes
AC_DEFINE(PLATFORM_WIN32_NATIVE)
;;
*)
platform_win32_native=no
;;
esac
AC_MSG_RESULT($platform_win32_native)
AM_CONDITIONAL(PLATFORM_WIN32_NATIVE,
test x$platform_win32_native = xyes)
fi
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Check for large file support ***
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
dnl ******************************************************************
# Check that off_t can represent 2**63 - 1 correctly, working around
# potential compiler bugs. Defines LARGE_FILE_SUPPORT, adds $1 to
# CFLAGS and sets $large_offt to yes if the test succeeds
large_offt=no
AC_DEFUN(LARGE_FILES, [
large_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $1"
AC_TRY_RUN([
#include <sys/types.h>
#define BIG_OFF_T (((off_t)1<<62)-1+((off_t)1<<62))
int main(void) {
int big_off_t=((BIG_OFF_T%2147483629==721) &&
(BIG_OFF_T%2147483647==1));
if(big_off_t) {
exit(0);
} else {
exit(1);
}
}
], [
AC_MSG_RESULT(ok)
AC_DEFINE(HAVE_LARGE_FILE_SUPPORT)
CFLAGS="$CFLAGS $1"
large_offt=yes
], [
AC_MSG_RESULT(no)
], "")
CPPFLAGS=$large_CPPFLAGS
])
AC_MSG_CHECKING(if off_t is 64 bits wide)
LARGE_FILES("")
if test $large_offt = no; then
AC_MSG_CHECKING(if _FILE_OFFSET_BITS=64 gives 64 bit off_t)
LARGE_FILES("-D_FILE_OFFSET_BITS=64")
fi
if test $large_offt = no; then
AC_MSG_WARN([No 64 bit file size support available])
fi
dnl *****************************
dnl *** Checks for libpthread ***
dnl *****************************
AC_SEARCH_LIBS(pthread_create, pthread, [
AM_CONDITIONAL(THREADS_PTHREAD, true)
AC_DEFINE(HAVE_PTHREAD)
# Need pthread_mutex_timedlock
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for pthread_mutex_timedlock)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
# Works!
AC_MSG_RESULT(ok)
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this function
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for pthread_mutex_timedlock)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
AC_MSG_RESULT(ok)
pthread_CFLAGS="-D_GNU_SOURCE"
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_WARN(Working around pthread_mutex_timedlock)
])
])
CPPFLAGS=$orig_CPPFLAGS
CFLAGS="$CFLAGS $pthread_CFLAGS"
# Need PTHREAD_MUTEX_RECURSIVE
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
# Works!
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this macro
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for PTHREAD_MUTEX_RECURSIVE)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
AC_MSG_RESULT(ok)
pthread_CFLAGS="-D_GNU_SOURCE"
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_ERROR([PTHREAD_MUTEX_RECURSIVE not found])
])
])
CPPFLAGS=$orig_CPPFLAGS
CFLAGS="$CFLAGS $pthread_CFLAGS"
], [
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
])
fi
if test "x$cross_compiling" = "xno"; then
# check for new iconv version
AC_MSG_CHECKING(for new iconv)
AC_CACHE_VAL(new_iconv,[
AC_TRY_RUN([#include <stdio.h>
#include <iconv.h>
int main()
{
exit (iconv_open ("UTF-16le", "UTF-8") == (iconv_t)-1);
}
],
new_iconv=yes,new_iconv=)])
if test -n "$new_iconv"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_NEW_ICONV)
else
AC_MSG_RESULT(no)
fi
fi
TARGET="unknown"
ACCESS_UNALIGNED="yes"
case "$host" in
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS;;
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; ACCESS_UNALIGNED="no";;
i*86-*-*) TARGET=X86; arch_target=x86;;
#sparc-sun-4*) TARGET=SPARC;;
#sparc-sun-*) TARGET=SPARC;;
#sparc*-*-linux*) TARGET=SPARC;;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA;;
sparc*-*-*) TARGET=SPARC; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
#powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC;;
#arm-*-linux-*) TARGET=ARM;;
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
#arm-*-linux-*) TARGET=ARM; ACCESS_UNALIGNED="no";;
esac
if test ${TARGET} = unknown; then
@@ -54,6 +277,10 @@ if test ${TARGET} = unknown; then
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
fi
if test ${ACCESS_UNALIGNED} = no; then
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
@@ -74,11 +301,16 @@ mono/dis/Makefile
mono/cil/Makefile
mono/arch/Makefile
mono/arch/x86/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/interpreter/Makefile
mono/tests/Makefile
mono/wrapper/Makefile
mono/monoburg/Makefile
mono/jit/Makefile
mono/io-layer/Makefile
runtime/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
])
+10 -2
View File
@@ -1,7 +1,7 @@
WEB_FILES= \
c-sharp class-library contact contributing documentation download \
faq gcc-frontend ideas index passport rationale resources \
roadmap runtime status team testing thanks tools
roadmap runtime status team testing thanks tools porting anoncvs
OTHERS= pending resources-pending todo
@@ -12,7 +12,15 @@ all-docs: $(WEB_FILES)
runtime documentation download faq contributing \
resources status > all-docs
webit:
class-status: class-status.in pending-classes Makefile.am
cat class-status.in pending-classes > class-status
pending-classes: pending-classes.in Makefile.am
echo "This is a list of pending classes, and links to their documentation on MSDN.Microsoft.com<p><p>" > pending-classes
for i in `cat pending-classes.in`; do x=`echo $$i | sed s/\\\.//g`; link=`echo http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf@@@ClassTopic.asp | sed "s/@@@/$$x/"`; echo " <a href=\"$$link\">$$i</a><br>" >> pending-classes; done
webit: class-status
(cd web; make && make push)
push-notes:
+54
View File
@@ -0,0 +1,54 @@
* Anonymous CVS access
Anonymous access to the Mono is available currently from the
HispaLinux CVS server (later I will provide a nice
anoncvs.go-mono.com alias).
Sources are currently being updated every hour.
The server is currently located in Spain. If you want to
become an AnonCVS mirror, go <a href="#mirror">here</a>
** Checking out the sources
To check out the sources for the first time from the
repository, use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs -z3 co mcs mono gtk-sharp
</pre>
That will get you the compiler and class libraries (mcs), the
interpreter and JITer (mono) and the Gtk# bindings.
The server is located in Spain.
** Updating the sources
To update your sources every day, you use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs -z3 update -dP mcs mono gtk-sharp
</pre>
** Thanks
Thanks to <a href="http://www.hispalinux.es">HispaLinux</a>
for providing this Anon CVS server. The server is located in
Spain.
Special thanks to Jesus Climent, Rodrigo Moya, Juantomás
García and Ismael Olea for making this happen.
<a name="#mirror">
** Becoming an AnonCVS mirror
To become an AnonCVS mirror, you currently need about 20
megabytes of free disk space and bandwidth that you do not
mind sharing (you probably want enough to spare).
I need to be able to rsync to your machine from the main CVS
server. The preferred method to rsync is to setup ssh in your
machine.
+73 -44
View File
@@ -1,19 +1,44 @@
* MCS: The Ximian C# compiler
MCS began as an experiment to learn the features of C# by
writing a large C# program. MCS is currently able to parse C#
programs and create an internal tree representation of the
program. MCS can parse itself.
MCS is currently able to compile itself and many more C#
programs (there is a test suite included that you can use).
MCS now does type checking at the class, interface and struct
levels and can resolve the class hierarchy and as of last week
can generate interface code.
We are in feature completion mode right now. There are still
a couple of areas that are not covered by the Mono compiler, but
they are very very few at this point.
Work is progressing quickly on various fronts in the C#
compiler. Recently I started using the System.Reflection API
to load system type definitions and avoid self-population of
types in the compiler and dropped my internal Type
representation in favor of using the CLI's System.Type.
MCS was able to parse itself on April 2001, MCS compiled itself
for the first time on December 28 2001. MCS became self hosting
on January 3rd, 2002.
A test suite is maintained to track the progress of
the compiler and various programs are routinely compiled and
ran.
** Obtaining MCS
The Mono C# compiler is part of the `mcs' module in the Mono CVS
you can get it from our <a href="anoncvs.html">Anonymous CVS</a> server,
or you can get nightly <a href="download.html">download page</a>.
** Running MCS
MCS is written in C# and uses heavily the .NET APIs. At this point
MCS only runs on Windows with the .NET Framework SDK installed. Work
is progressing rapidly in our JIT engine and our class libraries to
allow MCS to be ran in non-Windows systems.
** Reporting Bugs in MCS
When you report a bug, try to provide a small test case that would
show the error so we can include this as part of the Mono C# regression
test suite.
If the bug is an error or a warning that we do not flag, write
a sample program called `csXXXX.cs' where XXXX is the code number
that is used by the Microsoft C# compiler that illustrates the
problem. That way we can also do regression tests on the invalid
input.
** Phases of the compiler
@@ -46,28 +71,47 @@
have to postpone this decision until the above steps
are finished.
* Code generation: The compiler recently started generating IL
executables that contain interfaces. Work is
progressing in other areas.
The code generation is done through the System.Reflection.Emit API.
* Code generation: The code generation is done through
the System.Reflection.Emit API.
</ul>
** CIL Optimizations.
The compiler performs a number of simple optimizations on its input:
constant folding (this is required by the C# language spec) and
can perform dead code elimination.
Other more interesting optimizations like hoisting are not possible
at this point since the compiler output at this point does not
generate an intermediate representation that is suitable to
perform basic block computation.
Adding an intermediate layer to enable the basic block
computation to the compiler should be a simple task, but we
are considering having a generic CIL optimizer. Since all the
information that is required to perform basic block-based
optimizations is available at the CIL level, we might just skip
this step altogether and have just a generic IL optimizer that
would perform hoisting on arbitrary CIL programs, not only
those produced by MCS.
If this tool is further expanded to perform constant folding
(not needed for our C# compiler, as it is already in there)
and dead code elimination, other compiler authors might be
able to use this generic CIL optimizer in their projects
reducing their time to develop a production compiler.
<a name="tasks">
** Current pending tasks
Simple tasks:
<ul>
* Array declarations are currently being ignored,
* Redo the way we deal with built-in operators.
</ul>
* PInvoke declarations are not supported.
* Pre-processing is not supported.
* Attribute declarations and passing currently ignored.
* Compiler does not pass around line/col information from tokenizer for error reporting.
Larger tasks:
<ul>
* Jay does not work correctly with `error'
productions, making parser errors hard to point. It
@@ -77,31 +121,12 @@
Nick Drochak has started a project on SourceForge for this.
You can find the project at: <a href="http://sourceforge.net/projects/jb2csharp/">
http://sourceforge.net/projects/jb2csharp/</a>
</ul>
Interesting and Fun hacks to the compiler:
<ul>
* Finishing the JB port from Java to C#. If you are
interested in working on this, please contact the project admin on SourceForge:
<a href="http://sourceforge.net/projects/jb2csharp/">
http://sourceforge.net/projects/jb2csharp/</a>
More on JB at: <a href="http://www.cs.colorado.edu/~dennis/software/jb.html">
http://www.cs.colorado.edu/~dennis/software/jb.html</a>
JB will allow us to move from the Berkeley Yacc
based Jay to a Bison-based compiler (better error
reporting and recovery).
* Semantic Analysis: Return path coverage and
initialization before use coverage are two great
features of C# that help reduce the number of bugs
in applications. It is one interesting hack.
* Enum resolutions: it is another fun hack, as enums can be defined
in terms of themselves (<tt>enum X { a = b + 1, b = 5 }</tt>).
</ul>
** Questions and Answers
@@ -130,6 +155,10 @@ Q: If your C# compiler is written in C#, how do you plan on getting
We will do this through an implementation of the CLI Virtual
Execution System for Unix (our JIT engine).
Our JIT engine is working for the purposes of using the compiler.
The supporting class libraries are being worked on to fully support
the compiler.
Q: Do you use Bison?
A: No, currently I am using Jay which is a port of Berkeley Yacc to
+29 -3
View File
@@ -1,7 +1,10 @@
* CVS Access
If you are an active Mono developer, you can get a CVS account
that hosts the Mono source code.
that hosts the Mono source code.
If you are not a developer, but want to track the development, please
see the <a href="anoncvs.html">AnonCVS</a> instructions.
Send an e-mail to miguel with your public SSH key for this
purpose. Please specify if the key was generated with SSH1 or SSH2.
@@ -64,6 +67,25 @@
mail [email protected] < file.diff
</pre>
** Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
changes to the code base:
<ul>
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list receives
in patch form all the changes that are being made to the
CVS.
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list only
receives the CVS commit logs with a list of files
modified.
</ul>
We hope to offer LXR and Bonsai in the future as well.
** Commiting your work
Once you get approval to commit to the CVS, or if you are
@@ -97,9 +119,13 @@
** Recommendations
Please do not commit code that would break the compile to the
CVS, because that normally wastes everybody's time.
CVS, because that normally wastes everybody's time. Two things
are important in this step: trying to build your sources and making
sure that you add all the new files before you do a commit.
Make sure that you add all the files before you do a commit.
To build the sources, most of the type trying the `make' command
is enough. In some cases (the class libraries) we use nant, so
you need to run nant manually.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
+35 -28
View File
@@ -30,9 +30,18 @@
You can also track live the activities of the Mono CVS module
by subscribing to the <a
href="http://mail.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
** Missing features
Our class libraries miss some features, for example, most classes
do not implement the serialization bits at all, it would be a good
contribution to add this to each class.
This is a simple task, but it needs to be done in a compatible way
with the Microsoft.NET classes: using the same arguments to serialize
and reincarnate data.
** Layout
@@ -97,33 +106,11 @@
** Licensing
The class library will be licensed under the terms of the GNU
LGPL. Some people have pointed out that the plain LGPL is
troublesome for embedded use of the Mono class libraries. So
we are considering to use the GPL with a special exception
(like the <a
href="http://www.gnu.org/software/classpath/classpath.html">GNU
Classpath</a> project did.
The exception to the GPL would be:
<i>The library is distributed under the terms of the GNU General
Public License with the following exception:
If you link this library against your own program, then you do not
need to release the source code for that program. However, any
changes that you make to the library itself, or to any native
methods upon which the library relies, must be re-distributed in
accordance with the terms of the GPL.</i>
If you are going to contribute, please keep in mind that we
might require you to agree that Ximian might adjust the
license to enable the use of the class libraries on embedded
systems or to develop proprietary applications using Mono.
We suggest that you assign the copyright of your work to the
GNOME Foundation or the Free Software Foundation to simplify
defending the code in case it is used inappropiately.
The class library is being licensed under the terms of the
<a
href="http://www.opensource.org/licenses/mit-license.html">MIT
license.</a> This is the same license used by the X11 window
system.
** Class Library testing
@@ -169,6 +156,26 @@
In those cases, use the keyword "LAMESPEC".
** Namespaces
We are using a number of namespaces in the class libraries for
private classes when we need them, you are encouraged to use these:
<pre>
Mono
.Languages // General Compiler classes
.CSharp // Specific C# parsing/tokenizing classes
.MonoBASIC // Specific VB.NET/MonoBASIC parsing/tokenizing classes
.Python // Specific Python parsing/tokenizing classes
.Runtime
.LateBind // General latebinding-support for MonoBASIC/Python
.MonoBASIC // Specific runtime classes for MonoBASIC programs
.Python // Specific runtime classes for Python programs
.Web
.UI
.Utils // Gaurav utility classes
</pre>
** FAQ
Frequently asked questions about the class library:
+391
View File
@@ -13,4 +13,395 @@
You can also download the master <a
href="class-status/class.xml">Class Status XML</a> file.
* List of not-implemented classes
These classes are only classes pending from the CORLIB assembly
other assemblies are not yet listed. We are going to be working
on an improved status display for pending classes.
Please bear with us in the meantime.
This is a list of pending classes, and links to their documentation on MSDN.Microsoft.com<p><p>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfMicrosoftWin32Registry␍ClassTopic.asp">Microsoft.Win32.Registry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfMicrosoftWin32RegistryHive␍ClassTopic.asp">Microsoft.Win32.RegistryHive␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfMicrosoftWin32RegistryKey␍ClassTopic.asp">Microsoft.Win32.RegistryKey␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystem__ComObject␍ClassTopic.asp">System.__ComObject␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemActivator␍ClassTopic.asp">System.Activator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemArgIterator␍ClassTopic.asp">System.ArgIterator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemAssemblyLoadEventHandler␍ClassTopic.asp">System.AssemblyLoadEventHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemAsyncCallback␍ClassTopic.asp">System.AsyncCallback␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCrossAppDomainDelegate␍ClassTopic.asp">System.CrossAppDomainDelegate␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDBNull␍ClassTopic.asp">System.DBNull␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsSymbolStoreSymDocumentType␍ClassTopic.asp">System.Diagnostics.SymbolStore.SymDocumentType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsSymbolStoreSymLanguageType␍ClassTopic.asp">System.Diagnostics.SymbolStore.SymLanguageType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsSymbolStoreSymLanguageVendor␍ClassTopic.asp">System.Diagnostics.SymbolStore.SymLanguageVendor␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemEventHandler␍ClassTopic.asp">System.EventHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationCompareInfo␍ClassTopic.asp">System.Globalization.CompareInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationHebrewCalendar␍ClassTopic.asp">System.Globalization.HebrewCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationHijriCalendar␍ClassTopic.asp">System.Globalization.HijriCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationJapaneseCalendar␍ClassTopic.asp">System.Globalization.JapaneseCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationKoreanCalendar␍ClassTopic.asp">System.Globalization.KoreanCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationRegionInfo␍ClassTopic.asp">System.Globalization.RegionInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationSortKey␍ClassTopic.asp">System.Globalization.SortKey␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationStringInfo␍ClassTopic.asp">System.Globalization.StringInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationTaiwanCalendar␍ClassTopic.asp">System.Globalization.TaiwanCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationTextElementEnumerator␍ClassTopic.asp">System.Globalization.TextElementEnumerator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationTextInfo␍ClassTopic.asp">System.Globalization.TextInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationThaiBuddhistCalendar␍ClassTopic.asp">System.Globalization.ThaiBuddhistCalendar␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOEndOfStreamException␍ClassTopic.asp">System.IO.EndOfStreamException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOIsolatedStorageIsolatedStorage␍ClassTopic.asp">System.IO.IsolatedStorage.IsolatedStorage␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOIsolatedStorageIsolatedStorageException␍ClassTopic.asp">System.IO.IsolatedStorage.IsolatedStorageException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOIsolatedStorageIsolatedStorageFile␍ClassTopic.asp">System.IO.IsolatedStorage.IsolatedStorageFile␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOPathTooLongException␍ClassTopic.asp">System.IO.PathTooLongException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionEmitMethodRental␍ClassTopic.asp">System.Reflection.Emit.MethodRental␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionMemberFilter␍ClassTopic.asp">System.Reflection.MemberFilter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionMissing␍ClassTopic.asp">System.Reflection.Missing␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionModuleResolveEventHandler␍ClassTopic.asp">System.Reflection.ModuleResolveEventHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionPointer␍ClassTopic.asp">System.Reflection.Pointer␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionStrongNameKeyPair␍ClassTopic.asp">System.Reflection.StrongNameKeyPair␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionTargetException␍ClassTopic.asp">System.Reflection.TargetException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionTypeFilter␍ClassTopic.asp">System.Reflection.TypeFilter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemResolveEventHandler␍ClassTopic.asp">System.ResolveEventHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesAccessedThroughPropertyAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.AccessedThroughPropertyAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCallConvCdecl␍ClassTopic.asp">System.Runtime.CompilerServices.CallConvCdecl␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCallConvFastcall␍ClassTopic.asp">System.Runtime.CompilerServices.CallConvFastcall␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCallConvStdcall␍ClassTopic.asp">System.Runtime.CompilerServices.CallConvStdcall␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCallConvThiscall␍ClassTopic.asp">System.Runtime.CompilerServices.CallConvThiscall␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCompilationRelaxationsAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.CompilationRelaxationsAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCompilerGlobalScopeAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.CompilerGlobalScopeAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesCustomConstantAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.CustomConstantAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesDateTimeConstantAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.DateTimeConstantAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesDecimalConstantAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.DecimalConstantAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesDiscardableAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.DiscardableAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesIDispatchConstantAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.IDispatchConstantAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesIsVolatile␍ClassTopic.asp">System.Runtime.CompilerServices.IsVolatile␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesIUnknownConstantAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.IUnknownConstantAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeCompilerServicesRequiredAttributeAttribute␍ClassTopic.asp">System.Runtime.CompilerServices.RequiredAttributeAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesArrayWithOffset␍ClassTopic.asp">System.Runtime.InteropServices.ArrayWithOffset␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesAssemblyRegistrationFlags␍ClassTopic.asp">System.Runtime.InteropServices.AssemblyRegistrationFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesAutomationProxyAttribute␍ClassTopic.asp">System.Runtime.InteropServices.AutomationProxyAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesBIND_OPTS␍ClassTopic.asp">System.Runtime.InteropServices.BIND_OPTS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesBINDPTR␍ClassTopic.asp">System.Runtime.InteropServices.BINDPTR␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesCALLCONV␍ClassTopic.asp">System.Runtime.InteropServices.CALLCONV␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesClassInterfaceAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ClassInterfaceAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesClassInterfaceType␍ClassTopic.asp">System.Runtime.InteropServices.ClassInterfaceType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesCoClassAttribute␍ClassTopic.asp">System.Runtime.InteropServices.CoClassAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComAliasNameAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComAliasNameAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComConversionLossAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComConversionLossAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComEventInterfaceAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComEventInterfaceAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesCOMException␍ClassTopic.asp">System.Runtime.InteropServices.COMException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComImportAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComImportAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComInterfaceType␍ClassTopic.asp">System.Runtime.InteropServices.ComInterfaceType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComMemberType␍ClassTopic.asp">System.Runtime.InteropServices.ComMemberType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComRegisterFunctionAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComRegisterFunctionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComSourceInterfacesAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComSourceInterfacesAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComUnregisterFunctionAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComUnregisterFunctionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesComVisibleAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ComVisibleAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesCONNECTDATA␍ClassTopic.asp">System.Runtime.InteropServices.CONNECTDATA␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesCurrencyWrapper␍ClassTopic.asp">System.Runtime.InteropServices.CurrencyWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesDESCKIND␍ClassTopic.asp">System.Runtime.InteropServices.DESCKIND␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesDispatchWrapper␍ClassTopic.asp">System.Runtime.InteropServices.DispatchWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesDispIdAttribute␍ClassTopic.asp">System.Runtime.InteropServices.DispIdAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesDISPPARAMS␍ClassTopic.asp">System.Runtime.InteropServices.DISPPARAMS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesELEMDESC␍ClassTopic.asp">System.Runtime.InteropServices.ELEMDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesErrorWrapper␍ClassTopic.asp">System.Runtime.InteropServices.ErrorWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesEXCEPINFO␍ClassTopic.asp">System.Runtime.InteropServices.EXCEPINFO␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesExpandoIExpando␍ClassTopic.asp">System.Runtime.InteropServices.Expando.IExpando␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesExporterEventKind␍ClassTopic.asp">System.Runtime.InteropServices.ExporterEventKind␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesExtensibleClassFactory␍ClassTopic.asp">System.Runtime.InteropServices.ExtensibleClassFactory␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesFILETIME␍ClassTopic.asp">System.Runtime.InteropServices.FILETIME␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesFUNCDESC␍ClassTopic.asp">System.Runtime.InteropServices.FUNCDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesFUNCFLAGS␍ClassTopic.asp">System.Runtime.InteropServices.FUNCFLAGS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesFUNCKIND␍ClassTopic.asp">System.Runtime.InteropServices.FUNCKIND␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesGCHandle␍ClassTopic.asp">System.Runtime.InteropServices.GCHandle␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesGuidAttribute␍ClassTopic.asp">System.Runtime.InteropServices.GuidAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesHandleRef␍ClassTopic.asp">System.Runtime.InteropServices.HandleRef␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesICustomAdapter␍ClassTopic.asp">System.Runtime.InteropServices.ICustomAdapter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesICustomFactory␍ClassTopic.asp">System.Runtime.InteropServices.ICustomFactory␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesICustomMarshaler␍ClassTopic.asp">System.Runtime.InteropServices.ICustomMarshaler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIDispatchImplAttribute␍ClassTopic.asp">System.Runtime.InteropServices.IDispatchImplAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIDispatchImplType␍ClassTopic.asp">System.Runtime.InteropServices.IDispatchImplType␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIDLDESC␍ClassTopic.asp">System.Runtime.InteropServices.IDLDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIDLFLAG␍ClassTopic.asp">System.Runtime.InteropServices.IDLFLAG␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIMPLTYPEFLAGS␍ClassTopic.asp">System.Runtime.InteropServices.IMPLTYPEFLAGS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesImportedFromTypeLibAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ImportedFromTypeLibAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesImporterEventKind␍ClassTopic.asp">System.Runtime.InteropServices.ImporterEventKind␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesInterfaceTypeAttribute␍ClassTopic.asp">System.Runtime.InteropServices.InterfaceTypeAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesInvalidComObjectException␍ClassTopic.asp">System.Runtime.InteropServices.InvalidComObjectException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesInvalidOleVariantTypeException␍ClassTopic.asp">System.Runtime.InteropServices.InvalidOleVariantTypeException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesINVOKEKIND␍ClassTopic.asp">System.Runtime.InteropServices.INVOKEKIND␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesIRegistrationServices␍ClassTopic.asp">System.Runtime.InteropServices.IRegistrationServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesITypeLibConverter␍ClassTopic.asp">System.Runtime.InteropServices.ITypeLibConverter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesITypeLibExporterNameProvider␍ClassTopic.asp">System.Runtime.InteropServices.ITypeLibExporterNameProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesITypeLibExporterNotifySink␍ClassTopic.asp">System.Runtime.InteropServices.ITypeLibExporterNotifySink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesITypeLibImporterNotifySink␍ClassTopic.asp">System.Runtime.InteropServices.ITypeLibImporterNotifySink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesLCIDConversionAttribute␍ClassTopic.asp">System.Runtime.InteropServices.LCIDConversionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesLIBFLAGS␍ClassTopic.asp">System.Runtime.InteropServices.LIBFLAGS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesMarshalDirectiveException␍ClassTopic.asp">System.Runtime.InteropServices.MarshalDirectiveException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesObjectCreationDelegate␍ClassTopic.asp">System.Runtime.InteropServices.ObjectCreationDelegate␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesPARAMDESC␍ClassTopic.asp">System.Runtime.InteropServices.PARAMDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesPARAMFLAG␍ClassTopic.asp">System.Runtime.InteropServices.PARAMFLAG␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesPreserveSigAttribute␍ClassTopic.asp">System.Runtime.InteropServices.PreserveSigAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesPrimaryInteropAssemblyAttribute␍ClassTopic.asp">System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesProgIdAttribute␍ClassTopic.asp">System.Runtime.InteropServices.ProgIdAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesRegistrationServices␍ClassTopic.asp">System.Runtime.InteropServices.RegistrationServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesRuntimeEnvironment␍ClassTopic.asp">System.Runtime.InteropServices.RuntimeEnvironment␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesSafeArrayRankMismatchException␍ClassTopic.asp">System.Runtime.InteropServices.SafeArrayRankMismatchException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesSafeArrayTypeMismatchException␍ClassTopic.asp">System.Runtime.InteropServices.SafeArrayTypeMismatchException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesSEHException␍ClassTopic.asp">System.Runtime.InteropServices.SEHException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesSTATSTG␍ClassTopic.asp">System.Runtime.InteropServices.STATSTG␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesSYSKIND␍ClassTopic.asp">System.Runtime.InteropServices.SYSKIND␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTYPEATTR␍ClassTopic.asp">System.Runtime.InteropServices.TYPEATTR␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTYPEDESC␍ClassTopic.asp">System.Runtime.InteropServices.TYPEDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTYPEFLAGS␍ClassTopic.asp">System.Runtime.InteropServices.TYPEFLAGS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTYPEKIND␍ClassTopic.asp">System.Runtime.InteropServices.TYPEKIND␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTYPELIBATTR␍ClassTopic.asp">System.Runtime.InteropServices.TYPELIBATTR␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibConverter␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibConverter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibExporterFlags␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibExporterFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibFuncAttribute␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibFuncAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibFuncFlags␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibFuncFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibImporterFlags␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibImporterFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibTypeAttribute␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibTypeAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibTypeFlags␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibTypeFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibVarAttribute␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibVarAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesTypeLibVarFlags␍ClassTopic.asp">System.Runtime.InteropServices.TypeLibVarFlags␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIBindCtx␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIBindCtx␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIConnectionPoint␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIConnectionPoint␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIConnectionPointContainer␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIConnectionPointContainer␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIEnumConnectionPoints␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIEnumConnectionPoints␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIEnumConnections␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIEnumConnections␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIEnumMoniker␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIEnumMoniker␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIEnumString␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIEnumString␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIEnumVARIANT␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIEnumVARIANT␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIMoniker␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIMoniker␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIPersistFile␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIPersistFile␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIRunningObjectTable␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIRunningObjectTable␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMIStream␍ClassTopic.asp">System.Runtime.InteropServices.UCOMIStream␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMITypeComp␍ClassTopic.asp">System.Runtime.InteropServices.UCOMITypeComp␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMITypeInfo␍ClassTopic.asp">System.Runtime.InteropServices.UCOMITypeInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUCOMITypeLib␍ClassTopic.asp">System.Runtime.InteropServices.UCOMITypeLib␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesUnknownWrapper␍ClassTopic.asp">System.Runtime.InteropServices.UnknownWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesVARDESC␍ClassTopic.asp">System.Runtime.InteropServices.VARDESC␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesVARFLAGS␍ClassTopic.asp">System.Runtime.InteropServices.VARFLAGS␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingActivatedClientTypeEntry␍ClassTopic.asp">System.Runtime.Remoting.ActivatedClientTypeEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingActivatedServiceTypeEntry␍ClassTopic.asp">System.Runtime.Remoting.ActivatedServiceTypeEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingActivationUrlAttribute␍ClassTopic.asp">System.Runtime.Remoting.Activation.UrlAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsBaseChannelObjectWithProperties␍ClassTopic.asp">System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsBaseChannelSinkWithProperties␍ClassTopic.asp">System.Runtime.Remoting.Channels.BaseChannelSinkWithProperties␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsBaseChannelWithProperties␍ClassTopic.asp">System.Runtime.Remoting.Channels.BaseChannelWithProperties␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsChannelDataStore␍ClassTopic.asp">System.Runtime.Remoting.Channels.ChannelDataStore␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsChannelServices␍ClassTopic.asp">System.Runtime.Remoting.Channels.ChannelServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsClientChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.ClientChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannel␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannel␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannelDataStore␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannelDataStore␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannelReceiver␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannelReceiver␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannelReceiverHook␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannelReceiverHook␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannelSender␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannelSender␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIChannelSinkBase␍ClassTopic.asp">System.Runtime.Remoting.Channels.IChannelSinkBase␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientChannelSink␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientChannelSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientChannelSinkProvider␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientChannelSinkProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientFormatterSink␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientFormatterSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientFormatterSinkProvider␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientFormatterSinkProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIClientResponseChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIServerChannelSink␍ClassTopic.asp">System.Runtime.Remoting.Channels.IServerChannelSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIServerChannelSinkProvider␍ClassTopic.asp">System.Runtime.Remoting.Channels.IServerChannelSinkProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIServerChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.IServerChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIServerFormatterSinkProvider␍ClassTopic.asp">System.Runtime.Remoting.Channels.IServerFormatterSinkProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsIServerResponseChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsITransportHeaders␍ClassTopic.asp">System.Runtime.Remoting.Channels.ITransportHeaders␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsServerChannelSinkStack␍ClassTopic.asp">System.Runtime.Remoting.Channels.ServerChannelSinkStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsServerProcessing␍ClassTopic.asp">System.Runtime.Remoting.Channels.ServerProcessing␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsSinkProviderData␍ClassTopic.asp">System.Runtime.Remoting.Channels.SinkProviderData␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingChannelsTransportHeaders␍ClassTopic.asp">System.Runtime.Remoting.Channels.TransportHeaders␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsContextProperty␍ClassTopic.asp">System.Runtime.Remoting.Contexts.ContextProperty␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsCrossContextDelegate␍ClassTopic.asp">System.Runtime.Remoting.Contexts.CrossContextDelegate␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContextPropertyActivator␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContextPropertyActivator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContributeClientContextSink␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContributeClientContextSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContributeDynamicSink␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContributeDynamicSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContributeEnvoySink␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContributeEnvoySink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContributeObjectSink␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContributeObjectSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingContextsIContributeServerContextSink␍ClassTopic.asp">System.Runtime.Remoting.Contexts.IContributeServerContextSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingIChannelInfo␍ClassTopic.asp">System.Runtime.Remoting.IChannelInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingIEnvoyInfo␍ClassTopic.asp">System.Runtime.Remoting.IEnvoyInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingInternalRemotingServices␍ClassTopic.asp">System.Runtime.Remoting.InternalRemotingServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingIObjectHandle␍ClassTopic.asp">System.Runtime.Remoting.IObjectHandle␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingIRemotingTypeInfo␍ClassTopic.asp">System.Runtime.Remoting.IRemotingTypeInfo␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingLifetimeClientSponsor␍ClassTopic.asp">System.Runtime.Remoting.Lifetime.ClientSponsor␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingLifetimeILease␍ClassTopic.asp">System.Runtime.Remoting.Lifetime.ILease␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingLifetimeISponsor␍ClassTopic.asp">System.Runtime.Remoting.Lifetime.ISponsor␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingLifetimeLeaseState␍ClassTopic.asp">System.Runtime.Remoting.Lifetime.LeaseState␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingLifetimeLifetimeServices␍ClassTopic.asp">System.Runtime.Remoting.Lifetime.LifetimeServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingAsyncResult␍ClassTopic.asp">System.Runtime.Remoting.Messaging.AsyncResult␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingCallContext␍ClassTopic.asp">System.Runtime.Remoting.Messaging.CallContext␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingConstructionCall␍ClassTopic.asp">System.Runtime.Remoting.Messaging.ConstructionCall␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingConstructionResponse␍ClassTopic.asp">System.Runtime.Remoting.Messaging.ConstructionResponse␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingHeader␍ClassTopic.asp">System.Runtime.Remoting.Messaging.Header␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingHeaderHandler␍ClassTopic.asp">System.Runtime.Remoting.Messaging.HeaderHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingILogicalThreadAffinative␍ClassTopic.asp">System.Runtime.Remoting.Messaging.ILogicalThreadAffinative␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingIMessageCtrl␍ClassTopic.asp">System.Runtime.Remoting.Messaging.IMessageCtrl␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingIMessageSink␍ClassTopic.asp">System.Runtime.Remoting.Messaging.IMessageSink␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingIMethodCallMessage␍ClassTopic.asp">System.Runtime.Remoting.Messaging.IMethodCallMessage␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingInternalMessageWrapper␍ClassTopic.asp">System.Runtime.Remoting.Messaging.InternalMessageWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingIRemotingFormatter␍ClassTopic.asp">System.Runtime.Remoting.Messaging.IRemotingFormatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingLogicalCallContext␍ClassTopic.asp">System.Runtime.Remoting.Messaging.LogicalCallContext␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingMessageSurrogateFilter␍ClassTopic.asp">System.Runtime.Remoting.Messaging.MessageSurrogateFilter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingMethodCall␍ClassTopic.asp">System.Runtime.Remoting.Messaging.MethodCall␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingMethodCallMessageWrapper␍ClassTopic.asp">System.Runtime.Remoting.Messaging.MethodCallMessageWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingMethodResponse␍ClassTopic.asp">System.Runtime.Remoting.Messaging.MethodResponse␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingMethodReturnMessageWrapper␍ClassTopic.asp">System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingOneWayAttribute␍ClassTopic.asp">System.Runtime.Remoting.Messaging.OneWayAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingRemotingSurrogateSelector␍ClassTopic.asp">System.Runtime.Remoting.Messaging.RemotingSurrogateSelector␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMessagingReturnMessage␍ClassTopic.asp">System.Runtime.Remoting.Messaging.ReturnMessage␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapAttribute␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapFieldAttribute␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapFieldAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapMethodAttribute␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapMethodAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapOption␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapOption␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapParameterAttribute␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapParameterAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataSoapTypeAttribute␍ClassTopic.asp">System.Runtime.Remoting.Metadata.SoapTypeAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001ISoapXsd␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.ISoapXsd␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapAnyUri␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapBase64Binary␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapDate␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapDateTime␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDateTime␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapDay␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapDuration␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapEntities␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapEntity␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapHexBinary␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapId␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapIdref␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapIdrefs␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapInteger␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapLanguage␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapMonth␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapMonthDay␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapName␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNcName␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNegativeInteger␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNmtoken␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNmtokens␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNonNegativeInteger␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNonPositiveInteger␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNormalizedString␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapNotation␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapPositiveInteger␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapQName␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapTime␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapToken␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapYear␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataW3cXsd2001SoapYearMonth␍ClassTopic.asp">System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingMetadataXmlFieldOrderOption␍ClassTopic.asp">System.Runtime.Remoting.Metadata.XmlFieldOrderOption␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingProxiesProxyAttribute␍ClassTopic.asp">System.Runtime.Remoting.Proxies.ProxyAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingProxiesRealProxy␍ClassTopic.asp">System.Runtime.Remoting.Proxies.RealProxy␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingRemotingConfiguration␍ClassTopic.asp">System.Runtime.Remoting.RemotingConfiguration␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingRemotingException␍ClassTopic.asp">System.Runtime.Remoting.RemotingException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingRemotingServices␍ClassTopic.asp">System.Runtime.Remoting.RemotingServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingRemotingTimeoutException␍ClassTopic.asp">System.Runtime.Remoting.RemotingTimeoutException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingServerException␍ClassTopic.asp">System.Runtime.Remoting.ServerException␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingServicesEnterpriseServicesHelper␍ClassTopic.asp">System.Runtime.Remoting.Services.EnterpriseServicesHelper␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingServicesITrackingHandler␍ClassTopic.asp">System.Runtime.Remoting.Services.ITrackingHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingServicesTrackingServices␍ClassTopic.asp">System.Runtime.Remoting.Services.TrackingServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingSoapServices␍ClassTopic.asp">System.Runtime.Remoting.SoapServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingTypeEntry␍ClassTopic.asp">System.Runtime.Remoting.TypeEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingWellKnownClientTypeEntry␍ClassTopic.asp">System.Runtime.Remoting.WellKnownClientTypeEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeRemotingWellKnownServiceTypeEntry␍ClassTopic.asp">System.Runtime.Remoting.WellKnownServiceTypeEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormatter␍ClassTopic.asp">System.Runtime.Serialization.Formatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormatterConverter␍ClassTopic.asp">System.Runtime.Serialization.FormatterConverter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersBinaryBinaryFormatter␍ClassTopic.asp">System.Runtime.Serialization.Formatters.Binary.BinaryFormatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersInternalRM␍ClassTopic.asp">System.Runtime.Serialization.Formatters.InternalRM␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersInternalST␍ClassTopic.asp">System.Runtime.Serialization.Formatters.InternalST␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersServerFault␍ClassTopic.asp">System.Runtime.Serialization.Formatters.ServerFault␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersSoapFault␍ClassTopic.asp">System.Runtime.Serialization.Formatters.SoapFault␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormattersSoapMessage␍ClassTopic.asp">System.Runtime.Serialization.Formatters.SoapMessage␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationFormatterServices␍ClassTopic.asp">System.Runtime.Serialization.FormatterServices␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationObjectIDGenerator␍ClassTopic.asp">System.Runtime.Serialization.ObjectIDGenerator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationObjectManager␍ClassTopic.asp">System.Runtime.Serialization.ObjectManager␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationSerializationBinder␍ClassTopic.asp">System.Runtime.Serialization.SerializationBinder␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationSerializationEntry␍ClassTopic.asp">System.Runtime.Serialization.SerializationEntry␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationSerializationInfoEnumerator␍ClassTopic.asp">System.Runtime.Serialization.SerializationInfoEnumerator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeSerializationSurrogateSelector␍ClassTopic.asp">System.Runtime.Serialization.SurrogateSelector␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemRuntimeArgumentHandle␍ClassTopic.asp">System.RuntimeArgumentHandle␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityAllowPartiallyTrustedCallersAttribute␍ClassTopic.asp">System.Security.AllowPartiallyTrustedCallersAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyCryptoConfig␍ClassTopic.asp">System.Security.Cryptography.CryptoConfig␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyDSACryptoServiceProvider␍ClassTopic.asp">System.Security.Cryptography.DSACryptoServiceProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyHMACSHA1␍ClassTopic.asp">System.Security.Cryptography.HMACSHA1␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyKeyedHashAlgorithm␍ClassTopic.asp">System.Security.Cryptography.KeyedHashAlgorithm␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyMACTripleDES␍ClassTopic.asp">System.Security.Cryptography.MACTripleDES␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyMaskGenerationMethod␍ClassTopic.asp">System.Security.Cryptography.MaskGenerationMethod␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyPasswordDeriveBytes␍ClassTopic.asp">System.Security.Cryptography.PasswordDeriveBytes␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyPKCS1MaskGenerationMethod␍ClassTopic.asp">System.Security.Cryptography.PKCS1MaskGenerationMethod␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRandomNumberGenerator␍ClassTopic.asp">System.Security.Cryptography.RandomNumberGenerator␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRC2␍ClassTopic.asp">System.Security.Cryptography.RC2␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRC2CryptoServiceProvider␍ClassTopic.asp">System.Security.Cryptography.RC2CryptoServiceProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRijndael␍ClassTopic.asp">System.Security.Cryptography.Rijndael␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRijndaelManaged␍ClassTopic.asp">System.Security.Cryptography.RijndaelManaged␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRNGCryptoServiceProvider␍ClassTopic.asp">System.Security.Cryptography.RNGCryptoServiceProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSA␍ClassTopic.asp">System.Security.Cryptography.RSA␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSACryptoServiceProvider␍ClassTopic.asp">System.Security.Cryptography.RSACryptoServiceProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAOAEPKeyExchangeDeformatter␍ClassTopic.asp">System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAOAEPKeyExchangeFormatter␍ClassTopic.asp">System.Security.Cryptography.RSAOAEPKeyExchangeFormatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAParameters␍ClassTopic.asp">System.Security.Cryptography.RSAParameters␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAPKCS1KeyExchangeDeformatter␍ClassTopic.asp">System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAPKCS1KeyExchangeFormatter␍ClassTopic.asp">System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAPKCS1SignatureDeformatter␍ClassTopic.asp">System.Security.Cryptography.RSAPKCS1SignatureDeformatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyRSAPKCS1SignatureFormatter␍ClassTopic.asp">System.Security.Cryptography.RSAPKCS1SignatureFormatter␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographySHA1Managed␍ClassTopic.asp">System.Security.Cryptography.SHA1Managed␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographySHA384Managed␍ClassTopic.asp">System.Security.Cryptography.SHA384Managed␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographySHA512Managed␍ClassTopic.asp">System.Security.Cryptography.SHA512Managed␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyTripleDES␍ClassTopic.asp">System.Security.Cryptography.TripleDES␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyTripleDESCryptoServiceProvider␍ClassTopic.asp">System.Security.Cryptography.TripleDESCryptoServiceProvider␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityCryptographyX509CertificatesX509Certificate␍ClassTopic.asp">System.Security.Cryptography.X509Certificates.X509Certificate␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityNamedPermissionSet␍ClassTopic.asp">System.Security.NamedPermissionSet␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsEnvironmentPermission␍ClassTopic.asp">System.Security.Permissions.EnvironmentPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsFileDialogPermission␍ClassTopic.asp">System.Security.Permissions.FileDialogPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsFileDialogPermissionAccess␍ClassTopic.asp">System.Security.Permissions.FileDialogPermissionAccess␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsIsolatedStorageFilePermission␍ClassTopic.asp">System.Security.Permissions.IsolatedStorageFilePermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsIsolatedStoragePermissionAttribute␍ClassTopic.asp">System.Security.Permissions.IsolatedStoragePermissionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsPrincipalPermission␍ClassTopic.asp">System.Security.Permissions.PrincipalPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsPrincipalPermissionAttribute␍ClassTopic.asp">System.Security.Permissions.PrincipalPermissionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsPublisherIdentityPermission␍ClassTopic.asp">System.Security.Permissions.PublisherIdentityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsPublisherIdentityPermissionAttribute␍ClassTopic.asp">System.Security.Permissions.PublisherIdentityPermissionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsReflectionPermission␍ClassTopic.asp">System.Security.Permissions.ReflectionPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsRegistryPermission␍ClassTopic.asp">System.Security.Permissions.RegistryPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsSecurityPermission␍ClassTopic.asp">System.Security.Permissions.SecurityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsSecurityPermissionAttribute␍ClassTopic.asp">System.Security.Permissions.SecurityPermissionAttribute␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsSiteIdentityPermission␍ClassTopic.asp">System.Security.Permissions.SiteIdentityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsStrongNameIdentityPermission␍ClassTopic.asp">System.Security.Permissions.StrongNameIdentityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsStrongNamePublicKeyBlob␍ClassTopic.asp">System.Security.Permissions.StrongNamePublicKeyBlob␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsUIPermission␍ClassTopic.asp">System.Security.Permissions.UIPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsUrlIdentityPermission␍ClassTopic.asp">System.Security.Permissions.UrlIdentityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPermissionsZoneIdentityPermission␍ClassTopic.asp">System.Security.Permissions.ZoneIdentityPermission␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyAllMembershipCondition␍ClassTopic.asp">System.Security.Policy.AllMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyApplicationDirectory␍ClassTopic.asp">System.Security.Policy.ApplicationDirectory␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyApplicationDirectoryMembershipCondition␍ClassTopic.asp">System.Security.Policy.ApplicationDirectoryMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyFileCodeGroup␍ClassTopic.asp">System.Security.Policy.FileCodeGroup␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyFirstMatchCodeGroup␍ClassTopic.asp">System.Security.Policy.FirstMatchCodeGroup␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyHash␍ClassTopic.asp">System.Security.Policy.Hash␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyHashMembershipCondition␍ClassTopic.asp">System.Security.Policy.HashMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyNetCodeGroup␍ClassTopic.asp">System.Security.Policy.NetCodeGroup␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyPermissionRequestEvidence␍ClassTopic.asp">System.Security.Policy.PermissionRequestEvidence␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyPolicyStatement␍ClassTopic.asp">System.Security.Policy.PolicyStatement␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyPublisher␍ClassTopic.asp">System.Security.Policy.Publisher␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyPublisherMembershipCondition␍ClassTopic.asp">System.Security.Policy.PublisherMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicySite␍ClassTopic.asp">System.Security.Policy.Site␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicySiteMembershipCondition␍ClassTopic.asp">System.Security.Policy.SiteMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyStrongName␍ClassTopic.asp">System.Security.Policy.StrongName␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyStrongNameMembershipCondition␍ClassTopic.asp">System.Security.Policy.StrongNameMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyUnionCodeGroup␍ClassTopic.asp">System.Security.Policy.UnionCodeGroup␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyUrl␍ClassTopic.asp">System.Security.Policy.Url␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyUrlMembershipCondition␍ClassTopic.asp">System.Security.Policy.UrlMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyZone␍ClassTopic.asp">System.Security.Policy.Zone␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPolicyZoneMembershipCondition␍ClassTopic.asp">System.Security.Policy.ZoneMembershipCondition␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsIdentity␍ClassTopic.asp">System.Security.Principal.WindowsIdentity␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsImpersonationContext␍ClassTopic.asp">System.Security.Principal.WindowsImpersonationContext␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsPrincipal␍ClassTopic.asp">System.Security.Principal.WindowsPrincipal␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingCompressedStack␍ClassTopic.asp">System.Threading.CompressedStack␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingIOCompletionCallback␍ClassTopic.asp">System.Threading.IOCompletionCallback␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingThreadStart␍ClassTopic.asp">System.Threading.ThreadStart␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingTimerCallback␍ClassTopic.asp">System.Threading.TimerCallback␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingWaitCallback␍ClassTopic.asp">System.Threading.WaitCallback␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemThreadingWaitOrTimerCallback␍ClassTopic.asp">System.Threading.WaitOrTimerCallback␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemTimeZone␍ClassTopic.asp">System.TimeZone␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemTypedReference␍ClassTopic.asp">System.TypedReference␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemUnhandledExceptionEventHandler␍ClassTopic.asp">System.UnhandledExceptionEventHandler␍</a><br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWeakReference␍ClassTopic.asp">System.WeakReference␍</a><br>
+22
View File
@@ -0,0 +1,22 @@
* Status of the various pieces of the class library
You can browse the status of the class library and see who has
registered to work on what parts of the system. These list
work-in-progress components currently.
Browse the current <a href="class-status/index.html">status</a>.
You can also download the XML <a
href="class-status/maintainers.xml">maintainers</a> file that
contains the actual maintainers list.
You can also download the master <a
href="class-status/class.xml">Class Status XML</a> file.
* List of not-implemented classes
These classes are only classes pending from the CORLIB assembly
other assemblies are not yet listed. We are going to be working
on an improved status display for pending classes.
Please bear with us in the meantime.
+105
View File
@@ -0,0 +1,105 @@
* Class Library Documentation
** Summary
<em>
[This documentation is in progress. Comments to
<a href="mailto:[email protected]">[email protected]</a>.]
</em>
While using inline XML tags to document classes is certainly
convenient, properly verbose documentation quickly overwhelms
the code, making the source quite difficult to read. Furthermore,
multilingual documentation makes for significant additional text.
With these considerations in mind, Mono will use external XML files
for type documentation, rather than documenting the source inline.
Several tools will be created for managing, verifying, generating,
and updating class library documentation, including:
<ul>
<li><a href="#docstub">docstub</a></li>
<li><a href="#docverify">docverify</a></li>
<li><a href="#docconv">docconv</a></li>
<li><a href="#docgen">docgen</a></li>
<li><a href="#monodoc">monodoc</a></li>
</ul>
** XML Documentation Files and Formats
*** Monodoc XML
This XML is similar to the XML documentation described in the
C# standard, with added tags for internationalization and a
slightly different structure. Documentation and a DTD/Schema
for Monodoc XML is forthcoming.
Monodoc XML does not contain any definitive type information,
and is only useful in conjunction with the Type definition for
whatever is being documented.
This XML could be generated by hand, by monostub, or by monodoc.
*** Assembly XML
This XML is generated by combining runtime type information for
an Assembly with a collection of Monodoc XML files. The resultant
XML (in the best of cases) contains both complete type and
documentary information for each type in the assembly.
This XML contains enough information to be transformed into
user-accessible documentation. It is likely that scripts
will be created to generate reference docs as HTML and other
formats.
Documentation and a DTD/Schema for Assembly XML is forthcoming.
** Documentation Tools
*** <a name="docstub">docstub</a>
Given a type name and an assembly, generates stub Monodoc XML
documentation for the type. Optionally, docstub can attempt to
populate initial documentation from an XML file in the format
published along with the ECMA standard.
*** <a name="docverify">docverify</a>
Given a Monodoc XML file and an assembly, verifies that the
documentation matches the compiled type. Checks signatures,
parameters, et cetera.
*** <a name="docconv">docconv</a>
Converts from Monodoc XML to the standard C# compiler-emitted
XML format and vice versa.
*** <a name="docgen">docgen</a>
Given an assembly and a collection of Monodoc XML files, creates
an Assembly XML file containing all documentation and type information
available. This output is suitable for transforming into user
documentation.
*** <a name="monodoc">monodoc</a>
A GUI tool for documentation and translation, this encapsulates
the capabilities of docstub, docverify, docconv, and docgen in
a friendly user interface. In addition, monodoc provides features
to ease translation, such as side-by-side editing and coverage
statistics.
** Status and Roadmap
*** 2 January 2002
As I write the initial version of this document, very little has been
implemented. Currently, there is a:
<ul>
<li>Preliminary version of the Monodoc XML format</li>
<li>Preliminary version of the docstub utility</li>
</ul>
Here's hoping for frequent, productive updates.
** Get Involved
Help us define Mono's documentation structure! Subscribe to
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
and wade right in.
-3
View File
@@ -1,8 +1,5 @@
* Contacting the Mono team.
You can contact the Mono Team by sending e-mail to `<a
href="mailto:[email protected]">[email protected]</a>'.
You can contact the general forum of discussion by sending
e-mail to <a href="mailto:[email protected]">[email protected]</a>
+13 -27
View File
@@ -21,16 +21,12 @@
** To start contributing
To start developing classes or to contribute to the compiler,
you only need Windows and the .NET Beta 2 SDK. Please notice
you only need Windows and the .NET Framework 1.0 SDK. Please notice
that you do not need Visual Studio (although you can use it if
you want).
You can get it <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
Alternatively you can use the <a
href="#compile-service">compilation service</a> that was setup by
Derek.
** Bug reporting
If you find bugs in Mono, please make sure you enter a bug
@@ -44,32 +40,21 @@
A few smaller tasks are here, dropped in no particular order:
<ul>
* <b>MCS compilation process:</b> Currently MCS does
not build with a single `make' command. This should
be fixed (this being part of the `Joel Test' that
software has to pass).
* <b>Mono/doc and web site:</b> They need to be
packaged up in the official `distribution'
* Adding serialization support to all the classes.
We have many classes, but we have not implemented in
many cases the serialization and re-incarnation support in
them (this is pretty straight forward code, and simple,
but there is a lot to be done here).
</ul>
<a name="compile-service">
* C# Compilation Service
* Emacs support
If you are working on a class for the Mono project, but do not
have a C# compiler available or a Windows machine to run the
.NET SDK, you can use the compilation service that Derek
Holden setup in the following URL: <a
href="http://toilet.2y.net:8080/">http://toilet.2y.net:8080/</a>
The service will let you compile a source file and get back a
list of errors in the class file. You will not be able to run
the code, but at least you can get some code written that will
help us further down the line.
You can contact (and thank) Derek for this service by sending
him nice email at <a
href="mailto:[email protected]">[email protected]</a>
Brad Merryl's C# mode for Emacs is available: <a
href="http://www.cybercom.net/~zbrad/DotNet/Emacs/">http://www.cybercom.net/~zbrad/DotNet/Emacs/</a>
* Books on C# and DotNet.
@@ -79,11 +64,12 @@
* Dotnet Resources (<a href="http://www.dotnetexperts.com/resources/">
http://www.dotnetexperts.com/resources</a>)
* O'Really C# Essentials (<a href="http://www.oreilly.com/catalog/csharpess/">
* O'Reilly C# Essentials (<a href="http://www.oreilly.com/catalog/csharpess/">
http://www.oreally.com/catalog/csharpess</a>)
* O'Really .NET Essentials (<a href="http://www.oreilly.com/catalog/dotnetfrmess/">
http://www.oreally.com/catalog/dotnetfrmess</a>)
</ul>
* Special note
+2 -17
View File
@@ -31,20 +31,5 @@
** Class Library documentation
When contributing to the Class Library effort, please use the
inline XML documentation tags to document your classes so we
can automatically generate the documentation from the class
libraries.
If you provide examples, please do not embed them into the
source code, as that will make the source code harder to read
and maintain. Instead, put examples for your code into a
subdirectory of the class libraries. Make your sample
code a full standalone application that people can compile.
Ideally the Mono documentation browser will let you edit, modify
and run the sample programs.
We are moving to a new setup for documenting the class libraries,
you can read about it <a href="classlib-doc.html">here</a>
+158 -81
View File
@@ -14,8 +14,10 @@
GNU make tools. These may be obtained for the Windows
environment from <a href="http://www.cygwin.com">cygwin.com</a>.
You will also need to get GLIB, from: <a
href="ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz">ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz</a>
You will also need to get GLIB and <a
href="http://www.freedesktop.org/software/pkgconfig">pkgconfig</a>.
You can get Glib 1.3 from: <a
href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz</a>.
<a name="sources">
** Sources
@@ -36,13 +38,165 @@ href="ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz">ftp://ftp.gtk.org/pub/g
should. They should give you a window to see what we are up to.
You might also want to track our development using the <a
href="http://mail.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
mailing list.
<a name="packaged">
*** Released and tested packages
At this point, you should look into using one of the <a
href="snapshots">nightly snapshots</a> or getting the
sources from <a href="anoncvs.html">Anonymous CVS</a>
as significant work has gone into Mono since our last stable
release in September.
We will be making a packaged release sometime in January.
<a name="install">
** Installing the software
To install and work on the compiler and the class libraries,
follow these instructions:
<ul>
* Install <a href="http://www.cygwin.com">CygWin</a> first.
* Untar the MCS distribution (see below for information).
* Go into the MCS directory and type `make windows'
</ul>
To compile the mono runtime on windows:
<ul>
* Install <a href="http://www.cygwin.com">CygWin</a> first.
* Install in /usr/local in your Cygwin world the following
packages (compiled by <a href="mailto:[email protected]">Alex Graveley</a>):
<ul>
<li><a href="http://primates.ximian.com/~alex/glib-1.3.12-win32-native.zip">
http://primates.ximian.com/~alex/glib-1.3.12-win32-native.zip</a>
<li><a href="http://primates.ximian.com/~alex/pkg-config-0.8-cygwin.zip">
http://primates.ximian.com/~alex/pkg-config-0.8-cygwin.zip</a>
</ul>
These already contain libiconv linked statically.
</ul>
If you want to compile things yourself you will need to compile and install:
<ul>
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkgconfig</a>.
(I had to change line 674 of
<nobr><tt>pkgconfig-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre>
tar xzvf pkgconfig-0.8.0.tar.gz
cd pkgconfig-0.8.0
./configure --prefix=/usr
make
make install
</pre>
* Install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a>.
If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
the binary package available at <a
href="http://www.gimp.org/win32/libiconv-dev-20001007.zip">here</a>.
* Install the newest glib (1.3 version). You can download it
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">here</a>.
* Unpack the mono distribution:
<pre>
tar xzvf mono-XXX.tar.gz
</pre>
* Configure, compile and install:
For official releases, use:
<pre>
./configure --prefix=//c/mono
make
make install
</pre>
For Snapshots, or CVS trees, use:
<pre>
./autogen.sh --prefix=//c/mono
make
make install
</pre>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update)
</ul>
To compile the mono runtime on Unix:
<ul>
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkgconfig</a>.
* Install newest glib (cvs head version). You can download it
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">here</a>. Maybe you need
to modify your ACLOCAL_FLAGS for pkgconfig, for example if
your install prefix is /usr/local:
<pre>
export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"
</pre>
* Download the mono distribution
* Unpack the mono distribution:
<pre>
tar xzvf mono-XXX.tar.gz
</pre>
* Configure, compile and install:
For official releases:
<pre>
./configure
make
make install
</pre>
For snapshots and CVS trees:
<pre>
./autogen.sh
make
make install
</pre>
</ul>
<a name="oldreleases">
*** Old releases.
<ul>
<a name="sep-18">
<b>September 18, 2001</b>
<ul>
* <a href="archive/mono-0.7.tar.gz">mono-0.7.tar.gz</a>: Mono Runtime 0.7 release.
* <a href="archive/mcs-0.7.tar.gz">mcs-0.7.tar.gz</a>: Mono Compiler and Classes 0.7 release.
* <a href="archive/mono-0.7">Release Notes.</a>
</ul>
<a name="august-22">
<b>August 22, 2001</b>
<ul>
@@ -108,80 +262,3 @@ href="ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz">ftp://ftp.gtk.org/pub/g
</ul>
</ul>
<a name="install">
** Installing the software
To install and work on the compiler and the class libraries,
follow these instructions:
<ul>
* Install <a href="http://www.cygwin.com">CygWin</a> first.
* Untar the MCS distribution (see below for information).
* Go into the MCS directory and type `make windows'
</ul>
To compile the mono runtime on windows:
<ul>
* Install <a href="http://www.cygwin.com">CygWin</a> first.
* Once installed, in a terminal window or a cygwin
window (a shortcut should be on your desktop), untar the glib
distribution:
<pre>
tar xzvf glib-1.2.10.tar.gz
</pre>
* Configure, compile and install glib, like this:
<pre>
./configure --prefix=/usr
make
make install
</pre>
* Unpack the mono distribution:
<pre>
tar xzvf mono-XXX.tar.gz
</pre>
* Configure, compile and install:
<pre>
./configure --prefix=//c/mono
make
make install
</pre>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update)
</ul>
To compile the mono runtime on Unix:
<ul>
* Download the mono distribution
* Unpack the mono distribution:
<pre>
tar xzvf mono-XXX.tar.gz
</pre>
* Configure, compile and install:
<pre>
./configure
make
make install
</pre>
</ul>
+396 -455
View File
File diff suppressed because it is too large. Load diff
+9 -16
View File
@@ -1,5 +1,14 @@
* Ideas
There are many pending classes that need to be implemented. Those have
the highest impact in the Mono project: the sooner they are done,
the sooner we can start using this platform to create new and
exciting applications.
That being said, if you are not very excited about working on class
libraries, here is a list of other related projects or tools that might
be useful to the Mono project.
Here are a few ideas of tools, classes and projects that you
could start. More are forthcoming.
@@ -42,22 +51,6 @@ TODO=multimedia
href="mailto:[email protected]">Vladimir</a> has
researched the problem before
TODO=gtk,Gtk+ wrappers for Mono and .NET
* Wrap the Gtk+ API. This is simple and can be done
on Windows as Gtk+ 2.0 works on Windows.
This work can also be used on Windows and will
enable developers on Windows to use some of Gtk+'s
advanced features.
The idea is to wrap the Gtk+ API and allow us to
build GUI applications using Gtk+ and in the future
other Gtk+-based libraries from Mono (Gal, GtkHTML).
There is extensive knowledge on wrapping Gtk+ in
other languages (this has been done this for Perl,
Python, Java, Scheme, Haskel and other languages in
the past).
</ul>
<a name="projects">
+552 -2
View File
@@ -1,3 +1,6 @@
<table>
<tr>
<td>
<a href="http://www.ximian.com">Ximian</a> announced the
launch of the Mono project, an effort to create an Open Source
implementation of the .NET Development Framework.
@@ -5,7 +8,7 @@
Mono includes: <a href="c-sharp.html">a compiler</a> for the
C# language, a <a href="runtime.html">runtime</a> for the
Common Language Infrastructure and a set of <a
href="class-library.html">class libraries</a>
href="class-library.html">class libraries</a>.
You can read our <a href="rationale.html">rationale</a> for
this project. If you have questions about the project, please
@@ -22,37 +25,555 @@
You can contact the team at: <a
href="mailto:[email protected]">[email protected]</a>
</td>
<td>
<table border=1 bgcolor>
<tr>
</tr>
<tr>
<td>
<b><a href="c-sharp.html">Compiler</a></b>
</td>
<td>
Self hosting on .NET.<br>
Classes need work to run on Mono.
</td>
</tr>
<tr>
<td>
<b>JIT</b>
</td>
<td>
Linux/x86 working.
</td>
</tr>
<tr>
<td>
<b>Interpreter</b>
</td>
<td>
Linux/PPC working<br>
In progress: StrongARM, SPARC.
</td>
</tr>
<tr>
<td>
<b><a href="class-status.html">Classes</a></b>
</td>
<td>
Corlib for self hosting mostly done
</td>
</tr>
</table>
</td>
</tr>
</table>
** Feb 11, 2002
We would like to welcome all the new developers that have
joined the project in the last couple of days. The classes
are rapidly moving.
An explanation of the relationship between <a
href="http://mail.gnome.org/archives/gnome-hackers/2002-February/msg00031.html">GNOME
and Mono</a>.
Nick is still leading our test suite platform. I can not
stress how important it is to have a good regression test suite
for our platform, as buggy class libraries are what are
stopping the compiler from running completely on Linux.
We are of course psyched to see Mono run on
non-Linux systems. Work is moving on native code generation
for StrongARM, PowerPC, and SPARC as well as porting Mono to
other systems.
There are a couple of debates on the Mono list on implementing
a set of web server classes for <a
href="http://lists.ximian.com/archives/public/mono-list/2002-February/002911.html">enabling
ASP.NET</a> on Mono.
Paolo also <a
href="http://lists.ximian.com/archives/public/mono-list/2002-February/002944.html">
posted a list of pending tasks</a> to enable the compiler to run on Linux
** Feb 10, 2002
Mike Kestner has posted an <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2002-February/000024.html">Update
on his Gtk#</a> activities.
** Feb 4, 2002
Adam has done <a
href="http://lists.ximian.com/archives/public/mono-list/2002-February/002808.html">Qt
bindings</a> for .NET. Adam is cool.
** Jan 29, 2002
Dan Lewis has contributed a major missing set of classes to
Mono: <a
href="http://lists.ximian.com/archives/public/mono-list/2002-January/002745.html">
System.Text.RegularExpressions</a>.
This is a fully .NET compatible implementation of the .NET regular expressions,
fully Unicode aware. This contribution is very appreciated, as implementing this
was not entirely trivial (supporting Unicode, plus a regex engine which is a super
set of the Perl regex engine).
** Jan 28, 2002
The Mono contributors have relicensed the Class Libraries under
the terms of the
<a href="http://www.opensource.org/licenses/mit-license.html">MIT X11</a> license.
This license is an Open Source license, and is used by other projects
(most notably, the XFree86 project).
The runtime (JIT, metadata library, interpreter) remains under
the LGPL and the C# compiler remains under the GPL.
Our <a
href="http://www.ximian.com/about_us/press_center/press_releases/mono_partners.html">Press
Release</a>
Press coverage: <a
href="http://news.com.com/2100-1001-823734.html">CNet</a>, <a
href="http://www.wired.com/news/technology/0,1282,50037-2,00.html">Wired</a>,
<a href="http://www.infoworld.com/articles/hn/xml/02/01/28/020128hnopennet.xml">InfoWorld</a>,
<a href="http://www.newsforge.com/article.pl?sid=02/01/27/2232231">NewsForge</a>.
** Jan 23, 2002
New mailing list: <a href="mailto:[email protected]">[email protected]</a>.
This mailing list will receive automatically the patches that are submitted
to the Mono CVS to any of its modules.
This allows anyone who wants to participate in the peer-review of the
code submitted to CVS to receive patches on e-mail. It should also
expose to everyone the changes that are being done by the team every day.
** Jan 21, 2002
Dick has got a simple web server running with Mono (`MIS: Mono
Internet Server') that is mostly used to test our IO layer, a
<a href="http://primates.ximian.com/~miguel/dick-mis-server.png">screenshot</a>
Paolo and Dietmar are busy making our runtime self sufficient on
non-Windows platforms.
C# compiler front: A lot of focus in the past weeks after
the C# became self hosting has been in making the compiler a useful
tool for development: improve error handling, provide better error
reports, fixing all known bugs, and finally profiling of the compiler
has begun.
** Jan 8, 2002
Our compiler has been self-supporting since January 3rd. In
the meantime, we have been busy working on making it run on
Linux. Today Paolo got more work done on Reflection.Emit and
the compiler compiled `console.cs' (a sample Mono program) on
Linux.
** Jan 4, 2002
Dietmar landed the Unicode support patch. Class libraries and
runtimes are now fully Unicode aware. The details are <a href=
"http://lists.ximian.com/archives/public/mono-list/2002-January/002409.html">
here</a>
Last minute breaking news: Paolo got our compiler in Linux to
compile fib.cs, patches are comming tomorrow once we have
ChangeLog entries.
** Jan 4, 2002
Mike Kestner posted an update on Gtk# <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2002-January/000021.html"><i>New
year, new direction</i></a>.
Gtk# will be our foundation on which we will be implementing
System.Windows.Forms.
** Jan 3, 2002
Mono C# compiler becomes self-sufficient. We can now continue
development of the compiler with itself.
Work on the class libraries is still underway for having a full
self hosting system. We hope to achieve our goal of self-hosting
on Linux before the end of the month.
Join the fun by downloading either tonight's <a
href="snapshots">snapshot</a> or getting your sources from our
<a href="anoncvs.html">Anonymous CVS server</a>.
** Dec 28, 2001
After a lot of work, the C# compiler can compile itself.
There are still errors in the generated image, but they are
being fixed quickly.
We will soon have the first non-Microsoft C# implementation!
** Dec 18, 2001
JIT: More work on our IO abstraction layer (Dick).
JIT: exception handling for unmanaged code (Dietmar)
System.Reflection: Support for PropertyInfo and
PropertyBuilder as well as the various queries for MethodBase.
C#: Pre-processor; Rewrite of MemberLookup which fixed many of
the outstanding issues. More bug fixing allows it to compile
more programs.
** Dec 14, 2001
Dietmar has improved the register allocation and now Mono performs
two to three times as fast as it did yesterday. Amazing.
The compiler keeps moving along, explicit interface
implementation is there.
** Dec 11, 2001
The JIT engine can now run all the compiler regression tests as
well as assorted other programs, many more opcodes added
recently. Currently the JIT engine uses a very simplistic register
allocator (just enough to allow us to focus on feature completeness)
and that will be the next major task to improve performance and
reduce spills and reloads.
On the C# compiler front: language features are now pretty
much complete. The big missing tasks are unsafe code support,
visibility, explicit interface implementation plus static flow
analysis. There are many small bugs that need to be addressed.
You can get your copy of the <a href="snapshots">latest Mono</a>
More work is also required on fixing the foundation class
libraries, it is easy to find spots now since Nick got the
`make test' going.
** Dec 1, 2001
AnonCVS access to Mono is here (updated every hour). Thanks
to <a href="http://www.hispalinux.es">HispaLinux</a> and Jesus
Climent for helping to set this up.
** Nov 30, 2001
All tests from the mono runtime work with the JIT engine now
(Dietmar).
Recursive enumeration definition in the C# compiler are
working now (Ravi).
More work on the Web classes (Gaurav).
** Nov 28, 2001
JIT land: Paolo got GDB support into the JIT engine while
Dietmar added exceptions support to it.
The C# compiler supports all array initializations now, and the
switch statement as well as fixing many existing bugs. Many
new more tests.
Nick keeps working on improving our class library test suite.
Dick has almost completed the Mono IO layer.
** Nov 16, 2001
<blockquote>
Mike Kestner has posted an <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2001-November/000015.html">update</a>
on Gtk# development.
</blockquote>
** Nov 14, 2001
<blockquote>
Paolo today got the Mono C# compiler running <a
href="http://lists.ximian.com/archives/public/mono-list/2001-November/001941.html">on
Linux</a>. It compiles a sample program and then the sample
program is executed.
Mutator unary operators (++ and --) in the compiler are fully
functional, they used to only work on variables, and now they
are complete.
To sum things up: The Mono C# compiler is written in C# and
uses the .NET classes to get its work done. To make this work
on Linux work has to happen in various fronts:
<ul>
* The C# compiler is being worked on and can compile
many programs now (our test suite at this point is
made up of 40 tests).
* The class libraries need to be mature enough to support
the compiler, particularly System.Reflection.Emit (which is
what Paolo has been working on lately).
The compiler currently requires 103 classes from the
.NET runtime (you can get the list by running: <b>monodis --typeref mcs.exe</b>
* The interpreter should be mature enough to run the actual
compiler byte codes and the corlib bytecodes.
</ul>
At the same time, Dietmar is working on the JIT engine which will
replace our interpreter in production.
</blockquote>
** Nov 12, 2001
<blockquote>
Dietmar got value types working on the JIT engine. Sean has
got assembly loading in the runtime (required for NUnit).
More progress on enumerations and attributes from Ravi.
Nick keeps working on improving our class libraries.
</blockquote>
** Nov 8, 2001
<blockquote>
Enumerations, array access and attributes for the C# compiler are into the CVS now.
Full array support is not complete, but moving along.
</blockquote>
** Nov 5, 2001
<blockquote>
Dietmar's new set of patches to the JIT have 20 out of 33
tests running now.
</blockquote>
** Nov 4, 2001
<blockquote>
Mike Kestner, main Gtk# contributor has posted a very interesting <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2001-November/000013.html">
update</a> on his work on Gtk#.
Ravi commited the initial support for Attributes in the
compiler.
Many HTML Controls from Leen checked into CVS.
Paolo checked in his new System.Reflection and
System.Reflection.Emit implementations. He has been working
steadily on this huge task for a few weeks now. This is the
foundation for the Mono C# compiler, and hence a very
important piece of the puzzle.
</blockquote>
** Nov 3, 2001
<blockquote>
Many clean ups have been going into the class library by Nick Drochak.
Mega patch from Dietmar: he commited the flow analysis code
for the JITer.
A lot of work has been going into the WebControls by Gaurav (4
new controls plus improved and bug fixed base classes).
</blockquote>
** Nov 1, 2001
<blockquote>
Ravi commited the caller-side method selection of methods with
variable length arguments. Now he depends on Miguel finishing
the array handling support.
</blockquote>
** Oct 27, 2001
<blockquote>
Lots of classes for System.Web from Gaurav were commited this
morning.
Some large recent developments:
The Decimal implementation from Martin Weindel has been
partially integrated (we need to put the internalcalls in
place now and compile and link the decimal code).
Derek Holden commited recently the IntegerFormatter code into
the CVS, so we got a pretty comprehensive integer formatting
engine that we can finally use all over the place.
Compiler got support for lock as well as assorted bug fixes.
Ravi is still working on array support (and then we can
optimize foreach for the array case).
Dietmar is busy working on flow analysis on the JITer, the
previous mechanism of generating the forest was wrong. Paolo
has been a busy bee reworking the System.Reflection.Emit
support code, and we should have some pretty nice stuff next
week. Dick on the other hand is still working on the
WaitOne/WaitAll emulation code. WaitAll is like select on
steroids: it can wait for different kinds of objects: files,
mutexes, events and a couple of others.
Mike Kestner is busy working on Gtk# which is now using the
.defs files to quickly wrap the API.
</blockquote>
** Oct 18, 2001
<blockquote>
Reworking expressions to support cleanly indexers and
properties. <a href="http://www.nat.org/evolution.php3">11
days</a> until Evolution 1.0 ships.
Ximian users around the world <!--a
href="http://www.bez.it/IMAGES/nora.jpg"-->rejoice<!--/a--> with
recent C# compiler progress.
</blockquote>
** Oct 17, 2001
<blockquote>
Delegate support has been checked into the compiler
(definition and invocation); break/continue implemented.
</blockquote>
** Oct 15, 2001
<blockquote>
JIT engine supports many of the object constructs now (object
creation, vtable setup, interface table setup).
The C# compiler now has almost full property support (only
missing bit are pre-post increment/decrement operations),
delegates are now created (still missing delegate invocation).
try/catch/finally is also supported in the compiler now.
System.Decimal implementation is in, as well as many crypto
classes.
</blockquote>
** Oct 5, 2001
<blockquote>
Sergey has released his first version of the <b>ilasm</b>
assembler written in C#. You can get it from his web page:
<a
href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>.
The plan is to integrate ildasm into the Mono CVS soon. This
component should in theory also be reusable for SharpDevelop
eventually.
</blockquote>
** Oct 4, 2001
<blockquote>
Our System.Reflection.Emit implementation created its first
executable today. This means that a very simple .NET program
that was compiled on Windows was able to generate a .NET program
while running on Linux using the Mono runtime.
The various piece of the puzzle are starting to get together:
the compiler can compile simple programs now and we are
basically focusing on completeness now.
</blockquote>
** Sep 28, 2001
<blockquote>
<a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
Develop 0.80</a> was released today.
</blockquote>
** Sep 26, 2001
<blockquote>
More progress: more opcodes are working (Paolo); The compiler
runs up to a point in Mint (Paolo); operator overloading works
(both unary and binary) all over the place (Miguel); Completed decimal
type conversions (Miguel); New build system in place based on
Ant (Sean and Sergey); Refactored and documented the
internals of the JIT engine (Dietmar); StatementExpressions
handled correctly (Miguel).
</blockquote>
** Sep 21, 2001
<blockquote>
A couple of news-worthy items: Dick got the initial thread
support into mint; Paolo implemented many new opcodes; Dietmar
got long operations and mul/div working on the JITer; Ravi rewrote
the Method selector for expressions to be conformant; Miguel
got i++ working. All in tonight's snapshot
</blockquote>
** Sep 19, 2001
<blockquote>
Paolo has written a section on <a href="porting.html">Porting
Mono</a> to othre architectures.
</blockquote>
** Sep 18, 2001
<blockquote>
<A a href="download.html#sep-18">Mono 0.7</a> has been
released (runtime engine, class libraries
and C# compiler). Check the <a href="archive/mono-0.7">Mono
0.7 announcement</a> for details
</blockquote>
** Sep 17, 2001
<blockquote>
Mike Kestner's Gtk# (Gtk-sharp) was checked into the CVS
repository. Gtk# can run a simple hello world application.
The binding is nice, as it maps Gtk+ signals to delegates in
C#. You can see the Gtk# Hello World program <a href="src/HelloWorld.cs">here</a>
Gtk-sharp should be available on the next snapshot set.
</blockquote>
** Sep 10, 2001
<blockquote>
Dietmar checked in his CIL tree/forest regeneration and most
importantly, the x86 instruction selector burg grammar.
</blockquote>
** Sep 5, 2001
<blockquote>
The MCS compiler <b>can compile the sample Hello World</b>
application and generate a Windows/CIL executable that runs!
This executable runs with the Mono Interpreter of course (see
August 28)
</blockquote>
** Sep 4, 2001
<blockquote>
Dietmar checked into CVS the `monoburg' architecture
independent instruction selector for the JIT engine.
</blockquote>
** Aug 28, 2001
<blockquote>
<b>.NET Hello World is working under Mono!</b> The latest snapshots
will let you run it.
@@ -60,60 +581,78 @@
performs 66 subroutine calls and loads 12 classes from the corlib.dll
Good work Mono team!
</blockquote>
** Aug 23, 2001
<blockquote>
Lloyd Dupont has announced his OpenGL bindings for C#, they
are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
</blockquote>
** Aug 22, 2001
<blockquote>
New version of the Mono Runtime, Compiler and Classes has been
<a
href="download.html#august-22">released.</a> Check the <a
href="archive/mono-0.6">0.6 announcement</a>.
</blockquote>
** Aug 20, 2001
<blockquote>
A new <a href="contributing.html#compile-service">Compilation
service</a> has been made available by Derek to allow people
without access to the <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">.NET SDK</a>
</blockquote>
** Aug 3, 2001
<blockquote>
Daily snapshots of mcs and mono are now available, they will
run every night at 10pm Boston time.
</blockquote>
** Jul 29, 2001
<blockquote>
Mono Runtime 0.5 has been <a
href="download.html#july-29">released.</a> Check the <a
href="archive/mono-0.5">release notes</a>
</blockquote>
** Jul 25, 2001
<blockquote>
The slides for <A href="Presentations/O-Reilly">my
presentation</a> at <a href="http://www.oreilly.com">O'Reilly
Open Source Software Convention</a>
</blockquote>
** Jul 22, 2001
<blockquote>
Another release of the class libraries is out, check the <a
href="archive/mcs-22">MCS 22-July Release Notes</a>. You can
get the new class libraries from <a
href="download.html#july-22">here</a>
</blockquote>
** Jul 19, 2001
<blockquote>
Another release of the class libraries is out, check the <a
href="archive/mcs-19">MCS 19-July Release Notes</a>. You can
get the new class libraries from <a
href="download.html#july-19">here</a>
</blockquote>
** Jul 17, 2001
<blockquote>
Another release of the class libraries is out, check the <a
href="archive/mcs-17">MCS 17-July Release Notes</a>. You can
get the new class libraries from <a
@@ -124,31 +663,42 @@
Got Sean's new <a href="class-status/index.html">Class
Status</a> web pages up. These are a lot better than mine, and
we are now keeping better track of contributors.
</blockquote>
** Jul 15, 2001
<blockquote>
Another release of Mono is out, check the <a
href="archive/mono-0.4">Mono 0.4 Release Notes</a>. Get it <a
href="download.html#july-15">here</a>.
</blockquote>
** Jul 14, 2001
<blockquote>
A <a
href="http://mail.ximian.com/archives/public/mono-list/2001-July/000399.html">new
href="http://lists.ximian.com/archives/public/mono-list/2001-July/000399.html">new
release</a> of the
runtime, compiler and classes has been made. Get it <a href="download.html#july-14">here</a>
</blockquote>
** Jul 12, 2001
<blockquote>
I keep getting questions about my opinion on Passport, even when
Mono has <b>nothing</b> to do with it. I finally <a
href="passport.html">wrote something.</a>
</blockquote>
** Jul 9, 2001
<blockquote>
Project launched.
</blockquote>
** O'Reilly
<blockquote>
Brian posted a story on <a
href="http://www.oreillynet.com/dotnet">O'Reilly Network .NET</a>
</blockquote>
+8 -1
View File
@@ -1,5 +1,12 @@
* Updates
<b>Sep 20, 2001:</b> Microsoft has just announced some changes
to passport that are rather interesting. This document
reflects the Passport system without taking into account the
new changes.
Read about it <a href="http://www.microsoft.com/presspass/features/2001/sep01/09-20passport.asp">here</a>.
For an analysis of security problems with passport, check <a
href="http://avirubin.com/passport.html">http://avirubin.com/passport.html</a>.
The bottom line is that you should not put any sensitive
@@ -249,7 +256,7 @@
A few people have said: `Mono will allow Passport to be
available for Linux and that is bad'. This is plain
missinformation.
misinformation.
Currently, you can obtain Passport for Linux from Microsoft
itself and deploy it today on your Web server. Mono does not
+384
View File
@@ -0,0 +1,384 @@
Microsoft.Win32.Registry
Microsoft.Win32.RegistryHive
Microsoft.Win32.RegistryKey
System.__ComObject
System.Activator
System.ArgIterator
System.AssemblyLoadEventHandler
System.AsyncCallback
System.CrossAppDomainDelegate
System.DBNull
System.Diagnostics.SymbolStore.SymDocumentType
System.Diagnostics.SymbolStore.SymLanguageType
System.Diagnostics.SymbolStore.SymLanguageVendor
System.EventHandler
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.RegionInfo
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.EndOfStreamException
System.IO.IsolatedStorage.IsolatedStorage
System.IO.IsolatedStorage.IsolatedStorageException
System.IO.IsolatedStorage.IsolatedStorageFile
System.IO.PathTooLongException
System.Reflection.Emit.MethodRental
System.Reflection.MemberFilter
System.Reflection.Missing
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Reflection.StrongNameKeyPair
System.Reflection.TargetException
System.Reflection.TypeFilter
System.ResolveEventHandler
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.AssemblyRegistrationFlags
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.ComInterfaceType
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.Expando.IExpando
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.GCHandle
System.Runtime.InteropServices.GuidAttribute
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.ICustomAdapter
System.Runtime.InteropServices.ICustomFactory
System.Runtime.InteropServices.ICustomMarshaler
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.ImporterEventKind
System.Runtime.InteropServices.InterfaceTypeAttribute
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.IRegistrationServices
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.ITypeLibExporterNameProvider
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibImporterNotifySink
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.TypeLibExporterFlags
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.VARFLAGS
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties
System.Runtime.Remoting.Channels.BaseChannelSinkWithProperties
System.Runtime.Remoting.Channels.BaseChannelWithProperties
System.Runtime.Remoting.Channels.ChannelDataStore
System.Runtime.Remoting.Channels.ChannelServices
System.Runtime.Remoting.Channels.ClientChannelSinkStack
System.Runtime.Remoting.Channels.IChannel
System.Runtime.Remoting.Channels.IChannelDataStore
System.Runtime.Remoting.Channels.IChannelReceiver
System.Runtime.Remoting.Channels.IChannelReceiverHook
System.Runtime.Remoting.Channels.IChannelSender
System.Runtime.Remoting.Channels.IChannelSinkBase
System.Runtime.Remoting.Channels.IClientChannelSink
System.Runtime.Remoting.Channels.IClientChannelSinkProvider
System.Runtime.Remoting.Channels.IClientChannelSinkStack
System.Runtime.Remoting.Channels.IClientFormatterSink
System.Runtime.Remoting.Channels.IClientFormatterSinkProvider
System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack
System.Runtime.Remoting.Channels.IServerChannelSink
System.Runtime.Remoting.Channels.IServerChannelSinkProvider
System.Runtime.Remoting.Channels.IServerChannelSinkStack
System.Runtime.Remoting.Channels.IServerFormatterSinkProvider
System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack
System.Runtime.Remoting.Channels.ITransportHeaders
System.Runtime.Remoting.Channels.ServerChannelSinkStack
System.Runtime.Remoting.Channels.ServerProcessing
System.Runtime.Remoting.Channels.SinkProviderData
System.Runtime.Remoting.Channels.TransportHeaders
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.Lifetime.ClientSponsor
System.Runtime.Remoting.Lifetime.ILease
System.Runtime.Remoting.Lifetime.ISponsor
System.Runtime.Remoting.Lifetime.LeaseState
System.Runtime.Remoting.Lifetime.LifetimeServices
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.Header
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.LogicalCallContext
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Metadata.SoapAttribute
System.Runtime.Remoting.Metadata.SoapFieldAttribute
System.Runtime.Remoting.Metadata.SoapMethodAttribute
System.Runtime.Remoting.Metadata.SoapOption
System.Runtime.Remoting.Metadata.SoapParameterAttribute
System.Runtime.Remoting.Metadata.SoapTypeAttribute
System.Runtime.Remoting.Metadata.W3cXsd2001.ISoapXsd
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDateTime
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth
System.Runtime.Remoting.Metadata.XmlFieldOrderOption
System.Runtime.Remoting.Proxies.ProxyAttribute
System.Runtime.Remoting.Proxies.RealProxy
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.Services.EnterpriseServicesHelper
System.Runtime.Remoting.Services.ITrackingHandler
System.Runtime.Remoting.Services.TrackingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Runtime.Serialization.SerializationBinder
System.Runtime.Serialization.SerializationEntry
System.Runtime.Serialization.SerializationInfoEnumerator
System.Runtime.Serialization.SurrogateSelector
System.RuntimeArgumentHandle
System.Security.AllowPartiallyTrustedCallersAttribute
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.DSACryptoServiceProvider
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RandomNumberGenerator
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.Rijndael
System.Security.Cryptography.RijndaelManaged
System.Security.Cryptography.RNGCryptoServiceProvider
System.Security.Cryptography.RSA
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAParameters
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.SHA384Managed
System.Security.Cryptography.SHA512Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Cryptography.X509Certificates.X509Certificate
System.Security.NamedPermissionSet
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.FileDialogPermissionAccess
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.IsolatedStoragePermissionAttribute
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.SecurityPermission
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.AllMembershipCondition
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FileCodeGroup
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.PolicyStatement
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
System.Threading.IOCompletionCallback
System.Threading.ThreadStart
System.Threading.TimerCallback
System.Threading.WaitCallback
System.Threading.WaitOrTimerCallback
System.TimeZone
System.TypedReference
System.UnhandledExceptionEventHandler
System.WeakReference
+63
View File
@@ -0,0 +1,63 @@
* How to port Mono to your preferred architecture
** Endian, 64 bits and unaligned access issues
The first thing to do is to check that the metadata handling
library works on your target processor. You may use the disassembler
on simple programs and check that you get sensible results
(assuming it compiles at all on your system:-).
The main issue is to write macros that read unaligned
little endian shorts/ints/longs/float/doubles: look into
mono/metadata/endian.h. There may be other spots in the code that are
unsafe at reading/writing to some datatypes that require special
alignment, but there should be few such issues and they need to be fixed.
Once this stuff is sorted out, you should be able to run the interpreter
on simple programs that don't require delegates, P/Invoke functions etc..
** Generating assembly bytecodes for the target processor
Next, you need to provide the support code for generating assembly bytecode
for your target platform (in mono/arch/{ppc,sparc,alpha,*}).
The code should be more or less like the code in x86-codegen.h:
macros that produce fast in-line code. You don't need to provide
code to create every possible code, at first, just the code to
create trampolines and execute them is fine (you'll need to research
how the call convention works on your platform): that would be, for
example, the prolog and epilog code in a function, code to pass function
parameters and deal with the return value and so on.
libffi in gcc or the xptcall sources in mozilla may be helpful to
understand how the calling convention works, if you can't find a specification.
You'd need a processor manual to know how to create the assembly binary data.
This requires a lot of reading if you're not familiar with the assembly for your
target platform. Manuals for many processors are available as PDF files on the
web site of the respective vendors. Note that some processors require you to
flush the I-cache before executing the code: have a look at how the same thing is
done in GNU lightning.
** Getting the interpreter to work
Once you can generate binary code, you can start working on a
mono_create_trampoline() function for your platform: this function will receive
a MonoMethod that describes the arguments and the return type of a C function
and will create the code to call such function. When this function is complete
you'll be able to run more sample programs, that use System.IO, P/Invoke
functions etc.
To support delegates you'll need to write a mono_create_method_pointer()
function that creates a native function: this can be used to call the
method using the runtime's calling convention (it's basically the reverse
of mono_create_trampoline()).
** The final step: porting the JIT
At this point you'd need to have a more complete code generation header file
and you can start writing the machine description file for the monoburg
system. This code (jit/tesjit.c) will require some machine specific tweaks,
but hopefully all you have to do is create the grammar that emit assembly
code from the IR tree. Work is at the early stages also for x86 on this stuff
as we are still testing various solutions: you'd want to read about burg-like
code-generator generators (the LCC book is a good starting point).
+1 -1
View File
@@ -18,7 +18,7 @@
standard GNOME interfaces for easily creating reusable,
language independent components, controls and compound
documents. This technology is known as <a
href="http://www.ximian.com/tech/bonobo.php3">Bonobo</a>.
href="http://developer.ximian.com/tech/bonobo.html">Bonobo</a>.
Interfaces to Bonobo exist for C, Perl, Python, and
Java.
+63 -9
View File
@@ -7,6 +7,19 @@
If you want to send suggestions for links, address them to <a
mailto="[email protected]">[email protected]</a>.
** Microsoft .NET
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.
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>
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>
** IRC
Various Mono contributors get together on channel #mono on
irc.gnome.org
** Mono related sites.
Sergey's web page on Mono resources:
@@ -17,9 +30,41 @@
<a href="http://www.gotdotnet.com">Got Dot Net</a>
MonoMail:
<a href="http://sourceforge.net/projects/monomail/">http://sourceforge.net/projects/monomail/</a>
Zip classes:
Mike's port to .NET: <a
href="http://www.icsharpcode.net/OpenSource/NZipLib/default.asp">NZipLib</a>
.NET Security:
A nice overview paper on the <a
href="http://www.foundstone.com/pdf/dotnet-security-framework.pdf">.NET
security architecture</a>.
** Presentations
Currently the <a href="Presentations/O-Reilly">O'Reilly</a>
presentation on Mono is available. Arturo Espinosa has given
a talk on Mono in Mexico and made <a
href="http://construct.ximian.com/~arturo/Presentations/Mono.OLS/html">spanish
slides</a>
** ECMA Documentation.
You can get the documentation for the ECMA specs from a number of sites:
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>
</ul>
Older copies of the standard are available here:
<ul>
* <a href="http://msdn.microsoft.com/net/ecma">At MSDN</a>
* <a href="http://www.dotnetexperts.com">Dot Net Experts</a>
@@ -49,21 +94,25 @@
<ul>
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-list">mono-list:</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono-list:</a></b>
The general Mono discussion list.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list:</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list:</a></b>
Announcements of Mono developments.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-gc-list">mono-gc-list:</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-gc-list">mono-gc-list:</a></b>
Discussion on the GC system of Mono.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list:</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list:</a></b>
Track the CVS activity of Mono on this mailing list. You can get <a href="http://www.go-mono.com/snapshots">daily snapshots</a> as well.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list:</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list:</a></b>
Discussion on the documentation of Mono.
* <b><a
href="http://lists.ximian.com/mailman/listinfo/mono-patches">mono-patches:</a></b>
Track the development of Mono in realtime: receive patches to the Mono repository
by email.
* <b><a
href="http://discuss.develop.com/dotnet.html">Dotnet mailing
list at Develop.com:</a></b> The guys at Develop Mentor run
this general purpose mailing list.
@@ -97,8 +146,8 @@
version of JavaScript) in C#
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
creating online documentation you can browse for your own classes.
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
testing framework for .NET classes.
@@ -109,8 +158,13 @@
* <a href="http://www.intel.com/research/mrl/orp">ORP:</a> A research
JIT/VM/GC system from Intel.
* C# bindings for OpenGL are available here: <a
* C# bindings for OpenGL and SDL are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
</ul>
** GNOME Documentation
+60 -51
View File
@@ -1,96 +1,98 @@
* The Mono runtime
The Mono runtime will implement the JIT engine (and a byte
code interpreter for quickly porting to new systems), the
class loader, the garbage collector, threading system and
metadata access libraries.
The Mono runtime implements a JIT engine for the CIL virtual
machine (as well as a byte code interpreter, this is to
quickly port it to new systems), the class loader, the garbage
collector, threading system and metadata access libraries.
Currently the runtime has an image loader and metadata access
entry points. The runtime comes with a simple interpreter
that can execute very simple programs.
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>mint:</b> The Mono interpreter. This is an
easy-to-port runtime engine.
</ul>
Currently both runtimes are missing garbage collection. We
are planning on using the ORP GC engine and deploy it by
middle January.
* COM and XPCOM
We plan on adding support for XPCOM on Unix and COM on Microsoft
Windows later in our development process.
** Executing MSIL/CIL images
The code will load an executable and map the references to
external assemblies to our own version of the assemblies on
GNU/Linux.
Linux.
Our roadmap looks like this, this has been updated as of
<b>Jul 15, 2001</b>:
<b>Dec 18, 2001</b>:
<ul>
* Milestone 1: <b> Done</b> Fully read and parse all CIL byte-codes
* Milestone 1: <b>Done</b> Fully read and parse all CIL byte-codes
and metadata tokens (ie, a disassembler).
* Milestone 2: Complete an interpreter for CIL byte
* Milestone 2: <b>Done</b> Complete an interpreter for CIL byte
codes. This interpreter can be used temporarly to
run CIL byte code on a system where no JIT is
available.
* Milestone 3: Define an <i>lburg</i>-like instruction
selector for the JITer for Intel. Although slower
at JITing than a streaming JITer, it generates
better code. The same grammar can later be used for
the stream jitter.
* Milestone 3: <b>Done</b>Define an <i>lburg</i>-like
instruction selector for the JITer for Intel.
* Milestone 4: Implement JITer.
* Milestone 4: <b>Done</b> Implement JITer. This is where our
current efforts are focused on, the JITer currently runs
all of the code we have tested on it. The major limitation
is that our class libraries are not complete, and hence not
every application can be ran.
* Milestone 5: Port of the JITer to non IA32 systems.
</ul>
A setup similar to the Kaffe JIT engine can be used to
A setup similar to the Kaffe JIT engine will be used to
layout the code to support non-IA32 architectures. Our work
will be focused on getting a IA32 version running first.
The JIT engine should work on Linux and Win32, although you
will need to install the CygWin32 development tools to get a
Unix-like compilation environment.
Unix-like compilation environment (mostly we use GNU make in
a few of the makefiles).
** JIT Engine (<b>updated, Jul 14th, 2001</b>)
** JIT Engine (<b>updated, Dec 18th, 2001</b>)
We will be using a code-generator generator approach for our
JITer. Given the properties of CIL byte codes, we can take
full advantage of a real instruction selector for our code
generator.
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.
There are a couple of books that deal with this technique: "A
Retargetable C Compiler" and "Advanced Compiler Design and
Implementation" are good references. You can also get a
technical description of <a
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>.
Previously we had looked at a number of JIT engines and tools,
but they would not take full advantage of the CIL properties:
A few papers that describe the instruction selector:
<ul>
* <a
href="http://www.intel.com/research/mrl/orp/">ORP</a>
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/interface.pdf&pub=wiley">A code generation interface for ANSI C</a>
* <a
href="http://www.gnu.org/software/lightning/">GNU
Lightning</a>
* <a href="http://www.eecs.harvard.edu/~nr/toolkit/">NJ Machine
Toolkit</a>.).
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">Engineering efficient code generators using tree matching and dynamic programming.</a>
* VCODE.
</ul>
** Garbage Collection
We have decided to implement a generational tracing garbage
collector, which is very similar to the one being used by
.NET. For an introduction to the garbage collection system
used by Microsoft's CLR implementation, you can read this book
on <a
href="http://www.amazon.com/exec/obidos/ASIN/0471941484/o/qid=992556433/sr=2-1/ref=aps_sr_b_1_1/103-5866388-0492603">Garbage
Collection.</a>
Another consideration is to use the same interface that ORP
uses to its Garbage Collection system and reuse that GC system
instead of rolling our own, as the ORP system is pretty advanced
and is independent of the rest of ORP.
We will be using the Intel ORP GC engine as it provides a precise
garbage collector engine, similar to what is available on the
.NET environment.
Although using a conservative garbage collector like Bohem's
would work, all the type information is available at runtime,
@@ -114,6 +116,15 @@
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp</a>
</ul>
** IO and threading
The ECMA runtime and the .NET runtime assume an IO model and a
threading model that is very similar to the Win32 API.
Dick Porter has been working on the Mono abstraction layer
that allows our runtime to execute code that depend on this
behaviour.
** Useful links
Paolo Molaro found a few interesting links:
@@ -138,7 +149,5 @@
PInvoke is the mechanism we are using to wrap Unix API calls
as well as talking to system libraries.
We hvae implemented PInvoke through libffi, but we are likely
going to roll our own system as the runtime matures, specially
as the interpreter is approaching completion, and we move into
the JITer.
Initially we used libffi, but it was fairly slow, so we have
reused parts of the JIT work to create efficient PInvoke trampolines.
+24 -22
View File
@@ -4,35 +4,37 @@
Pieces of Mono that have been implemented:
<ul>
* C# compiler: The C# parser can now generate parse
trees. Next up: semantic analysis, compiler lever optimizations
and code generation.
* C# compiler: The C# compiler is mostly complete, a
few features are still missing (for a list, check the
<a href="c-sharp.html">C# compiler</a> web page.
* Metadata library: Can currently parse and load
information from .NET modules (executables and DLL
files).
* The Mono JIT engine (<b>mono</b>. The JIT engine is
the real
virtual machine that we support. It is
functionaly currently, and we are improving its speed,
and making it feature complete.
Parsing of Exception tables is missing.
* A CIL bytecode interpreter (<b>mint</b>). This
currently can be used to run most .NET programs
(modulo the fact that our class libraries are not
complete enough).
<b>mint</b> can currently run the Mono C# compiler and
the compiler generates valid code.
We use <b>mint</b> as a reference implementation of
the runtime environment and to quickly support
non-Intel platforms.
* Metadata library: Can currently parse
and load information from .NET modules (executables
and DLL files).
* Disassembler: Can disassemble .NET modules. Still
lacking exception handling as well as useful debugging
tools (hex dumping, token dumping).
* Class Libraries: You can check the current status in the
<a href="class-status.html">Class Status page</a>
<a href="class-status.html">Class Status page</a>.
</ul>
Tasks on the critical path:
<ul>
* Bytecode interpreter: (Paolo is working on this).
* Simple JIT: Not implemented yet (Miguel is
researching the code-generator generator)
* Garbage collection engine (Dick is working on this, his contact is <a
href="mailto:[email protected]">[email protected]</a>
</ul>
If you want to work on any task here, please mail <a
href="mailto:[email protected]">[email protected]</a>
+27 -2
View File
@@ -1,4 +1,12 @@
* Testing
* Testing
Testing is an important part of the Mono project: every one of its
three major components has a test suite tailored for its needs. This
is very helpful, because in the course of developing the software it
is very common to introduce bugs in existing code. A test suite
helps us fix the bugs as soon as they are introduced.
** Class Library Tests
All classes in Mono libraries should have comprehensive unit test
suites to go with them. Unit testing is a software engineering
@@ -17,5 +25,22 @@
be written to demonstrate the bug and its fix. Then, if
you ever reintroduce the bug, you will know immediately. For
more info, read <a
href="http://nunit.sourceforge.net/doc/testinfected/testing.html">
href="http://junit.sourceforge.net/doc/testinfected/testing.htm">
JUnit Test Infected: Programmers Love Writing Tests</a>.
** Getting Started
We welcome all contributions to the Class Libary Test Suite.
There is information to help you get started in CVS at
mcs/class/doc/NUnitGuidelines. Once you have written your test, please
post it to <a href="resources.html#mailing">mono-list</a>.
Someone will make sure to add the file or apply the patch as
appropriate. If you plan to be an on-going contributor and
would like to get cvs account, email <a href="mailto:[email protected]">miguel</a>.
Normally, after you send a couple of well-written new files
and/or patches to the list, you will be given cvs access.
+4
View File
@@ -3,15 +3,19 @@
0,Mono,rationale.html,rationale.src
1,Runtime,runtime.html,runtime.src
1,Classes,class-library.html,class-library.src
1,Gtk#,http://gtk-sharp.sourceforge.net
2,Class Status,class-status.html,class-status.src
1,C# Compiler,c-sharp.html,c-sharp.src
1,Status,status.html,status.src
0,Download,download.html,download.src
1,CVS access,ccvs.html,ccvs.src
1,AnonCVS access,anoncvs.html,anoncvs.src
0,Contributing,contributing.html,contributing.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Test Suite,testing.html,testing.src
1,Tools,tools.html,tools.src
1,Porting,porting.html,porting.src
0,Resources,resources.html,resources.src
1,Ideas,ideas.html,ideas.src
1,Passport,passport.html,passport.src
+9 -3
View File
@@ -1,7 +1,12 @@
# Until we are ready:
# ../class-library \
SOURCES= \
../anoncvs \
../contributing \
../class-library \
../class-status \
../class-library \
../classlib-doc \
../contact \
../c-sharp \
../ccvs \
@@ -18,6 +23,7 @@ SOURCES= \
../runtime \
../status \
../testing \
../porting \
../tools
all:
@@ -34,8 +40,8 @@ clean:
done;
push:
scp *.html [email protected]:/web/cvsmodules/mono
scp *.html [email protected]:/home/groups/m/mo/mononet/htdocs
scp -P 2200 *.html [email protected]:/web/cvsmodules/mono
echo scp *.html [email protected]:/home/groups/m/mo/mononet/htdocs
push2:
scp *.html primates:public_html/xxx
+27 -25
View File
@@ -44,30 +44,32 @@ while (<COMMANDS>) {
chop;
my @command = split /,/;
$n = $ARGV[2] . "/" . $command[2];
open OUTPUT, ">" . $n || die "Can not create $n";
my $content = "";
open INPUT, $command[3] || die "Can not open $command[3]";
while (<INPUT>) {
$content .= $_;
}
close INPUT;
my $line;
my $temp;
my $tit;
my $title;
$tit = $command[1];
foreach $line (@template) {
$temp = $line;
$title = "$tit / Mono";
$temp =~ s/#TITLE#/$title/;
$temp =~ s/#CONTENT#/$content/;
$temp =~ s/#MENU#/$menu/;
print OUTPUT $temp;
}
if ($command[2] =~ /^http:/){
} else {
$n = $ARGV[2] . "/" . $command[2];
open OUTPUT, ">" . $n || die "Can not create $n";
my $content = "";
open INPUT, $command[3] || die "Can not open $command[3]";
while (<INPUT>) {
$content .= $_;
}
close INPUT;
my $line;
my $temp;
my $tit;
my $title;
$tit = $command[1];
foreach $line (@template) {
$temp = $line;
$title = "$tit / Mono";
$temp =~ s/#TITLE#/$title/;
$temp =~ s/#CONTENT#/$content/;
$temp =~ s/#MENU#/$menu/;
print OUTPUT $temp;
}
}
close OUTPUT;
}
+54
View File
@@ -0,0 +1,54 @@
Exception implementation (jit):
===============================
Stack unwinding:
================
We record the code address (start_address, size) of all methods. That way it is
possible to map an instruction pointer (IP) to the method information needed
for unwinding the stack:
void handle_exception ((struct sigcontext *ctx, gpointer obj)
{
info = mono_jit_info_table_find (mono_jit_info_table, ctx->ip);
if (info) { // we are inside managed code
if (ch = find_catch_handler ())
execute_catch_handler (ch, ctx, obj);
execute_all_finally_handler ();
// restore register, including IP and Frame pointer
restore_caller_saved_registers (ji, ctx);
// continue unwinding
handle_exception (ctx, obj);
} else {
// not implemented
}
}
Code generation:
================
leave: is simply translated into a branch to the target. If the leave
instruction is inside a finally block (but not inside another handler)
we call the finally handler before we branch to the target.
finally/endfinally: is translated into subroutine ending with a "return"
statement. The subroutine does not save EBP/ESP, because we need access to the
local variables of the enclosing method. We have to use a "call"
instruction to execute such finally handlers. This makes it possible to
execute them inside the stack unwinding code.
throw: we first save all regs into a sigcontext struct (we pass the
exception object in register ECX), and then call the stack unwinding
code.
catch handler: receives the exception object in ECX. They store that
object into a local variable, so that rethrow can access the object.
+47
View File
@@ -0,0 +1,47 @@
How to use the debug support in the jit.
----------------------------------------
You need to run mono inside gdb. The following command line swicthes
are available:
--stabs
--debug methodName
--stabs will create an assemblyname-stabs.s file for each assembly the
CLR program uses. Note that to properly display source code lines,
you need to disassemble the CLR executables with monodis before running
mono. Each IL assembly file needs to have the name <assemblyname>.il.
--debug methodName will insert a breakpoin at the beginning of
methodName's code, so that control is trasnfered to the debugger as soon
as it is entered. You may use this switch multiple times.
So, suppose you use the --debug switch, or hit a segfault inside a
jitted method. In a shell you need to compile the stab information
created with the --stabs option with the assembler:
as assemblyname-stabs.s -o assemblyname-stabs.o
Now, inside gdb, you can load the debug information with:
add-symbol-file assemblyname-stabs.o 0
And at this point the debugger should be able to print a correct
backtrace, you should be able to inspect method parameters and local
variables, disassemble methods and step through the code.
Note that apparently you can't unload a symbol file from gdb, so you
need to restart it if you restart the program to debug.
Name mangling.
-------------
Currently CLR methods are exposed as C functions, so, if they are not
static, their first argument will be called 'this'.
Method names are mangled in the following way: a long name is created
concatting namespace, class name and method name. '.' chars are changed
to underscaore '_'. To allow for overloading, the address of the
MonoMethod from wich the method was created is appended to the end of
the name (i's also handy since you can use the address in gdb to inspect
the MonoMethod).
+50 -19
View File
@@ -11,12 +11,7 @@ We are designing a JIT compiler, so we have to consider two things:
The current approach is to keep the JITer as simple as possible, and thus as
fast as possible. The generated code quality will suffer from that.
We do not map local variables to registers at the moment, and this makes the
whole JIT much easier, for example we do not need to identify basic block
boundaries or the lifetime of local variables, or select the variables which
are worth to put into a register.
Register allocation is thus done only inside the trees of the forest, and each
Register allocation is first done inside the trees of the forest, and each
tree can use the full set of registers. We simply split a tree if we get out of
registers, for example the following tree:
@@ -55,6 +50,9 @@ stored in the MonoMethod structure. For each method we create a trampoline
function. When called, this function does the JIT compilation and replaces the
trampoline with the compiled method address.
We should consider using the CACAO approach, they do not use a trampoline at
all.
Register Allocation:
====================
@@ -63,7 +61,6 @@ allocation. For example this is needed by call, which return the value always
in EAX on x86. The current implementation works without such system, due to
special forest generation.
X86 Register Allocation:
========================
@@ -91,24 +88,43 @@ be be a bit inefficient.
The more performant solution is to allocate two 32bit registers for each 64bit
value. We add a new non terminal to the monoburg grammar called long_reg. The
register allocation routines takes care of this non terminal and allocates two
registers for them.
32 bit registers for them.
Forest generation:
==================
It seems that trees generated from the CIL language have some special
properties, i.e. the trees already represents basic blocks, so there can be no
branches to the inside of such a tree. All results of those trees are stored to
memory.
Consider the following code:
One idea was to drive the code generation directly from the CIL code, without
generating an intermediate forest of trees. I think this is not possible,
because you always have to gather some attributes and attach it to the
instruction (for example the register allocation info). So I thing generating a
tree is the right thing and that also works perfectly with monoburg. IMO we
would not get any benefit from trying to feed monoburg directly with CIL
instructions.
OPCODE: STACK LOCALS
LDLOC.0 (5) [5,0]
LDC.1 (5,1) [5,0]
STLOC.0 (5) [1,0]
STLOC.1 () [1,5]
The current forest generation generates:
STLOC.0(LDC.1)
STLOC.1(LDLOC.0)
Which is wrong, since it stores the wrong value (1 instead of 5). Instead we
must generate something like:
STLOC.TMP(LDLOC.0)
STLOC.0(LDC.1)
STLOC.1(LDLOC.TMP)
Where STLOC.TMP saves the value into a new temporary variable.
We also need a similar solution for basic block boundaries when the stack depth
is not zero. We can simply save those values to new temporary values. Consider
the following basic block with one instruction:
LDLOC.1
This should generate a tree like:
STLOC.TMP(LDLOC.1) Please notice that an intelligent register allocator can
still allocate registers for those new variables.
DAG handling:
=============
@@ -149,3 +165,18 @@ either to local variable, to the stack or to array elements. Value types with a
size smaller than sizeof(int) are handled like any other basic type. For other
value types we load the base address and emit block copies to store them.
Possible Optimisations:
=======================
Miguel said ORP does some optimisation on IL level, for example moving array
bounds checking out of loops:
for (i = 0; i < N; i++) { check_range (a, i); a [i] = X; }
id transformed to:
if (in_range (a, 0, N)) { for (i = 0; i < N; i++) a[i] = X; }
else for (i = 0; i < N; i++) { check_range (a, i); a [i] = X; }
The "else" is only to keep original semantics (exception handling).
+58
View File
@@ -0,0 +1,58 @@
Object and VTable layout
========================
The first pointer inside an Object points to a MonoClass structure. Objects
also contains a MonoThreadsSync structure which is used by the mono Thread
implementation.
typedef struct {
MonoClass *class;
MonoThreadsSync synchronisation;
/* object specific data goes here */
} MonoObject;
The MonoClass contains all Class infos, the VTable and a pointer to static
class data.
typedef struct {
/* various class infos */
MonoClass *parent;
const char *name;
const char *name_space;
...
/* interface offset table */
gint *interface_offsets;
gpointer data; /* a pointer to static data */
/* the variable sized vtable is included at the end */
gpointer vtable [vtable_size];
} MonoClass;
Calling virtual functions:
==========================
Each MonoMethod (if virtual) has an associated slot, which is an index into the
VTable. So we can use the following code to compute the address of a virtual
function:
method_addr = object->class->vtable [method->slot];
Calling interface methods:
==========================
Each interface class is associated with an unique ID. The following code
computes the address of an interface function:
offset_into_vtable = object->class->interface_offsets [interface_id];
method_addr = object->class->vtable [offset_into_vtable + method->slot];
+2
View File
@@ -0,0 +1,2 @@
Makefile
Makefile.in
+4
View File
@@ -0,0 +1,4 @@
man_MANS = mcs.1
EXTRA_DIST = $(man_MANS)
Executable
+118
View File
@@ -0,0 +1,118 @@
.TH mcs 1 "6 January 2001"
.SH NAME
mcs \- Mono Compiler Suite.
.SH SYNOPSIS
.B mcs
[option] [source-files]
.SH DESCRIPTION
mcs is the Mono C# compiler, an implementation of the ECMA-334
specification. You can pass one or more options to drive the
compiler, and a set of source files. Extra options or arguments can
be provided in a response file. Response files are referenced by
prepending the @ symbol to the response file name.
.PP
C# source files must end with a ".cs" extension. Compilation of C#
source code requires all the files that make up a library, module or
executable to be provided on the command line. There is no support
for partial compilation. To achieve the benefits of partial
compilation, you should compile programs into their own assemblies,
and later reference them with the "-r" flag.
.PP
The Mono C# compiler generates images (.exe files) that contain CIL
byte code that can be executed by any system that implements a Common
Language Infrastructure virtual machine such as the Microsoft .NET
runtime engine on Windows or the Mono runtime engine on Unix systems.
Executables are not bound to a specific CPU or operating system.
.PP
.SH OPTIONS
.TP
.I \-\-about
Displays information about the Mono C# compiler
.TP
.I \-\-checked
Sets the default compilation mode to `checked'. This makes all
the math operations checked (the default is unchecked).
.TP
.I \-\-define SYMBOL
Defines a symbol named SYMBOL. This can be tested in the source code
by the pre-processor.
.TP
.I \-\-fatal
This is used for debugging the compiler. This makes the error emission
generate an exception that can be caught by a debugger.
.TP
.I \-\-stacktrace
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
.TP
.I \-L PATH
Directs the compiler to look for libraries in the specified path.
Multiple paths can be provided.
.TP
.I \-\-nostdlib
Use this flag if you want to compile the core library. This makes the
compiler load its internal types from the assembly being compiled.
.TP
.I \-\-nowarn XXX
Makes the compiler ignore warning XXX.
.TP
.I \-o FNAME
Names the output file to be generated.
.TP
.I \-\-optimize
Turns on optimizations in the compiler.
.TP
.I \-\-parse
Used for benchmarking. The compiler will only parse its input files.
.TP
.I \-\-probe X L
Probes for the code to generate an error named `X' in line `L'. This
is only used by the test suite.
.TP
.I \-\-target KIND
Used to specify the desired target. The possible values are: exe,
winexe, library and module.
.TP
.I \-\-timestamp
Another debugging flag. Used to display the times at various points
in the compilation process.
.TP
.I \-\-unsafe
Enables compilation of unsafe code.
.TP
.I \-\-werror
Treat warnings as errors.
.TP
.I \-\-wlevel LEVEL
Sets the warning level. 0 is the lowest warning level, and 4 is the
highest. The default is 2.
.TP
.I \-r ASSEMBLY
Reference the named assembly. Use this to use classes from the named
assembly in your program.
.TP
.I \-v
Debugging. Turns on verbose yacc parsing.
.PP
.SH AUTHORS
The Mono C# Compiler was written by Miguel de Icaza and Ravi Pratap at
Ximian.
.PP
.SH LICENSE
The Mono Compiler Suite is released under the terms of the GNU GPL.
Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian.
.PP
.SH BUGS
To report bugs in the compiler, you can use `bug-buddy', or you can
file bug reports in our bug tracking system:
http://bugzilla.ximian.com.
.SH MAILING LIST
The Mono Mailing List is available at: [email protected]
.SH MORE INFORMATION
The Mono C# compiler is developed by Ximian, Inc
(http://www.ximian.com) (http://www.ximian.com) and is based on the
ECMA C# language standard available here:
http://www.ecma.ch/ecma1/STAND/ecma-334.htm
+1
View File
@@ -2,6 +2,7 @@ C# Compiler:
Miguel de Icaza ([email protected])
Class Libraries:
Gaurav Vaish <[email protected]>
Jeff Stedfast ([email protected])
Joe Shaw ([email protected])
Miguel de Icaza ([email protected])
+8
View File
@@ -0,0 +1,8 @@
2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
and running tests
2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in
+3 -1
View File
@@ -18,4 +18,6 @@ Layout:
tests/
Sample tests
Thanks a lot to Sergey Chaban for his help during the development of
the C# compiler.
+1
View File
@@ -0,0 +1 @@
lib
+36
View File
@@ -3,6 +3,28 @@ The class libraries are grouped together in the assemblies they belong.
Each directory here represents an assembly, and inside each directory we
divide the code based on the namespace they implement.
In addition, each assembly directory contains a Test directory that holds the
NUnit tests for that assembly.
The nant build file for an assembly creates two versions of the dll for that
assembly. One version is a "full" dll. The full dll contains (almost) all
of the classes, regardless of how complete the classes are. The name of this
dll is the normal name you would expect, like "corlib.dll" or "System.dll".
These full dll's are created in the /mcs/class/lib directory.
The other dll which is built is a "restricted" dll. The restricted dll
omits incomplete classes that would prevent the NUnit testrunner from actually
running the tests. These restricted dll's are created in the Test directory
of their respective assembly and named with a "_res" suffix. So, for example,
the NUnit-testable dll for corlib is /mcs/class/corlib/Test/corlib_res.dll.
The final dll which is built is the one which houses the actual NUnit tests.
This dll is built from all of the classes in the Test directory and below, and
is named with a "_test" suffix. So, for example, the NUnit tests for corlib
are in /mcs/class/corlib/Test/corlib_test.dll. This dll is also linked with
the restricted dll found in the same directory.
* Missing implementation bits
If you implement a class and you are missing implementation bits,
@@ -32,3 +54,17 @@ divide the code based on the namespace they implement.
this consistent). If you are modifying someone else's code, try
to keep the coding style similar.
Please use code that looks like this:
bool Method (int argument_1, int argument_2)
{
if (argument_1 == argument_2)
throw new Exception (Locale.GetText ("They are equal!");
if (argument_1 < argument_2) {
if (argument_1 * 3 > 4)
return true;
else
return false;
}
}
+9
View File
@@ -0,0 +1,9 @@
2002-02-10 Christopher Podurgiel <[email protected]>
* Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
* Updated all Enums, Interfaces, and Delegates in System.Data
2002-02-11 Christopher Podurgiel <[email protected]>
* DataColumnChangeEventArgs.cs : Added
* DataColumnChangeEventHandler.cs : Added
-42
View File
@@ -1,42 +0,0 @@
2001-08-30 Christopher Podurgiel <[email protected]>
*AcceptRejectRule.cs: Added
*CommandBehavior.cs: Added
*CommandType.cs: Added
*ConnectionState.cs: Added
*DataColumnChangeEventHandler.cs: Added
*DataRowAction.cs: Added
*DataRowChangeEventHandler.cs: Added
*DataRowState.cs: Added
*DataRowVersion.cs: Added
*DataViewRowState.cs: Added
*DbType.cs: Added
*FillErrorEventHandler.cs: Added
*IColumnMapping.cs: Added
*IColumnMappingCollection.cs: Added
*IDataAdapter.cs: Added
*IDataParameter.cs: Added
*IDataParameterCollection.cs: Added
*IDataReader.cs: Added
*IDataRecord.cs: Added
*IDbCommand.cs: Added
*IDbConnection.cs: Added
*IDbDataAdapter.cs: Added
*IDbTransaction.cs: Added
*IsolationLevel.cs: Added
*ITableMapping.cs: Added
*ITableMappingCollection.cs: Added
*MappingType.cs: Added
*MergeFailedEventHandler.cs: Added
*MissingMappingAction.cs: Added
*MissingSchemaAction.cs: Added
*ParameterDirection.cs: Added
*PropertyAttributes.cs: Added
*Rule.cs: Added
*SchemaType.cs: Added
*SqlDbType.cs: Added
*StateChangeEventHandler.cs: Added
*StatementType.cs: Added
*UpdateRowSource.cs: Added
*UpdateStatus.cs: Added
*XmlReadMode.cs: Added
*XmlWriteMode.cs: Added
-41
View File
@@ -1,41 +0,0 @@
//
// System.Data.DbType.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Gets the data type of a field, a property, or a Parameter object of a .NET data provider.
/// </summary>
public enum DbType
{
AnsiString,
Binary,
Boolean,
Byte,
Currency,
Date,
DateTime,
Decimal,
Double,
Guid,
Int16,
Int32,
Int64,
Object,
SByte,
Single,
String,
Time,
UInt16,
UInt32,
UInt64,
VarNumeric
}
}
-126
View File
@@ -1,126 +0,0 @@
//
// System.Data.IDataRecord.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Provides access to the column values within each row for a DataReader, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDataRecord
{
bool GetBoolean(int i)
{
}
byte GetByte(int i)
{
}
long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferOffset, int length)
{
}
char GetChar(int i)
{
}
long GetChars(int i, long fieldOffset, char[] buffer, int bufferOffset, int length)
{
}
IDataReader GetDate(int i)
{
}
string GetDataTypeName(int i)
{
}
DateTime GetDateTime(int i)
{
}
decimal GetDecimal(int i)
{
}
double GetDouble(int i)
{
}
Type GetFieldType(int i)
{
}
float GetFloat(int i)
{
}
Guid GetGuid(int i)
{
}
short GetInt16(int i)
{
}
int GetInt32(int i)
{
}
long GetInt64(int i)
{
}
string GetName(int i)
{
}
int GetOrdinal(string name)
{
}
string GetString(int i)
{
}
object GetValue(int i)
{
}
int GetValues(object[] values)
{
}
bool IsDBNull(int i)
{
}
int FieldCount
{
get
{
}
}
object this[string name]
{
get
{
}
}
object this[int i]
{
get
{
}
}
}
}
-113
View File
@@ -1,113 +0,0 @@
//
// System.Data.IDBCommand.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDBCommand
{
void Cancel()
{
}
IDataParameter CreateParameter()
{
}
int ExecuteNonQuery()
{
}
IDataReader ExecuteReader()
{
}
IDataReader ExecuteReader(CommandBehavior behavior)
{
}
object ExecuteScalar()
{
}
void Prepare()
{
}
string CommandText
{
get
{
}
set
{
}
}
int CommandTimeout
{
get
{
}
set
{
}
}
CommandTpe CommandType
{
get
{
}
set
{
}
}
IDbConnection Connection
{
get
{
}
set
{
}
}
IDataParameterCollection Parameters
{
get
{
}
}
IDbTransaction Transaction
{
get
{
}
set
{
}
}
UpdateRowSource UpdatedRowSource
{
get
{
}
set
{
}
}
}
}
-74
View File
@@ -1,74 +0,0 @@
//
// System.Data.IDBConnection.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Represents an open connection to a data source, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDBConnection
{
IDbTransaction BeginTransaction()
{
}
IDbTransaction BeginTransaction(IsolationLevel il)
{
}
void ChangeDatabase(string databaseName)
{
}
void Close()
{
}
IDbCommand CreateCommand()
{
}
void Open()
{
}
string ConnectionString
{
get
{
}
set
{
}
}
int ConnectionTimeout
{
get
{
}
}
string Database
{
get
{
}
}
ConnectionState State
{
get
{
}
}
}
}
-42
View File
@@ -1,42 +0,0 @@
//
// System.Data.SqlDbType.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Specifies SQL Server data types.
/// </summary>
public enum SqlDbType
{
BigInt,
Binary,
Bit,
Char,
DateTime,
Decimal,
Float,
Image,
Int,
Money,
NChar,
NText,
NVarChar,
Real,
SmallDateTime,
SmallInt,
SmallMoney,
Text,
Timestamp,
TinyInt,
UniqueIdentifier,
VarBinary,
VarChar,
Variant
}
}
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for System.Data.dll -->
<project name="System.Data" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/System.Data.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
</references>
</csc>
</target>
<target name="clean">
<delete file="../lib/System.Data.dll" failonerror="false"/>
</target>
</project>
@@ -13,10 +13,11 @@ namespace System.Data
/// <summary>
/// Determines the action that occurs when the AcceptChanges or RejectChanges method is invoked on a DataTable with a ForeignKeyConstraint.
/// </summary>
[Serializable]
public enum AcceptRejectRule
{
Cascade,
None
Cascade = 1,
None = 0
}
}
@@ -14,13 +14,17 @@ namespace System.Data
/// Specifies a description of the results and the affect on the database of the query command.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
/// </summary>
[Flags]
[Serializable]
public enum CommandBehavior
{
CloseConnection,
KeyInfo,
SchemaOnly,
SequentialAccess,
SingleResult,
SingleRow
Default = 0,
SingleResult = 1,
SchemaOnly = 2,
KeyInfo = 4,
SingleRow = 8,
SequentialAccess = 16,
CloseConnection = 32
}
}
@@ -7,15 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies how a command string is interpreted.
/// </summary>
[Serializable]
public enum CommandType
{
StoredProcedure,
TableDirect,
Text
Text = 1,
StoredProcedure = 4,
TableDirect = 512
}
}
}
@@ -7,20 +7,24 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Returns the current state of the connection to a data source.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
/// </summary>
[Flags]
[Serializable]
public enum ConnectionState
{
Broken,
Closed,
Connecting,
Executing,
Fetching,
Open
Closed = 0,
Open = 1,
Connecting = 2,
Executing = 4,
Fetching = 8,
Broken = 16
}
}
@@ -0,0 +1,80 @@
//
// System.Data.DataColumnChangeEventArgs.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
using System;
namespace System.Data
{
/// <summary>
/// Provides data for the ColumnChanging event.
/// </summary>
public class DataColumnChangeEventArgs : EventArgs
{
private DataColumn _column = null;
private DataRow _row = null;
private object _proposedValue = null;
/// <summary>
/// Initializes a new instance of the DataColumnChangeEventArgs class.
/// </summary>
/// <param name="row"></param>
/// <param name="column"></param>
/// <param name="value"></param>
public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value)
{
_column = column;
_row = row;
_proposedValue = value;
}
/// <summary>
/// Gets the DataColumn with a changing value.
/// </summary>
public DataColumn Column
{
get
{
return _column;
}
}
/// <summary>
/// Gets or sets the proposed new value for the column.
/// </summary>
public object ProposedValue
{
get
{
return _proposedValue;
}
set
{
_proposedValue = value;
}
}
/// <summary>
/// Gets the DataRow of the column with a changing value.
/// </summary>
public DataRow Row
{
get
{
return _row;
}
}
}
}
@@ -12,6 +12,7 @@ namespace System.Data
/// <summary>
/// Represents the method that will handle the the ColumnChanging event.
/// </summary>
[Serializable]
public delegate void DataColumnChangeEventHandler(object sender, DataColumnChangeEventArgs e);
}
@@ -0,0 +1,413 @@
//
// System.Data.DataColumnCollection.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
using System;
using System.Collections;
using System.ComponentModel;
namespace System.Data
{
/// <summary>
/// Represents a collection of DataColumn objects for a DataTable.
/// </summary>
public class DataColumnCollection : InternalDataCollectionBase
{
protected ArrayList list = null;
// The defaultNameIndex is used to create a default name for a column if one wasn't given.
private int defaultNameIndex;
//table should be the DataTable this DataColumnCollection belongs to.
private DataTable parentTable = null;
// Internal Constructor. This Class can only be created from other classes in this assembly.
internal DataColumnCollection(DataTable table):base()
{
list = new ArrayList();
defaultNameIndex = 1;
parentTable = table;
}
/// <summary>
/// Gets the DataColumn from the collection at the specified index.
/// </summary>
public virtual DataColumn this[int index]
{
get
{
return (DataColumn)list[index];
}
}
/// <summary>
/// Gets the DataColumn from the collection with the specified name.
/// </summary>
public virtual DataColumn this[string name]
{
get
{
foreach (DataColumn column in list)
{
if (column.ColumnName == name)
{
return column;
}
}
return null;
}
}
/// <summary>
/// Gets a list of the DataColumnCollection items.
/// </summary>
protected override ArrayList List
{
get
{
return list;
}
}
/// <summary>
/// Creates and adds a DataColumn object to the DataColumnCollection.
/// </summary>
/// <returns></returns>
public virtual DataColumn Add()
{
DataColumn column = new DataColumn("Column" + defaultNameIndex.ToString());
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Add, this);
list.Add(column);
OnCollectionChanged(e);
defaultNameIndex++;
return column;
}
/// <summary>
/// Creates and adds the specified DataColumn object to the DataColumnCollection.
/// </summary>
/// <param name="column">The DataColumn to add.</param>
public void Add(DataColumn column)
{
if(Contains(column.ColumnName))
{
throw new DuplicateNameException("A column named " + column.ColumnName + " already belongs to this DataTable.");
}
else
{
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Add, this);
list.Add(column);
OnCollectionChanged(e);
return;
}
}
/// <summary>
/// Creates and adds a DataColumn object with the specified name to the DataColumnCollection.
/// </summary>
/// <param name="columnName">The name of the column.</param>
/// <returns>The newly created DataColumn.</returns>
public virtual DataColumn Add(string columnName)
{
if (columnName == null || columnName == String.Empty)
{
columnName = "Column" + defaultNameIndex.ToString();
defaultNameIndex++;
}
if(Contains(columnName))
{
throw new DuplicateNameException("A column named " + columnName + " already belongs to this DataTable.");
}
else
{
DataColumn column = new DataColumn(columnName);
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Add, this);
list.Add(column);
OnCollectionChanged(e);
return column;
}
}
/// <summary>
/// Creates and adds a DataColumn object with the specified name and type to the DataColumnCollection.
/// </summary>
/// <param name="columnName">The ColumnName to use when cretaing the column.</param>
/// <param name="type">The DataType of the new column.</param>
/// <returns>The newly created DataColumn.</returns>
public virtual DataColumn Add(string columnName, Type type)
{
if (columnName == null || columnName == "")
{
columnName = "Column" + defaultNameIndex.ToString();
defaultNameIndex++;
}
if(Contains(columnName))
{
throw new DuplicateNameException("A column named " + columnName + " already belongs to this DataTable.");
}
else
{
DataColumn column = new DataColumn(columnName, type);
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Add, this);
list.Add(column);
OnCollectionChanged(e);
return column;
}
}
/// <summary>
/// Creates and adds a DataColumn object with the specified name, type, and expression to the DataColumnCollection.
/// </summary>
/// <param name="columnName">The name to use when creating the column.</param>
/// <param name="type">The DataType of the new column.</param>
/// <param name="expression">The expression to assign to the Expression property.</param>
/// <returns>The newly created DataColumn.</returns>
public virtual DataColumn Add(string columnName, Type type, string expression)
{
if (columnName == null || columnName == "")
{
columnName = "Column" + defaultNameIndex.ToString();
defaultNameIndex++;
}
if(Contains(columnName))
{
throw new DuplicateNameException("A column named " + columnName + " already belongs to this DataTable.");
}
else
{
DataColumn column = new DataColumn(columnName, type, expression);
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Add, this);
list.Add(column);
OnCollectionChanged(e);
return column;
}
}
/// <summary>
/// Copies the elements of the specified DataColumn array to the end of the collection.
/// </summary>
/// <param name="columns">The array of DataColumn objects to add to the collection.</param>
public void AddRange(DataColumn[] columns)
{
foreach (DataColumn column in columns)
{
Add(column);
}
return;
}
/// <summary>
/// Checks whether a given column can be removed from the collection.
/// </summary>
/// <param name="column">A DataColumn in the collection.</param>
/// <returns>true if the column can be removed; otherwise, false.</returns>
public bool CanRemove(DataColumn column)
{
//Check that the column does not have a null reference.
if (column == null)
{
return false;
}
//Check that the column is part of this collection.
if (!Contains(column.ColumnName))
{
return false;
}
//Check if this column is part of a relationship. (this could probably be written better)
foreach (DataRelation childRelation in parentTable.ChildRelations)
{
foreach (DataColumn childColumn in childRelation.ChildColumns)
{
if (childColumn == column)
{
return false;
}
}
foreach (DataColumn parentColumn in childRelation.ParentColumns)
{
if (parentColumn == column)
{
return false;
}
}
}
//Check if this column is part of a relationship. (this could probably be written better)
foreach (DataRelation parentRelation in parentTable.ParentRelations)
{
foreach (DataColumn childColumn in parentRelation.ChildColumns)
{
if (childColumn == column)
{
return false;
}
}
foreach (DataColumn parentColumn in parentRelation.ParentColumns)
{
if (parentColumn == column)
{
return false;
}
}
}
//Check if another column's expression depends on this column.
foreach (DataColumn dataColumn in list)
{
if (dataColumn.Expression.ToString().IndexOf(column.ColumnName) > 0)
{
return false;
}
}
return true;
}
/// <summary>
/// Clears the collection of any columns.
/// </summary>
public void Clear()
{
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this);
list.Clear();
OnCollectionChanged(e);
return;
}
/// <summary>
/// Checks whether the collection contains a column with the specified name.
/// </summary>
/// <param name="name">The ColumnName of the column to check for.</param>
/// <returns>true if a column exists with this name; otherwise, false.</returns>
public bool Contains(string name)
{
return (IndexOf(name) != -1);
}
/// <summary>
/// Gets the index of a column specified by name.
/// </summary>
/// <param name="column">The name of the column to return.</param>
/// <returns>The index of the column specified by column if it is found; otherwise, -1.</returns>
public virtual int IndexOf(DataColumn column)
{
return list.IndexOf(column);
}
/// <summary>
/// Gets the index of the column with the given name (the name is not case sensitive).
/// </summary>
/// <param name="columnName">The name of the column to find.</param>
/// <returns>The zero-based index of the column with the specified name, or -1 if the column doesn't exist in the collection.</returns>
public int IndexOf(string columnName)
{
DataColumn column = this[columnName];
if (column != null)
{
return IndexOf(column);
}
else
{
return -1;
}
}
/// <summary>
/// Raises the OnCollectionChanged event.
/// </summary>
/// <param name="ccevent">A CollectionChangeEventArgs that contains the event data.</param>
protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent)
{
if (CollectionChanged != null)
{
// Invokes the delegate.
CollectionChanged(this, ccevent);
}
}
/// <summary>
/// Raises the OnCollectionChanging event.
/// </summary>
/// <param name="ccevent">A CollectionChangeEventArgs that contains the event data.</param>
protected internal virtual void OnCollectionChanging(CollectionChangeEventArgs ccevent)
{
if (CollectionChanged != null)
{
// Invokes the delegate.
CollectionChanged(this, ccevent);
}
}
/// <summary>
/// Removes the specified DataColumn object from the collection.
/// </summary>
/// <param name="column">The DataColumn to remove.</param>
public void Remove(DataColumn column)
{
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Remove, this);
list.Remove(column);
OnCollectionChanged(e);
return;
}
/// <summary>
/// Removes the DataColumn object with the specified name from the collection.
/// </summary>
/// <param name="name">The name of the column to remove.</param>
public void Remove(string name)
{
DataColumn column = this[name];
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Remove, this);
list.Remove(column);
OnCollectionChanged(e);
return;
}
/// <summary>
/// Removes the column at the specified index from the collection.
/// </summary>
/// <param name="index">The index of the column to remove.</param>
public void RemoveAt(int index)
{
CollectionChangeEventArgs e = new CollectionChangeEventArgs(CollectionChangeAction.Remove, this);
list.RemoveAt(index);
OnCollectionChanged(e);
return;
}
/// <summary>
/// Occurs when the columns collection changes, either by adding or removing a column.
/// </summary>
public event CollectionChangeEventHandler CollectionChanged;
}
}
@@ -13,14 +13,16 @@ namespace System.Data
/// Describes the action taken on a DataRow.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
/// </summary>
[Flags]
[Serializable]
public enum DataRowAction
{
Add,
Change,
Commit,
Delete,
Nothing,
Rollback
Nothing = 0,
Delete = 1,
Change = 2,
Rollback = 4,
Commit = 8,
Add = 16
}
}
@@ -12,6 +12,7 @@ namespace System.Data
/// <summary>
/// Represents the method that will handle the RowChanging, RowChanged, RowDeleting, and RowDeleted events of a DataTable.
/// </summary>
[Serializable]
public delegate void DataRowChangeEventHandler(object sender, DataRowChangeEventArgs e);
}
@@ -12,13 +12,15 @@ namespace System.Data
/// <summary>
/// Gets the state of a DataRow object.
/// </summary>
[Flags]
[Serializable]
public enum DataRowState
{
Added,
Deleted,
Detached,
Modified,
Unchanged
Detached = 1,
Unchanged = 2,
Added = 4,
Deleted = 8,
Modified = 16
}
}
@@ -12,11 +12,12 @@ namespace System.Data
/// <summary>
/// Describes the version of a DataRow.
/// </summary>
[Serializable]
public enum DataRowVersion
{
Current,
Default,
Original,
Proposed
Original = 256,
Current = 512,
Proposed = 1024,
Default = 1536
}
}
@@ -13,15 +13,17 @@ namespace System.Data
/// Describes the version of data in a DataRow.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
/// </summary>
[Flags]
[Serializable]
public enum DataViewRowState
{
Added,
CurrentRows,
Deleted,
ModifiedCurrent,
ModifiedOriginal,
None,
OriginalRows,
Unchanged
None = 0,
Unchanged = 2,
Added = 4,
Deleted = 8,
ModifiedCurrent = 16,
CurrentRows = 22,
ModifiedOriginal = 32,
OriginalRows = 42
}
}
@@ -0,0 +1,44 @@
//
// System.Data.DbType.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Gets the data type of a field, a property, or a Parameter object of a .NET data provider.
/// </summary>
[Serializable]
public enum DbType
{
AnsiString = 0,
Binary = 1,
Byte = 2,
Boolean = 3,
Currency = 4,
Date = 5,
DateTime = 6,
Decimal = 7,
Double = 8,
Guid = 9,
Int16 = 10,
Int32 = 11,
Int64 = 12,
Object = 13,
SByte = 14,
Single = 15,
String = 16,
Time = 17,
UInt16 = 18,
UInt32 = 19,
UInt64 = 20,
VarNumeric = 21,
AnsiStringFixedLength = 22,
StringFixedLength = 23
}
}
@@ -12,6 +12,7 @@ namespace System.Data
/// <summary>
/// Represents the method that will handle the FillError event.
/// </summary>
[Serializable]
public delegate void FillErrorEventHandler(object sender, FillErrorEventArgs e);
}
@@ -14,24 +14,22 @@ namespace System.Data
/// </summary>
public interface IColumnMapping
{
/// <summary>
/// Gets or sets the name of the column within the DataSet to map to.
/// </summary>
string DataSetColumn
{
get
{
}
set
{
}
get;
set;
}
/// <summary>
/// Gets or sets the name of the column within the data source to map from. The name is case-sensitive.
/// </summary>
string SourceColumn
{
get
{
}
set
{
}
get;
set;
}
}
}
@@ -7,6 +7,8 @@
// (C) Chris Podurgiel
//
using System.Collections;
namespace System.Data
{
/// <summary>
@@ -14,34 +16,20 @@ namespace System.Data
/// </summary>
public interface IColumnMappingCollection : IList, ICollection, IEnumerable
{
IColumnMapping Add(string sourceColumnName, string dataSetColumnName)
{
}
IColumnMapping Add(string sourceColumnName, string dataSetColumnName);
bool Contains(string sourceColumnName)
{
}
bool Contains(string sourceColumnName);
IColumnMapping GetByDataSetColumn(string dataSetColumnName)
{
}
IColumnMapping GetByDataSetColumn(string dataSetColumnName);
int IndexOf(string sourceColumnName)
{
}
int IndexOf(string sourceColumnName);
void RemoveAt(string sourceColumnName)
{
}
void RemoveAt(string sourceColumnName);
object this[string index]
{
get
{
}
set
{
}
get;
set;
}
}
}
}
@@ -14,49 +14,19 @@ namespace System.Data
/// </summary>
public interface IDataAdapter
{
int Fill(DataSet dataSet)
{
}
int Fill(DataSet dataSet);
DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
{
}
DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType);
IDataParameter[] GetFillParameters();
int Update(DataSet dataSet)
{
}
int Update(DataSet dataSet);
MissingMappingAction MissingMappingAction
{
get
{
}
set
{
}
}
MissingMappingAction MissingMappingAction{get;set;}
MissingSchemaAction MissingSchemaAction
{
get
{
}
set
{
}
}
MissingSchemaAction MissingSchemaAction{get;set;}
ITableMappingCollection TableMappings
{
get
{
}
set
{
}
}
ITableMappingCollection TableMappings{get;}
}
@@ -15,62 +15,19 @@ namespace System.Data
public interface IDataParameter
{
DbType DbType
{
get
{
}
set
{
}
}
DbType DbType{get;set;}
ParameterDirection Direction
{
get
{
}
set
{
}
}
ParameterDirection Direction{get;set;}
bool IsNullable
{
get
{
}
}
bool IsNullable{get;}
string ParameterName
{
get
{
}
set
{
}
}
string ParameterName{get;set;}
string SourceColumn
{
get
{
}
set
{
}
}
string SourceColumn{get;set;}
DataRowVersion SourceVersion
{
get
{
}
set
{
}
}
DataRowVersion SourceVersion {get;set;}
object Value {get;set;}
}
@@ -7,6 +7,8 @@
// (C) Chris Podurgiel
//
using System.Collections;
namespace System.Data
{
/// <summary>
@@ -14,26 +16,12 @@ namespace System.Data
/// </summary>
public interface IDataParameterCollection : IList, ICollection, IEnumerable
{
void RemoveAt(string parameterName)
{
}
void RemoveAt(string parameterName);
int IndexOf(string parameterName)
{
}
int IndexOf(string parameterName);
bool Contains(string parameterName)
{
}
bool Contains(string parameterName);
object this[string parameterName]
{
get
{
}
set
{
}
}
object this[string parameterName]{get; set;}
}
}
}
@@ -12,44 +12,21 @@ namespace System.Data
/// <summary>
/// Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDataReader : IDataRecord
public interface IDataReader : IDisposable, IDataRecord
{
void Close()
{
}
void Close();
DataTable GetSchemaTable()
{
}
DataTable GetSchemaTable();
bool NextResult()
{
}
bool NextResult();
bool Read()
{
}
bool Read();
int Depth
{
get
{
}
}
int Depth{get;}
bool IsClosed
{
get
{
}
}
bool IsClosed{get;}
int RecordsAffected
{
get
{
}
}
int RecordsAffected{get;}
}
@@ -0,0 +1,67 @@
//
// System.Data.IDataRecord.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Provides access to the column values within each row for a DataReader, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDataRecord
{
bool GetBoolean(int i);
byte GetByte(int i);
long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferOffset, int length);
char GetChar(int i);
long GetChars(int i, long fieldOffset, char[] buffer, int bufferOffset, int length);
IDataReader GetData(int i);
string GetDataTypeName(int i);
DateTime GetDateTime(int i);
decimal GetDecimal(int i);
double GetDouble(int i);
Type GetFieldType(int i);
float GetFloat(int i);
Guid GetGuid(int i);
short GetInt16(int i);
int GetInt32(int i);
long GetInt64(int i);
string GetName(int i);
int GetOrdinal(string name);
string GetString(int i);
object GetValue(int i);
int GetValues(object[] values);
bool IsDBNull(int i);
int FieldCount{get;}
object this[string name]{get;}
object this[int i]{get;}
}
}
@@ -0,0 +1,46 @@
//
// System.Data.IDBCommand.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDBCommand
{
void Cancel();
IDbDataParameter CreateParameter();
int ExecuteNonQuery();
IDataReader ExecuteReader();
IDataReader ExecuteReader(CommandBehavior behavior);
object ExecuteScalar();
void Prepare();
string CommandText{get; set;}
int CommandTimeout{get; set;}
CommandType CommandType{get; set;}
IDbConnection Connection{get; set;}
IDataParameterCollection Parameters{get;}
IDbTransaction Transaction{get; set;}
UpdateRowSource UpdatedRowSource{get; set;}
}
}
@@ -0,0 +1,39 @@
//
// System.Data.IDBConnection.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Represents an open connection to a data source, and is implemented by .NET data providers that access relational databases.
/// </summary>
public interface IDBConnection
{
IDbTransaction BeginTransaction();
IDbTransaction BeginTransaction(IsolationLevel il);
void ChangeDatabase(string databaseName);
void Close();
IDbCommand CreateCommand();
void Open();
string ConnectionString{get; set;}
int ConnectionTimeout{get;}
string Database{get;}
ConnectionState State{get;}
}
}
@@ -14,48 +14,12 @@ namespace System.Data
/// </summary>
public interface IDbDataAdapter : IDataAdapter
{
IDbCommand DeleteCommand{get; set;}
IDbCommand DeleteCommand
{
get
{
}
set
{
}
}
IDbCommand InsertCommand{get; set;}
IDbCommand InsertCommand
{
get
{
}
set
{
}
}
IDbCommand SelectCommand
{
get
{
}
set
{
}
}
IDbCommand UpdateCommand
{
get
{
}
set
{
}
}
IDbCommand SelectCommand{get; set;}
IDbCommand UpdateCommand{get; set;}
}
}
@@ -0,0 +1,23 @@
//
// System.Data.IDbDataParameter.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
namespace System.Data
{
/// <summary>
/// Used by the Visual Basic .NET Data Designers to represent a parameter to a Command object, and optionally, its mapping to DataSet columns.
/// </summary>
public interface IDbDataParameter
{
byte Precision{get; set;}
byte Scale{get; set;}
int Size{get; set;}
}
}
@@ -14,20 +14,12 @@ namespace System.Data
/// </summary>
public interface IDbTransaction
{
void Commit();
void Commit()
{
}
void Rollback()
{
}
void Rollback();
IsolationLevel IsolationLevel
{
get
{
}
}
IDbConnection Connection{get;}
IsolationLevel IsolationLevel{get;}
}
}
@@ -14,32 +14,10 @@ namespace System.Data
/// </summary>
public interface ITableMapping
{
IColumnMappingCollection ColumnMappings
{
get
{
}
}
IColumnMappingCollection ColumnMappings{get;}
string DataSetTable
{
get
{
}
set
{
}
}
string DataSetTable{get; set;}
string SourceTable
{
get
{
}
set
{
}
}
string SourceTable{get; set;}
}
}
@@ -7,6 +7,8 @@
// (C) Chris Podurgiel
//
using System.Collections;
namespace System.Data
{
/// <summary>
@@ -14,34 +16,16 @@ namespace System.Data
/// </summary>
public interface ITableMappingCollection : IList, ICollection, IEnumerable
{
ITableMapping Add(string sourceTableName, string dataSetTableName)
{
}
ITableMapping Add(string sourceTableName, string dataSetTableName);
bool Contains(string sourceTableName)
{
}
bool Contains(string sourceTableName);
ITableMapping GetByDataSetTable(string dataSetTableName)
{
}
ITableMapping GetByDataSetTable(string dataSetTableName);
int IndexOf(string sourceTableName)
{
}
int IndexOf(string sourceTableName);
void RemoveAt(string sourceTableName)
{
}
void RemoveAt(string sourceTableName);
object this[string index]
{
get
{
}
set
{
}
}
object this[string index]{get; set;}
}
}
}
@@ -13,14 +13,15 @@ namespace System.Data
/// Specifies the transaction locking behavior for the connection.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
/// </summary>
[Flags]
[Serializable]
public enum IsolationLevel
{
Chaos,
ReadCommitted,
ReadUnCommitted,
RepeatableRead,
Serializable,
Unspecified
Unspecified = -1,
Chaos = 16,
ReadUncommitted = 256,
ReadCommitted = 4096,
RepeatableRead = 65536,
Serializable = 1048576
}
}
@@ -7,16 +7,20 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies how a DataColumn is mapped.
/// </summary>
[Serializable]
public enum MappingType
{
Attribute,
Element,
Hidden,
SimpleContent
Element = 1,
Attribute = 2,
SimpleContent = 3,
Hidden = 4
}
}
@@ -12,6 +12,7 @@ namespace System.Data
/// <summary>
/// Represents the method that will handle the MergeFailed event.
/// </summary>
[Serializable]
public delegate void MergeFailedEventHandler(object sender, MergeFailedEventArgs e);
}
@@ -7,15 +7,18 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Determines the action that occurs when a mapping is missing from a source table or a source column.
/// </summary>
[Serializable]
public enum MissingMappingAction
{
Error,
Ignore,
Passthrough
Passthrough = 1,
Ignore = 2,
Error = 3
}
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies the action to take when adding data to the DataSet and the required DataTable or DataColumn is missing.
/// </summary>
[Serializable]
public enum MissingSchemaAction
{
Add,
AddWithKey,
Error,
Ignore
Add = 1,
Ignore = 2,
Error = 3,
AddWithKey = 4
}
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies the type of a parameter within a query relative to the DataSet.
/// </summary>
[Serializable]
public enum ParameterDirection
{
Input,
InputOutput,
Output,
ReturnValue
Input = 1,
Output = 2,
InputOutput = 3,
ReturnValue = 6
}
}
@@ -7,18 +7,22 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies the attributes of a property.
/// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values
/// </summary>
[Flags]
[Serializable]
public enum PropertyAttributes
{
NotSupported,
Optional,
Read,
Required,
Write
NotSupported = 0,
Required = 1,
Optional = 2,
Read = 512,
Write = 1024
}
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Indicates the action that occurs when a ForeignKeyConstraint is enforced.
/// </summary>
[Serializable]
public enum Rule
{
Cascade,
None,
SetDefault,
SetNull
None = 0,
Cascade = 1,
SetNull = 2,
SetDefault = 3
}
}
@@ -7,14 +7,17 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies how to handle existing schema mappings when performing a FillSchema operation.
/// </summary>
[Serializable]
public enum SchemaType
{
Mapped,
Source
Source = 1,
Mapped = 2
}
}
@@ -0,0 +1,45 @@
//
// System.Data.SqlDbType.cs
//
// Author:
// Christopher Podurgiel ([email protected])
//
// (C) Chris Podurgiel
//
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies SQL Server data types.
/// </summary>
[Serializable]
public enum SqlDbType
{
BigInt = 0,
Binary = 1,
Bit = 2,
Char = 3,
DateTime = 4,
Decimal = 5,
Float = 6,
Image = 7,
Int = 8,
Money = 9,
NChar = 10,
NText = 11,
NVarChar = 12,
Real = 13,
UniqueIdentifier = 14,
SmallDateTime = 15,
SmallInt = 16,
SmallMoney = 17,
Text = 18,
Timestamp = 19,
TinyInt = 20,
VarBinary = 21,
VarChar = 22,
Variant = 23
}
}
@@ -12,6 +12,7 @@ namespace System.Data
/// <summary>
/// Represents the method that will handle the StateChange event.
/// </summary>
[Serializable]
public delegate void StateChangeEventHandler(object sender, StateChangeEventArgs e);
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies the type of SQL query to be used by the OleDbRowUpdatedEventArgs, OleDbRowUpdatingEventArgs, SqlRowUpdatedEventArgs, or SqlRowUpdatingEventArgs class.
/// </summary>
[Serializable]
public enum StatementType
{
Delete,
Insert,
Select,
Update
Select = 0,
Insert = 1,
Update = 2,
Delete = 3
}
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies how query command results are applied to the row being updated.
/// </summary>
[Serializable]
public enum UpdateRowSource
{
Both,
FirstReturnedRecord,
None,
OutputParameters
None = 0,
OutputParameters = 1,
FirstReturnedRecord = 2,
Both = 3
}
}
@@ -7,16 +7,19 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies the action to take with regard to the current and remaining rows during an Update.
/// </summary>
[Serializable]
public enum UpdateStatus
{
Continue,
ErrorsOccurred,
SkipAllRemainingRows,
SkipCurrentRow
Continue = 0,
ErrorsOccurred = 1,
SkipCurrentRow = 2,
SkipAllRemainingRows = 3
}
}
@@ -7,18 +7,21 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Specifies how to read XML data and a relational schema into a DataSet.
/// </summary>
[Serializable]
public enum XmlReadMode
{
Auto,
DiffGram,
Fragment,
IgnoreSchema,
InferSchema,
ReadSchema
Auto = 0,
ReadSchema = 1,
IgnoreSchema = 2,
InferSchema = 3,
DiffGram = 4,
Fragment = 5
}
}
@@ -7,15 +7,18 @@
// (C) Chris Podurgiel
//
namespace System.Data
using System;
namespace mono.System.Data
{
/// <summary>
/// Use the members of this enumeration when setting the WriteMode parameter of the WriteXml method.
/// </summary>
[Serializable]
public enum XmlWriteMode
{
DiffGram,
IgnoreSchema,
WriteSchema
WriteSchema = 0,
IgnoreSchema = 1,
DiffGram = 2
}
}
-4
View File
@@ -1,4 +0,0 @@
all: windows
windows:
$(csc) /target:library /out:System.Data.dll /nowarn:1595 /recurse:*.cs
View File
Whitespace-only changes.
Loaded 100 of 1648 files, more files were not shown because too many files have changed in this diff. Show more