Compare commits

..
4497 Commits
Author SHA1 Message Date
nobody 8a70bb1d0e This commit was manufactured by cvs2svn to create tag 'MCS_0_17'.
svn path=/tags/MCS_0_17/mcs/; revision=9486
2002-12-09 18:01:35 +00:00
Miguel de Icaza fe731d50f6 Flush
svn path=/trunk/mono/; revision=9485
2002-12-09 18:01:35 +00:00
Miguel de Icaza c65980d98f Flush
svn path=/trunk/mcs/; revision=9485
2002-12-09 18:01:35 +00:00
Miguel de Icaza 0e756f0dc2 Remove the touch from the Makefile
svn path=/trunk/mono/; revision=9484
2002-12-09 17:57:36 +00:00
Ville Palo 61d8042c5d 2002-12-09 Ville Palo <[email protected]>
* DataSet.cs: Little fix to WriteTable () -method
	and DoReadXmlSchema () -method.

svn path=/trunk/mcs/; revision=9483
2002-12-09 15:41:25 +00:00
Nick Drochak cf69ab1329 Add NUnit2 files.
svn path=/trunk/mcs/; revision=9482
2002-12-09 14:45:05 +00:00
Nick Drochak d8a313105c Add Nunit2 files
svn path=/trunk/mcs/; revision=9481
2002-12-09 14:42:20 +00:00
Nick Drochak 8471f6561d Add Nunit2
svn path=/trunk/mcs/; revision=9480
2002-12-09 14:39:22 +00:00
Miguel de Icaza 85d86a6e72 Fix
svn path=/trunk/mcs/; revision=9479
2002-12-09 06:40:49 +00:00
Miguel de Icaza 82206e363c Flush
svn path=/trunk/mono/; revision=9478
2002-12-09 06:01:18 +00:00
Miguel de Icaza 8e5352ea1c Flush
svn path=/trunk/mono/; revision=9477
2002-12-09 05:49:40 +00:00
Miguel de Icaza 5ac95a0f3f Remove old code that compiled SWF.dll
svn path=/trunk/mcs/; revision=9476
2002-12-09 03:54:48 +00:00
Miguel de Icaza 2095b4f9a9 A sample makefile to build this
svn path=/trunk/mcs/; revision=9475
2002-12-09 03:47:56 +00:00
Miguel de Icaza e65177ffda Update makefile with warning
svn path=/trunk/mcs/; revision=9474
2002-12-09 03:46:44 +00:00
Miguel de Icaza 99aaf5ebbc Small placeholder
svn path=/trunk/mcs/; revision=9473
2002-12-09 03:41:14 +00:00
Miguel de Icaza fcf6fc612a Add test
svn path=/trunk/mcs/; revision=9472
2002-12-09 03:40:47 +00:00
Miguel de Icaza 1778549d07 Updated for building
svn path=/trunk/mcs/; revision=9471
2002-12-09 03:39:38 +00:00
Miguel de Icaza fefe0ad995 Revert, this makes things worse
svn path=/trunk/mcs/; revision=9470
2002-12-09 03:32:05 +00:00
Miguel de Icaza d56eac54f5 Build fix
svn path=/trunk/mcs/; revision=9469
2002-12-09 03:29:28 +00:00
Miguel de Icaza 5148ddd413 update
svn path=/trunk/mono/; revision=9468
2002-12-09 03:18:23 +00:00
Miguel de Icaza cd61fde707 Add cvsignore
svn path=/trunk/mcs/; revision=9467
2002-12-09 03:17:20 +00:00
Miguel de Icaza 19dac3cfee Add
svn path=/trunk/mcs/; revision=9466
2002-12-09 03:16:57 +00:00
Miguel de Icaza 116e6d8d2d 2002-12-08 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.DoResolve): First perform lookups on using
	definitions, instead of doing that afterwards.

	Also we use a nice little hack, depending on the constructor, we
	know if we are a "composed" name or a simple name.  Hence, we
	avoid the IndexOf test, and we avoid

	* codegen.cs: Add code to assist in a bug reporter to track down
	the source of a compiler crash.

svn path=/trunk/mcs/; revision=9465
2002-12-09 03:10:33 +00:00
Miguel de Icaza cf5516e90b update readme file, put in toplevel dir
svn path=/trunk/mcs/; revision=9464
2002-12-09 03:01:19 +00:00
Jackson Harper 0af95e9d50 Removed files
svn path=/trunk/mcs/; revision=9463
2002-12-09 02:44:52 +00:00
Jackson Harper 58d0150b57 Removed compiler tests
svn path=/trunk/mcs/; revision=9462
2002-12-09 02:37:39 +00:00
Jackson Harper 89068f865f ChangeLog
svn path=/trunk/mcs/; revision=9461
2002-12-09 02:33:44 +00:00
Jackson Harper 45ea870597 Remove references to soon to be removed Tests
svn path=/trunk/mcs/; revision=9460
2002-12-09 02:32:42 +00:00
Sebastien Pouliot 818439aee2 2002-12-08 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added System.Reflection test suite.
	* corlib_linux_test.args: added System.Reflection test files.

svn path=/trunk/mcs/; revision=9459
2002-12-09 00:18:04 +00:00
Sebastien Pouliot 25d707e7cc 2002-12-08 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for AssemblyName and
	StrongNameKeyPair.
	* AssemblyNameTest.cs: New. Test suite for AssemblyName.
	* StrongNameKeyPairTest.cs: New. Test suite for StrongNameKeyPair.

svn path=/trunk/mcs/; revision=9458
2002-12-09 00:16:12 +00:00
Jonathan Pryor 31414ded0a Almost completely new design.
Instead of having a single type, a TypeDisplayer, responsible for taking in a
System.Type object and spitting out its contents to the screen, we instead
have two policies, finders and formatters, which split up the previous work.

The finders build up an internal tree of nodes for display.

The formatters format each node for output to a display device.

Doing this, I'm hoping to allow a GUI front-end to be created, which would be
impossible to do under the previous arrangement.

See the new file DESIGN for more information.

svn path=/trunk/mcs/; revision=9457
2002-12-08 23:14:33 +00:00
Daniel Morgan 4ce4d96183 2002-12-08 Daniel Morgan <[email protected]>
* list
	* makefile.gnu: added files for linux build

	* System.Data.OracleClient.build: added file
	for windows build

	* .cvsignore: added file for cvs to ignore files

	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient/ociglue.h
	* System.Data.OracleClient/ociglue.c: code clean up
	and	better error handling

svn path=/trunk/mcs/; revision=9456
2002-12-08 23:06:30 +00:00
Gonzalo Paniagua Javier 5f3aa2d0b8 Oops, now I unveiled my secret debugging tricks ;-)
svn path=/trunk/mcs/; revision=9455
2002-12-08 22:17:02 +00:00
Gonzalo Paniagua Javier 62babaf12e 2002-12-08 Gonzalo Paniagua Javier <[email protected]>
* AssemblyName.cs: little fix in FullName.

svn path=/trunk/mcs/; revision=9454
2002-12-08 21:52:24 +00:00
Sebastien Pouliot cec172518b 2002-12-07 Sebastien Pouliot <[email protected]>
* AssemblyName.cs: Added missing methods/interfaces. Fixed some
	code to match the MS Framework.
	* StrongNameKeyPair.cs: Completed the "visible" implementation.
	There must be some internal methods to allow signing with the key.

svn path=/trunk/mcs/; revision=9453
2002-12-08 20:59:17 +00:00
Jackson Harper 964afca1d3 Moved StreamWriter creation into a try block
svn path=/trunk/mcs/; revision=9452
2002-12-08 19:41:45 +00:00
Jackson Harper 383d032602 Source text is now implemented so you can pass strings of C# code to be compiled
svn path=/trunk/mcs/; revision=9451
2002-12-08 19:29:21 +00:00
Radek Doulik bb719876a5 fixed compilation
svn path=/trunk/mcs/; revision=9445
2002-12-08 14:29:27 +00:00
Martin Baulig 09036f0fae 2002-12-08 Martin Baulig <[email protected]>
* handles.c (_wapi_handle_new): Create new non-shared handles with
	an initial refcount of 1, not 0.

svn path=/trunk/mono/; revision=9442
2002-12-08 13:50:17 +00:00
Ravi Pratap M d2ddb6847f 2002-12-07 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.ApplyAttributes) : Keep track of which attribute
	types have been emitted for a given element and flag an error
	if something which does not have AllowMultiple set is used more
	than once.

	* typemanager.cs (RegisterAttributeAllowMultiple): Keep track of
	attribute types and their corresponding AllowMultiple properties

	(AreMultipleAllowed): Check the property for a given type.

	* attribute.cs (Attribute.ApplyAttributes): Register the AllowMultiple
	property in the case we have a TypeContainer.

	(Attributes.AddAttribute): Detect duplicates and just skip on
	adding them. This trivial fix catches a pretty gross error in our
	attribute emission - global attributes were being emitted twice!

	Bugzilla bug #33187 is now fixed.

svn path=/trunk/mcs/; revision=9440
2002-12-08 07:27:54 +00:00
Ravi Pratap M d22c7d62bb 2002-12-07 Ravi Pratap <[email protected]>
* cs0579.cs : Add.

svn path=/trunk/mcs/; revision=9439
2002-12-08 07:23:11 +00:00
Eduardo Garcia Cebollero dd5aa6f429 2002-12-07 Peter Williams <[email protected]>
* Directory.cs: Don't use the uninitialized pathsumm here.
	Don't try and create "" if we're using an absolute path.

svn path=/trunk/mcs/; revision=9438
2002-12-08 04:31:33 +00:00
Jackson Harper 2f54d8339f Fixed typo
svn path=/trunk/mcs/; revision=9436
2002-12-07 22:24:16 +00:00
Miguel de Icaza f021edb9b7 Update
svn path=/trunk/mcs/; revision=9435
2002-12-07 22:18:12 +00:00
Eduardo Garcia Cebollero 60157b421f 2002-12-07 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: Now the creation of a new directory works recursively
	it will make parents as needed.

svn path=/trunk/mcs/; revision=9434
2002-12-07 22:17:18 +00:00
Jackson Harper 35abea5a09 Put CSharpCodeGenerator.cs back in build
svn path=/trunk/mcs/; revision=9433
2002-12-07 22:16:41 +00:00
Jackson Harper 67546b397f Added Cscompmgd to the build
svn path=/trunk/mcs/; revision=9431
2002-12-07 20:38:00 +00:00
Jackson Harper 82326bf814 Added files
svn path=/trunk/mcs/; revision=9430
2002-12-07 20:34:02 +00:00
Jackson Harper 007a1e2db8 Added file
svn path=/trunk/mcs/; revision=9429
2002-12-07 20:31:02 +00:00
Martin Baulig 6f0ce7c4f5 2002-12-07 Martin Baulig <[email protected]>
* Timer.cs: Make it actually work; now it no longer sets your
	application on fire if you use a zero periode and Timer.Change()
	actually works.

svn path=/trunk/mcs/; revision=9426
2002-12-07 19:14:33 +00:00
Jackson Harper 5afedd00eb Moved files
svn path=/trunk/mcs/; revision=9425
2002-12-07 18:57:48 +00:00
Ville Palo a9ce78a4ae Fixed bug reported by Piers Haken
svn path=/trunk/mcs/; revision=9424
2002-12-07 18:57:27 +00:00
Jackson Harper aeb956cd94 Moving these classes to their own assembly
svn path=/trunk/mcs/; revision=9423
2002-12-07 18:52:49 +00:00
Jackson Harper 85e66b7ffc Removed Compiler classes that are being moved to their own assembly
svn path=/trunk/mcs/; revision=9422
2002-12-07 18:49:19 +00:00
Miguel de Icaza f93dbfd76f Update
svn path=/trunk/mcs/; revision=9421
2002-12-07 17:34:17 +00:00
Miguel de Icaza 729f838a52 Update
svn path=/trunk/mcs/; revision=9420
2002-12-07 17:22:45 +00:00
Dennis Hayes 8b221af2ca 2002-12-6 DennisHayes <[email protected]>
* checkin for Alexandre Pigolkine ([email protected])
	* Form.cs
	* Menu.cs
	* MenuItem.cs
	
	* Implmentation

    2002-12-6  DennisHayes <[email protected]>	

	* Control.cs
	* Form.cs
	* MonthCalendar.cs
	* Screen.cs
	* SelectionRange.cs
	* SelectionRangeConverter.cs
	* TabPage.cs
	* TextBox.cs
	* Timer.cs
	* ToolBarButton.cs
	* TrackBar.cs
	* UpDownBase.cs
	* UserControl.cs
	* tooltip.cs

svn path=/trunk/mcs/; revision=9415
2002-12-07 03:15:13 +00:00
Duncan Mak c77b63d3f5 2002-12-06 Duncan Mak <[email protected]>
* UrlAttribute.cs (GetHashCode): Implemented.

	* BaseChannelSinkWithProperties.cs (constructor): Implemented by
	chaining on to the base constructor.

	* BaseChannelObjectWithProperties.cs : Implemented the Count,
	IsFixedSize, IsReadOnly, IsSynchronized, Keys, Properties, SyncRoot,
	Values properties.

	Implemented the Contains and GetEnumerator methods.

	Removed the unnecessary TODO attribute on the constructor, and the Add
	method.


	* Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.

svn path=/trunk/mcs/; revision=9414
2002-12-07 01:43:39 +00:00
Duncan Mak 377cde9806 Add some .cvsignore files.
svn path=/trunk/mcs/; revision=9413
2002-12-07 01:12:10 +00:00
Miguel de Icaza 74179bdc9e 2002-12-06 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (pp_expr): Properly recurse here (use pp_expr
	instead of pp_and).

svn path=/trunk/mcs/; revision=9412
2002-12-07 00:10:16 +00:00
Duncan Mak 405e4c892e 2002-12-06 Duncan Mak <[email protected]>
* makefile.gnu (clean): Remove *.dbg files.

	* Makefile (clean): Remove *.dbg files.

svn path=/trunk/mcs/; revision=9411
2002-12-06 23:53:19 +00:00
Duncan Mak 11c84371af 2002-12-06 Duncan Mak <[email protected]>
* data/Makefile.am (EXTRA_DIST): Add machine.config
	(DISTCLEANFILES): Add config.

svn path=/trunk/mono/; revision=9410
2002-12-06 23:48:20 +00:00
Miguel de Icaza 5f2399e649 2002-12-06 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): I can only use the
	Concat (string, string, string) and Concat (string, string,
	string, string) if the child is actually a concatenation of
	strings.

svn path=/trunk/mcs/; revision=9409
2002-12-06 23:39:37 +00:00
Miguel de Icaza 891f7cbe00 Update
svn path=/trunk/mcs/; revision=9408
2002-12-06 23:34:39 +00:00
Gaurav Vaish 619b396112 2002-12-06 Gaurav Vaish <[email protected]>
* ListControlDataBindingHandler.cs
	                          : Initial implementation.

svn path=/trunk/mcs/; revision=9407
2002-12-06 15:00:59 +00:00
Gaurav Vaish 6410921fe4 2002-12-06 Gaurav Vaish <[email protected]>
* TODOAttribute.cs       : Added file.

svn path=/trunk/mcs/; revision=9406
2002-12-06 14:52:01 +00:00
Gaurav Vaish 97336860b1 2002-10-07 Gaurav Vaish <[email protected]>
* System.Design                    : Added directory.

svn path=/trunk/mcs/; revision=9405
2002-12-06 14:50:30 +00:00
Gaurav Vaish 154d9b1bed 2002-12-06 Gaurav Vaish <[email protected]>
* *.cs                  - Use proper namespace for MonoTODO.

svn path=/trunk/mcs/; revision=9404
2002-12-06 14:47:21 +00:00
Daniel Morgan 0421215931 2002-12-06 Daniel Morgan <[email protected]>
* Mono.Data.PostgreSqlClient/PgSqlCommand.cs: added
	public methods EscapeString() and EscapeByteArray()

	* Mono.Data.PostgreSqlClient/PostgresLibrary.cs: updated
	DllImport functions PQescapeString() and PQescapeBytea()

svn path=/trunk/mcs/; revision=9403
2002-12-06 12:34:22 +00:00
Ville Palo e5897c5f9c 2002-12-06 Ville Palo <[email protected]>
* DataSet.cs: Clean up to reading xmlschema. This looks much better
	now (work better too), but it not working correctly yet.

svn path=/trunk/mcs/; revision=9402
2002-12-06 11:04:48 +00:00
Miguel de Icaza 4bea1529ce web page updates
svn path=/trunk/mono/; revision=9401
2002-12-05 21:04:55 +00:00
Ville Palo 063c428a52 2002-12-05 Ville Palo <[email protected]>
* XmlQualifiedName.cs: Little fix to ToString () -method

svn path=/trunk/mcs/; revision=9400
2002-12-05 20:27:59 +00:00
Miguel de Icaza 38d88c75fb Update the news
svn path=/trunk/mono/; revision=9399
2002-12-05 20:14:29 +00:00
Dietmar Maurer ff42b3d2be 2002-12-05 Dietmar Maurer <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_Abort): we use SIGRTMIN
	instead of SIGUSR1, because SIGUSR1 is used by the pthread implementation
	on some systems (redhat 7.3)

svn path=/trunk/mono/; revision=9398
2002-12-05 17:37:10 +00:00
Gonzalo Paniagua Javier 983823186e 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: avoid sending chunked content for HTTP/1.1.

svn path=/trunk/mcs/; revision=9397
2002-12-05 15:48:26 +00:00
Paolo Molaro 220e1c8131 Use a #define to enable/disable the finalizer thread.
svn path=/trunk/mono/; revision=9396
2002-12-05 15:34:04 +00:00
Paolo Molaro 47ba6ec1fe Thu Dec 5 16:13:40 CET 2002 Paolo Molaro <[email protected]>
* threads.c: delete the critical section of a sync block,
	spotted and fixed by [email protected] (Thong (Tum) Nguyen).

svn path=/trunk/mono/; revision=9395
2002-12-05 15:16:06 +00:00
Daniel Morgan c581052e25 2002-12-05 Daniel Morgan <[email protected]>
* System.Data.OracleClient
	* System.Data.OracleClient/System.Data.OracleClient
	  added directory to mcs/class for the Oracle 8i
	  data provider

	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient/OracleConnection.cs
	* System.Data.OracleClient/OracleCommand.cs: added
	files for the System.Data.OracleClient.dll assembly

	* System.Data.OracleClient/ociglue.c
	* System.Data.OracleClient/ociglue.h: added
	files for thte System.Data.OracleClient.gluelib.dll
	unmanaged c shared library

	* System.Data.OracleClient/TestOracleClient.cs: test
	the OracleClient data provider for Oracle 8i database

	* ChangeLog: added file

	* README.TXT: added file

	* System.Data.OracleClient/OciGlueLib_MSVC_win32.make:
	added makefile for ociglue shared lib on Win32 platform
	and compiler Visual C++ 7.0

	* System.Data.OracleClient/OciGlueLib_BCC_win32.make:
	added makefile for ociglue shared lib on Win32 platform
	and compiler Borland C++ 5.5

	* MonoOracleClient.csproj
	* MonoOracleClient.csproj.usr
	* MonoOracleClient.sln
	* MonoOracleClient.suo: added Visual Studio 1.0
	project files to build the
	assembly System.Data.OracleClient.dll

svn path=/trunk/mcs/; revision=9394
2002-12-05 13:31:05 +00:00
Paolo Molaro 3c9d52ea31 Thu Dec 5 12:52:52 CET 2002 Paolo Molaro <[email protected]>
* pedump.c, cil-coff.h, monosn.c: add strong name cli header flag.

svn path=/trunk/mono/; revision=9393
2002-12-05 11:58:24 +00:00
Gonzalo Paniagua Javier 2bf3fa058e 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
* appdomain.[ch]: handle the assembly preload event to try loading the
	assemblies using the paths we have in the current domain.

	* assembly.[ch]: created an assembly preload hook that is called to try
	loading the assembly by other means that the ones provided here.

	* domain.c: initialize the domain search path.

	From now on, assemblies (TODO: except corlib and System) are loaded
	according to these rules when using mono_assembly_load ():

		1. It tries to load the assembly from the ApplicationBase
		of the current domain appending .dll and .exe (TODO: have to
		try loading from name/name.dll and name/name.exe).

		2. It tries the search path specified in PrivateBinPath for the
		current domain (if any).

		3. Previous behavior.

svn path=/trunk/mono/; revision=9391
2002-12-05 04:01:10 +00:00
Alejandro Sánchez Acosta 8da262249e Added System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=9389
2002-12-05 01:22:43 +00:00
Alejandro Sánchez Acosta 3f232f1a25 Added some files to System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=9388
2002-12-05 01:22:00 +00:00
Miguel de Icaza 239a93898a Small fix: 2002-12-04 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Small fix, because decimal_digits is used in a
	context where we need a 2-character lookahead.

svn path=/trunk/mcs/; revision=9387
2002-12-05 00:55:04 +00:00
Alejandro Sánchez Acosta 6191eaa6f6 list.unix updated
svn path=/trunk/mcs/; revision=9386
2002-12-05 00:49:46 +00:00
Alejandro Sánchez Acosta 73bd74f429 Added new files to System.ComponentModel.Design
svn path=/trunk/mcs/; revision=9385
2002-12-05 00:48:37 +00:00
Miguel de Icaza a8dcefd2cc Flush
svn path=/trunk/mono/; revision=9384
2002-12-04 23:23:49 +00:00
Miguel de Icaza ecf36aed6d 2002-12-04 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation): Rework so we can keep track
	of interface types all the time, and flag those which were
	implemented by parents as optional.

2002-12-03  Miguel de Icaza  <[email protected]>

	* expression.cs (Binary.ResolveOperator): Use
	String.Concat(string,string,string) or
	String.Concat(string,string,string,string) when possible.

	* typemanager: More helper methods.

svn path=/trunk/mcs/; revision=9383
2002-12-04 21:07:02 +00:00
Atsushi Eno f6ab400919 2002-12-04 Tim Haynes <[email protected]>
* class/System.XML/System.Xml/XmlElement.cs: Made more refined
        checks on attributeNode to fix 32262.

svn path=/trunk/mcs/; revision=9382
2002-12-04 18:58:48 +00:00
Ville Palo b3d77665ad 2002-12-04 Ville Palo <[email protected]>
* DataRow.cs:
	* DataRowCollection.cs: Added some event handlins stuff.
	* DataSet.cs: Some fixes.
	* DataTable.cs: Added event handlers.

svn path=/trunk/mcs/; revision=9381
2002-12-04 18:54:18 +00:00
Ville Palo 6af8eb114e 2002-12-04 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Now this works in both ways,
	DataSet <--> XmlDataDocument.cs at some level at least.

svn path=/trunk/mcs/; revision=9380
2002-12-04 18:40:45 +00:00
Gonzalo Paniagua Javier 632fb93883 2002-12-04 Gonzalo Paniagua Javier <[email protected]>
* TypeBuilder.cs: implemented GetInterfaceMap () when the Type has been
	created.

svn path=/trunk/mcs/; revision=9379
2002-12-04 16:13:24 +00:00
Paolo Molaro 2717a00d3e Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <[email protected]>
* Type.cs: implemented GetInterfaceMap (needs an updated runtime).

svn path=/trunk/mcs/; revision=9378
2002-12-04 15:07:37 +00:00
Paolo Molaro b6e1230501 Wed Dec 4 16:02:25 CET 2002 Paolo Molaro <[email protected]>
* icall.c: implemented GetInterfaceMap() related icall.
	* domain.c, loader.h: load MethodInfo in mono_defaults.

svn path=/trunk/mono/; revision=9377
2002-12-04 15:04:56 +00:00
Paolo Molaro 3771c7ea29 Wed Dec 4 11:02:30 CET 2002 Paolo Molaro <[email protected]>
* gc.c: disable the finalizer thread for now, untill all the issues
	with it are resolved.

svn path=/trunk/mono/; revision=9376
2002-12-04 10:04:40 +00:00
Paolo Molaro 47c7f5aac7 Wed Dec 4 10:44:01 CET 2002 Paolo Molaro <[email protected]>
* string-icalls.c: handle embedded nulls in string ctor when the
	length is specified.

svn path=/trunk/mono/; revision=9375
2002-12-04 09:46:14 +00:00
Dennis Hayes bf7fdf0e50 switched to unix style line terminators
svn path=/trunk/mcs/; revision=9374
2002-12-04 01:35:42 +00:00
Dennis Hayes 540e65ab74 2002-12-3 DennisHayes <[email protected]>
* 140 files changed. replaced throw notimplmenteds with FIXME:s, removed dead code,
	* corrected attributes, minor implmentations

svn path=/trunk/mcs/; revision=9373
2002-12-04 01:32:42 +00:00
Paolo Molaro 37666a68c9 Tue Dec 3 19:32:04 CET 2002 Paolo Molaro <[email protected]>
* pending.cs: remove the bogus return from GetMissingInterfaces()
	(see the 2002-11-06 entry: the mono runtime is now fixed in cvs).

svn path=/trunk/mcs/; revision=9371
2002-12-03 18:34:56 +00:00
Paolo Molaro 8e32eda3ff Tue Dec 3 19:29:20 CET 2002 Paolo Molaro <[email protected]>
* class.c: look for explicit interface implementation in parent
	classes, too.

svn path=/trunk/mono/; revision=9370
2002-12-03 18:31:24 +00:00
Jaime Anguiano Olarra ef029ba358 With these new tests (73-79) we have completed the tests from CS0001 to
CS0100 for the compiler.

svn path=/trunk/mcs/; revision=9369
2002-12-03 17:33:10 +00:00
Jaime Anguiano Olarra c4885b2537 Test for C# Compiler ErrorCS0072. An event can only override another event.
svn path=/trunk/mcs/; revision=9368
2002-12-03 16:38:37 +00:00
César Natarén 835baa2b0f mcs/class: Added assembly directory System.ServiceProcess
svn path=/trunk/mcs/; revision=9367
2002-12-03 16:27:49 +00:00
Jaime Anguiano Olarra 1e0036634e Test for C# Compiler Error CS0071. NOTE: Very strange behavior. See later
Bugzilla report.

svn path=/trunk/mcs/; revision=9366
2002-12-03 14:47:45 +00:00
Dietmar Maurer 988d84bbc4 2002-12-03 Dietmar Maurer <[email protected]>
* gc.c (run_finalize): dont run the finalizer (strange behaviour on rh7.3)

svn path=/trunk/mono/; revision=9365
2002-12-03 12:36:49 +00:00
Paolo Molaro 4557c7c01b Tue Dec 3 12:40:06 CET 2002 Paolo Molaro <[email protected]>
* gc.c: protect handles with a critical section.

svn path=/trunk/mono/; revision=9364
2002-12-03 11:42:09 +00:00
César Natarén 9155f1f268 Added files: PowerBroadcastStatus.cs, ServiceAccount.cs,
ServiceControllerPermissionAccess.cs, ServiceControllerStatus.cs,
ServiceStartMode.cs and ServiceType.cs. All of them are enum
implementations.

svn path=/trunk/mcs/; revision=9363
2002-12-03 06:56:55 +00:00
Gonzalo Paniagua Javier 0e4acd2a0d 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
	nulls. Fixes #34909.

svn path=/trunk/mcs/; revision=9362
2002-12-03 05:52:26 +00:00
Gonzalo Paniagua Javier b7a4b70432 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
	returns a non-null assembly.

svn path=/trunk/mcs/; revision=9361
2002-12-03 00:07:10 +00:00
Gonzalo Paniagua Javier 5221969c9f 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* MulticastDelegate.cs: make GetInvocationList work for more than 1
	delegate.

svn path=/trunk/mcs/; revision=9360
2002-12-02 23:58:56 +00:00
Gonzalo Paniagua Javier 6b2f09cf8b 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: get the events from the application class,
	fire Application/Session Start/End and add the others as application
	events.

svn path=/trunk/mcs/; revision=9359
2002-12-02 21:39:46 +00:00
Gonzalo Paniagua Javier 8b513e2de8 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* MulticastDelegate.cs: implemented GetInvocationList. I'll check later
	if this is the correct order of invocation.

svn path=/trunk/mcs/; revision=9358
2002-12-02 21:26:11 +00:00
Gonzalo Paniagua Javier cf549ea578 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* EventInfo.cs: implemented (Add|Remove)EventHandler.

svn path=/trunk/mcs/; revision=9357
2002-12-02 20:47:54 +00:00
Jaime Anguiano Olarra 9cc2aa6688 Test for C# Compiler Error CS0069. Interface events can't have add or remove accessors.
svn path=/trunk/mcs/; revision=9356
2002-12-02 17:58:36 +00:00
Atsushi Eno 8e0ac9abb4 2002-12-03 Atsushi Enomoto <[email protected]>
* XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
	* XmlTextWriter.cs (WriteStartElementInternal):
	  fixed when default namespace was specified, all descendants
	  fail to omit the default namespace declarations.
	* XmlAttribute.cs,
	  XmlDocument.cs,
	  XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
	* XmlAttribute.cs,
	  XmlDocumentFragment.cs,
	  XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
	* XmlElement.cs (set_IsEmpty) : implemented
	  (WriteTo) : removed my improper indenting (Writer already done)
	* XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
	  (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
	...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)

svn path=/trunk/mcs/; revision=9355
2002-12-02 17:57:45 +00:00
Jaime Anguiano Olarra a101535df4 Test for C# Compiler Error CS0068. Events can't have initializers inside interfaces.
svn path=/trunk/mcs/; revision=9354
2002-12-02 17:43:03 +00:00
Ville Palo 4a5b2db435 2002-12-02 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs : some fixes and some imlemented
	methods.

svn path=/trunk/mcs/; revision=9353
2002-12-02 17:31:07 +00:00
Jaime Anguiano Olarra 54151eb439 Test for C# Compiler Error CS0067. Event never used.
svn path=/trunk/mcs/; revision=9352
2002-12-02 17:25:27 +00:00
Jaime Anguiano Olarra 7b611a71ba Test for C# Compiler Error CS0061. Inconsistent accessibility. Base interface less accessible than interface.
svn path=/trunk/mcs/; revision=9351
2002-12-02 17:18:14 +00:00
Jaime Anguiano Olarra 283bc9387a Test for C# Compiler ErrorCS0059. Inconsisten accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9350
2002-12-02 17:06:22 +00:00
Dietmar Maurer f0660558d3 2002-12-02 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): added some additinal checks to verify IL code

svn path=/trunk/mono/; revision=9349
2002-12-02 16:15:33 +00:00
Dick Porter 3530e50251 Don't assume that jay is on the path
svn path=/trunk/mcs/; revision=9348
2002-12-02 16:01:33 +00:00
Gonzalo Paniagua Javier 9051dae43e fixed System.Configuration.Install and readded to the build
svn path=/trunk/mcs/; revision=9347
2002-12-02 15:59:32 +00:00
Gonzalo Paniagua Javier 11d23e0d3e Fixes the build on windows. Someone should check if this is correct.
svn path=/trunk/mcs/; revision=9346
2002-12-02 15:40:19 +00:00
Gonzalo Paniagua Javier 2803cc455a Removed System.Configuration.Install from the build. It does not build.
svn path=/trunk/mcs/; revision=9345
2002-12-02 15:31:59 +00:00
Dietmar Maurer ad589ee02e 2002-12-02 root <[email protected]>
* x86.brg (stmt): POP floating point stack correctly

svn path=/trunk/mono/; revision=9344
2002-12-02 15:29:13 +00:00
Tim Coleman 55236e408f 2002-12-02 Tim Coleman <[email protected]>
* Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
		Really remove this file.

svn path=/trunk/mcs/; revision=9343
2002-12-02 14:41:13 +00:00
Jaime Anguiano Olarra e07434fb04 Added error line.
svn path=/trunk/mcs/; revision=9342
2002-12-02 09:33:36 +00:00
Jaime Anguiano Olarra a8fbe46a6b Test for C# Compiler Error CS0058. Incompatible accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9341
2002-12-02 09:32:45 +00:00
Jaime Anguiano Olarra 530c86572d Test for C# Compiler Error CS0057. Inconsistent compatibility. Parameter type less accessible than operator.
svn path=/trunk/mcs/; revision=9340
2002-12-02 09:31:21 +00:00
Jaime Anguiano Olarra 0de8e9c6a2 Test for C# Compiler Error CS0056. Inconsistent accessibility. Operator return type less accessible than operator.
svn path=/trunk/mcs/; revision=9339
2002-12-02 09:29:05 +00:00
Jaime Anguiano Olarra d6968462ea Test for C# Compiler Error CS0055. Inconsistent accessibility. Parameter type less accessible than indexer.
svn path=/trunk/mcs/; revision=9338
2002-12-02 09:27:26 +00:00
Gonzalo Paniagua Javier cf0db18649 frees memory if it cannot load the specified assembly
svn path=/trunk/mono/; revision=9336
2002-12-02 03:26:58 +00:00
Gonzalo Paniagua Javier cf7d834983 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: changed the signature of internal_from_name. Modified
	the overloads of GetType to use it and check the typeName argument.
	Implemented FindInterfaces.

svn path=/trunk/mcs/; revision=9335
2002-12-02 03:02:23 +00:00
Gonzalo Paniagua Javier b9dbecf5b6 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_type_from_name): it now has throwOnError and ignoreCase
	parameters. If no assembly specified, try getting the type from all
	the assemblies in the current domain, else, load the assembly and get
	the type from it.

svn path=/trunk/mono/; revision=9334
2002-12-02 03:02:09 +00:00
Gonzalo Paniagua Javier 2f5811abf4 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: avoid duplicated 'using xxx' being added to
	using_clauses. This prevents mcs from issuing and 'ambiguous type' error
	when we get more than one 'using' statement for the same namespace.
	Report a CS0105 warning for it.

svn path=/trunk/mcs/; revision=9333
2002-12-02 02:49:17 +00:00
Dennis Hayes 8b60e685e5 removed extra using ms.win32
svn path=/trunk/mcs/; revision=9332
2002-12-02 02:47:15 +00:00
Dennis Hayes ea635e3bc3 test form with all but one control
svn path=/trunk/mcs/; revision=9331
2002-12-02 02:24:37 +00:00
Dennis Hayes ccc8fa5498 See last log message
svn path=/trunk/mcs/; revision=9330
2002-12-02 02:06:41 +00:00
Dennis Hayes 7fa8f4b49a 2002-11-28 DennisHayes <[email protected]>
* AccessibleObject.cs
	* Application.cs
	* ApplicationContext.cs
	* AxHost.cs
	* Binding.cs
	* BindingContext.cs
	* Button.cs
	* CheckBox.cs
	* CheckedListBox.cs
	* Clipboard.cs
	* ColorDialog.cs
	* ColumnHeader.cs
	* ComboBox.cs
	* CommonDialog.cs
	* ContainerControl.cs
	* ContextMenu.cs
	* Control.cs
	* ControlBindingsCollection.cs
	* ControlPaint.cs
	* CreateParams.cs
	* CurrencyManager.cs
	* Cursor.cs
	* CursorConverter.cs
	* Cursors.cs
	* DataFormats.cs
	* DataGrid.cs
	* DataGridTableStyle.cs
	* DataGridTextBox.cs
	* DataGridTextBoxColumn.cs
	* DataObject.cs
	* ErrorProvider.cs
	* Form.cs

	* removed some throw notimplmented ecexptions
	* Some small implmentaions
	* some dead code removal

svn path=/trunk/mcs/; revision=9329
2002-12-02 02:06:11 +00:00
Dennis Hayes d3ad720458 added SWFTest to sln
svn path=/trunk/mcs/; revision=9328
2002-12-02 01:49:09 +00:00
Tim Coleman 03c6f5334b 2002-12-01 Tim Coleman <[email protected]>
* ChangeLog: Fix a typo.

svn path=/trunk/mcs/; revision=9327
2002-12-02 01:39:19 +00:00
Tim Coleman 20716a48c7 2002-12-01 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs:
		Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
		shift.

svn path=/trunk/mcs/; revision=9326
2002-12-02 01:38:32 +00:00
Tim Coleman caab4e6455 2002-12-01 Tim Coleman <[email protected]>
* Mono.Data.TdsClient/TdsDataReader.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9325
2002-12-02 01:37:12 +00:00
Alejandro Sánchez Acosta fc8cfc0e64 Added new tests.
svn path=/trunk/mcs/; revision=9324
2002-12-01 23:57:15 +00:00
Alejandro Sánchez Acosta ebe6e144bc New mcs errors tests.
svn path=/trunk/mcs/; revision=9323
2002-12-01 21:06:41 +00:00
Tim Coleman ca9d51c80a 2002-12-01 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseDataAdapter.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9322
2002-12-01 19:08:51 +00:00
Tim Coleman 9bae41851d 2002-12-01 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataAdapter.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9321
2002-12-01 19:07:37 +00:00
Tim Coleman 08e4711f00 2002-12-01 Tim Coleman <[email protected]>
* list:
                Remove more unnecessary files.
        * Mono.Data.Tds.Protocol/TdsDataRow.cs:
        * Mono.Data.Tds.Protocol/TdsDataColumn.cs:
        * Mono.Data.Tds.Protocol/TdsDataColumnCollection.cs:
                New classes
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketControlResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketOutputParam.cs:
        * Mono.Data.Tds.Protocol/TdsPacketResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRowResult.cs:
        * Mono.Data.Tds.Protocol/TdsSchemaInfo.cs:
                Remove obsolete classes
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds42.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
                Change Schema and ColumnValues

svn path=/trunk/mcs/; revision=9320
2002-12-01 19:05:14 +00:00
Jaime Anguiano Olarra fd0b282502 Test for C# Compiler. Incompatible accessibility. Indexer return type less accessible than indexer.
svn path=/trunk/mcs/; revision=9319
2002-12-01 18:58:10 +00:00
Jaime Anguiano Olarra 463d02f06e Test for C# Compiler Error CS0053. Property return type less accessible than property.
svn path=/trunk/mcs/; revision=9318
2002-12-01 18:43:34 +00:00
Jaime Anguiano Olarra 6077aeb835 Added more info.
svn path=/trunk/mcs/; revision=9317
2002-12-01 18:37:36 +00:00
Jaime Anguiano Olarra 65e0aaa006 Test for C# Compiler error CS0052. Field type is less accessible than field.
svn path=/trunk/mcs/; revision=9316
2002-12-01 18:34:30 +00:00
Alejandro Sánchez Acosta 4cfe5cd112 System.Configuration.Install changed.
svn path=/trunk/mcs/; revision=9315
2002-12-01 15:46:43 +00:00
Alejandro Sánchez Acosta da45d14127 Added files to System.Configuration.Install
svn path=/trunk/mcs/; revision=9314
2002-12-01 15:46:09 +00:00
Jaime Anguiano Olarra d5f0e1a8a4 Test for the Error CS0050. Incompatible accessibility. Return type less accessible than method.
svn path=/trunk/mcs/; revision=9313
2002-12-01 13:22:43 +00:00
Jaime Anguiano Olarra 90749b9b58 Sorry I forgot the Line: 10
svn path=/trunk/mcs/; revision=9312
2002-12-01 13:14:47 +00:00
Jaime Anguiano Olarra b6cc22a090 Test for C# Compiler error CS0036. Attribute [In] can't accompany an out parameter.
svn path=/trunk/mcs/; revision=9311
2002-12-01 13:06:28 +00:00
Ville Palo 7f2266911e 2002-12-01 Ville Palo <[email protected]>
* list: Added XmlDataDocument.cs
	* System.Xml/XmlDataDocument.cs: more implementation.

svn path=/trunk/mcs/; revision=9310
2002-12-01 08:41:09 +00:00
Ville Palo fb50c1dc2a System.Data/AcceptRejectRule.cs
System.Data/CommandBehavior.cs
System.Data/CommandType.cs
System.Data/ConnectionState.cs
System.Data/Constraint.cs
System.Data/ConstraintCollection.cs
System.Data/ConstraintException.cs
System.Data/DataCategoryAttribute.cs
System.Data/DataColumn.cs
System.Data/DataColumnChangeEventArgs.cs
System.Data/DataColumnChangeEventHandler.cs
System.Data/DataColumnCollection.cs
System.Data/DataColumnPropertyDescriptor.cs
System.Data/DataException.cs
System.Data/DataRelation.cs
System.Data/DataRelationCollection.cs
System.Data/DataRow.cs
System.Data/DataRowAction.cs
System.Data/DataRowBuilder.cs
System.Data/DataRowChangeEventArgs.cs
System.Data/DataRowChangeEventHandler.cs
System.Data/DataRowCollection.cs
System.Data/DataRowState.cs
System.Data/DataRowVersion.cs
System.Data/DataRowView.cs
System.Data/DataSet.cs
System.Data/DataSysDescriptionAttribute.cs
System.Data/DataTable.cs
System.Data/DataTableCollection.cs
System.Data/DataView.cs
System.Data/DataViewManager.cs
System.Data/DataViewRowState.cs
System.Data/DataViewSetting.cs
System.Data/DataViewSettingCollection.cs
System.Data/DBConcurrencyException.cs
System.Data/DbType.cs
System.Data/DeletedRowInaccessibleException.cs
System.Data/DuplicateNameException.cs
System.Data/EvaluateException.cs
System.Data/FillErrorEventArgs.cs
System.Data/FillErrorEventHandler.cs
System.Data/ForeignKeyConstraint.cs
System.Data/IColumnMapping.cs
System.Data/IColumnMappingCollection.cs
System.Data/IDataAdapter.cs
System.Data/IDataParameter.cs
System.Data/IDataParameterCollection.cs
System.Data/IDataReader.cs
System.Data/IDataRecord.cs
System.Data/IDbCommand.cs
System.Data/IDbConnection.cs
System.Data/IDbDataAdapter.cs
System.Data/IDbDataParameter.cs
System.Data/IDbTransaction.cs
System.Data/InRowChangingEventException.cs
System.Data/InternalDataCollectionBase.cs
System.Data/InvalidConstraintException.cs
System.Data/InvalidExpressionException.cs
System.Data/IsolationLevel.cs
System.Data/ITableMapping.cs
System.Data/ITableMappingCollection.cs
System.Data/Locale.cs
System.Data/MappingType.cs
System.Data/MergeFailedEventArgs.cs
System.Data/MergeFailedEventHandler.cs
System.Data/MissingMappingAction.cs
System.Data/MissingPrimaryKeyException.cs
System.Data/MissingSchemaAction.cs
System.Data/NoNullAllowedException.cs
System.Data/ParameterDirection.cs
System.Data/PropertyAttributes.cs
System.Data/PropertyCollection.cs
System.Data/ReadOnlyException.cs
System.Data/ResDescriptionAttribute.cs
System.Data/RowNotInTableException.cs
System.Data/Rule.cs
System.Data/SchemaType.cs
System.Data/SqlDbType.cs
System.Data/StateChangeEventArgs.cs
System.Data/StateChangeEventHandler.cs
System.Data/StatementType.cs
System.Data/StrongTypingException.cs
System.Data/SyntaxErrorException.cs
System.Data/TODOAttribute.cs
System.Data/TypeDataSetGeneratorException.cs
System.Data/UniqueConstraint.cs
System.Data/UpdateRowSource.cs
System.Data/UpdateStatus.cs
System.Data/VersionNotFoundException.cs
System.Data/XmlReadMode.cs
System.Data/XmlWriteMode.cs
System.Data/XmlConstants.cs
System.Data.Common/DataAdapter.cs
System.Data.Common/DataColumnMapping.cs
System.Data.Common/DataColumnMappingCollection.cs
System.Data.Common/DataTableMapping.cs
System.Data.Common/DataTableMappingCollection.cs
System.Data.Common/DbDataAdapter.cs
System.Data.Common/DbDataPermission.cs
System.Data.Common/DbDataPermissionAttribute.cs
System.Data.Common/DbDataRecord.cs
System.Data.Common/DbEnumerator.cs
System.Data.Common/FieldNameLookup.cs
System.Data.Common/RowUpdatedEventArgs.cs
System.Data.Common/RowUpdatingEventArgs.cs
System.Data.Common/SchemaInfo.cs
System.Data.OleDb/libgda.cs
System.Data.OleDb/OleDbCommand.cs
System.Data.OleDb/OleDbCommandBuilder.cs
System.Data.OleDb/OleDbConnection.cs
System.Data.OleDb/OleDbDataAdapter.cs
System.Data.OleDb/OleDbDataReader.cs
System.Data.OleDb/OleDbError.cs
System.Data.OleDb/OleDbErrorCollection.cs
System.Data.OleDb/OleDbException.cs
System.Data.OleDb/OleDbInfoMessageEventArgs.cs
System.Data.OleDb/OleDbInfoMessageEventHandler.cs
System.Data.OleDb/OleDbLiteral.cs
System.Data.OleDb/OleDbParameter.cs
System.Data.OleDb/OleDbParameterCollection.cs
System.Data.OleDb/OleDbPermission.cs
System.Data.OleDb/OleDbPermissionAttribute.cs
System.Data.OleDb/OleDbRowUpdatedEventArgs.cs
System.Data.OleDb/OleDbRowUpdatedEventHandler.cs
System.Data.OleDb/OleDbRowUpdatingEventArgs.cs
System.Data.OleDb/OleDbRowUpdatingEventHandler.cs
System.Data.OleDb/OleDbSchemaGuid.cs
System.Data.OleDb/OleDbTransaction.cs
System.Data.OleDb/OleDbType.cs
System.Data.SqlTypes/INullable.cs
System.Data.SqlTypes/SqlBinary.cs
System.Data.SqlTypes/SqlBoolean.cs
System.Data.SqlTypes/SqlByte.cs
System.Data.SqlTypes/SqlCompareOptions.cs
System.Data.SqlTypes/SqlDateTime.cs
System.Data.SqlTypes/SqlDecimal.cs
System.Data.SqlTypes/SqlDouble.cs
System.Data.SqlTypes/SqlGuid.cs
System.Data.SqlTypes/SqlInt16.cs
System.Data.SqlTypes/SqlInt32.cs
System.Data.SqlTypes/SqlInt64.cs
System.Data.SqlTypes/SqlMoney.cs
System.Data.SqlTypes/SqlNullValueException.cs
System.Data.SqlTypes/SqlSingle.cs
System.Data.SqlTypes/SqlString.cs
System.Data.SqlTypes/SqlTruncateException.cs
System.Data.SqlTypes/SqlTypeException.cs
System.Data.Odbc/OdbcColumn.cs
System.Data.Odbc/OdbcCommand.cs
System.Data.Odbc/OdbcConnection.cs
System.Data.Odbc/OdbcDataReader.cs
System.Data.Odbc/OdbcError.cs
System.Data.Odbc/OdbcErrorCollection.cs
System.Data.Odbc/OdbcException.cs
System.Data.Odbc/OdbcParameter.cs
System.Data.Odbc/OdbcParameterCollection.cs
System.Data.Odbc/OdbcTransaction.cs
System.Data.Odbc/OdbcType.cs
System.Data.Odbc/libodbc.cs
System.Data.Odbc/OdbcDataAdapter.cs
System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
System.Data.Odbc/OdbcRowUpdatingEventHandler.cs
System.Data.SqlClient/SqlClientPermission.cs
System.Data.SqlClient/SqlClientPermissionAttribute.cs
System.Data.SqlClient/SqlCommand.cs
System.Data.SqlClient/SqlCommandBuilder.cs
System.Data.SqlClient/SqlConnection.cs
System.Data.SqlClient/SqlConnectionPool.cs
System.Data.SqlClient/SqlDataAdapter.cs
System.Data.SqlClient/SqlDataReader.cs
System.Data.SqlClient/SqlError.cs
System.Data.SqlClient/SqlErrorCollection.cs
System.Data.SqlClient/SqlException.cs
System.Data.SqlClient/SqlInfoMessageEventArgs.cs
System.Data.SqlClient/SqlInfoMessageEventHandler.cs
System.Data.SqlClient/SqlParameter.cs
System.Data.SqlClient/SqlParameterCollection.cs
System.Data.SqlClient/SqlParameterConverter.cs
System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
System.Data.SqlClient/SqlTransaction.cs
System.Data.SqlClient/SqlXmlTextReader.cs
System.Xml/XmlDataDocument.cs

svn path=/trunk/mcs/; revision=9309
2002-12-01 08:37:59 +00:00
Jackson Harper 37ab1524ac Removed TODO attribute from abstract members
svn path=/trunk/mcs/; revision=9308
2002-12-01 08:10:48 +00:00
Gonzalo Paniagua Javier 6b9193663b 2002-12-01 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: fixed constructor. Thanks to marcusU for reporting.

svn path=/trunk/mcs/; revision=9307
2002-12-01 07:57:32 +00:00
Jackson Harper c57f10190e Added stub
svn path=/trunk/mcs/; revision=9306
2002-12-01 07:01:58 +00:00
Tim Coleman 3bb0ba83e3 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
	* Mono.Data.Tds.Protocol/TdsMessage.cs:
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
	* Mono.Data.Tds.Protocol/TdsPacketRetStatResult.cs:
		Remove these classes as they are unused.

svn path=/trunk/mcs/; revision=9305
2002-12-01 05:23:57 +00:00
Tim Coleman c2ec4d78b2 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
	* Mono.Data.Tds.Protocol/TdsMessage.cs:
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
		Remove these classes as they are unused.

svn path=/trunk/mcs/; revision=9304
2002-12-01 05:04:26 +00:00
Tim Coleman 69b55fb617 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
		Remove this class as it is unused.

svn path=/trunk/mcs/; revision=9303
2002-12-01 04:57:59 +00:00
Alejandro Sánchez Acosta 801cb433f1 Added new files to System.Drawing.Design
svn path=/trunk/mcs/; revision=9302
2002-12-01 01:18:29 +00:00
Dennis Hayes 5d310366ad see last checkin
svn path=/trunk/mcs/; revision=9298
2002-11-30 23:20:13 +00:00
Dennis Hayes d84bb509ac 2002-11-28 DennisHayes <[email protected]>
* In visual studio, I added a SWFTest project to the SWF solution.
	* Using Microsoft's swf.dll, I added one of each possible stock controls to the form.
	* I closed the form (swf design stuff i svery incomplete).
	* I Removed the reference to MS's swf.dll, and added a reference to the SWF project.
	* The result compiles, runs, and can be closed, without crashing in windows.
	* PrintPreviewDialog is the only item (other than crystal reports) on the 
	* standard toolbar that is not included.
	* When run, a standard window comes up, not a dialog/form type window.
	* The form is as small as possible, just a caption bar of minimum width
	* with control bax and min/max box. It can be resized to any size fine.
	* no controls are actualy displayed. they may be of zero size, or it 
	* may be due to the window not being a dialog box, or it may be anything.
	
	* ApplicationContext.cs
	* Button.cs
	* ChangeLog
	* CheckBox.cs
	* CheckedListBox.cs
	* ColorDialog.cs
	* ComboBox.cs
	* ContainerControl.cs
	* Control.cs
	* DataGrid.cs
	* DateTimePicker.cs
	* DomainUpDown.cs
	* ErrorProvider.cs
	* FileDialog.cs
	* FontDialog.cs
	* Form.cs
	* GroupBox.cs
	* HelpProvider.cs
	* HScrollBar.cs
	* ImageList.cs
	* Label.cs
	* LinkLabel.cs
	* ListBox.cs
	* ListControl.cs
	* ListView.cs
	* logfile.txt
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* NativeWindow.cs
	* NotifyIcon.cs
	* NumericUpDown.cs
	* OpenFileDialog.cs
	* PageSetupDialog.cs
	* Panel.cs
	* PictureBox.cs
	* PrintDialog.cs
	* PrintPreviewControl.cs
	* PrintPreviewDialog.cs
	* ProgressBar.cs
	* RadioButton.cs
	* RichTextBox.cs
	* SaveFileDialog.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* Splitter.cs
	* StatusBar.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* TabControl.cs
	* TextBox.cs
	* TextBoxBase.cs
	* Timer.cs
	* ToolBar.cs
	* ToolBarButton.cs
	* tooltip.cs
	* TrackBar.cs
	* TreeNode.cs
	* TreeNodeCollection.cs
	* TreeView.cs
	* UpDownBase.cs
	* UserControl.cs
	* VScrollBar.cs
	* win32Enums.cs
	* win32functions.cs

svn path=/trunk/mcs/; revision=9297
2002-11-30 23:17:45 +00:00
Tim Coleman 0a22ed39c2 2002-11-30 Tim Coleman <[email protected]>
* ChangeLog:
		Forgot to commit.

svn path=/trunk/mcs/; revision=9296
2002-11-30 22:45:57 +00:00
Miguel de Icaza 7079e92de5 More low hanging fruit.
2002-11-30  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs (consume_identifier): use read directly, instead
	of calling getChar/putback, uses internal knowledge of it.

	(xtoken): Reorder tokenizer so most common patterns are checked
	first.  This reduces the compilation time in another 5% (from 8.11s
	average to 7.73s for bootstrapping mcs on my Mobile p4/1.8ghz).

	The parsing time is 22% of the compilation in mcs, and from that
	64% is spent on the tokenization process.

	I tried using a binary search for keywords, but this is slower
	than the hashtable.  Another option would be to do a couple of
	things:

		* Not use a StringBuilder, instead use an array of chars,
		  with a set value.  Notice that this way we could catch
		  the 645 error without having to do it *afterwards*.

		* We could write a hand-parser to avoid the hashtable
		  compares altogether.

	The identifier consumption process takes 37% of the tokenization
	time.  Another 15% is spent on is_number.  56% of the time spent
	on is_number is spent on Int64.Parse:

		* We could probably choose based on the string length to
		  use Int32.Parse or Int64.Parse and avoid all the 64-bit
		  computations.

	Another 3% is spend on wrapping `xtoken' in the `token' function.

svn path=/trunk/mcs/; revision=9295
2002-11-30 22:34:28 +00:00
Tim Coleman 44a30fb5ad 2002-11-30 Tim Coleman <[email protected]>
* list:
	* Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult:
	* Mono.Data.Tds.Protocol/TdsPacketTableNameResult:
		Remove these classes, since they are essentially just
		ArrayLists.
	* Mono.Data.Tds.Protocol/Tds.cs:
	* Mono.Data.Tds.Protocol/Tds42.cs:
	* Mono.Data.Tds.Protocol/Tds50.cs:
	* Mono.Data.Tds.Protocol/Tds70.cs:
		Make ProcessSubPacket return an enum instead of instantiating
		useless classes.  Remove the TdsPacketColumnNamesResult
		and TdsPacketTableNameResult in favour of ArrayLists.
	* Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
		Add a Count property.

svn path=/trunk/mcs/; revision=9294
2002-11-30 21:26:53 +00:00
Gonzalo Paniagua Javier f49cfb6350 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: compile global.asax file if it
	exists.

	* System.Web.Compilation/AspElements.cs: added @Application directive.

	* System.Web.Compilation/AspGenerator.cs: make it work also with
	application files. We currently generate an extra private function.

svn path=/trunk/mcs/; revision=9293
2002-11-30 20:48:55 +00:00
Jaime Anguiano Olarra 280c13ad11 Test for C# Compiler Error CS0035: Ambiguous operator on operand of type foo.
svn path=/trunk/mcs/; revision=9292
2002-11-30 20:09:16 +00:00
Jaime Anguiano Olarra 156cf2e732 2nd Test for Error CS0027. In this case compile complains only of CS0026.
svn path=/trunk/mcs/; revision=9291
2002-11-30 19:15:59 +00:00
Jaime Anguiano Olarra d735632a9e Test for C# Compiler Error CS0027: Tried to used 'this' outside a constructor, method or property.
svn path=/trunk/mcs/; revision=9290
2002-11-30 19:13:45 +00:00
Jaime Anguiano Olarra cb985ccfd9 Test for the C# Compiler Error CS0022: Wrong number of fields in indexer.
svn path=/trunk/mcs/; revision=9289
2002-11-30 18:50:08 +00:00
Gonzalo Paniagua Javier 4b684ce4fb don't cp on windows
svn path=/trunk/mcs/; revision=9288
2002-11-30 18:47:12 +00:00
Jaime Anguiano Olarra e253027f04 Added test for C# Compiler ERROR CS0021
svn path=/trunk/mcs/; revision=9287
2002-11-30 18:39:32 +00:00
Gonzalo Paniagua Javier 33dd8381aa fixed teh build
svn path=/trunk/mcs/; revision=9286
2002-11-30 18:29:25 +00:00
Daniel Morgan 354e91c10d 2002-11-30 Daniel Morgan <[email protected]>
* man/sqlsharpcli.1: added file - a man page
	for SQL# CLI

	* man/Makefile.am: added sqlsharpcli.1 to man_MANS

svn path=/trunk/mono/; revision=9285
2002-11-30 17:41:26 +00:00
Alejandro Sánchez Acosta 1bcd9bc096 list.unix changed.
svn path=/trunk/mcs/; revision=9284
2002-11-30 17:38:12 +00:00
Alejandro Sánchez Acosta 413526db9b Added some classes and interfaces to System.ComponentModel.Design
svn path=/trunk/mcs/; revision=9283
2002-11-30 17:37:00 +00:00
Atsushi Eno cbd55d364b 2002-12-01 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs (TestValueProperty):
		applied patch by David Sheldon

svn path=/trunk/mcs/; revision=9282
2002-11-30 17:36:55 +00:00
Atsushi Eno c93d3354b4 2002-12-01 Atsushi Enomoto <[email protected]>
* XmlNode.cs (RemoveChild):
		bugfixed when XmlNode is Document OwnerDocument is null
	* XmlDeclaration.cs (Value):
		bugfixed regular expression pattern.
	* XmlDocument.cs (CreateNavigator): bugfixed access modifier.

svn path=/trunk/mcs/; revision=9281
2002-11-30 17:22:35 +00:00
Ville Palo f2a6b790f8 2002-11-30 Ville Palo <[email protected]>
* DataRowChangeEventArgs.cs: Implemented Action and Row properties

svn path=/trunk/mcs/; revision=9279
2002-11-30 14:48:33 +00:00
Daniel Morgan 91adbe31fa 2002-11-30 Daniel Morgan <[email protected]>
* README: updated to include directions on
	connecting to a database

svn path=/trunk/mcs/; revision=9278
2002-11-30 14:04:11 +00:00
Daniel Morgan 2aa62eb631 2002-11-30 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: fix dynamically creating DbDataAdapter
	so external providers can display data in the DataGrid too,
	included the use of OdbcDataAdapter for ODBC to use
	a DataGrid,	fix compile errors for a newer Gtk# in cvs

svn path=/trunk/mcs/; revision=9277
2002-11-30 13:15:47 +00:00
Daniel Morgan 2373670aea 2002-11-30 Daniel Morgan <[email protected]>
* README: updated by including help for all the
	SQL# commands with examples

svn path=/trunk/mcs/; revision=9276
2002-11-30 12:50:09 +00:00
Daniel Morgan ae724c45ea 2002-11-30 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: allow the ODBC provider
	to execute a query and save results an XML file
	via the \exexml command

svn path=/trunk/mcs/; revision=9275
2002-11-30 11:16:23 +00:00
Daniel Morgan 31cb0d7741 2002-11-30 Daniel Morgan <[email protected]>
* System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
	needed by OdbcDataAdapter

	* System.Data.Odbc/OdbcDataAdapter.cs
	* System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
	* System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
	* System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
	* System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
	ODBC Data Adapter

	* list: added new files to linux build
	in namespace System.Data.Odbc for the ODBC Data Adapter

	* System.Xml/XmlDataDocument.cs: commented method
	protected internal override XPathNavigator CreateNavigator(XmlNode node)
	because it would not compile on .NET Framework.  Added
	a FIXME comment there

svn path=/trunk/mcs/; revision=9274
2002-11-30 11:06:15 +00:00
Ville Palo 95980a7066 Bug again, sorry :-(
svn path=/trunk/mcs/; revision=9273
2002-11-30 09:28:06 +00:00
Ville Palo 1b0e375bdb 2002-11-30 Ville Palo <[email protected]>
* System.Data/DataRow.cs: Added internal property XmlDataID

svn path=/trunk/mcs/; revision=9272
2002-11-30 08:32:17 +00:00
Daniel Morgan 4602ad24e4 INSTALL was renamed to INSTALL.txt so make install will on Windows
svn path=/trunk/mcs/; revision=9271
2002-11-30 07:00:10 +00:00
Miguel de Icaza b85b52fac7 2002-11-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Handle 0xa0 as whitespace (#34752)

svn path=/trunk/mcs/; revision=9270
2002-11-30 05:58:27 +00:00
Gonzalo Paniagua Javier 478627b31e 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
* marshal.c: applied patch from Aleksey Demakov that fixes
	ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni.

svn path=/trunk/mono/; revision=9269
2002-11-30 01:46:16 +00:00
Gonzalo Paniagua Javier 9836c3ed4d updated asp-net page
svn path=/trunk/mono/; revision=9268
2002-11-29 21:14:52 +00:00
Ville Palo ab06077927 2002-11-29 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Started to implement.

svn path=/trunk/mcs/; revision=9267
2002-11-29 21:06:20 +00:00
Daniel Morgan e2d30e2d67 2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
	interferred with "make install" on windows

	* makefile: changes to get "make install" work
	on windows

	* class/makefile.gnu: flush

	* ilasm/makefile: updated for windows build

	* monoresgen/makefile: updated for windows build

	* tools/SqlSharp/SqlSharpCli.build: flush

	* winexe.in: add file to be template for executable assemblies
	to be installed on windows via "make install" by providing
	a script that runs mono and the assembly
	like mcs runs mono mcs.exe

svn path=/trunk/mcs/; revision=9266
2002-11-29 20:32:05 +00:00
Ville Palo 6826d9c01b Ups, there was a litle bug
svn path=/trunk/mcs/; revision=9265
2002-11-29 20:20:34 +00:00
Ville Palo d8591b3ef4 2002-11-29 Ville Palo <[email protected]>
* DataSystem.Data.DataTableCollection.cs:
	Removed HashTable. There could be situations where DataTable
	is added to collection before it hava TableName. So using
	HashTable is impossible.

svn path=/trunk/mcs/; revision=9264
2002-11-29 20:13:54 +00:00
Gonzalo Paniagua Javier 043561857c 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
* MarshalByRefObject.cs: undo latest changes. It breaks the build by
	some obscure reasons (try make -f makefile.gnu using a corlib which has
	the modified version).

svn path=/trunk/mcs/; revision=9263
2002-11-29 19:26:11 +00:00
Jaime Anguiano Olarra 0bde16873f Added test for the Error CS3005
svn path=/trunk/mcs/; revision=9261
2002-11-29 17:38:52 +00:00
Gonzalo Paniagua Javier 31b48cf5c8 Patch from dietmar that fixes stack unwinding for functions that call mono_stack_walk
svn path=/trunk/mono/; revision=9260
2002-11-29 16:14:10 +00:00
Jaime Anguiano Olarra 0ab66f70d1 Started InitializeLifetimeService and GetLifetimeService methods implementation.
svn path=/trunk/mcs/; revision=9245
2002-11-29 04:04:57 +00:00
Eduardo Garcia Cebollero 10457edbaa Added A Test Suite for System.Threading.Mutex
svn path=/trunk/mcs/; revision=9244
2002-11-29 03:36:21 +00:00
Gonzalo Paniagua Javier 29e90c5d11 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
* list: added new file.
	* System.Web.Compilation/GlobalAsaxCompiler.cs: compiler for global.asax
	file. If the file exists, it will be compiled into an HttpApplication
	derived class (directly or through a user-provided class).

svn path=/trunk/mcs/; revision=9243
2002-11-29 03:07:50 +00:00
Sebastien Pouliot 17ee63aaa8 2002-11-28 Sebastien Pouliot <[email protected]>
* TODOAttribute.cs: New. Still much to do ;-)
	* XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
	functionnal.
	* XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
	functionnal.

svn path=/trunk/mcs/; revision=9242
2002-11-29 02:43:28 +00:00
Sebastien Pouliot bc38c9ad3b 2002-11-28 Sebastien Pouliot <[email protected]>
* System.Security.build: New. Nant build file for Windows.

svn path=/trunk/mcs/; revision=9241
2002-11-29 02:39:35 +00:00
Sebastien Pouliot 993d45a721 2002-11-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added missing test suites.

svn path=/trunk/mcs/; revision=9240
2002-11-29 02:35:43 +00:00
Sebastien Pouliot fa432124c3 2002-11-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Include System.Security.Cryptography.Xml
	test suites.
	* System.Security_test.build: New. Nant build file for Windows.

svn path=/trunk/mcs/; revision=9239
2002-11-29 02:32:42 +00:00
Jaime Anguiano Olarra ad51ba75f5 Started implementation for the InitializeLifetimeService method.
svn path=/trunk/mcs/; revision=9238
2002-11-29 02:12:02 +00:00
Alejandro Sánchez Acosta 470fbae4e3 Modified System.Drawing.Design
svn path=/trunk/mcs/; revision=9237
2002-11-29 01:39:29 +00:00
Alejandro Sánchez Acosta bcb2fad16d Added some interfaces, delegates and stubs classes to System.Drawing.Design
svn path=/trunk/mcs/; revision=9236
2002-11-29 01:38:49 +00:00
Daniel Morgan 1a2a6b9fb7 2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build

	* tools/makefile.gnu: added new file to built tools and install.
        dist works too.  test is just blank.

svn path=/trunk/mcs/; revision=9235
2002-11-29 01:23:22 +00:00
Alejandro Sánchez Acosta dc0d958bfa Added missed field
svn path=/trunk/mcs/; revision=9234
2002-11-28 23:46:28 +00:00
Jaime Anguiano Olarra 08954c8820 Starting to implement the InitializeLifetimeService method.
svn path=/trunk/mcs/; revision=9230
2002-11-28 20:16:46 +00:00
Gonzalo Paniagua Javier b9a8f63a43 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed get_location.

svn path=/trunk/mono/; revision=9228
2002-11-28 17:26:31 +00:00
Dietmar Maurer 3d006ddbc9 2002-11-28 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): don't save caller saved
	registers twice.

svn path=/trunk/mono/; revision=9227
2002-11-28 15:42:17 +00:00
Gonzalo Paniagua Javier fda4291ced 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* SoapServices.cs: fix error CS3005.

svn path=/trunk/mcs/; revision=9225
2002-11-28 12:54:50 +00:00
Dietmar Maurer 7579471017 2002-11-28 Dietmar Maurer <[email protected]>
* icall.c: moved MONO_ARCH_SAVE_REGS to the end of the
	declarations to make it work with older gcc.

svn path=/trunk/mono/; revision=9224
2002-11-28 12:45:46 +00:00
Gonzalo Paniagua Javier 60b344a257 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* RegistryHive.cs: patch from Jackson Harper that fixes compilation.

svn path=/trunk/mcs/; revision=9223
2002-11-28 11:34:10 +00:00
Dietmar Maurer b6bb40164b 2002-11-28 Dietmar Maurer <[email protected]>
* exception.c (x86_unwind_native_frame): support exceptions inside
	native code using gcc generated exception tables (-fexception).

2002-11-19  Dietmar Maurer  <[email protected]>

	* exception.c: include some code from Zoltan Varga, but modified
	it slightly.

svn path=/trunk/mono/; revision=9222
2002-11-28 10:02:07 +00:00
Jackson Harper e64e500050 Added file
svn path=/trunk/mcs/; revision=9221
2002-11-28 08:13:24 +00:00
Jaime Anguiano Olarra 84169e3123 Added Skeleton for the System.Runtime.Remoting.SoapServices class.
svn path=/trunk/mcs/; revision=9220
2002-11-27 21:55:32 +00:00
Miguel de Icaza fc1c3b4669 Fixety fix
svn path=/trunk/mcs/; revision=9219
2002-11-27 21:49:34 +00:00
Dennis Hayes e4a8614d75 cvs.txt
logfile.txt
Registry.cs
RegistryHive.cs
RegistryKey.cs

svn path=/trunk/mcs/; revision=9216
2002-11-27 21:19:41 +00:00
Dennis Hayes 0de438d1bb 2002-11-27 DennisHayes <[email protected]>
* checkin for Alexandre Pigolkine ([email protected]) with minor changes
	
	* Control.cs
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* NativeWindow.cs
	* win32Enums.cs
	* win32functions.cs
	
	* WIN32 implmentation

svn path=/trunk/mcs/; revision=9215
2002-11-27 20:40:32 +00:00
Gonzalo Paniagua Javier b0f4930483 Changed backslash to /
svn path=/trunk/mcs/; revision=9213
2002-11-27 17:21:02 +00:00
Miguel de Icaza ef06c30b63 2002-11-26 Miguel de Icaza <[email protected]>
* typemanager.cs (IsCLRType): New routine to tell whether a type
	is one of the builtin types.

	Maybe it needs to use TypeCodes to be faster.  Maybe we could use
	typecode in more places instead of doing pointer comparissions.
	We could leverage some knowledge about the way the typecodes are
	laid out.

	New code to cache namespaces in assemblies, it is currently not
	invoked, to be used soon.

	* decl.cs (DeclSpace.MakeFQN): Simple optimization.

	* expression.cs (Binary.ResolveOperator): specially handle
	strings, and do not perform user-defined operator overloading for
	built-in types.

svn path=/trunk/mcs/; revision=9212
2002-11-27 17:17:19 +00:00
Miguel de Icaza d2c0a54a6f 2002-11-26 Miguel de Icaza <[email protected]>
* String.cs (Concat): Reduce the number of compares required.

svn path=/trunk/mcs/; revision=9211
2002-11-27 16:56:23 +00:00
Jaime Anguiano Olarra 54ebb8522e Added links to The Mono Tutorial and to The Mono Hispano site.
svn path=/trunk/mono/; revision=9210
2002-11-27 16:39:16 +00:00
Dietmar Maurer 1e15709317 2002-11-27 Dietmar Maurer <[email protected]>
* exception.c: massive code cleanups. The code is still
	architecture dependent, but it should be now possible to reuse the
	complex parts for other architecture.

svn path=/trunk/mono/; revision=9208
2002-11-27 11:00:09 +00:00
Daniel Morgan b770951bd4 makefile.gnu not buidling from topdir makefile.gnu
svn path=/trunk/mcs/; revision=9203
2002-11-27 07:00:37 +00:00
Gonzalo Paniagua Javier 3e90439160 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: fixed target file name and
	generated class name.
	* System.Web.Compilation/BaseCompiler.cs: reference assemblies in
	PrivateBinPath.
	* System.Web.UI/UserControl.cs: fixed SetAttribute.
	* System.Web.UI/UserControlParser.cs: set the correct base type.

svn path=/trunk/mcs/; revision=9202
2002-11-27 04:24:57 +00:00
Daniel Morgan 99ce919394 2002-11-26 Daniel morgan <[email protected]>
* makefile.gnu: add Mono.Data.PostgreSqlClient
	to Linux build

	* library.build: add Mono.Data.PostgreSqlClient
	to Windows build

svn path=/trunk/mcs/; revision=9201
2002-11-27 00:59:44 +00:00
Gonzalo Paniagua Javier de2c6a5fd6 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: provide a default Browser until we detect it.
	* HttpResponse.cs:
	(End): do not close the connection here.
	(Flush (bool)): send the headers when, for example, Redirect () is
	called.

svn path=/trunk/mcs/; revision=9200
2002-11-27 00:56:30 +00:00
Rodrigo Moya 461130991e *** empty log message ***
svn path=/trunk/mcs/; revision=9199
2002-11-27 00:04:49 +00:00
Daniel Morgan 5a0513f456 2002-11-26 Daniel Morgan <[email protected]>
* list: changed the name of the files beginning
	with Sql to PgSql.  Added missing files to linux build.

	* makefile.gnu: added .dll to end of assembly names

	* Mono.Data.PostgreSqlClient: created new directory within
	mcs/class/Mono.Data.PostgreSqlClient

	* copy files from ./*.cs to ./Mono.Data.PostgreSqlClient/*.cs
	on cvs server (thanks to Miguel)

	* remove ./*.cs files

svn path=/trunk/mcs/; revision=9198
2002-11-26 21:08:58 +00:00
Ravi Pratap M cb0cb6bb2c Display usage on wrong invocation instead of blowing up with an exception.
svn path=/trunk/mcs/; revision=9197
2002-11-26 19:07:36 +00:00
Tim Coleman 769a0e50e3 2002-11-26 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient.build:
                Copy dll into Test directory.
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
                Many changes around making PREPAREs work in
                Sybase as well as SQL Server.

svn path=/trunk/mcs/; revision=9195
2002-11-26 06:36:38 +00:00
Tim Coleman 6f27b1101b 2002-11-26 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.build:
        * makefile.gnu
                Add System.EnterpriseServices to build.
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsDataReader.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsParameter.cs:
        * Mono.Data.TdsClient/TdsParameterCollection.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsTypes/TdsDecimal.cs:
                Copied over from the Sybase classes because the
                whole world is changing and I want generic
                TDS to keep up.

svn path=/trunk/mcs/; revision=9194
2002-11-26 06:36:05 +00:00
Tim Coleman db177b4a47 2002-11-26 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlParameterCollection.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Many changes around restructuring of parameter
                information so that the Sybase provider supports
                PREPAREs too.

svn path=/trunk/mcs/; revision=9193
2002-11-26 06:33:28 +00:00
Tim Coleman 8c49050ee0 2002-11-26 Tim Coleman <[email protected]>
* list:
        * Mono.Data.Tds/TdsMetaParameter.cs:
        * Mono.Data.Tds/TdsMetaParameterCollection.cs:
        * Mono.Data.Tds/TdsParameterDirection.cs:
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
        * Mono.Data.Tds.Protocol/TdsColumnType.cs:
        * Mono.Data.Tds.Protocol/TdsComm.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketType.cs:
                Restructuring around making Sybase and SQL Server
                support both work with same interface.  In particular,
                the bulk of parameter work is moved into the meta
                parameter objects from the native objects.  The
                Sybase TDS50 stuff needs intimate access to the parameters.
                This will also allow me to eventually plonk output values
                directly into parameters rather than through the current
                klugey interface.

svn path=/trunk/mcs/; revision=9192
2002-11-26 06:32:44 +00:00
Gonzalo Paniagua Javier be2bff830e 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
* list: added/removed files.

	* System.Web.Compilation/AspGenerator.cs: reworked user control
	compilation. Provide the options as a Hashtable for use in compilation.
	Create the user controls in the private bin path of the domain.

	* System.Web.Compilation/BaseCompiler.cs: base class for the various
	compiler types.

	* System.Web.Compilation/CachingCompiler.cs: actually executes mcs and
	do some poor caching (it will use Cache when finished).

	* System.Web.Compilation/CompilationException.cs: this exception has
	enough information to generate a nice error page.
	* System.Web.Compilation/CompilationResult.cs: used in caching.

	* System.Web.Compilation/PageCompiler.cs: now derives from BaseCompiler

	* System.Web.Compilation/TemplateFactory.cs: no longer needed.

	* System.Web.Compilation/UserControlCompiler.cs: new class used when
	compiling user controls.
	* System.Web.Compilation/WebServiceCompiler.cs: derives from
	BaseCompiler.
	* System.Web.Mail/SmtpMail.cs: i don't wanna see that warning :-).
	* System.Web.UI/TemplateParser.cs: fixed BaseType.
	* System.Web.UI/UserControlParser.cs: helper class to compile user
	controls.

svn path=/trunk/mcs/; revision=9191
2002-11-26 02:52:25 +00:00
Dennis Hayes 1fce2977b3 tweaked win32 defs for regclass and reg windows
svn path=/trunk/mcs/; revision=9190
2002-11-26 02:10:57 +00:00
Ville Palo ef47bde937 2002-11-25 Ville Palo <[email protected]>
* System.Data/DataSet.cs : Started to implement ReadXmlSchema -method

svn path=/trunk/mcs/; revision=9186
2002-11-25 18:42:18 +00:00
Dennis Hayes d25f4f6c2f 2002-11-24 DennisHayes <[email protected]>
* Application.cs
	* Control.cs
	* Form.cs
	* Message.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* win32functions.cs
	* win32Structs.cs
	
	* Fixed added more win32 stuff
	* On windows in Visual studio and runs my test program, but does 
	* not display a window. the window Handle is null, so the size gets set to 0,0.

svn path=/trunk/mcs/; revision=9184
2002-11-25 03:10:32 +00:00
Miguel de Icaza c7b89a3588 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Avoid calling Char.IsDigit which is an
	internalcall as it is a pretty simple operation;  Avoid whenever
	possible to call Char.IsLetter.

svn path=/trunk/mcs/; revision=9183
2002-11-25 02:50:54 +00:00
Miguel de Icaza 103f51e44f Add another book
svn path=/trunk/mono/; revision=9182
2002-11-25 02:50:15 +00:00
Miguel de Icaza 6f4ea52022 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (consume_identifier): Cut by half the number of
	hashtable calls by merging the is_keyword and GetKeyword behavior.

svn path=/trunk/mcs/; revision=9180
2002-11-25 01:40:49 +00:00
Miguel de Icaza d7534b251f 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Do not short-circuit, because if we do, we
	report errors (ie, #if false && true would produce an invalid
	directive error);

svn path=/trunk/mcs/; revision=9179
2002-11-25 01:04:31 +00:00
Miguel de Icaza 2871012ef2 Build fix from Francois
svn path=/trunk/mcs/; revision=9177
2002-11-25 00:18:09 +00:00
Miguel de Icaza dbb7154bd0 Add test for 221
svn path=/trunk/mcs/; revision=9176
2002-11-24 23:02:14 +00:00
Martin Baulig 6f4be7c65f 2002-11-24 Martin Baulig <[email protected]>
* test-130.cs: This test did not compile with csc and
	mcs now reports the error as well.  Removed the offending
	line from the test.

svn path=/trunk/mcs/; revision=9175
2002-11-24 21:00:42 +00:00
Martin Baulig 3ff535f358 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (Cast.TryReduce): If we're in checked syntax,
	check constant ranges and report a CS0221.  Fixes #33186.

svn path=/trunk/mcs/; revision=9174
2002-11-24 20:59:21 +00:00
Martin Baulig 1171e69414 2002-11-24 Martin Baulig <[email protected]>
* cs-parser.jay: Make this work for uninitialized variable
	declarations in the `for' initializer.  Fixes #32416.

svn path=/trunk/mcs/; revision=9173
2002-11-24 20:01:01 +00:00
Martin Baulig 4a7fcc46f2 Ooooops, why does this have such a strange side-effect ?
svn path=/trunk/mcs/; revision=9172
2002-11-24 19:48:25 +00:00
Martin Baulig 80358cd040 2002-11-24 Martin Baulig <[email protected]>
* verify-6.cs: New test for bug #32269.

svn path=/trunk/mcs/; revision=9171
2002-11-24 18:30:01 +00:00
Martin Baulig 22e366d1d9 2002-11-24 Martin Baulig <[email protected]>
* ecore.cs (Expression.ConvertExplicit): Make casting from/to
	System.Enum actually work.  Fixes bug #32269, added verify-6.cs.

svn path=/trunk/mcs/; revision=9170
2002-11-24 18:28:25 +00:00
Tim Coleman ccab59f0c8 2002-11-24 Tim Coleman <[email protected]>
* Mono.Data.Tds.Protocol/Tds.cs: Change error/
                message conditions because they were
                reversed (caused wrongful exceptions).

svn path=/trunk/mcs/; revision=9169
2002-11-24 16:46:37 +00:00
Ville Palo 013d711a33 2002-11-24 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added new test suite for
	XmlDataDocument.
	* System.Xml/store.xsd:
	* System.Xml/region.xsd
	* System.Xml/region.xml:
	* System.Xml/2books.xml: Needed by XmlDocumentTest.cs
	* AllTests.cs:
	* data_linux_test.args:Added XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=9167
2002-11-24 15:39:02 +00:00
Martin Baulig cc37680197 2002-11-24 Martin Baulig <[email protected]>
* test-175.cs: New test for bug #30443.

svn path=/trunk/mcs/; revision=9166
2002-11-24 15:37:47 +00:00
Eduardo Garcia Cebollero 7b999e7fbe Added MonoTests.System.Threading.ThreadTest , NUnit test for System.Threading.Thread
svn path=/trunk/mcs/; revision=9165
2002-11-24 15:37:46 +00:00
Martin Baulig 6210271bc2 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (Binary.DoNumericPromotions): Added `check_user_conv'
	argument; if true, we also check for user-defined conversions.
	This is only needed if both arguments are of a user-defined type.
	Fixes #30443, added test-175.cs.
	(Binary.ForceConversion): Pass the location argument to ConvertImplicit.

	* ecore.cs (Expression.ImplicitUserConversionExists): New method.

svn path=/trunk/mcs/; revision=9164
2002-11-24 15:36:21 +00:00
Eduardo Garcia Cebollero df5179c4b7 Added System.Threading suite and inside it, System.Threading.Thread suite
svn path=/trunk/mcs/; revision=9163
2002-11-24 15:31:25 +00:00
Martin Baulig c354f3f27f 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.GetStoreOpcode): New public static
	function to get the store opcode.
	(Invocation.EmitParams): Call ArrayAccess.GetStoreOpcode() and
	only emit the Ldelema if the store opcode is Stobj.  You must run
	both test-34 and test-167 to test this.  Fixes #34529.

svn path=/trunk/mcs/; revision=9162
2002-11-24 14:11:13 +00:00
Duncan Mak 7702c2b486 2002-11-24 Duncan Mak <[email protected]>
* XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
	Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
	first patch to Mono! ;-)

svn path=/trunk/mcs/; revision=9161
2002-11-24 08:22:01 +00:00
Dennis Hayes dd35c0405c 2002-11-23 DennisHayes <[email protected]>
checked in for 	Francois-Denis Gonthier

	* win32functions.cs
	* win32Structs.cs
	* Menu.cs
	* ScrollableControl.cs
	* MenuItem.cs
	* NativeWindow.cs
	* Form.cs
	* move some more stuff from monostub to c#
	* converted a couple of files to unix style line end
	* some implmementation

svn path=/trunk/mcs/; revision=9160
2002-11-24 04:31:26 +00:00
Martin Baulig 6899a77e6e 2002-11-23 Martin Baulig <[email protected]>
* ecore.cs (Expression.MemberLookup): Added additional
	`qualifier_type' argument which is used when we're being called
	from MemberAccess.DoResolve() and null if we're called from a
	SimpleName lookup.
	(Expression.MemberLookupFailed): New method to report errors; this
	does the CS1540 check and reports the correct error message.

	* typemanager.cs (MemberLookup): Added additional `qualifier_type'
	argument for the CS1540 check and redone the way how we're dealing
	with private members.  See the comment in the source code for details.
	(FilterWithClosure): Reverted this back to revision 1.197; renamed
	`closure_start_type' to `closure_qualifier_type' and check whether
	it's not null.  It was not this filter being broken, it was just
	being called with the wrong arguments.

	* expression.cs (MemberAccess.DoResolve): use MemberLookupFinal()
	and pass it the correct `qualifier_type'; this also does the error
	handling for us.

svn path=/trunk/mcs/; revision=9159
2002-11-23 18:53:28 +00:00
Miguel de Icaza 81ef32569d Add windows.forms back to the build
svn path=/trunk/mcs/; revision=9158
2002-11-23 02:16:50 +00:00
Miguel de Icaza 63e4c8365c Fixety fix the build
svn path=/trunk/mcs/; revision=9157
2002-11-23 02:15:54 +00:00
Dennis Hayes d7ba3b662e backout makefile changes
svn path=/trunk/mcs/; revision=9156
2002-11-23 02:10:47 +00:00
Dennis Hayes ddac57c355 added mising files to makefile
svn path=/trunk/mcs/; revision=9155
2002-11-23 02:00:29 +00:00
Miguel de Icaza 11134d7f47 Improve this test
svn path=/trunk/mcs/; revision=9154
2002-11-22 23:31:13 +00:00
Miguel de Icaza 3210b62b14 2002-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitParams): If the we are dealing
	with a non-built-in value type, load its address as well.

	(ArrayCreation): Use a a pretty constant instead
	of the hardcoded value 2.   Use 6 instead of 2 for the number of
	static initializers.

	(ArrayCreation.EmitDynamicInitializers): Peel enumerations,
	because they are not really value types, just glorified integers.

	* driver.cs: Do not append .exe, the CSC compiler does not do it.

svn path=/trunk/mcs/; revision=9153
2002-11-22 23:05:19 +00:00
Miguel de Icaza 8eac21b8b2 Improve test
svn path=/trunk/mcs/; revision=9152
2002-11-22 23:03:53 +00:00
Miguel de Icaza 0cccb65c1b 2002-11-22 Miguel de Icaza <[email protected]>
* ecore.cs: Remove redundant code for enumerations, make them use
	the same code path as everything else, fixes the casting issue
	with enumerations in Windows.Forms.

	* attribute.cs: Do only cast to string if it is a string, the
	validation happens later.

	* typemanager.cs: Temproary hack to avoid a bootstrap issue until
	people upgrade their corlibs.

svn path=/trunk/mcs/; revision=9151
2002-11-22 18:26:10 +00:00
Dietmar Maurer d8cbe11846 2002-11-22 Dietmar Maurer <[email protected]>
* threads.c (TlsGetValue): removed unnecessary mutex

svn path=/trunk/mono/; revision=9150
2002-11-22 13:10:16 +00:00
Daniel Morgan 02fa55d3fb 2002-11-21 Daniel Morgan <[email protected]>
* Mono.Data.Tds.build: added missing file
	for Windows build

svn path=/trunk/mcs/; revision=9149
2002-11-22 04:13:37 +00:00
Dennis Hayes 4030526c9a file added for matt stump
svn path=/trunk/mcs/; revision=9147
2002-11-22 01:56:26 +00:00
Gonzalo Paniagua Javier e1c57a1bdb Added missing TODOAttribute
svn path=/trunk/mcs/; revision=9146
2002-11-21 19:43:57 +00:00
Miguel de Icaza 6d6bd4aef6 Add new test
svn path=/trunk/mcs/; revision=9145
2002-11-21 19:43:13 +00:00
Gonzalo Paniagua Javier fe1d406b8e Added missing file
svn path=/trunk/mcs/; revision=9144
2002-11-21 19:37:53 +00:00
Miguel de Icaza e054e2bf09 1540 is not caught elsewhere
svn path=/trunk/mcs/; revision=9143
2002-11-21 19:32:13 +00:00
Miguel de Icaza 40b61ef472 2002-11-21 Miguel de Icaza <[email protected]>
* typemanager.cs (FilterWithClosure): Commented out the test for
	1540 in typemanager.cs, as it has problems when accessing
	protected methods from a parent class (see test-174.cs).

	Notice that 1540 is still caught elsewhere.

svn path=/trunk/mcs/; revision=9142
2002-11-21 19:31:38 +00:00
Jaime Anguiano Olarra eb79ffe6c7 Fixed error on link to the Mono Keynote presentation at .NET ONE.
svn path=/trunk/mono/; revision=9141
2002-11-21 19:10:17 +00:00
Tim Coleman 5715ac36a5 2002-11-21 Tim Coleman <[email protected]>
* ChangeLog:
	* *.cs:
		These files have been moved to Mono.Data.Tds.Protocol.

svn path=/trunk/mcs/; revision=9140
2002-11-21 18:14:49 +00:00
Miguel de Icaza bc16469907 2002-11-21 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.ValidateGuid): new method.
	(Attribute.Resolve): Use above.

svn path=/trunk/mcs/; revision=9139
2002-11-21 17:26:07 +00:00
Tim Coleman f8512e873f 2002-11-21 Tim Coleman <[email protected]>
* makefile.gnu:
	* System.Data/list:
	* System.Data/makefile.gnu:
	* Mono.Data.SybaseClient/list:
	* Mono.Data.SybaseClient/makefile.gnu:
	* Mono.Data.TdsClient/list:
	* Mono.Data.TdsClient/makefile.gnu:
		Make these compile correctly on linux.

svn path=/trunk/mcs/; revision=9138
2002-11-21 17:22:12 +00:00
Miguel de Icaza 0babd91b5f Added testity test
svn path=/trunk/mcs/; revision=9137
2002-11-21 17:20:05 +00:00
Tim Coleman 2a40a19fa9 Missed committing these.
svn path=/trunk/mcs/; revision=9136
2002-11-21 17:10:32 +00:00
Tim Coleman a287c2115a 2002-11-21 Tim Coleman <[email protected]>
* library.build:
		Add Mono.Data.Tds to build.

svn path=/trunk/mcs/; revision=9135
2002-11-21 17:01:15 +00:00
Tim Coleman 642189f84f 2002-11-21 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.build:
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsConnectionPool.cs:
        * Mono.Data.TdsClient/TdsDataReader.cs:
        * Mono.Data.TdsClient/TdsError.cs:
        * Mono.Data.TdsClient/TdsErrorCollection.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient/TdsParameterCollection.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsTypes/TdsDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9134
2002-11-21 16:59:38 +00:00
Tim Coleman 96a558b003 2002-11-21 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient.build:
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9133
2002-11-21 16:57:36 +00:00
Tim Coleman cdca3a0682 2002-11-21 Tim Coleman <[email protected]>
* makefile.gnu:
		Disable linux system.data builds until it works correctly.

svn path=/trunk/mcs/; revision=9132
2002-11-21 16:55:57 +00:00
Tim Coleman 50793b9078 2002-11-21 Tim Coleman <[email protected]>
* System.Data.build:
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlConnectionPool.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9131
2002-11-21 16:55:20 +00:00
Tim Coleman 162a4d7cb8 2002-11-21 Tim Coleman <[email protected]>
* list:
        * ChangeLog:
        * Mono.Data.Tds.build:
        * makefile.gnu:
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds42.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
        * Mono.Data.Tds.Protocol/TdsBigDecimal.cs:
        * Mono.Data.Tds.Protocol/TdsColumnStatus.cs:
        * Mono.Data.Tds.Protocol/TdsColumnType.cs:
        * Mono.Data.Tds.Protocol/TdsComm.cs:
        * Mono.Data.Tds.Protocol/TdsConnectionParameters.cs:
        * Mono.Data.Tds.Protocol/TdsEnvPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsInternalError.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorCollection.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorMessageEventArgs.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorMessageEventHandler.cs:
        * Mono.Data.Tds.Protocol/TdsInternalException.cs:
        * Mono.Data.Tds.Protocol/TdsInternalInfoMessageEventArgs.cs:
        * Mono.Data.Tds.Protocol/TdsInternalInfoMessageEventHandler.cs:
        * Mono.Data.Tds.Protocol/TdsMessage.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketControlResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketOutputParam.cs:
        * Mono.Data.Tds.Protocol/TdsPacketResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRetStatResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRowResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketTableNameResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
        * Mono.Data.Tds.Protocol/TdsSchemaInfo.cs:
        * Mono.Data.Tds.Protocol/TdsServerType.cs:
        * Mono.Data.Tds.Protocol/TdsTimeoutException.cs:
        * Mono.Data.Tds.Protocol/TdsVersion.cs:
        * Mono.Data.Tds.Protocol/TODOAttribute.cs:
                New assembly.  The Protocol files came from
                Mono.Data.TdsClient.Internal, and thus their
                protection levels and namespaces have changed.
~

svn path=/trunk/mcs/; revision=9130
2002-11-21 16:53:11 +00:00
Paolo Molaro 5d09843cd7 Build fixes.
svn path=/trunk/mcs/; revision=9129
2002-11-21 15:01:45 +00:00
Paolo Molaro 68c66a9e78 Fix compilation.
svn path=/trunk/mcs/; revision=9128
2002-11-21 14:43:15 +00:00
Gonzalo Paniagua Javier 437bb81e83 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs:
	(Render): call RenderContents (), not base.RenderContents ().

	* DataList.cs: style.

	But I still haven't found what i'm looking for....

svn path=/trunk/mcs/; revision=9127
2002-11-21 04:02:37 +00:00
Gonzalo Paniagua Javier 852f04ce30 Forgot changelog
svn path=/trunk/mcs/; revision=9126
2002-11-21 03:58:27 +00:00
Sebastien Pouliot 7f1f71f141 2002-11-20 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Added suites for very listed files.
	* DataObjectTest.cs: New. Test suite for DataObject.
	* DSAKeyValueTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoNameTest.cs: New. Test suite for KeyInfoName.
	* KeyInfoNodeTest.cs: New. Test suite for KeyInfoNode.
	* KeyInfoRetrievalMethodTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoTest.cs: New. Test suite for KeyInfo.
	* KeyInfoX509DataTest.cs: New. Test suite for KeyInfoX509Data.
	* ReferenceTest.cs: New. Incomplete test suite for Reference.
	* RSAKeyValueTest.cs: New. Test suite for RSAKeyValue.
	* SignatureTest.cs: New. Partial test suite for Signature.
	* SignedInfoTest.cs: New. Partial test suite for SignedInfo.
	* SignedXmlTest.cs: New. Partial test suite for SignedXml.
	* TransformChainTest.cs: New. Test suite for TransformChain.
	* XmlDsigBase64TransformTest.cs: New. Partial test suite for
	XmlDsigBase64Transform
	* XmlDsigXsltTransformTest.cs: New. Partial test suite for
	XmlDsigXsltTransform.

svn path=/trunk/mcs/; revision=9125
2002-11-21 02:30:39 +00:00
Sebastien Pouliot e69a395eda 2002-11-20 Sebastien Pouliot <[email protected]>
* DataObject.cs: New. Complete implementation.
	* DSAKeyValue.cs: New. Complete implementation.
	* KeyInfo.cs: New. Complete implementation.
	* KeyInfoClause.cs: New. Abstract class (complete).
	* KeyInfoName.cs: New. Complete implementation.
	* KeyInfoNode.cs: New. Complete implementation.
	* KeyInfoRetrievalMethod.cs: New. Complete implementation.
	* KeyInfoX509Data.cs: New. Complete implementation.
	* Reference.cs: New. Incomplete implementation.
	* RSAKeyValue.cs: New. Complete implementation.
	* Signature.cs: New. Almost complete implementation - returned
	XML isn't exactly like the MS implementation.
	* SignedInfo.cs: New. Complete except SignatureLength.
	* SignedXml.cs: New. Minimal implementation (only enveloped signatures).
	Still many TODO!
	* Transform.cs: New. Abstract class (complete).
	* TransformChain.cs: New. Complete implementation.
	* XmlDsigBase64Transform.cs: New. Stub + basic logic.
	* XmlDsigC14NTransform.cs: New. Stub + basic logic.
	* XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
	* XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
	* XmlDsigXPathTransform.cs: New. Stub + basic logic.
	* XmlDsigXsltTransform.cs: New. Stub + basic logic.

svn path=/trunk/mcs/; revision=9124
2002-11-21 02:24:23 +00:00
Sebastien Pouliot c1a9681be5 2002-11-20 Sebastien Pouliot <[email protected]>
* RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
	as it doesn't seems to work on my system and the exception behavior
	isn't logical (only MD5 not SHA1, ...).

svn path=/trunk/mcs/; revision=9123
2002-11-21 00:50:50 +00:00
Sebastien Pouliot a23331712f 2002-11-20 Sebastien Pouliot <[email protected]>
* AsymmetricSignatureDeformatter.cs: Added exception handling in
	VerifySignature (moved from RSAPKCS1SignatureDeformatter).
	* AsymmetricSignatureFormatter.cs: Added exception handling in
	CreateSignature (moved from RSAPKCS1SignatureFormatter).
	* CryptoAPITransform.cs: Removed "= false" assignation from a private
	member (because this created an unwanted "ghost" constructor) and
	modified Dispose declaration.
	* HashAlgorithm.cs: Removed destructor. Disposing unmanaged
	ressources is the responsability of each class (not an abstract class).
	* RSAPKCS1SignatureDeformatter.cs: Removed a VerifySignature method
	which was present in the base class AsymmetricSignatureDeformatter.
	* RSAPKCS1SignatureFormatter.cs: Removed a CreateSignature method
	which was present in the base class AsymmetricSignatureFormatter.
	* SHA1Managed.cs: Removed sealed from class declaration. Removed
	destructor and Dispose method as class is fully managed.
	* ToBase64Transform.cs: Added virtual to property CanReuseTransform.

svn path=/trunk/mcs/; revision=9122
2002-11-21 00:48:32 +00:00
Miguel de Icaza 43ab2e6890 Flush
svn path=/trunk/mono/; revision=9121
2002-11-21 00:15:26 +00:00
Gonzalo Paniagua Javier ced0e65179 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
* BufferedStream.cs: applied patch from <[email protected]> that
	fixes Flush ().

svn path=/trunk/mcs/; revision=9120
2002-11-20 23:26:08 +00:00
Miguel de Icaza 7340a83a0a Update news, am sure am missing stuff
svn path=/trunk/mono/; revision=9119
2002-11-20 23:09:08 +00:00
Alejandro Sánchez Acosta 8d573bf640 IExpando added.
svn path=/trunk/mcs/; revision=9118
2002-11-20 21:20:46 +00:00
Alejandro Sánchez Acosta f80f57938d IClrObjectFactory.cs, IComManagedImportUtil.cs and IComSoapPublisher.cs added.
svn path=/trunk/mcs/; revision=9116
2002-11-20 17:13:46 +00:00
Gonzalo Paniagua Javier e2dc2f131b 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: s/MONO_PATH_PREFIX/MONO_PATH/

	* System.Web.UI/LosFormatter.cs: added DateTime to special types.
	* System.Web.UI.WebControls/Calendar.cs: fixed loading/saving selected
	dates.
	* System.Web.UI.WebControls/SelectedDatesCollection.cs: added internal
	function to get the underlying ArrayList.

	Calendar navigation works again. Selecting dates too.

svn path=/trunk/mcs/; revision=9115
2002-11-20 16:45:13 +00:00
Ville Palo d995a54f11 2002-11-20 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
	decimal.c file. Does not work correctly yet.

svn path=/trunk/mcs/; revision=9114
2002-11-20 16:03:02 +00:00
Paolo Molaro f5ba9fba4b Fixed typo found by Philip Van Hoof <[email protected]>.
svn path=/trunk/mcs/; revision=9113
2002-11-20 15:42:23 +00:00
Nick Drochak 7159ba9f99 2002-11-20 Nick Drochak <[email protected]>
* RegistryKey.cs: Fix typo.

svn path=/trunk/mcs/; revision=9112
2002-11-20 13:47:41 +00:00
Daniel Morgan c099e72017 2002-11-20 Daniel Morgan <[email protected]>
* doc/firebird: updated web page

svn path=/trunk/mono/; revision=9111
2002-11-20 13:32:45 +00:00
Dick Porter 3533747a04 2002-11-20 Dick Porter <[email protected]>
* timed-thread.c (_wapi_timed_thread_attach): Attached threads
	need to store their data structure too.

	* threads.c: Make sure the threading data is initialised wherever
	it is needed

2002-11-20  Dick Porter  <[email protected]>

	* threads.c (mono_thread_init): Set the main thread's handle

svn path=/trunk/mono/; revision=9110
2002-11-20 12:32:40 +00:00
Miguel de Icaza 43d6bbdcab Update
svn path=/trunk/mcs/; revision=9108
2002-11-20 02:41:29 +00:00
Miguel de Icaza 4ab843536c Add new file, used for Windows.Forms compilation
svn path=/trunk/mcs/; revision=9107
2002-11-20 02:41:17 +00:00
Miguel de Icaza 3c5f95b45e 2002-11-19 Miguel de Icaza <[email protected]>
* enum.cs: In FindMembers, perform a recursive lookup for values. (34308)

svn path=/trunk/mcs/; revision=9106
2002-11-20 02:28:21 +00:00
Gonzalo Paniagua Javier 8b332266c8 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* DefaultValueAttribute.cs: the attribute applies to All.

svn path=/trunk/mcs/; revision=9105
2002-11-20 02:16:47 +00:00
Gonzalo Paniagua Javier e9fc3d5e64 added files
svn path=/trunk/mcs/; revision=9104
2002-11-20 02:15:36 +00:00
Gonzalo Paniagua Javier 5d07543d21 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog:
	* ElapsedEventArgs.cs:
	* ElapsedEventHandler.cs:
	* Timer.cs:
	* TimersDescriptionAttribute.cs: New files.

	Don't use timers yet. If you do, your program will never end.

svn path=/trunk/mcs/; revision=9103
2002-11-20 02:14:56 +00:00
Miguel de Icaza 87a169f0b7 2002-11-19 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Remove the special
	handling for enumerations, as we only needed the TypeContainer
	functionality to begin with (this is required for the fix below to
	work for enums that reference constants in a container class for
	example).

	* codegen.cs (EmitContext): Make TypeContainer a DeclSpace.

	* enum.cs (Enum.Define): Use `this' instead of parent, so we have
	a valid TypeBuilder to perform lookups on.o

	* class.cs (InheritableMemberSignatureCompare): Use true in the
	call to GetGetMethod and GetSetMethod, because we are comparing
	the signature, and we need to get the methods *even* if they are
	private.

	(PropertyBase.CheckBase): ditto.

svn path=/trunk/mcs/; revision=9102
2002-11-20 01:53:45 +00:00
Alejandro Sánchez Acosta 5798674508 New Attribute to compile list added
svn path=/trunk/mcs/; revision=9101
2002-11-20 00:39:39 +00:00
Alejandro Sánchez Acosta 2974a0320f ApplicationCrmEnabledAttribute.cs added
svn path=/trunk/mcs/; revision=9100
2002-11-20 00:35:45 +00:00
Mike Kestner 0bcfa9caad 2002-11-19 Mike Kestner <[email protected]>
* data/config.in : added the gtk# dll mapping entries

svn path=/trunk/mono/; revision=9099
2002-11-20 00:12:48 +00:00
Daniel Morgan 25fc0f820b 2002-11-19 Daniel Morgan <[email protected]>
* doc/firebird: updated web page based on input
	from the firebird .net data provider author

svn path=/trunk/mono/; revision=9097
2002-11-19 23:08:00 +00:00
Miguel de Icaza 2e561bb2d3 2002-11-19 Miguel de Icaza <[email protected]>
* statement.cs (Switch.ResolveAndReduce, Block.EmitMeta,
	GotoCase.Resolve): Use Peel on EmpytCasts.

	* ecore.cs (EmptyCast): drop child, add Peel method.

svn path=/trunk/mcs/; revision=9095
2002-11-19 22:32:19 +00:00
Miguel de Icaza 71e4f3fbbf Improve test
svn path=/trunk/mcs/; revision=9094
2002-11-19 22:31:45 +00:00
Tim Coleman 9cf7739389 2002-11-19 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseCommand.cs:
                Fix BuildExec to work.

svn path=/trunk/mcs/; revision=9091
2002-11-19 22:24:18 +00:00
Tim Coleman 1801fbf364 2002-11-19 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketSubType.cs:
                More changes to get Sybase queries working
                properly.

svn path=/trunk/mcs/; revision=9090
2002-11-19 22:22:51 +00:00
Gonzalo Paniagua Javier b5d3540cb7 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
* XmlNode.cs:
	(AppendChild): readded refChild != null condition before throwing
	"cannot insert this node in this position" exception. There's probably
	a better solution. Fixes #34191.
	(RemoveAll): changed following Atsushi instructions.

svn path=/trunk/mcs/; revision=9087
2002-11-19 20:37:12 +00:00
Daniel Morgan a89723d5c8 2002-11-19 Carlos Guzm�n �lvarez <[email protected]>
* DataRow.cs: an object that is equal to null
	should be allowed to be set in this indexer too
	to be like .NET

svn path=/trunk/mcs/; revision=9086
2002-11-19 20:13:15 +00:00
Gonzalo Paniagua Javier 302bcca5e4 Added missing file
svn path=/trunk/mcs/; revision=9085
2002-11-19 16:42:52 +00:00
Gonzalo Paniagua Javier 682eeaee73 Hope this is the last commit of the saga
svn path=/trunk/mcs/; revision=9084
2002-11-19 16:36:55 +00:00
Duncan Mak 8e430d4e44 Kill that extra line, blah.
svn path=/trunk/mcs/; revision=9083
2002-11-19 16:32:03 +00:00
Duncan Mak fbdf22214f 2002-11-19 Duncan Mak <[email protected]>
* DesignerAttribute.cs:
	* EditorAttribute: Style changes. Gonzalo committed the build
	fixes before I did.

svn path=/trunk/mcs/; revision=9082
2002-11-19 16:30:00 +00:00
Gonzalo Paniagua Javier e199546d06 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
* DesignerAttribute.cs:
	* EditorAttribute.cs: fixed the build.

svn path=/trunk/mcs/; revision=9081
2002-11-19 16:14:28 +00:00
Nick Drochak ca72938859 2002-11-20 Nick Drochak <[email protected]>
* library.make: for .response allow white space at the end of
	the line

svn path=/trunk/mcs/; revision=9080
2002-11-19 16:11:06 +00:00
Alejandro Sánchez Acosta a8ca726565 DesignerAttribute fixed: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9079
2002-11-19 16:01:15 +00:00
Miguel de Icaza 669a2aef08 oops, fix
svn path=/trunk/mono/; revision=9078
2002-11-19 14:45:03 +00:00
Miguel de Icaza d314ddca35 oops, fix
svn path=/trunk/mono/; revision=9077
2002-11-19 14:43:59 +00:00
Alejandro Sánchez Acosta 72862d1a5a System.ComponentModel updated: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9076
2002-11-19 14:39:37 +00:00
Alejandro Sánchez Acosta 3385adb409 EditorAtrribute and Designer Attribute added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9075
2002-11-19 14:27:29 +00:00
Alejandro Sánchez Acosta e38d6661e8 System.ComponentModel.DesignerAttribute.cs Added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9074
2002-11-19 14:16:35 +00:00
Alejandro Sánchez Acosta b73274fa2f System.ComponentModel.EditorAttribute.cs Added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9073
2002-11-19 14:15:42 +00:00
Miguel de Icaza f1ad845b48 flush
svn path=/trunk/mono/; revision=9072
2002-11-19 13:22:06 +00:00
Paolo Molaro ada4dfab21 Tue Nov 19 14:15:34 CET 2002 Paolo Molaro <[email protected]>
* gc.c: allow compilation without GC support. Changed to match the
	mono coding style.

svn path=/trunk/mono/; revision=9071
2002-11-19 13:20:12 +00:00
Paolo Molaro 4be3ca2233 Tue Nov 19 13:03:27 CET 2002 Paolo Molaro <[email protected]>
* UTF8Encoding.cs: fix GetByteCount (), too.

svn path=/trunk/mcs/; revision=9070
2002-11-19 12:07:19 +00:00
Paolo Molaro c730cb0d52 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <[email protected]>
* StreamWriter.cs: output the encoding preamble at the start of a
	stream if needed.

svn path=/trunk/mcs/; revision=9069
2002-11-19 12:05:09 +00:00
Miguel de Icaza 0fcd47a575 2002-11-19 Miguel de Icaza <[email protected]>
* UnicodeEncoding.cs: the bytemark should only be used to return
	information in GetPreamble, not to actually encode the information
	on the stream.  That is taken care of by the Stream classes.

	* UTF8Encoding.cs: ditto.

svn path=/trunk/mcs/; revision=9068
2002-11-19 11:18:36 +00:00
Tim Coleman 1a91d768dc 2002-11-18 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlConnection.cs:
                BeginTransaction bug.
        * System.Data.SqlClient/SqlParameter.cs:
                Add some comments to describe what is going on.

svn path=/trunk/mcs/; revision=9067
2002-11-19 07:21:23 +00:00
Tim Coleman 62b1d2071f 2002-11-18 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/TdsComm.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketSubType.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketType.cs:
                Sybase compatibility fixes.

svn path=/trunk/mcs/; revision=9066
2002-11-19 07:18:33 +00:00
Tim Coleman 0d8074546e 2002-11-18 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
                Various changes to overhaul Sybase provider,
                and bring it closer to being in-line with
                the SqlClient.  Can now connect to Sybase DB.

svn path=/trunk/mcs/; revision=9065
2002-11-19 07:15:33 +00:00
Tim Coleman bf8dbc7147 2002-11-18 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
                Add a TODO.
        * System.Data.SqlClient/SqlDataReader.cs:
                Add support to get SQL Types
        * System.Data.SqlClient/SqlParameter.cs:
                Add some comments to describe what is going on.

svn path=/trunk/mcs/; revision=9064
2002-11-19 00:28:49 +00:00
Paolo Molaro 5c9470a6e1 Mon Nov 18 18:41:51 CET 2002 Paolo Molaro <[email protected]>
* gc.c: don't start the finalizer thread if the env var GC_DONT_GC is set.

svn path=/trunk/mono/; revision=9062
2002-11-18 17:45:59 +00:00
Paolo Molaro c65dcb173e Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <[email protected]>
* Activator.cs: throw a MissingMethodException if the default
	constructor is not found in CreateInstance.

svn path=/trunk/mcs/; revision=9061
2002-11-18 16:58:27 +00:00
Paolo Molaro 3c310c3846 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented GetManifestResourceStream (Type type,
	* String name).

svn path=/trunk/mcs/; revision=9060
2002-11-18 16:56:38 +00:00
Paolo Molaro 5802708086 Mon Nov 18 16:40:34 CET 2002 Paolo Molaro <[email protected]>
* configure.in, mono/os/gc_wrapper.h: check that the gc headers have
	been installed.

svn path=/trunk/mono/; revision=9059
2002-11-18 15:48:05 +00:00
Paolo Molaro ef768d3054 Mon Nov 18 16:35:22 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: set a public key token on the core assemblies.

svn path=/trunk/mono/; revision=9058
2002-11-18 15:39:31 +00:00
Dick Porter 149bb43784 2002-11-18 Dick Porter <[email protected]>
* threads.c: Split out some thread initialisation so that other
	files can set the start callback function.

	* gc.c: Run finalisers in a separate thread, to avoid stack
	overflow.  Fixes bug 31333.

	* appdomain.c: Set up GC finalisation thread.

	* reflection.c:
	* object.c:
	* domain.c: Use gc.h macros for GC_malloc

svn path=/trunk/mono/; revision=9057
2002-11-18 15:11:25 +00:00
Nick Drochak db77736d70 i2002-11-18 Nick Drochak <[email protected]>
* RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
	verifying a bad signature.  Test for that.

svn path=/trunk/mcs/; revision=9056
2002-11-18 13:47:15 +00:00
Paolo Molaro f281e2ac89 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <[email protected]>
* CultureInfo.cs: implemented Equals and GetHashCode.

svn path=/trunk/mcs/; revision=9055
2002-11-18 12:10:56 +00:00
Dennis Hayes 3102bc9733 removing SWF from build. mcs error need fixing
svn path=/trunk/mcs/; revision=9054
2002-11-18 07:16:32 +00:00
Dennis Hayes d322ee58ea removed comvisible
svn path=/trunk/mcs/; revision=9053
2002-11-18 07:08:21 +00:00
Dennis Hayes 8468985f95 replaced 2 byte eol with 1 byte, unix style
svn path=/trunk/mcs/; revision=9052
2002-11-18 07:05:57 +00:00
Dennis Hayes 4830bfef6b added new win32 stuff to makefile
svn path=/trunk/mcs/; revision=9051
2002-11-18 05:17:00 +00:00
Brian Ritchie d6d12b541c Added Description property to Provider
Modified app.config SectionHandler to read optional Description property
Modified sample code & config files to include Description
Added new FillDataSet overload to DataTools

svn path=/trunk/mcs/; revision=9050
2002-11-18 05:01:58 +00:00
Dennis Hayes bbd84a35ec replaced win32.cs with new win32 code
svn path=/trunk/mcs/; revision=9049
2002-11-18 04:55:44 +00:00
Dennis Hayes 67df1a3942 removing old win32 stuff
svn path=/trunk/mcs/; revision=9048
2002-11-18 04:47:30 +00:00
Dennis Hayes 868f725ee7 2002-11-17 DennisHayes <[email protected]>
* AccessibleObject.cs

	* Removed COMvisible. Docs say yes, but verifer says no

  2002-11-17  DennisHayes <[email protected]>	

	* Application.cs
	* Button.cs
	* Control.cs
	* Form.cs
	* Label.cs
	* ListBox.cs
	* Menu.cs
	* MessageBox.cs
	* NativeWindow.cs
	* PrintPreviewDialog.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* VScrollBar.cs

	* Made changes releated to the new win32 stuff

  2002-11-17  DennisHayes <[email protected]>	
	* Win32Enums.cs
	* Win32Handles.cs
	* Win32Interfaces.cs
	* Win32RegistryUtil.cs
	* Win32Structs.cs

	* Completed merging files from  Carlos Harvey Perez
	* Moved all parts of Win32.cs to these files
	* eliminated Win32.cs.
	*
	* many things moved from win32.cs still commented out.
	* Also needs to be mono styled.

	* Win32.cs - removed

svn path=/trunk/mcs/; revision=9047
2002-11-18 04:46:33 +00:00
Dennis Hayes 16503117ea added new win32 stuff, see next log
svn path=/trunk/mcs/; revision=9046
2002-11-18 04:44:37 +00:00
Jackson Harper 8167fff329 Added copyright
svn path=/trunk/mcs/; revision=9045
2002-11-18 03:07:57 +00:00
Jackson Harper 42e92b1009 Added File
svn path=/trunk/mcs/; revision=9044
2002-11-18 03:06:42 +00:00
Sebastien Pouliot 81e1b170bb *** empty log message ***
svn path=/trunk/mcs/; revision=9037
2002-11-17 21:55:50 +00:00
Sebastien Pouliot b5aca35af8 2002-11-17 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added a common RSA keypair for tests and all RSA
	suites for new tests.
	* RSACryptoServiceProviderTest.cs: Include tests for keygen,
	import/export and signature (no encryption yet).
	* RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows (cannot yet compare
	with CryptoAPI/Windows as OAEP isn't available on my system).
	* RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.
	* RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
	* RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.
	* RSAPKCS1SignatureDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
	* RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.

svn path=/trunk/mcs/; revision=9036
2002-11-17 21:54:09 +00:00
Sebastien Pouliot a207a19f3b 2002-11-17 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Added full classes name for MapNameToOID.
	* PKCS1.cs: New. Internal class for the various primitives defined
	in PKCS#1 v.2.1.
	* PKCS1MaskGenerationFunction.cs: Modified to use PKCS1.cs.
	* RSA.cs: Added internal class RSAHandler (which implements IHandler
	interface for MiniParser) to import RSA keypairs from XML strings.
	* RSACryptoServiceProvider.cs: Crypto implemented using BigInteger.
	Key generation is VERY LONG.
	* RSAOAEPKeyExchangeDeformatter.cs: Completed using PKCS1. Not sure
	of the results as this is not available in all versions of Windows.
	* RSAOAEPKeyExchangeFormatter.cs: Completed using PKCS1. Not sure
	of the results as this is not available in all versions of Windows.
	* RSAPKCS1KeyExchangeDeformatter.cs: Completed using PKCS1.
	* RSAPKCS1KeyExchangeFormatter.cs: Completed using PKCS1.
	* RSAPKCS1SignatureDeformatter.cs: Completed using PKCS1.
	* RSAPKCS1SignatureFormatter.cs: Completed using PKCS1.

svn path=/trunk/mcs/; revision=9035
2002-11-17 21:49:53 +00:00
Daniel Morgan 7f3e87c346 2002-11-17 Daniel Morgan <[email protected]>
* DataGrid.cs: Redid Clear(). Made GetResolvedDataSource() protected.

	* LoginDialog.cs: if Cancel is clicked, don't set provider

	* sqlsharpgtk.cs: for bottom panel (Output Results) add tool bar button
	to toggle between DataGrid and TextView

svn path=/trunk/mcs/; revision=9033
2002-11-17 20:21:39 +00:00
Sebastien Pouliot 2f884ec9e0 2002-11-17 Sebastien Pouliot <[email protected]>
* unix.args: added missing files from System.Security.Cryptography
	namespace.

svn path=/trunk/mcs/; revision=9032
2002-11-17 18:26:59 +00:00
Sebastien Pouliot fa8fc401f8 2002-11-17 Sebastien Pouliot <[email protected]>
* MiniParser.cs: Added explicit cast in order to compile with mcs.

svn path=/trunk/mcs/; revision=9031
2002-11-17 18:17:33 +00:00
Martin Baulig 1585ebb20e 2002-11-17 Martin Baulig <[email protected]>
* ecore.cs (EmptyCast.Child): New public property.

	* statement.cs (SwitchLabel.ResolveAndReduce): Check whether the
	label resolved to an EmptyCast.  Fixes #34162.
	(GotoCase.Resolve): Likewise.
	(Block.EmitMeta): Likewise.

svn path=/trunk/mcs/; revision=9030
2002-11-17 16:51:14 +00:00
Martin Baulig 4d03d4a538 Added two more testcases.
svn path=/trunk/mcs/; revision=9029
2002-11-17 16:34:42 +00:00
Martin Baulig 698428585e 2002-11-17 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterConversion): Prefer int over
	uint; short over ushort; long over ulong for integer literals.
	Use ImplicitConversionExists instead of StandardConversionExists
	since we also need to check for user-defined implicit conversions.
	Fixes #34165.  Added test-173.cs.

svn path=/trunk/mcs/; revision=9028
2002-11-17 16:32:15 +00:00
Martin Baulig 62e0cd7f83 2002-11-17 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterConversion): Prefer int over
	uint; short over ushort; long over ulong for integer literals.
	Fixes #34165.  Added test-173.cs.

svn path=/trunk/mcs/; revision=9027
2002-11-17 15:52:13 +00:00
Martin Baulig eaabc5843d 2002-11-17 Martin Baulig <[email protected]>
* README.tests: Whoever added test-167 to test-172
	while I was away, you forgot to add them here.

svn path=/trunk/mcs/; revision=9026
2002-11-17 15:44:34 +00:00
Martin Baulig 6e2cc71e0a 2002-11-17 Martin Baulig <[email protected]>
* test-173.cs: New test for bug #34165.

svn path=/trunk/mcs/; revision=9025
2002-11-17 15:43:48 +00:00
Sebastien Pouliot 2c1416ae74 2002-11-17 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added missing crypto test files.

svn path=/trunk/mcs/; revision=9024
2002-11-17 14:33:49 +00:00
Sebastien Pouliot db91d39fd8 *** empty log message ***
svn path=/trunk/mcs/; revision=9023
2002-11-17 03:46:31 +00:00
Sebastien Pouliot cf5c9be82c 2002-11-16 Sebastien Pouliot <[email protected]>
* corlib_test.build: removed DSATest from exclusions.

svn path=/trunk/mcs/; revision=9022
2002-11-17 03:42:14 +00:00
Sebastien Pouliot 619d5022f2 2002-11-16 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suites for DSASignatureDeformatter,
	DSASignatureFormatter.
	* CryptoConfigTest.cs: Tests new URLs. This test will fail
	if System.Security.dll isn't present (or not yet compiled).
	* DSACryptoServiceProviderTest.cs: New. Key generation (limited
	because it's too slow), Import/Export, Signature and Verification.
	* DSASignatureDeformatterTest.cs: New. Test signature verification.
	* DSASignatureFormatterTest.cs: New. Test signature creation.
	* DSATest.cs: Comment DSA-derived test class as DSA constructor
	is internal. Reworked the test suite.
	* SignatureDescriptionTest.cs: Added tests for
	DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.

svn path=/trunk/mcs/; revision=9021
2002-11-17 03:41:06 +00:00
Sebastien Pouliot 7613418766 2002-11-16 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Added internal class AsymmetricParameters
	(which implements the IReader interface for MiniParser). Corrected
	Dispose declaration.
	* BigInteger.cs: New. Internal class for handling BIG integers for
	asymmetric crypto (both RSA and DSA). Thanks to Chew Keong TAN !
	* CryptoConfig.cs: Added XMLDSIG URLs in CreateFromName.
	Will dynamically load System.Security.dll, when required,
	to return instance of those classes. Also CryptoConfig can now
	create any object (e.g. System.IO.MemoryStream) !
	* DSA.cs: Added internal class DSAHandler (which implements IHandler
	interface for MiniParser) to import DSA keypairs from XML strings.
	* DSACryptoServiceProvider.cs: Crypto fully implemented using
	BigInteger. Key generation (group) is VERY long.
	* MiniParser.cs: New. Minimal XML parser by Sergey Chaban. Used to
	import keypairs in XML strings.
	* SignatureDescription.cs: Removed local CreateFromName (to use
	CryptoConfig - which actually can create anything). Added internal
	classes DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.

svn path=/trunk/mcs/; revision=9020
2002-11-17 03:38:23 +00:00
Daniel Morgan 5c61c18c2d 2002-11-16 Daniel Morgan <[email protected]>
* DataGrid.cs: made this a GTK# widget and
	  removed any references to System.Data

	* DbProvider.cs: added DbDataAdpter class

	* SqlEditorSharp.cs: made this an actual GTK# widget and
	  added a few more SQL keywords

	* sqlsharpgtk.cs: use the GTK# DataGrid for results by
	  using a DbDataAdapter to Fill a DataTable and then
	  data bind that DataTable to the DataGrid

	* win32.make: added DataGrid.cs to build

	* DataGrid.Makefile.win32: removed file

svn path=/trunk/mcs/; revision=9019
2002-11-17 00:44:26 +00:00
Martin Baulig e46d25ace4 2002-11-16 Martin Baulig <[email protected]>
* expression.cs (Binary.EmitBranchable): Eliminate comparisions
	with the `true' and `false' literals.  Fixes #33151.

svn path=/trunk/mcs/; revision=9018
2002-11-16 23:06:39 +00:00
Martin Baulig 5cc99c3edb 2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
	Please update your scripts, the `dist' target will disappear soon.

svn path=/trunk/mcs/; revision=9017
2002-11-16 22:24:34 +00:00
Martin Baulig 1b985f1b04 2002-11-16 Martin Baulig <[email protected]>
* typemanager.cs (RealMemberLookup): Reverted Miguel's patch from
	October 22nd; don't do the cs1540 check for static members.

	* ecore.cs (PropertyExpr.ResolveAccessors): Rewrote this; we're
	now using our own filter here and doing the cs1540 check again.

svn path=/trunk/mcs/; revision=9016
2002-11-16 22:18:08 +00:00
Daniel Morgan 193f77b131 2002-11-16 Daniel Morgan <[email protected]>
* DataGrid.cs
	* DataGrid.Makefile.win32: DataGrid demo based on the
	TreeViewDemo in GTK#.  It works on GTK# Win32.
	Includes the start of data binding for a GTK# widget.
	However, it needs to be generalized into base classes.
	The goal is to make a DataGrid for GTK# to be like
	a ASP.NET DataGrid and Windows.Froms DataGrid.

svn path=/trunk/mcs/; revision=9015
2002-11-16 19:13:10 +00:00
Daniel Morgan 78becabf3d 2002-11-16 Daniel Morgan <[email protected]>
* System.Data/DataView.cs: fix bug
	with DataViewEnumerator causing InvalidOperationException
	on the last item

svn path=/trunk/mcs/; revision=9014
2002-11-16 18:51:45 +00:00
Martin Baulig 5b13ec2c6c 2002-11-16 Martin Baulig <[email protected]>
* support.cs (InternalParameters): Don't crash if we don't have
	any fixed parameters.  Fixes #33532.

svn path=/trunk/mcs/; revision=9013
2002-11-16 17:50:40 +00:00
Martin Baulig f282c09a4f 2002-11-16 Martin Baulig <[email protected]>
* decl.cs (MemberCache.AddMethods): Use BindingFlags.FlattenHierarchy
	when looking up static methods to make this work on Windows.
	Fixes #33773.

svn path=/trunk/mcs/; revision=9012
2002-11-16 17:16:31 +00:00
Martin Baulig 331bcc78dd Added one more testcase.
svn path=/trunk/mcs/; revision=9011
2002-11-16 14:51:10 +00:00
Martin Baulig 57b772fa58 2002-11-16 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.VerifyAssignable): Check whether we have
	a setter rather than using PropertyInfo.CanWrite.

svn path=/trunk/mcs/; revision=9010
2002-11-16 14:49:47 +00:00
Tim Coleman eb63da16dd 2002-11-16 Tim Coleman <[email protected]>
* makefile.gnu:
                Add MONO_PATH_PREFIX so build doesn't
                fail if System.Data has not yet been installed.

svn path=/trunk/mcs/; revision=9006
2002-11-16 07:17:06 +00:00
Tim Coleman 2c610eea56 Fix things that made tests fail from last checkin.
svn path=/trunk/mcs/; revision=9005
2002-11-16 05:45:38 +00:00
Tim Coleman fee93a0e15 forgot to commit changelog.
svn path=/trunk/mcs/; revision=9004
2002-11-16 04:15:41 +00:00
Tim Coleman 348806b401 2002-11-15 Tim Coleman <[email protected]>
* System.Data.Common/DbDataPermission.cs:
        * System.Data.SqlClient/SqlClientPermission.cs:
                Make these agree on the class status page.
        * System.Data.SqlClient/SqlCommand.cs:
                - Fix up handling of GUID and [Var]Binary, and Image types
        * System.Data.SqlClient/SqlParameter.cs:
                - Provide support for conversion between Type,
                  DbType, SqlDbType, and the SQL server type names.
                - Fix up handling of GUID and [Var]Binary types
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Correct all of the Add methods.
        * Test/SqlTest.cs:
                - Add more types to test: unique identifier, binary,
                  image, smalldatetime, money, smallmoney, timestamp

svn path=/trunk/mcs/; revision=9003
2002-11-16 04:14:16 +00:00
Tim Coleman fe47af80e0 2002-11-15 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Add support for UniqueIdentifier (GUID),
                Money types

svn path=/trunk/mcs/; revision=9002
2002-11-16 04:12:16 +00:00
Martin Baulig 1de8c61d48 Ooops, accidentally reverted this one as well.
svn path=/trunk/mcs/; revision=9000
2002-11-15 23:16:10 +00:00
Martin Baulig 923fc8a579 Put this back and made it actually work.
2002-11-14  Martin Baulig  <[email protected]>

	* class.cs (Constructor.Emit): Added the extern/block check.
	Fixes bug #33678.

svn path=/trunk/mcs/; revision=8999
2002-11-15 16:27:51 +00:00
Sebastien Pouliot 55a6430bfb 2002-11-15 Sebastien Pouliot <[email protected]>
* CryptographicUnexpectedOperationException.cs: Forgot it last time!
	* FromBase64Transform.cs: Added missing virtual to CanReuseTransform.
	Changed Dispose().
	* HashAlgorithm.cs: Changed Dispose().
	* MD5CryptoServiceProvider.cs: Added destructor and Dipose(bool).
	* PasswordDeriveBytes.cs: Changed some declaration from
	protected to private.
	* RC2.cs: Added valid keysize check in EffectiveKeySize.
	* RC2CryptoServiceProvider.cs: Overriden EffectiveKeySize to match
	corlib declarations.
	* RSAOAEPKeyExchangeDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAOAEPKeyExchangeFormatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1KeyExchangeDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1KeyExchangeFormatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1SignatureDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1SignatureFormatter.cs: Changed some declaration from
	protected to private.
	* SHA1CryptoServiceProvider.cs: Moved SHA1 code to SHA1Internal.
	SHA1CryptoServiceProvider now use SHA1Internal. Added Dispose and
	destructor.
	* SHA1Managed.cs: New. Use SHA1Internal. Same as
	SHA1CryptoServiceProvider but is required for binary compatibility.
	* SHA256Managed.cs: Changed some declaration from protected to private.
	* SHA384Managed.cs: Changed some declaration from protected to private.
	* SHA512Managed.cs: Changed some declaration from protected to private.
	* SymmetricAlgorithm.cs: Added Clear(), changed Dispose() and added
	virtual to Dispose(bool).
	* ToBase64Transform.cs: Added missing virtual to CanReuseTransform.
	Changed Dispose().
	* TripleDESCryptoServiceProvider.cs: Added missing sealed to class
	declaration.

svn path=/trunk/mcs/; revision=8998
2002-11-15 14:39:21 +00:00
Dick Porter 9970685f3c Debugging messages
svn path=/trunk/mono/; revision=8997
2002-11-15 13:49:36 +00:00
Dick Porter 111b021828 2002-11-15 Dick Porter <[email protected]>
* timed-thread.c: Removed unneeded parameters in
	_wapi_timed_thread_attach().

	* threads.c: Renamed AttachThread() to make it not look like
	external API.  Removed unneeded parameters.

2002-11-15  Dick Porter  <[email protected]>

	* threadpool.c:
	* threads.c:
	* appdomain.c: Removed mono_runtime_init_with_attach(),
	mono_thread_create_arg(), and mono_thread_init_with_attach(), by
	merging the extra parameter with the existing function.  Removed
	unneeded code in mono_thread_attach().

2002-11-15  Dick Porter  <[email protected]>

	* jit.c: Pass the attach callback to mono_runtime_init().

2002-11-15  Dick Porter  <[email protected]>

	* interp.c: mono_runtime_init() now has an extra parameter for
	thread attaching.

svn path=/trunk/mono/; revision=8996
2002-11-15 13:41:42 +00:00
Paolo Molaro 0b6d4a6bf9 Fri Nov 15 12:26:48 CET 2002 Paolo Molaro <[email protected]>
* class.cs: back out the last two changes to class.cs, since that
	breaks the compilation of the string internalcall constructors in
	corlib.

svn path=/trunk/mcs/; revision=8995
2002-11-15 11:31:50 +00:00
Nick Drochak b485b6dd73 2002/11/15 Nick Drochak <[email protected]>
* class.cs: Allow acces to block member by subclasses. Fixes build
	breaker.

svn path=/trunk/mcs/; revision=8994
2002-11-15 08:36:46 +00:00
Tim Coleman 280139db99 2002-11-15 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Add support for UniqueIdentifier (GUID)
                types

svn path=/trunk/mcs/; revision=8993
2002-11-15 06:55:50 +00:00
Tim Coleman da76a83b30 2002-11-15 Tim Coleman <[email protected]>
* Test/SqlTest.cs:
                - Add more types to test: unique identifier, binary
                  types.
        * System.Data.SqlClient/SqlParameter.cs:
                - Provide support for conversion between Type,
                  DbType, SqlDbType, and the SQL server type names.
                - Fix up handling of GUID and [Var]Binary types
        * System.Data.SqlClient/SqlCommand.cs:
                - Fix up handling of GUID and [Var]Binary types

svn path=/trunk/mcs/; revision=8992
2002-11-15 06:53:30 +00:00
Daniel Morgan c831770264 2002-11-14 Daniel Morgan <[email protected]>
* System.Data/DataColumnPropertyDescriptor.cs
	* System.Data/DataRowView.cs
	* System.Data/DataView.cs
	* System.Data.Common/DbDataRecord.cs: a little bit more
	implementation for data binding purposes

	* Test/PostgresTest.cs
	* Test/TestSqlDataAdapter.cs
	* Test/TestSqlException.cs
	* TestSqlParameters.cs: fixed test for PostgreSQL's new home
	at Mono.Data.PostgreSqlClient

svn path=/trunk/mcs/; revision=8991
2002-11-14 23:27:34 +00:00
Martin Baulig 6c005235b3 2002-11-14 Martin Baulig <[email protected]>
* class.cs (Constructor.Emit): Added the extern/block check.
	Fixes bug #33678.

svn path=/trunk/mcs/; revision=8990
2002-11-14 23:03:45 +00:00
Martin Baulig e3842000d3 2002-11-14 Martin Baulig <[email protected]>
* test-148.cs: Added some tests from bug #33089.

svn path=/trunk/mcs/; revision=8989
2002-11-14 22:56:51 +00:00
Martin Baulig 2b808a73a4 2002-11-14 Martin Baulig <[email protected]>
* expression.cs (IndexerAccess.DoResolve): Do a DeclaredOnly
	iteration while looking for indexers, this is needed because the
	indexer may have a different name in our base classes.  Fixed the
	error reporting (no indexers at all, not get accessor, no
	overloaded match).  Fixes bug #33089.
	(IndexerAccess.DoResolveLValue): Likewise.

svn path=/trunk/mcs/; revision=8988
2002-11-14 22:55:48 +00:00
Tim Coleman c483cbebff 2002-11-14 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseDataReader.cs:
                Change SchemaTable handling

svn path=/trunk/mcs/; revision=8987
2002-11-14 22:00:39 +00:00
Tim Coleman 0f2a4f2e40 2002-11-14 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
                Slight reformatting of Bit values and sql statements
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement RecordsAffected
                Complete SchemaTable
        * System.Data.SqlClient/SqlParameter.cs:
                Propertly support Char/NChar
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Add Close () to the Dispose () method

svn path=/trunk/mcs/; revision=8986
2002-11-14 21:59:53 +00:00
Tim Coleman 18d4a5dd9b 2002-11-14 Tim Coleman <[email protected]>
* list:
        * Mono.Data.TdsClient/TdsType.cs:
                Add this class
        * Mono.Data.TdsClient/TdsDataReader.cs:
                Add GetSchemaTable implementation
        * Mono.Data.TdsClient.Internal/ITds.cs:
                Add RecordsAffected
        * Mono.Data.TdsClient.Internal/Tds.cs:
                Add RecordsAffected
                Fix handling of DateTime, decimal, and float types
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketColumnInfoResult.cs:
        * Mono.Data.TdsClient.Internal/TdsSchemaInfo.cs:
                Change SchemaTable handling
        * Mono.Data.TdsClient.Internal/TdsPacketRowResult.cs:
                Add proper decimal handling

svn path=/trunk/mcs/; revision=8985
2002-11-14 21:58:53 +00:00
Martin Baulig 0a814a73af 2002-11-14 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Make this work for multiple
	indexers.  Fixes the first part of bug #33089.
	(MethodSignature.InheritableMemberSignatureCompare): Added support
	for properties.

svn path=/trunk/mcs/; revision=8984
2002-11-14 21:06:02 +00:00
Jackson Harper 177400c0dd ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
svn path=/trunk/mcs/; revision=8983
2002-11-14 15:04:22 +00:00
Tim Haynes 8e5d94b769 Applied the OpenLink mono_thread_attach patch
svn path=/trunk/mono/; revision=8982
2002-11-14 14:36:37 +00:00
Dietmar Maurer 2f66af5499 2002-11-14 Dietmar Maurer <[email protected]>
* image.c (mono_image_loaded_by_guid): a method to get loaded
	images by guid.
	(load_metadata_ptrs): we store the guid as string.

svn path=/trunk/mono/; revision=8981
2002-11-14 13:05:23 +00:00
Daniel Morgan 78a4392c55 2002-11-14 Daniel Morgan <[email protected]>
* PgSqlConnection.cs: redid connection parameters
	based on SqlClient's SqlConnection

	* PgSqlCommand.cs: redid handling of different
	CommandType of CommandText, StoredProcedure,
	and TableDirect. Got rid of debug messages

svn path=/trunk/mcs/; revision=8980
2002-11-14 12:40:40 +00:00
Jackson Harper 09ad971755 Added more tests
svn path=/trunk/mcs/; revision=8979
2002-11-14 03:37:19 +00:00
Duncan Mak 48455fcb1c 2002-11-13 Duncan Mak <[email protected]>
* XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
	compiling.

svn path=/trunk/mcs/; revision=8977
2002-11-14 00:26:09 +00:00
Tim Coleman 8805707f96 2002-11-13 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Fix GetStringValue, GetTextValue when handling NULL
                values.

svn path=/trunk/mcs/; revision=8976
2002-11-13 21:34:59 +00:00
Tim Coleman 2c55c80d7c 2002-11-13 Tim Coleman <[email protected]>
* Test/SqlTest.cs:
                New class added for testing SqlClient
        * System.Data.SqlClient/SqlCommand.cs:
                Add handling for SqlDbType.Bit
        * System.Data.SqlClient/SqlConnection.cs:
                Implement Dispose () methods.
                Change ConnectionString setter
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement Dispose () methods.
                Set RecordsAffected to -1 by default. Need to
                set this correctly in the future.
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Implement Dispose () methods.

svn path=/trunk/mcs/; revision=8975
2002-11-13 21:33:39 +00:00
Gonzalo Paniagua Javier c8003f30ce 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* AspElements.cs: added ServerComment class.
	* AspParser.cs: ignore ServerComments tags. Remove server comments when
	in verbatim mode.

	Fixes #33482.

	* PageCompiler.cs: check if the type is already cached before generating
	the C# file.
	* TemplateFactory.cs: if csFile parameter is null, only checks if we
	already have the page compiled.

svn path=/trunk/mcs/; revision=8974
2002-11-13 19:07:23 +00:00
Gonzalo Paniagua Javier b2f020a288 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: only move the remaining chars in Remove.

svn path=/trunk/mcs/; revision=8973
2002-11-13 18:46:19 +00:00
Ravi Pratap M 37be7e701f 2002-11-13 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.Resolve): Catch the
	NullReferenceException and report it since it isn't supposed to
	happen.

svn path=/trunk/mcs/; revision=8972
2002-11-13 17:52:15 +00:00
Tim Coleman d9955231f6 2002-11-13 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Implement Dispose () methods.

svn path=/trunk/mcs/; revision=8971
2002-11-13 17:32:22 +00:00
Atsushi Eno 50c3bfb8e5 *** empty log message ***
svn path=/trunk/mcs/; revision=8970
2002-11-13 16:36:13 +00:00
Dick Porter 243a8ee50a 2002-11-13 Dick Porter <[email protected]>
* Socket.cs: Only close the socket in one place, ie the Dispose
	method.  Fixes bug 32054.

svn path=/trunk/mcs/; revision=8969
2002-11-13 16:28:01 +00:00
Tim Coleman 1e2a83c388 2002-11-13 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/TdsComm.cs:
                Comment out asynchronous socket connect
                because it doesn't work properly yet on
                Linux.

svn path=/trunk/mcs/; revision=8968
2002-11-13 15:56:51 +00:00
Daniel Morgan 5d89243800 2002-11-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlParameter.cs
	* Mono.Data.MySql/MySqlParameterCollection.cs: added
	simple input parameters support.  AFAIK, MySQL does not
	support parameters, so this is just a search and replace

	* Test/TestParameters.cs: add file to test Parameters

	* Test/TestDataAdapter.cs: add file to test MySqlDataAdapter

	* Mono.Data.MySql.build: added files to windows build

	* list: added files to linux build

	* Mono.Data.MySql/MySql.cs: make sure all
	DllImport attributes
	also have the SuppressUnmanagedCodeSecurity attribute

	* Mono.Data.MySql/MySqlCommand.cs: add support for
	input parameters, don't execute empty queries,
	and support of CommandTypes of StoredProcedure and TableDirect

	* Mono.Data.MySql/MySqlConnection.cs: borrowed Tim Coleman's
	code from SqlConnection to handle connection
	parameters correctly

	* Mono.Data.MySql/MySqlTypes.cs
	* Mono.Data.MySql/MySqlDataReader.cs: started support
	for NULL values.

	* Test/MySqlTest.cs: test for NULL values, stored procedures,
	executing a non-query via ExecuteReader(), new connection
	string functionality, and exception handling

svn path=/trunk/mcs/; revision=8967
2002-11-13 13:14:46 +00:00
Gonzalo Paniagua Javier 373e24c1e6 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: added a few attributes and fixed infinite recursion.

svn path=/trunk/mcs/; revision=8966
2002-11-13 03:31:25 +00:00
Gonzalo Paniagua Javier 8e77bb802d object
svn path=/trunk/mcs/; revision=8965
2002-11-13 00:56:39 +00:00
Gonzalo Paniagua Javier 7c21deddca 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* StringTest.cs: added 1 more check.

svn path=/trunk/mcs/; revision=8964
2002-11-13 00:50:22 +00:00
Gonzalo Paniagua Javier 5efc18dacf 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* String.cs:
	(Equals (str, str)): use 'as' instead of casting to object.
	(Equals (obj)): check the length of the strings (until now,
	"Hello".Equals ((object) "Hellow World!) was true!).

svn path=/trunk/mcs/; revision=8963
2002-11-13 00:27:01 +00:00
Tim Coleman 6e408491ce Missed commit.
svn path=/trunk/mcs/; revision=8962
2002-11-12 21:54:45 +00:00
Tim Coleman d0561794c0 2002-11-12 Tim Coleman <[email protected]>
* list:
                Remove Mono.Data.TdsClient.Internal/TdsContext.cs

svn path=/trunk/mcs/; revision=8961
2002-11-12 21:53:30 +00:00
Tim Coleman 6166b99fb0 2002-11-12 Tim Coleman <[email protected]>
* ChangeLog: commit changelog

svn path=/trunk/mcs/; revision=8960
2002-11-12 21:52:39 +00:00
Tim Coleman a801529248 2002-11-12 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/TdsContext.cs:
                Remove this class as it is not being used
        * Mono.Data.TdsClient.Internal/ITds.cs
        * Mono.Data.TdsClient.Internal/Tds.cs
        * Mono.Data.TdsClient.Internal/Tds42.cs
        * Mono.Data.TdsClient.Internal/Tds50.cs
        * Mono.Data.TdsClient.Internal/Tds70.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnInfoResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnNamesResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnOrderResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketControlResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketEndTokenResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketOutputParam.cs
        * Mono.Data.TdsClient.Internal/TdsPacketRetStatResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketRowResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketUnknown.cs
                Remove references to System.Data

svn path=/trunk/mcs/; revision=8958
2002-11-12 21:51:39 +00:00
Gonzalo Paniagua Javier 6650ebb9d0 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* ListItemCollection.cs: fixed LoadViewState.

svn path=/trunk/mcs/; revision=8957
2002-11-12 20:20:05 +00:00
Gonzalo Paniagua Javier 7fbc12d1a8 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: fixed LoadViewstate.

svn path=/trunk/mcs/; revision=8956
2002-11-12 19:43:10 +00:00
Ville Palo 0f6f0539b8 2002-11-12 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added tests

svn path=/trunk/mcs/; revision=8953
2002-11-12 17:02:27 +00:00
Atsushi Eno 57fc30817d *** empty log message ***
svn path=/trunk/mcs/; revision=8952
2002-11-12 15:58:31 +00:00
Jackson Harper 93be82ffbb Updated changelog
svn path=/trunk/mcs/; revision=8951
2002-11-12 15:54:54 +00:00
Jackson Harper f574be044c Added mapping attribute to MachineFactories
svn path=/trunk/mcs/; revision=8950
2002-11-12 15:54:11 +00:00
Daniel Morgan 451af388d7 2002-11-12 Daniel Morgan <[email protected]>
* doc/oledb
	* doc/odbc
	* doc/mysql
	* doc/sqlite
	* doc/sqlclient
	* doc/tdsclient
	* doc/sybase
	* doc/firebird: added web pages
	for each specific data provider

	* doc/ado-net
	* doc/postgresql: updated web page
	with current status

	* doc/web/commands
	* doc/web/makefile: updated to include

svn path=/trunk/mono/; revision=8949
2002-11-12 15:53:12 +00:00
Miguel de Icaza 358d3c04b2 2002-11-12 Miguel de Icaza <[email protected]>
* expression.cs (Binary.EmitBranchable): Also handle the cases for
	LogicalOr and LogicalAnd that can benefit from recursively
	handling EmitBranchable.  The code now should be nice for Paolo.

svn path=/trunk/mcs/; revision=8948
2002-11-12 15:04:39 +00:00
Tim Coleman f207a8ecd6 2002-11-12 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Complete these classes
        * System.Data.Common/DbDataAdapter.cs:
                Experimental support for FillSchema ()

svn path=/trunk/mcs/; revision=8947
2002-11-12 14:07:46 +00:00
Tim Coleman 010b734f71 2002-11-12 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Experimental support for FillSchema ()

svn path=/trunk/mcs/; revision=8946
2002-11-12 13:47:37 +00:00
Miguel de Icaza 0f88f4566e new test
svn path=/trunk/mcs/; revision=8945
2002-11-12 10:38:51 +00:00
Jackson Harper 8c740cf9b0 Made class sealed
svn path=/trunk/mcs/; revision=8942
2002-11-12 06:43:55 +00:00
Duncan Mak 1f9d4a0af1 Add a missing comma to make it compile.
svn path=/trunk/mcs/; revision=8941
2002-11-12 06:25:49 +00:00
Jackson Harper 1af6c99f1c Fixed date in changelog
svn path=/trunk/mcs/; revision=8940
2002-11-12 06:23:37 +00:00
Jackson Harper a0859744c7 Reordered ErrorLevel enumeration to match MS values
svn path=/trunk/mcs/; revision=8939
2002-11-12 06:22:28 +00:00
Jackson Harper c93668b17d Error levels are now lower case to match MS spec
svn path=/trunk/mcs/; revision=8938
2002-11-12 06:16:02 +00:00
Jackson Harper 908143d3d4 Updating changelog
svn path=/trunk/mcs/; revision=8937
2002-11-12 06:01:58 +00:00
Jackson Harper 55a2538bd9 Added tests for the Microsoft.CSharp.CompilerError class
svn path=/trunk/mcs/; revision=8936
2002-11-12 06:00:21 +00:00
Brian Ritchie ec761b2301 Fixed section loader in sample app.config
svn path=/trunk/mcs/; revision=8935
2002-11-12 05:41:09 +00:00
Brian Ritchie 2ebe31e07f Initial version
svn path=/trunk/mcs/; revision=8934
2002-11-12 05:40:08 +00:00
Gonzalo Paniagua Javier a921870589 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
	Commented out some code until it works.

svn path=/trunk/mcs/; revision=8933
2002-11-12 04:12:20 +00:00
Gonzalo Paniagua Javier 7e995af70a 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: added array serialization support. Disabled binary
	serialization and add some debugging code.

	* StateBag.cs: the length of the list of value can be less than the
	length if the list of keys when remaining values are null.

svn path=/trunk/mcs/; revision=8932
2002-11-12 04:10:15 +00:00
Gonzalo Paniagua Javier afbb369595 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpException.cs: simple error output.

svn path=/trunk/mcs/; revision=8931
2002-11-12 04:06:48 +00:00
Gonzalo Paniagua Javier 7d68ae980d 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: style.
	* HttpException.cs: style.
	* HttpRuntime.cs: only flush the response if there are no errors.
	Otherwise, write an error output.
	* HttpWriter.cs: change Unicode to UTF8.

svn path=/trunk/mcs/; revision=8930
2002-11-12 04:02:01 +00:00
Tim Coleman f85d5ca788 2002-11-11 Tim Coleman <[email protected]>
* ChangeLog:
		Forgot to commit with last changes.

svn path=/trunk/mcs/; revision=8929
2002-11-12 02:08:36 +00:00
Tim Coleman fd3eb796ee 2002-11-11 Tim Coleman <[email protected]>
* list.unix:
        * list:
        * System.ComponentModel/DesignTimeVisibleAttribute.cs:
                Add new class

svn path=/trunk/mcs/; revision=8928
2002-11-12 02:05:34 +00:00
Tim Coleman ee1c3a6682 2002-11-11 Tim Coleman <[email protected]>
* System.Data/ResDescriptionAttribute.cs:
        * list
                New internal class added
        * System.Data/Constraint.cs:
        * System.Data/ConstraintCollection.cs:
        * System.Data/DBConcurrencyException.cs:
        * System.Data/DataColumn.cs:
        * System.Data/DataColumnCollection.cs:
        * System.Data/DataRelation.cs:
        * System.Data/DataRelationCollection.cs:
        * System.Data/DataRow.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataRowCollection.cs:
        * System.Data/DataSet.cs:
        * System.Data/DataTable.cs:
        * System.Data/DataTableCollection.cs:
        * System.Data/DataView.cs:
        * System.Data/DataViewManager.cs:
        * System.Data/DataViewSetting.cs:
        * System.Data/DataViewSettingCollection.cs:
        * System.Data/ForeignKeyConstraint.cs:
        * System.Data/ForeignKeyConstraint.cs:
        * System.Data/InternalDataCollectionBase.cs:
        * System.Data/MergeFailedEventArgs.cs:
        * System.Data/StrongTypingException.cs:
        * System.Data/TypeDataSetGeneratorException.cs:
        * System.Data/UniqueConstraint.cs:
        * System.Data.Common/DataAdapter.cs:
        * System.Data.Common/DataColumnMapping.cs:
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataTableMappingCollection.cs:
        * System.Data.Common/DbDataAdapter.cs:
        * System.Data.Common/DbDataPermission.cs:
        * System.Data.Common/DbDataPermissionAttribute.cs:
        * System.Data.Common/DbEnumerator.cs:
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlParameter.cs:
                Add missing attributes, methods, properties based on information
                from System.Data class status page on go-mono.com.

svn path=/trunk/mcs/; revision=8927
2002-11-12 01:41:04 +00:00
Gonzalo Paniagua Javier bfdbb8d19b 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: added ItemHeight and DrawMode properties. Fixes the build
	in unix.

svn path=/trunk/mcs/; revision=8926
2002-11-12 01:23:45 +00:00
Gonzalo Paniagua Javier cb5428143b 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* jit.c: display the domain name in trace output.

svn path=/trunk/mono/; revision=8925
2002-11-11 23:23:45 +00:00
Daniel Morgan ba8c6604fa 2002-11-11 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added new SQL# command \exexml
	to execute a query and put results in an xml file via a
	generic DbDataAdapter and a DataSet.  Added
	Mono.Data.SybaseClient as a provider to use
	via \provider sybase which is easier than SQL# command
	\loadextprovider Mono.Data.SybaseClient Mono.DataSybaseClient.SybaseConnection

svn path=/trunk/mcs/; revision=8924
2002-11-11 21:05:57 +00:00
Dennis Hayes d072aa90fa 2002-10-29 DennisHayes <[email protected]>
* AmbientProperties.cs
	* Application.cs
	* ApplicationContext.cs
	* CheckBox.cs
	* CheckedListBox.cs
	* ColumnHeader.cs
	* ContainerControl.cs
	* ContextMenu.cs
	* Control.cs
	* Cursors.cs
	* HScrollBar.cs
	* ListBox.cs
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* PictureBox.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* VScrollBar.cs
	* Win32.cs

	* minor formating, bug fixes, and implmentation

svn path=/trunk/mcs/; revision=8923
2002-11-11 19:41:27 +00:00
Mark Crichton bb76e0b68b Some debugging stubs.
svn path=/trunk/mono/; revision=8922
2002-11-11 19:13:08 +00:00
Gonzalo Paniagua Javier 33a0d2930f 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: implemented more stuff. It works now.

svn path=/trunk/mcs/; revision=8921
2002-11-11 18:37:18 +00:00
Gonzalo Paniagua Javier f736e972b4 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* error.[ch]: added errno_to_WSA (). It displays a warning and return
	WSASYSCALLFAILURE if there is no error mapping for the given errno,

	* sockets.c: use errno_to_WSA and fixed display of warning for h_errno.

svn path=/trunk/mono/; revision=8920
2002-11-11 18:34:15 +00:00
Gonzalo Paniagua Javier 557bfcd615 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10107 -> WASSYSCALLFAILURE.

svn path=/trunk/mcs/; revision=8919
2002-11-11 18:29:43 +00:00
Dietmar Maurer 743f2e118f 2002-11-11 Dietmar Maurer <[email protected]>
* assembly.c (mono_assembly_open): check the guid of aot compiled lib.

	* metadata.c (mono_guid_to_string): imported method form Zoltan
	Varga (slightly modified)

svn path=/trunk/mono/; revision=8918
2002-11-11 15:31:44 +00:00
Dietmar Maurer a8a58ba6e7 *** empty log message ***
svn path=/trunk/mono/; revision=8917
2002-11-11 13:23:56 +00:00
Ville Palo 92765a602d 2002-11-10 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlString.cs: Now all methods are implemented

svn path=/trunk/mcs/; revision=8916
2002-11-10 17:47:54 +00:00
Ville Palo 5c92934c86 2002-11-10 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added more tests

svn path=/trunk/mcs/; revision=8915
2002-11-10 17:44:51 +00:00
Tim Coleman 33a56d34d7 2002-10-09 Tim Coleman <[email protected]>
* OleDbDataAdapter.cs:
		Change events to be consistent.  Rodrigo didn't see this
		change.

svn path=/trunk/mcs/; revision=8911
2002-11-10 03:51:15 +00:00
Tim Coleman 92e362c7b2 2002-11-09 Tim Coleman <[email protected]>
* list:
        * System.Data/DataCategoryAttribute.cs:
                Add new attribute based on corcompare

svn path=/trunk/mcs/; revision=8910
2002-11-10 02:52:54 +00:00
Rodrigo Moya 3430bfbe80 2002-11-09 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
	based on the PgSql/SqlClient data adapter classes.

svn path=/trunk/mcs/; revision=8908
2002-11-10 01:17:38 +00:00
Tim Coleman a4d4fbd2f9 2002-11-09 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlErrorCollection.cs:
		Remove ToString ()

svn path=/trunk/mcs/; revision=8907
2002-11-10 00:38:08 +00:00
Tim Coleman 06104bff0c 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal tds classes
        * System.Data.Common/DbDataAdapter.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Change event calling system
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
                Add comments
        * System.Data.SqlClient/SqlCommand.cs:
                Some changes to make consistent with .NET based on Sql server traces
                Implement command timeout
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Make sure that we only build a command if key info found
        * System.Data.SqlClient/SqlConnection.cs:
                Change event calling system
                Some changes to make consistent with .NET based on Sql server traces
                Implement connection timeout
        * System.Data.SqlClient/SqlConnectionPool.cs:
                Implement connection timeout
        * System.Data.SqlClient/SqlError.cs:
                Implement ToString ()
        * System.Data.SqlClient/SqlException.cs:
                Mucho implementation and cleanup
        * System.Data.SqlClient/SqlParameter.cs:
                Implement Clone ()
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Code cleanup
        * System.Data.SqlClient/SqlTransaction.cs:
                Move some of the transaction creation to SqlConnection to be consistent
                with .NET SQL traces

svn path=/trunk/mcs/; revision=8906
2002-11-10 00:36:17 +00:00
Tim Coleman d6c1643676 commit changelog
svn path=/trunk/mcs/; revision=8905
2002-11-10 00:32:12 +00:00
Tim Coleman 2180c63dad commit ChangeLog
svn path=/trunk/mcs/; revision=8904
2002-11-10 00:31:51 +00:00
Tim Coleman 4d31ca066e 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal tds classes
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
                Implement connection timeouts

svn path=/trunk/mcs/; revision=8903
2002-11-10 00:31:13 +00:00
Tim Coleman bd828ab92d 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal classes
        * Mono.Data.TdsClient.Internal/TdsInternalException.cs:
        * Mono.Data.TdsClient.Internal/TdsTimeoutException.cs:
                Add new classes to implement timeouts
        * Mono.DataTdsClient/TdsConnection.cs:
        * Mono.DataTdsClient/TdsConnectionPool.cs:
                Add connection timeout
        * Mono.Data.TdsClient.Internal/ITds.cs:
                Add command timeouts
        * Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/Tds80.cs:
        * Mono.Data.TdsClient.Internal/TdsComm.cs:
                Add command, connection timeouts

svn path=/trunk/mcs/; revision=8902
2002-11-10 00:30:16 +00:00
Jackson Harper a03d8b0b88 ToString() Do not show source file info if there was no source file in the error message
svn path=/trunk/mcs/; revision=8901
2002-11-10 00:08:18 +00:00
Gonzalo Paniagua Javier fd8e96cc6f 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: don't begin the request using ExecuteNextAsync
	(it fails to work on NetServ).

	* HttpWorkerRequest.cs: typo.

svn path=/trunk/mcs/; revision=8900
2002-11-09 18:40:38 +00:00
Nick Drochak 269d191bb3 2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux

svn path=/trunk/mcs/; revision=8899
2002-11-09 14:29:49 +00:00
Johannes Roith 7f73e2891f the mono logo converted to svg
svn path=/trunk/mcs/; revision=8897
2002-11-09 13:45:54 +00:00
Gonzalo Paniagua Javier b224c2482e 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: offset == size == 0 it's ok in Send ().

svn path=/trunk/mcs/; revision=8896
2002-11-09 09:46:27 +00:00
Miguel de Icaza 6c1761430e Flush
svn path=/trunk/mono/; revision=8892
2002-11-08 23:46:39 +00:00
Miguel de Icaza b5616de9b4 Flush
svn path=/trunk/mono/; revision=8890
2002-11-08 19:53:34 +00:00
Tim Coleman 3f9d2e0d6f 2002-11-08 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
        * System.Data/DataTable.cs:
                Some fix-ups related to the DbDataAdapter to make it work.
        * System.Data.Common/DbDataAdapter.cs:
                Fix the Fill () and Update () methods.  These now work
                fairly well.  Need mucho testing.
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Support table mappings and parameter source versions now.
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Add set accessor for transaction so that SqlTransaction.Commit ()
                will remove itself from the connection.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Update/Insert/Delete command should be null by default.
        * System.Data.SqlClient/SqlException.cs:
                Remove a TODO attribute
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Properly handle the SqlCommand object

svn path=/trunk/mcs/; revision=8889
2002-11-08 19:13:08 +00:00
Dietmar Maurer 1750d18d3f fix bug #2721
svn path=/trunk/mono/; revision=8887
2002-11-08 17:11:49 +00:00
Ville Palo c132308e02 2002-11-08 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
	implemented.

svn path=/trunk/mcs/; revision=8886
2002-11-08 17:06:07 +00:00
Dietmar Maurer 9c7ffb5054 make exvar_offset signed
svn path=/trunk/mono/; revision=8885
2002-11-08 14:06:49 +00:00
Paolo Molaro c06db227c4 Fri Nov 8 14:53:03 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: account for the exception object being passed to the
	catch handler to calc max_stack.

svn path=/trunk/mcs/; revision=8884
2002-11-08 13:57:06 +00:00
Dietmar Maurer 040038110f added exvar_offset used by the new jit
svn path=/trunk/mono/; revision=8883
2002-11-08 13:17:58 +00:00
Miguel de Icaza 2b98b702fe 2002-11-08 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupType): Added a negative-hit hashtable for
	the Type lookups, as we perform quite a number of lookups on
	non-Types.  This can be removed once we can deterministically tell
	whether we have a type or a namespace in advance.

	But this might require special hacks from our corlib.

	* TODO: updated.

	* ecore.cs (TryImplicitIntConversion): Handle conversions to float
	and double which avoids a conversion from an integer to a double.

svn path=/trunk/mcs/; revision=8882
2002-11-08 08:42:57 +00:00
Miguel de Icaza 15f7c72e72 2002-11-08 Miguel de Icaza <[email protected]>
* expression.cs: tiny optimization, avoid calling IsConstant,
	because it effectively performs the lookup twice.

svn path=/trunk/mcs/; revision=8881
2002-11-08 05:36:14 +00:00
Nick Drochak 89a870bbce 2002/11/08 Nick Drochak <[email protected]>
* SqlSingleTest.cs : Remove debug statement that was breaking the build

svn path=/trunk/mcs/; revision=8880
2002-11-08 03:06:59 +00:00
Gonzalo Paniagua Javier 4d158ac91b 2002-11-08 Gonzalo Paniagua Javier <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
	my comments and do something more appropiate.

svn path=/trunk/mcs/; revision=8879
2002-11-08 01:39:14 +00:00
Gonzalo Paniagua Javier 9fcebba41e 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: insert the loaded assemblies in the domain->assemblies in
	the hook function called when an assembly is loaded.

	* domain.c: Modified file.
	(mono_domain_assembly_load): removed hash table insertion of assemblies.

	Fixes bug #33196.

svn path=/trunk/mono/; revision=8878
2002-11-07 21:21:51 +00:00
Miguel de Icaza 9be497d408 2002-11-07 Miguel de Icaza <[email protected]>
* reflection.c: Map PEFileKind to the value expected by the WinNT
	image loader.

svn path=/trunk/mono/; revision=8877
2002-11-07 20:39:42 +00:00
Ville Palo 9b98e443ab 2002-11-07 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimalTest.cs
	* System.Data.SqlTypes/SqlDoubleTest.cs
	* System.Data.SqlTypes/SqlMoneyTest.cs
	* System.Data.SqlTypes/SqlSingleTest.cs:
	mcs don't understand (currently) correctly what 1e10 means,
	with mcs it must be 1E+10.

svn path=/trunk/mcs/; revision=8874
2002-11-07 15:43:00 +00:00
Ville Palo 3eefaba65e 2002-11-07 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/SqlMoney.cs:
	* System.Data.SqlTypes/SqlSingle.cs:
	* System.Data.SqlTypes/SqlString.cs: Implemented more methods and
	fixed some. SqlBoolean Equals (object value) -method improvements to
	all classes.

svn path=/trunk/mcs/; revision=8873
2002-11-07 15:34:44 +00:00
Gonzalo Paniagua Javier 2fd70229d9 flush
svn path=/trunk/mcs/; revision=8872
2002-11-07 08:38:35 +00:00
Jackson Harper 19fefba6b4 Added Microsoft.CSharp/Compiler.cs to build
svn path=/trunk/mcs/; revision=8871
2002-11-07 08:18:51 +00:00
Jackson Harper 4cbd520923 Added Microsoft.CSharp tests
svn path=/trunk/mcs/; revision=8870
2002-11-07 07:59:53 +00:00
Jackson Harper b2896b4717 Added files
svn path=/trunk/mcs/; revision=8869
2002-11-07 07:28:06 +00:00
Gonzalo Paniagua Javier 2ef79790b0 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlButton.cs: make it do a POST if the button has any ServerClick
	events.

svn path=/trunk/mcs/; revision=8868
2002-11-07 07:23:30 +00:00
Gonzalo Paniagua Javier ff2779b9c0 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return something useful in GetPostBackClientEvent.

svn path=/trunk/mcs/; revision=8867
2002-11-07 07:20:52 +00:00
Gonzalo Paniagua Javier 6cb07a21d6 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* HttpValueCollection.cs: the value may contain trailing '=' as it is
	UrlEncoded. Don't split name=value based on '='.

svn path=/trunk/mcs/; revision=8866
2002-11-07 07:19:23 +00:00
Jackson Harper d41ebb0bfd No longer waits untill mcs is finished running to read output, this should prevent crashes from buffers filling up
svn path=/trunk/mcs/; revision=8865
2002-11-07 07:19:09 +00:00
Tim Coleman ce80d58963 2002-11-07 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Remove NotImplementedException in Dispose
        * System.Data.Common/FieldNameLookup.cs:
                Should be sealed
        * System.Data.SqlClient/SqlCommand.cs:
                Fix CommandText accessor (stack overflow)
                Implement DeriveParameters method
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Implement this class
        * System.Data.SqlClient/SqlConnection.cs:
                Change application name to "Mono SqlClient Data Provider"
        * System.Data.SqlClient/SqlDataReader.cs:
                Add new schema information
        * System.Data.SqlClient/SqlError.cs:
        * System.Data.SqlClient/SqlErrorCollection.cs:
                Remove internal methods, TODO attributes
        * System.Data.SqlClient/SqlParameter.cs:
                Add new internal constructor for DeriveParameters use
        * System.Data.SqlClient/SqlParameterConverter.cs:
                Add missing methods based on class status

svn path=/trunk/mcs/; revision=8864
2002-11-07 06:07:01 +00:00
Miguel de Icaza 4da4911a9f 2002-11-06 Miguel de Icaza <[email protected]>
But a bogus return here to keep the semantics of the old code
	until the Mono runtime is fixed.

svn path=/trunk/mcs/; revision=8863
2002-11-07 00:58:30 +00:00
Miguel de Icaza 9f2be1851f 2002-11-06 Miguel de Icaza <[email protected]>
* pending.cs (GetMissingInterfaces): New method used to remove all
	the interfaces that are already implemented by our parent
	classes from the list of pending methods.

	* interface.cs: Add checks for calls after ResolveTypeExpr.

svn path=/trunk/mcs/; revision=8862
2002-11-07 00:49:16 +00:00
Gonzalo Paniagua Javier 66f65c4774 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8861
2002-11-07 00:24:24 +00:00
Miguel de Icaza cde968e5c4 2002-11-06 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8860
2002-11-07 00:11:05 +00:00
Miguel de Icaza 855eae99ca 2002-11-06 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8859
2002-11-07 00:09:42 +00:00
Daniel Stodden ae48010ffe * ListDictionary.cs:
- Filled in missing CopyTo()s.
		- No, overwriting an entry should not change the Count <:)

svn path=/trunk/mcs/; revision=8858
2002-11-06 21:23:18 +00:00
Gonzalo Paniagua Javier 846b19aadd removed trailing \
svn path=/trunk/mcs/; revision=8857
2002-11-06 16:05:27 +00:00
Nick Drochak ef139258d5 2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.

svn path=/trunk/mcs/; revision=8856
2002-11-06 16:00:09 +00:00
Nick Drochak 78697a7972 2002-11-07 Nick Drochak <[email protected]>
* list: add System.Data/ColumnDataPropertyDescriptor.cs

svn path=/trunk/mcs/; revision=8855
2002-11-06 15:48:30 +00:00
Gonzalo Paniagua Javier 99ed672e31 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: detect illegal \ at end of pattern. Fixes 31334.

svn path=/trunk/mcs/; revision=8854
2002-11-06 14:34:18 +00:00
Daniel Morgan e96301ccd8 no longer needed
svn path=/trunk/mcs/; revision=8853
2002-11-06 12:40:46 +00:00
Daniel Morgan c381db50a2 2002-11-06 Daniel Morgan <[email protected]>
* DataColumnPropertyDescriptor.cs: added file

	* System.Data/DataRowView.cs: started implementation

	* DataTable.cs: stubbed more interfaces.  Implemented
	IListSource.GetList()

	* DataView.cs: stubbed more interfaces.  Implemented
	some properties and methods: GetEnumerator(),
	ITypedList.GetItemProperties, Item indexer, CopyTo()

svn path=/trunk/mcs/; revision=8852
2002-11-06 12:13:52 +00:00
Jackson Harper c8ee39ab5a Fixed (C) in header
svn path=/trunk/mcs/; revision=8849
2002-11-06 03:34:39 +00:00
Gonzalo Paniagua Javier 104ff83c76 removed echoes
svn path=/trunk/mono/; revision=8848
2002-11-06 03:28:33 +00:00
Jackson Harper 4a2a296c9f Fixed (C) in file header
svn path=/trunk/mcs/; revision=8847
2002-11-06 03:26:01 +00:00
Gonzalo Paniagua Javier bd1ca2e8c7 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* autogen.sh: make it work when MONO_PATH is set and it has more than
	one directory or ends in ":". Also check that the directory added to
	ACLOCAL_FLAGS and PATH exist (aclocal fails if they don't).

svn path=/trunk/mono/; revision=8846
2002-11-06 01:58:53 +00:00
Gonzalo Paniagua Javier 15f43a1b88 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* rand.c: use /dev/urandom. If it fails to open, use the previous one.
	Read until the buffer is filled completely.

svn path=/trunk/mono/; revision=8845
2002-11-06 01:53:46 +00:00
Gonzalo Paniagua Javier 9c97ce1732 2002-11-05 Gonzalo Paniagua Javier <[email protected]>
* Encoding.cs: unixConsoleEncoding is now the same as Default. Avoid
	locking whenever possible.

svn path=/trunk/mcs/; revision=8844
2002-11-06 00:07:30 +00:00
Gonzalo Paniagua Javier 6d8aaad518 2002-11-05 Gonzalo Paniagua Javier <[email protected]>
* Common/ByteEncoding.cs: fixed buglet in GetString.
	* Common/Manager.cs: the handlers Hashtable and GetType are now case
	insensitive because Normalize may return lower case strings.
	In GetEncoding (string) also look for the name passed without prepending
	any string when the encoding is not found.
	When getting the stream for the resource, if it's null, load the
	internal list of classes. Catch the correct exception.

svn path=/trunk/mcs/; revision=8843
2002-11-05 23:56:45 +00:00
Miguel de Icaza 1e13860b16 2002-11-05 Miguel de Icaza <[email protected]>
* class.cs (Class.Emit): Report warning 67: event not used if the
	warning level is beyond 3.

	* ecore.cs (Expression.ConvertExplicit): Missed a check for expr
	being a NullLiteral.

	* cs-parser.jay: Fix, Gonzalo reverted the order of the rank
	specifiers.

	* class.cs (TypeContainer.GetClassBases): Cover a missing code
	path that might fail if a type can not be resolved.

	* expression.cs (Binary.Emit): Emit unsigned versions of the
	operators.

	* driver.cs: use error 5.

svn path=/trunk/mcs/; revision=8842
2002-11-05 23:30:01 +00:00
Miguel de Icaza 06f2050e3c Add new test
svn path=/trunk/mcs/; revision=8841
2002-11-05 22:02:43 +00:00
Tim Coleman 79d952aaf9 2002-11-05 Tim Coleman <[email protected]>
* library.build
		Add SybaseClient to the win32 build.

svn path=/trunk/mcs/; revision=8840
2002-11-05 17:24:19 +00:00
Gonzalo Paniagua Javier c552c787af little fix
svn path=/trunk/mcs/; revision=8839
2002-11-05 16:54:47 +00:00
Gonzalo Paniagua Javier 55c65e327d added missing files
svn path=/trunk/mcs/; revision=8838
2002-11-05 16:47:50 +00:00
Jackson Harper 0a15ca4f26 Added file
svn path=/trunk/mcs/; revision=8832
2002-11-05 07:22:29 +00:00
Jackson Harper ab2de445f6 Changed FileName property to the correct name 'SourceFile'
svn path=/trunk/mcs/; revision=8831
2002-11-05 07:15:16 +00:00
Tim Coleman 4490682a6e 2002-11-04 Tim Coleman ([email protected])
* SqlCommand.cs:
		Add SchemaOnly behavior

svn path=/trunk/mcs/; revision=8830
2002-11-05 06:00:59 +00:00
Tim Coleman bed021dfe9 2002-11-04 Tim Coleman ([email protected])
* StateChangeEventArgs.cs:
		Implement

svn path=/trunk/mcs/; revision=8829
2002-11-05 05:34:12 +00:00
Tim Coleman 23a3b5a431 2002-11-04 Tim Coleman ([email protected])
* list:
		forgot to add a couple of files.

svn path=/trunk/mcs/; revision=8828
2002-11-05 04:50:11 +00:00
Tim Coleman fc1e8b4f2e 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * Mono.Data.TdsClient/TdsInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient/TdsInfoMessageEventHandler.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalError.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorCollection.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorMessageEventArgs.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorMessageEventHandler.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalInfoMessageEventHandler.cs:
                New classes added
        * Mono.Data.TdsClient.Internal/TdsPacketErrorResult.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketErrorResultCollection.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketMessageResult.cs:
                Classes removed
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsError.cs:
        * Mono.Data.TdsClient/TdsErrorCollection.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsClient/TdsPacketColumnInfoResult.cs:
                More implementation
        * Mono.Data.TdsClient.Internal/ITds.cs:
        * Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/Tds80.cs:
                New events added

svn path=/trunk/mcs/; revision=8827
2002-11-05 04:44:47 +00:00
Tim Coleman 0fde1ffffc 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
                Remove error checks in favour of event handlers

svn path=/trunk/mcs/; revision=8826
2002-11-05 04:33:03 +00:00
Tim Coleman fcf980c6cf 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * System.Data.Common/RowUpdatedEventArgs.cs:
        * System.Data.Common/RowUpdatingEventArgs.cs:
                Implement
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Remove checks for errors.  These are now handled by events
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlError.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
                Add event handlers and triggers for errors, messages, state change
        * System.Data.SqlClient/SqlParameter.cs:
                Re-add refreshproperties
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
                Implement

svn path=/trunk/mcs/; revision=8825
2002-11-05 04:27:25 +00:00
Dennis Hayes e6d0053af3 updated
svn path=/trunk/mcs/; revision=8824
2002-11-05 02:27:39 +00:00
Gonzalo Paniagua Javier 8282b48178 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: use AppDomainSetup to get the configuration
	file name for the AppDomain.

svn path=/trunk/mcs/; revision=8823
2002-11-04 23:49:25 +00:00
Gonzalo Paniagua Javier ff26ab1d5d oops
svn path=/trunk/mcs/; revision=8822
2002-11-04 20:17:02 +00:00
Gonzalo Paniagua Javier 6c7705774a 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.ComponentModel/ListBindableAttribute.cs: implemented.

svn path=/trunk/mcs/; revision=8821
2002-11-04 20:11:42 +00:00
Tim Coleman b95ab5e7c0 2002-11-04 Tim Coleman <[email protected]>
* System.ComponentModel/RefreshProperties.cs:
        * System.ComponentModel/RefreshPropertiesAttribute.cs:
                Add new classes

svn path=/trunk/mcs/; revision=8820
2002-11-04 20:05:50 +00:00
Tim Coleman a424029393 2002-11-04 Tim Coleman ([email protected])
* SqlCommand.cs:
	* SqlConnection.cs:
	* SqlParameter.cs:
		Remove RefreshProperties attributes that break linux build.

svn path=/trunk/mcs/; revision=8819
2002-11-04 19:50:39 +00:00
Dick Porter b341086f8e Work around missing mcs dir for binaries in the same way as for assemblies.
svn path=/trunk/mono/; revision=8818
2002-11-04 19:50:27 +00:00
Gonzalo Paniagua Javier 60fb228f43 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: implemented GetEvent (name, flags).

svn path=/trunk/mcs/; revision=8817
2002-11-04 19:01:05 +00:00
Gonzalo Paniagua Javier c6d41ee882 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* icall.c: implemented MonoType.InternalGetEvent ().

svn path=/trunk/mono/; revision=8816
2002-11-04 19:00:53 +00:00
Tim Coleman b5f9e8e524 2002-11-04 Tim Coleman ([email protected])
* list :
                Add Mono.Data.TdsClient.Internal.TdsBigDecimal

svn path=/trunk/mcs/; revision=8815
2002-11-04 18:27:41 +00:00
Tim Coleman f1be77be78 2002-11-04 Tim Coleman ([email protected])
* TdsBigDecimal.cs:
                New class added to handle (potentially) large
                decimal values
        * Tds.cs:
                Modified to use TdsBigDecimal instead of
                decimal for transit of (potentially) large
                decimal values

svn path=/trunk/mcs/; revision=8814
2002-11-04 18:24:25 +00:00
Tim Coleman 9efe5974b7 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsBigDecimal
                Add System.Data.SqlClient.SqlParameterConverter
                Add System.Data.DataSysDescriptionAttribute
        * System.Data/DataSysDescriptionAttribute.cs:
                New class added
        * System.Data.Common/DbDataPermission.cs:
                Add CreateInstance method
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlError.cs:
                Add Serializable attribute
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlParameter.cs:
                Add some missing property attributes
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Add some missing property attributes
                Implement properties
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement missing methods
        * System.Data.SqlClient/SqlErrorCollection.cs:
                Implement the properties
        * System.Data.SqlClient/SqlException.cs:
                Remove extra property accessors
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
                Add internal constructor
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Add internal constructor
                Add property attributes
        * System.Data.SqlClient/SqlParameterConverter.cs:
                New internal class added
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Remove destructor
        * System.Data.SqlTypes/SqlDecimal.cs:
                Add implicit conversion from TdsBigDecimal to SqlDecimal
        * System.Data.SqlTypes/SqlString.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlDateTime.cs:
                Change code to remove compiler warnings

svn path=/trunk/mcs/; revision=8813
2002-11-04 18:23:26 +00:00
Gonzalo Paniagua Javier 1cbc7103a6 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: implemented InitAppDomainSetup. Delayed
	AppDomain.SetupInformation until mono_runtime_exec_main, where we get
	the entry_assembly.

	* assembly.c: base_dir is now an absolute path ending with
	G_DIR_SEPARATOR.

	* icall.c: modified get_location according to the above changes.

	* object.c: init AppDomain.SetupInformation for the default domain after
	we have the entry assembly.

	* domain.c: when unloading a domain, setup = NULL.

svn path=/trunk/mono/; revision=8812
2002-11-04 13:06:01 +00:00
Daniel Morgan 81d4cdd307 2002-11-04 Stuart Caborn <[email protected]>
* list: added System.Data/XmlConstants.cs to
	Linux build

    * System.Data/XmlConstants.cs: added -
	* System.Data/DataTable.cs
	* System.Data/DataSet.cs
	* System.Data/DataColumn.cs
	* System.Data/DataColumnCollection.cs
	* System.Data/DataRelation.cs: modified	-
	Began initial implementation of WriteXml
	and WriteXmlSchema. There is no support for DiffGrams
	yet. In WriteSchema mode, relationships are missing,
	all types are xs:string and the namespacing is not
	working properly. Added support for Ordinals in the
	DataColumnCollection and added support for
	namespaces and prefixes.

svn path=/trunk/mcs/; revision=8811
2002-11-04 12:49:25 +00:00
Daniel Morgan d312896f04 2002-11-04 Daniel Morgan <[email protected]>
* Locale.cs: added missing file.  Build blocker.

svn path=/trunk/mcs/; revision=8810
2002-11-04 10:33:57 +00:00
Dietmar Maurer 88f8be1d73 2002-11-04 Dietmar Maurer <[email protected]>
* marshal.c (emit_ptr_to_str_conv): try to fix bug 29548

svn path=/trunk/mono/; revision=8809
2002-11-04 10:33:13 +00:00
César Natarén fd1adc19c4 Added the "domain" parameter to the mono_domain_assembly_open function example.
svn path=/trunk/mono/; revision=8808
2002-11-04 08:08:13 +00:00
Atsushi Eno 082d1e4f78 *** empty log message ***
svn path=/trunk/mcs/; revision=8807
2002-11-04 03:51:55 +00:00
Sebastien Pouliot 66a6d9b017 2002-11-03 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Include all (1) tests files for X509Certificates.
	* X509CertificateTest.cs: New. Generated tests using some (11 right
	now) X.509 certificates. There is a bigger version (346 certs today)
	to spot new problems (but once spotted they move into this small file).
	GetEffectiveDateString and GetExpirationDateString tests are commented.

svn path=/trunk/mcs/; revision=8806
2002-11-04 03:28:43 +00:00
Sebastien Pouliot f6bd693056 2002-11-03 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Updated some DN cases and some minor time issues.
	GetEffectiveDateString and GetExpirationDateString still don't match
	MS implementation (however they seems, most of the time, to be on par
	with the Windows Certificate Viewer - certmgr.exe).

svn path=/trunk/mcs/; revision=8805
2002-11-04 03:20:56 +00:00
Duncan Mak 1c54369275 Fixed a cut-n-paste error found by tbf.
svn path=/trunk/mcs/; revision=8803
2002-11-03 23:59:31 +00:00
Ville Palo 4bd205478d 2002-11-03 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
	by NUnitConsole_mono.exe

svn path=/trunk/mcs/; revision=8801
2002-11-03 16:37:04 +00:00
Paolo Molaro a9203b540e Sun Nov 3 15:39:28 CET 2002 Paolo Molaro <[email protected]>
* object.h, object.c: introduced mono_object_get_virtual_method ()
	to lookup the method invoked on an object when a callvirt is done on
	a method.
	* icall.c: make MethodInfo::Invoke() always do a virtual call.

svn path=/trunk/mono/; revision=8800
2002-11-03 14:44:22 +00:00
Sebastien Pouliot 13534bb443 2002-11-03 Sebastien Pouliot <[email protected]>
* CryptoAPITransform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.
	* CryptographicException.cs: Added missing protected constructor.
	* CryptographicUnexpectedOperationException.cs: Added missing
	protected constructor.
	* ICryptoTransform.cs: Added missing CanReuseTransform property.
	* FromBase64Transform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.
	* SymmetricAlgorithm.cs: Implement IDisposable.
	* ToBase64Transform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.

svn path=/trunk/mcs/; revision=8799
2002-11-03 12:40:00 +00:00
Atsushi Eno c58e43d768 *** empty log message ***
svn path=/trunk/mcs/; revision=8798
2002-11-03 11:40:38 +00:00
Tim Coleman 8753691e58 2002-11-03 Tim Coleman ([email protected])
* list :
                Add Mono.Data.TdsTypes
                Add Mono.Data.TdsClient.Locale.cs

svn path=/trunk/mcs/; revision=8797
2002-11-03 06:46:38 +00:00
Tim Coleman b1926bc199 2002-11-03 Tim Coleman ([email protected])
* TdsBinary.cs:
        * TdsBoolean.cs:
        * TdsByte.cs:
        * TdsCompareOptions.cs:
        * TdsDateTime.cs:
        * TdsDecimal.cs:
        * TdsDouble.cs:
        * TdsGuid.cs:
        * TdsInt16.cs:
        * TdsInt32.cs:
        * TdsInt64.cs:
        * TdsMoney.cs:
        * TdsNullValueException.cs:
        * TdsSingle.cs:
        * TdsString.cs:
        * TdsTruncateException.cs:
        * TdsTypeException.cs:
                New classes added for TDS types.
        * ChangeLog
                New ChangeLog added

svn path=/trunk/mcs/; revision=8796
2002-11-03 06:45:36 +00:00
Tim Coleman 9b53d10baf 2002-11-03 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal.TdsColumnStatus
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
                Add more schema information

svn path=/trunk/mcs/; revision=8795
2002-11-03 06:16:28 +00:00
Tim Coleman a5abc6f8cb 2002-11-03 Tim Coleman ([email protected])
* TdsDatareader.cs:
                Add BaseColumnName, rename BaseTableName

svn path=/trunk/mcs/; revision=8794
2002-11-03 06:14:23 +00:00
Tim Coleman e41c0103be 2002-11-03 Tim Coleman ([email protected])
* list :
                Add TdsColumnStatus.cs

svn path=/trunk/mcs/; revision=8793
2002-11-03 06:12:48 +00:00
Tim Coleman c70a38111a 2002-11-03 Tim Coleman ([email protected])
* TdsColumnStatus.cs:
                Newly added to handle column metadata
        * Tds.cs
                Handle table name and column detail results
        * Tds42.cs
        * Tds50.cs
        * Tds70.cs
                rename TableName BaseTableName for consistency
        * TdsPacketSubType.cs:
                We now know what subtype 0xa5 is
        * TdsPacketTableNameResult.cs:
                Add means to store table names
        * TdsSchemaInfo.cs:
                Add new schema information

svn path=/trunk/mcs/; revision=8792
2002-11-03 06:12:19 +00:00
Tim Coleman 17cbe76c5e 2002-11-03 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
        * System.Data.SqlClient/SqlDataReader.cs:
                Get more schema info if available
        * list:
                Add Mono.Data.TdsClient.Internal.TdsColumnStatus

svn path=/trunk/mcs/; revision=8791
2002-11-03 06:07:23 +00:00
Sebastien Pouliot 07b7943125 2002-11-02 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suites for SignatureDescription and
	activated suites for SHA384Managed and SHA512Managed.
	* SignatureDescriptionTest.cs: New. Basic tests (because I don't
	know the context in which the class is used).

svn path=/trunk/mcs/; revision=8790
2002-11-03 03:51:33 +00:00
Sebastien Pouliot 1c9c9b01a1 2002-11-02 Sebastien Pouliot <[email protected]>
* SignatureDescription.cs: Updated class to match unit test results
	* X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
	implementation is now in System.Security.Cryptography.X509Certificates

svn path=/trunk/mcs/; revision=8789
2002-11-03 03:43:57 +00:00
Gonzalo Paniagua Javier f2a7e8bf89 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: changed name of GetType (string, bool, bool) to
	InternalGetType.

svn path=/trunk/mcs/; revision=8788
2002-11-03 02:02:28 +00:00
Gonzalo Paniagua Javier 90c3d84c1e 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: invoke AssemblyLoad and AsemblyResolve events in the
	current domain when loaded an assembly and failed to load it.

	* icall.c: changed ...Assembly_GetType to Assembly_InternalGetType.

svn path=/trunk/mono/; revision=8787
2002-11-03 02:02:11 +00:00
Gonzalo Paniagua Javier 303261649e 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: implemented a couple of methods called from the runtime
	to fire AssemblyLoad and AssemblyResolve events.

svn path=/trunk/mcs/; revision=8786
2002-11-03 01:51:41 +00:00
Miguel de Icaza c816d90c57 Flush index
svn path=/trunk/mono/; revision=8785
2002-11-02 21:49:02 +00:00
Miguel de Icaza e9ffa94714 More chagnes to get it to build
svn path=/trunk/mcs/; revision=8784
2002-11-02 21:42:04 +00:00
Miguel de Icaza d4dff99517 Improve the natn file
svn path=/trunk/mcs/; revision=8783
2002-11-02 21:41:37 +00:00
Miguel de Icaza 887297e0da Improve the natn file
svn path=/trunk/mcs/; revision=8782
2002-11-02 21:40:28 +00:00
Duncan Mak 783c8b4235 Add a .cvsignore here too.
svn path=/trunk/mcs/; revision=8781
2002-11-02 21:38:51 +00:00
Duncan Mak 84077ff32e Reflect the move from System.Security.Cryptography to System.Security.Cryptography.X509Certificates.
svn path=/trunk/mcs/; revision=8780
2002-11-02 21:35:46 +00:00
Duncan Mak 4f9a434891 This one too.
svn path=/trunk/mcs/; revision=8779
2002-11-02 21:27:27 +00:00
Duncan Mak d653d553dd Adding .cvsignores
svn path=/trunk/mcs/; revision=8778
2002-11-02 21:26:16 +00:00
Miguel de Icaza 90e8d8352a Flush from the Windows Box
svn path=/trunk/mono/; revision=8777
2002-11-02 21:18:56 +00:00
Miguel de Icaza 3cf0247bc2 Flush
svn path=/trunk/mono/; revision=8776
2002-11-02 21:15:54 +00:00
Miguel de Icaza 658c4cf215 Enable it!
svn path=/trunk/mcs/; revision=8775
2002-11-02 21:12:52 +00:00
Miguel de Icaza b16779770d Update
svn path=/trunk/mcs/; revision=8774
2002-11-02 21:11:55 +00:00
Miguel de Icaza 6a4c6314a8 Add stub method
svn path=/trunk/mcs/; revision=8773
2002-11-02 21:11:44 +00:00
Miguel de Icaza 5ae30b2894 Remove old comment
svn path=/trunk/mcs/; revision=8772
2002-11-02 21:11:31 +00:00
Miguel de Icaza fa08e387e7 Flush .cvs
svn path=/trunk/mcs/; revision=8771
2002-11-02 21:09:13 +00:00
Duncan Mak e4abbda5e9 2002-11-02 Duncan Mak <[email protected]>
* list.unix: Added InvalidEnumArgumentException.

	* InvalidEnumArgumentException.cs: Added.

svn path=/trunk/mcs/; revision=8770
2002-11-02 21:07:40 +00:00
Miguel de Icaza aa5a4c39c7 Flush changes to get things compiling on Linux
svn path=/trunk/mcs/; revision=8769
2002-11-02 20:58:58 +00:00
Miguel de Icaza 85c703e233 Commit fixes to build Windows.Forms on Linux
svn path=/trunk/mcs/; revision=8768
2002-11-02 20:38:44 +00:00
Miguel de Icaza 0b24c5b09d Compile fixes
svn path=/trunk/mcs/; revision=8767
2002-11-02 20:38:17 +00:00
Miguel de Icaza d1936b74f6 Update .cvsignore
svn path=/trunk/mcs/; revision=8766
2002-11-02 20:33:52 +00:00
Miguel de Icaza 36d4470eab More fixes
svn path=/trunk/mcs/; revision=8765
2002-11-02 20:32:46 +00:00
Miguel de Icaza 98111e3b30 More fixes
svn path=/trunk/mcs/; revision=8764
2002-11-02 20:32:08 +00:00
Miguel de Icaza 1a10984f9f Add PropertyTabScope
svn path=/trunk/mcs/; revision=8763
2002-11-02 20:29:17 +00:00
Miguel de Icaza 30b1015f75 More typo fixes
svn path=/trunk/mcs/; revision=8762
2002-11-02 20:28:34 +00:00
Miguel de Icaza 181ad70f28 Fix constructor
svn path=/trunk/mcs/; revision=8761
2002-11-02 20:27:54 +00:00
Miguel de Icaza 4e45db1283 Rename the Controllers
svn path=/trunk/mcs/; revision=8760
2002-11-02 20:27:07 +00:00
Miguel de Icaza d199caef84 Added so we can build on Linux
svn path=/trunk/mcs/; revision=8759
2002-11-02 20:13:25 +00:00
Miguel de Icaza 7b2e93e576 Add Accessibility stuff
svn path=/trunk/mcs/; revision=8758
2002-11-02 20:09:52 +00:00
Miguel de Icaza 1364741e52 Update man pages
svn path=/trunk/mono/; revision=8757
2002-11-02 19:45:04 +00:00
Miguel de Icaza 9d4f5ab77b Flush
svn path=/trunk/mono/; revision=8756
2002-11-02 19:38:37 +00:00
Sebastien Pouliot ba5f13c115 2002-11-02 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
	implementation is now in System.Security.Cryptography.X509Certificates

svn path=/trunk/mcs/; revision=8755
2002-11-02 19:25:02 +00:00
Sebastien Pouliot 5709fe5723 2002-11-02 Sebastien Pouliot <[email protected]>
* ChangeLog: New. First entry ;-)
	* X509Certificates.cs: New. Almost complete - except
	CryptoAPI link, CreateFromSignedFile and some date issues.

svn path=/trunk/mcs/; revision=8754
2002-11-02 19:08:37 +00:00
Phillip Pearson 3eaf9fc66a * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client
property, which now sets stream to null (it's set by GetStream()).  This
should make GetStream() work on a TcpClient which has had the socket set
by assignment to the Client property, not only one that has been created
by TcpListener.AcceptTcpClient().

svn path=/trunk/mcs/; revision=8753
2002-11-02 12:33:08 +00:00
Phillip Pearson e599345a87 * AllTests.cs: Fixed Lawrence's e-mail address.
svn path=/trunk/mcs/; revision=8752
2002-11-02 12:31:16 +00:00
Ville Palo 4aa8f56392 2002-11-02 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimalTest.cs: More tests.

svn path=/trunk/mcs/; revision=8751
2002-11-02 12:28:29 +00:00
Ville Palo 3425fcc3a2 2002-11-02 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDoubleTest.cs: More tests.

svn path=/trunk/mcs/; revision=8750
2002-11-02 12:25:33 +00:00
Tim Coleman 0220434e8d 2002-11-02 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Change to use sp_executesql to run regular text queries.
                Now, sp_executesql for text, sp_execute for prepared,
                and execute for SPs means everything runs a procedure.
        * System.Data.SqlClient/SqlParameter.cs:
                Allow client to set parameter name in Prepare ()
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Implement some methods
        * System.Data.SqlClient/SqlDataReader.cs:
                Since everything is an SP now, we know that when
                we see DoneProc, that we are really done.

svn path=/trunk/mcs/; revision=8749
2002-11-02 07:19:13 +00:00
Tim Coleman 6e4ddf5772 2002-11-01 Tim Coleman ([email protected])
* ChangeLog
		forgot to commit last time.

svn path=/trunk/mcs/; revision=8748
2002-11-02 05:11:29 +00:00
Tim Coleman 8cb6c4ceed 2002-11-01 Tim Coleman ([email protected])
* ITds.cs:
                Add DoneProc property
        * Tds.cs:
                *Lots*.  Some stuff to get binary types
                to work, other stuff to get new prepares
                working.
        * TdsPacketEndTokenResult.cs:
                Add Packetsubtype property
        * TdsPacketRowResult:
                Now implements ICollection and IList.

svn path=/trunk/mcs/; revision=8747
2002-11-02 05:09:45 +00:00
Tim Coleman 1dde77bced 2002-11-01 Tim Coleman ([email protected]) :
* System.Data.Common/DbEnumerator.cs :
                Throw correct exception on Reset ()
                Add ColumnSize to schema table.
        * System.Data.SqlClient/SqlDataReader.cs :
                Add ColumnSize to schema table.
        * System.Data.SqlClient/SqlCommand.cs :
                Change the way that preparing is handled.
                Now uses sp_prepare on the server instead of temp
                stored procedures because it's the Right Thing[tm] to do.
        * System.Data.SqlClient/SqlConnection.cs :
                Store data readers here rather than in command
        * System.Data.SqlClient/SqlDataReader.cs :
                More implementation, including binary types
        * System.Data.SqlClient/SqlParameter.cs :
                Lowercase type name

svn path=/trunk/mcs/; revision=8746
2002-11-02 05:06:21 +00:00
Gonzalo Paniagua Javier a09987fc62 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: simplified a rule and 5 SR conflicts dissapeared.

svn path=/trunk/mcs/; revision=8745
2002-11-02 03:53:19 +00:00
Gonzalo Paniagua Javier 0ea38aa0a2 oops. commited the wrong file.
svn path=/trunk/mcs/; revision=8744
2002-11-02 03:16:56 +00:00
Gonzalo Paniagua Javier 506b4a5f10 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpCookie.cs: made GetCookieHeader internal.

	* System.Web/HttpRequest.cs: get cookies from request.

	* System.Web/HttpResponse.cs: send cookies. Implemented
	AddFileDependencies (). Added check for _Writer == null in Flush
	(Patrik ;-). Clear the content if HEAD or SupressContent == true.
	Removed redirect hack used in old server.

	* System.Web.Compilation/AspGenerator.cs: undo one-liner change.

	* System.Web.UI/Page.cs: implemented FileDependecies and made it
	protected.

svn path=/trunk/mcs/; revision=8743
2002-11-02 03:12:31 +00:00
Dennis Hayes 120c054725 stub for picturebox.cs - last unstubbed function in swf
svn path=/trunk/mcs/; revision=8742
2002-11-02 02:16:45 +00:00
Dennis Hayes 1c61ede054 minor changes to last mene classes checkin
svn path=/trunk/mcs/; revision=8741
2002-11-02 02:15:05 +00:00
Daniel Morgan 95aee8b7a2 2002-11-01 Daniel Morgan <[email protected]>
* OleDbDataReader.cs: implemented
	Dispose() and GetEnumerator()

svn path=/trunk/mcs/; revision=8740
2002-11-02 01:29:56 +00:00
Daniel Morgan 052b38690e 2002-11-01 Daniel Morgan <[email protected]>
* OdbcDataReader.cs: - uncommented code, but
	I put a FIXME: according to Brian,
    this does not work on MS .NET
    however, we need it for Mono
    for now. schemaRow.AcceptChanges(),
    - implement IEnumerable.GetEnumerator()

    * libodbc.cs: changed the DllImport from "odbc32.dll"
    to "odbc32"

svn path=/trunk/mcs/; revision=8739
2002-11-02 01:02:32 +00:00
Daniel Morgan 86d879bd84 2002-11-01 Daniel Morgan <[email protected]>
* PgSqlCommand.cs: get rid of warning

	* PgSqlDataReader.cs: implemented GetEnumerator(),
	and Dispose()

svn path=/trunk/mcs/; revision=8738
2002-11-02 00:41:44 +00:00
Sebastien Pouliot b63027a7e3 2002-11-01 Sebastien Pouliot <[email protected]>
* bouncycastle.txt: Bouncy Castle JCE License.
	* SHA384Managed.cs: Hash implementation based on BouncyCastle JCE.
	* SHA512Managed.cs: Hash implementation based on BouncyCastle JCE.

svn path=/trunk/mcs/; revision=8735
2002-11-01 23:24:39 +00:00
Miguel de Icaza 282938add9 Improve test
svn path=/trunk/mcs/; revision=8734
2002-11-01 21:19:25 +00:00
Miguel de Icaza a009337b21 2002-11-01 Miguel de Icaza <[email protected]>
* cs-parser.jay (switch_section): A beautiful patch from Martin
	Baulig that fixed 33094.

svn path=/trunk/mcs/; revision=8733
2002-11-01 21:04:02 +00:00
Daniel Morgan da69fdcb2c 2002-11-01 Daniel Morgan <[email protected]>
* Mono.Data.SqliteClient/SqliteDataReader.cs: redid the
	implementation for GetSchemaTable() and
	implemented IEnumerator IEnumerable.GetEnumerator ()

svn path=/trunk/mcs/; revision=8732
2002-11-01 19:32:32 +00:00
Tim Coleman 47864003f3 2002-11-01 Tim Coleman ([email protected])
* Mono.Data.SybaseClient/Locale.cs:
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseCommandBuilder.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseDataAdapter.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseError.cs:
        * Mono.Data.SybaseClient/SybaseErrorCollection.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybasePermission.cs:
        * Mono.Data.SybaseClient/SybasePermissionAttribute.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatedEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatedEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatingEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatingEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseClient/SybaseType.cs:
        * Mono.Data.SybaseClient/TODOAttribute.cs:
        * Mono.Data.SybaseTypes/SybaseBinary.cs:
        * Mono.Data.SybaseTypes/SybaseBoolean.cs:
        * Mono.Data.SybaseTypes/SybaseByte.cs:
        * Mono.Data.SybaseTypes/SybaseCompareOptions.cs:
        * Mono.Data.SybaseTypes/SybaseDateTime.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
        * Mono.Data.SybaseTypes/SybaseDouble.cs:
        * Mono.Data.SybaseTypes/SybaseGuid.cs:
        * Mono.Data.SybaseTypes/SybaseInt16.cs:
        * Mono.Data.SybaseTypes/SybaseInt32.cs:
        * Mono.Data.SybaseTypes/SybaseInt64.cs:
        * Mono.Data.SybaseTypes/SybaseMoney.cs:
        * Mono.Data.SybaseTypes/SybaseNullValueException.cs:
        * Mono.Data.SybaseTypes/SybaseSingle.cs:
        * Mono.Data.SybaseTypes/SybaseString.cs:
        * Mono.Data.SybaseTypes/SybaseTruncateException.cs:
        * Mono.Data.SybaseTypes/SybaseTypeException.cs:
                New classes added to start this namespace.  These are mostly
                just copies of the SqlClient classes, with changed names and
                namespaces.
        * list:
        * makefile.gnu:
        * Mono.Data.SybaseClient.build:
                New files added to build this assembly
        * ChangeLog:
                New changelog added

svn path=/trunk/mcs/; revision=8731
2002-11-01 17:48:47 +00:00
Tim Coleman caf566cfdb 2002-11-01 Tim Coleman ([email protected]) :
* System.Data.Common/DbEnumerator.cs :
        * System.Data.SqlClient/SqlDataReader.cs :
                Add ColumnSize to schema table.

svn path=/trunk/mcs/; revision=8730
2002-11-01 13:32:37 +00:00
Tim Coleman 80b5819fab *** empty log message ***
svn path=/trunk/mcs/; revision=8729
2002-11-01 13:30:26 +00:00
Daniel Morgan f76a1229b0 2002-11-01 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataAdapter.cs
	* Mono.Data.MySql/MySqlRowUpdatedEventArgs.cs
	* Mono.Data.MySql/MySqlRowUpdatedEventHandler.cs
	* Mono.Data.MySql/MySqlRowUpdatingEventArgs.cs
	* Mono.Data.MySql/MySqlRowUpdatingEventHandler.cs: added new
	 files for the Data Adapter for the MySQL data provider

	* list: added new files to Linux build

	* Mono.Data.MySql/MySqlCommand.cs: implement the
	interfaces correctly and Dispose().  Allow the provider to
	execute multiple queries for a reader

	* Mono.Data.MySql/MySqlTransaction.cs
	* Mono.Data.MySql/MySqlConnection.cs: implement the
	interfaces correctly and Dispose

	* Mono.Data.MySql/MySqlDataReader.cs: implement the
	interfaces correctly and Dispose().  Allow the provider to
	execute multiple queries for a reader.  Implement
	IEnumerable.GetEnumerator() to return a DbEnumerator
	which can be used to do a
	foreach (DbDataRecord rec in myDataReader) { ... }
	and allows a IDataReader to be "data binded" to a DataGrid.
	Thanks goes to Tim Coleman (I copied this from his SqlDataReader).

svn path=/trunk/mcs/; revision=8728
2002-11-01 12:50:15 +00:00
Tim Coleman fea26936fd 2002-10-31 Tim Coleman ([email protected])
* SchemaInfo.cs:
		Sorry, I missed this on the last commit.
		Danmorg fixed it, but this is the copy I had.

svn path=/trunk/mcs/; revision=8725
2002-11-01 04:07:47 +00:00
Daniel Morgan 75a4f966bb 2002-10-31 Daniel Morgan <[email protected]>
* SchemaInfo.cs: added missing properties to fix mcs build

svn path=/trunk/mcs/; revision=8724
2002-11-01 03:35:52 +00:00
Tim Coleman 2e73287c82 2002-10-31 Tim Coleman ([email protected])
* library.build
		re-add TdsClient now that it builds correctly again.

svn path=/trunk/mcs/; revision=8723
2002-11-01 01:47:33 +00:00
Tim Coleman 720dc4c05c 2002-10-31 Tim Coleman ([email protected])
* System.Data.Common/DbDataAdapter.cs :
                Fix handling of nulls
        * System.Data.Common/DbDataRecord.cs :
                Change GetFieldType ()
        * System.Data.Common/DbEnumerator.cs :
                Add new schema information
        * System.Data.Common/FieldNameLookup.cs :
                Change definition of schema
        * System.Data.Common/SchemaInfo.cs :
                Add more information
        * System.Data.SqlClient/SqlDataReader.cs :
                get more schema table data
        * list :
                Add Mono.Data.TdsClient.Internal.TdsSchemaInfo

svn path=/trunk/mcs/; revision=8722
2002-11-01 01:46:51 +00:00
Tim Coleman 9adc532f44 2002-10-31 Tim Coleman ([email protected])
* TdsSchemaInfo.cs:
                Added because I can't really use SchemaInfo
        * ITds.cs:
        * Tds.cs :
        * TdsPacketColumnInfoResult.cs :
                ChangeDefinition of schema
        * Tds42.cs :
        * Tds50.cs :
        * Tds70.cs :
                Add new information to schema

svn path=/trunk/mcs/; revision=8721
2002-11-01 01:40:55 +00:00
Tim Coleman 148b8a1428 2002-10-31 Tim Coleman ([email protected])
* TdsDataReader.cs:
                D'oh!  Now use TdsSchemaInfo because SchemaInfo
                is internal to System.Data.dll

svn path=/trunk/mcs/; revision=8720
2002-11-01 01:37:53 +00:00
Tim Coleman 638acf3874 2002-10-31 Tim Coleman ([email protected])
* list :
                Add TdsSchemaInfo.cs

svn path=/trunk/mcs/; revision=8719
2002-11-01 01:37:15 +00:00
Miguel de Icaza 5d4ffa960e 2002-10-31 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.DoResolveLValue, PropertyExpr.DoResolve):
	Check whether the base is abstract and report an error if so.

	* expression.cs (IndexerAccess.DoResolveLValue,
	IndexerAccess.DoResolve): ditto.

	(Invocation.DoResolve): ditto.

	(Invocation.FullMethodDesc): Improve the report string.

	* statement.cs (Block): Eliminate IsVariableDefined as it is
	basically just a wrapper for GetVariableInfo.

svn path=/trunk/mcs/; revision=8718
2002-10-31 22:52:47 +00:00
Miguel de Icaza 033ff60aa8 Add more
svn path=/trunk/mcs/; revision=8717
2002-10-31 20:47:49 +00:00
Gonzalo Paniagua Javier ba4798337d style
svn path=/trunk/mcs/; revision=8716
2002-10-31 20:28:03 +00:00
Ville Palo c707187466 2002-10-31 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlInt16Test.cs: Litle bugfix

svn path=/trunk/mcs/; revision=8715
2002-10-31 18:51:49 +00:00
Ville Palo 8426049be0 2002-10-31 Ville Palo <[email protected]>
* SqlBinary.cs:
	* SqlBoolean.cs:
	* SqlByte.cs:
	* SqlDecimal.cs:
	* SqlDouble.cs:
	* SqlInt16.cs:
	* SqlInt64.cs:
	* SqlString.cs: Some bugfixes and some TODOs but so much
	work to do.

svn path=/trunk/mcs/; revision=8714
2002-10-31 18:38:58 +00:00
Dick Porter 34f1321379 2002-10-31 Dick Porter <[email protected]>
* icall.c:
	* file-io.h:
	* file-io.c: Return the error status in a parameter, as the
	GetLastError() value has long since been blown away if we try and
	look it up in a subsequent internal call invocation.  Delete the
	GetLastError() internal call, because it's useless.

2002-10-31  Dick Porter  <[email protected]>

	* io.h:
	* io.c: Define and use INVALID_FILE_ATTRIBUTES

2002-10-31  Dick Porter  <[email protected]>

	* Makefile.am: The previous automake-1.6 fix broke automake-1.4 on
	cygwin.  Try again.

svn path=/trunk/mono/; revision=8713
2002-10-31 16:06:49 +00:00
Dick Porter 542709a35c 2002-10-31 Dick Porter <[email protected]>
* FileStream.cs: Fix buffering properly this time.  Also kludge
	around broken pipe errors, treating them as EOF instead of
	throwing an IO exception.

	* MonoIO.cs: Return the error status in a parameter, as the
	GetLastError() value has long since been blown away if we try and
	look it up in a subsequent internal call invocation.

	* Process.cs:
	* Environment.cs:
	* FileSystemInfo.cs:
	* FileInfo.cs:
	* File.cs:
	* Directory.cs: MonoIO methods now have an error parameter

2002-10-31  Dick Porter  <[email protected]>

	* list.unix: Added MonoIO and MonoIOError to the build

svn path=/trunk/mcs/; revision=8712
2002-10-31 15:55:48 +00:00
Dietmar Maurer ac1b23f5c1 2002-10-31 Dietmar Maurer <[email protected]>
* class.[ch]: added cast_class to fix bug 29517

svn path=/trunk/mono/; revision=8711
2002-10-31 15:39:33 +00:00
Tim Coleman 80aa5fdec1 2002-10-31 Tim Coleman ([email protected])
* library.build
		Exclude TdsClient to avoid breaking the build.

svn path=/trunk/mcs/; revision=8710
2002-10-31 13:16:47 +00:00
Tim Coleman 285e282029 * list :
Add System.Data.Common/DbEnumerator.cs
	* System.Data.SqlClient/SqlDataReader.cs:
		Remove SqlDataReaderEnumerator -- use DbEnumerator instead
	* System.Data.Common/DbEnumerator.cs:
		New class added

svn path=/trunk/mcs/; revision=8709
2002-10-31 07:31:32 +00:00
Tim Coleman 59894370e1 2002-10-30 Tim Coleman ([email protected])
* DbDataRecord.cs:
		Added

svn path=/trunk/mcs/; revision=8708
2002-10-31 06:33:26 +00:00
Tim Coleman 5c1e304c05 2002-10-30 Tim Coleman ([email protected])
* TdsDataReader.cs:
                Use SchemaInfo instead of TdsColumnSchema

svn path=/trunk/mcs/; revision=8707
2002-10-31 06:29:23 +00:00
Tim Coleman 6abb56ef36 2002-10-30 Tim Coleman ([email protected])
* list :
                Remove TdsColumnSchema.cs

svn path=/trunk/mcs/; revision=8706
2002-10-31 06:28:09 +00:00
Tim Coleman 8d9bcc3439 2002-10-30 Tim Coleman ([email protected])
* TdsPacketColumnInfoResult.cs:
        * TdsPacketRowResult.cs:
                Uses new SchemaInfo object

svn path=/trunk/mcs/; revision=8705
2002-10-31 06:26:22 +00:00
Tim Coleman 8359686855 2002-10-30 Tim Coleman ([email protected])
* TdsColumnSchema.cs:
                Ditch this in favor of System.Data.Common.SchemaInfo
        * ITds.cs:
                Change ColumnInfo to Schema
        * Tds.cs:
                Uses new SchemaInfo object
                Supports TEXT now.
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
                Uses new SchemaInfo object

svn path=/trunk/mcs/; revision=8704
2002-10-31 06:24:11 +00:00
Tim Coleman 8dfb296b20 2002-10-30 Tim Coleman ([email protected])
* System.Data.Common/FieldNameLookup.cs:
        * System.Data.Common/SchemaInfo.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                New classes added
        * list :
                Class list changed in build
        * System.Data.SqlClient/SqlCommand.cs:
                Added support for command behaviors
                Refactored a bunch of code
                Implement ExecuteScalar
                Implement ExecuteXmlReader
        * System.Data.SqlClient/SqlConnection.cs:
                Moved CheckForErrors here
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Code reformatting
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement GetEnumerator
                Fix NextResult, Read
                Add SqlDataReaderEnumerator private class
        * System.Data.SqlClient/SqlParameter.cs:
                Move some of the Prepare code from SqlCommand to here
        * System.Data.SqlClient/SqlTransaction.cs:
                Move error checking to SqlConnection

svn path=/trunk/mcs/; revision=8703
2002-10-31 06:20:08 +00:00
Miguel de Icaza 470af9958a 2002-10-31 Miguel de Icaza <[email protected]>
* support.cs (ReflectionParamter.ParameterType): We unwrap the
	type, as we return the actual parameter ref/unref state on a
	different call.

svn path=/trunk/mcs/; revision=8702
2002-10-31 06:02:40 +00:00
Gonzalo Paniagua Javier 7d303a6e51 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* TextReader.cs: implemented ReadBlock ().

svn path=/trunk/mcs/; revision=8701
2002-10-31 04:22:13 +00:00
Gonzalo Paniagua Javier bf84902522 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs: NameValueCollection.Add is now fixed.

svn path=/trunk/mcs/; revision=8700
2002-10-31 04:18:06 +00:00
Gonzalo Paniagua Javier cf112324cd 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: fixed GetRawContent (). Now it only tries
	to read at most ContentLength bytes.

	* System.Web/HttpResponse.cs: now it sends the headers. Added
	X-Powered-By header :-).

	* System.Web/HttpRuntime.cs: fixed typo.

	* System.Web/HttpValueCollection.cs: cosmetic changes.

	* System.Web.UI/Control.cs: save control names instead of the controls
	themselves to the ViewState.

	* System.Web.UI/LosFormatter.cs: added support for serializing unknown
	types. BinaryFormatter does not work so you better don't store anything
	unknown in ViewState.

	* System.Web.UI/Page.cs: GetViewStateString works now using
	LosFormatter. Complete "Control execution lifecycle" by unloading all
	the child controls. Check for null in RaisePostBackEvents.
	LoadPageViewStateFromPersistenceMedium uses LosFormatter too.

	POST works now!

svn path=/trunk/mcs/; revision=8699
2002-10-31 04:08:02 +00:00
Miguel de Icaza d5ff62ada9 2002-10-30 Miguel de Icaza <[email protected]>
* support.cs: Return proper flags REF/OUT fixing the previous
	commit.

	* expression.cs: Reverted last patch, that was wrong.  Is_ref is
	not used to mean `ref' but `ref or out' in ParameterReference

svn path=/trunk/mcs/; revision=8698
2002-10-31 04:02:33 +00:00
Gonzalo Paniagua Javier 94822bae6d return false instead of throwing exception
svn path=/trunk/mcs/; revision=8697
2002-10-31 03:50:45 +00:00
Gonzalo Paniagua Javier 5a6ed913b4 upload this test here
svn path=/trunk/mcs/; revision=8696
2002-10-31 03:46:32 +00:00
Gonzalo Paniagua Javier bd111ff80c 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: removed a few hacks no longer needed.

svn path=/trunk/mcs/; revision=8695
2002-10-31 03:45:07 +00:00
Gonzalo Paniagua Javier 0bd4fc901a 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* NameValueCollection.cs: fixed Add (NameValueCollection).

svn path=/trunk/mcs/; revision=8694
2002-10-31 03:41:05 +00:00
Miguel de Icaza d3917c0684 2002-10-30 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.DoResolve, DoResolveLValue):
	Do not use ISBYREF because that is a flag that says that either
	REF or OUT are set, use REF when we mean ref.

svn path=/trunk/mcs/; revision=8692
2002-10-31 03:06:56 +00:00
Gonzalo Paniagua Javier 543335f206 style
svn path=/trunk/mcs/; revision=8691
2002-10-31 03:05:07 +00:00
Miguel de Icaza 84fe65bf68 2002-10-30 Miguel de Icaza <[email protected]>
* delegate.cs (FullDelegateDesc): use ParameterDesc to get the
	full type signature instead of calling TypeManger.CSharpName
	ourselves.

	* support.cs (InternalParameters.ParameterDesc): Do not compare
	directly to the modflags, because REF/OUT will actually be bitsets
	if set.

svn path=/trunk/mcs/; revision=8690
2002-10-31 03:00:23 +00:00
Miguel de Icaza b3faed9f07 2002-10-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Fix bug where floating point values with an

svn path=/trunk/mcs/; revision=8689
2002-10-31 02:26:10 +00:00
Sebastien Pouliot 6d1f161869 2002-10-30 Sebastien Pouliot <[email protected]>
* DSASignatureDeformatter.cs: Fully implemented - however it
	requires a functionnal DSA implementation to work.
	* DSASignatureFormatter.cs: Fully implemented - however it
	requires a functionnal DSA implementation to work.

svn path=/trunk/mcs/; revision=8688
2002-10-31 02:14:39 +00:00
Miguel de Icaza 2e279403ec 2002-10-30 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Ditto for Null stream.

	* BinaryReader.cs: Use Unmarked here too.

svn path=/trunk/mcs/; revision=8687
2002-10-31 01:06:30 +00:00
Miguel de Icaza d9c7c9c7f9 2002-10-30 Miguel de Icaza <[email protected]>
* BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
	is what .NET does.

svn path=/trunk/mcs/; revision=8685
2002-10-31 00:46:20 +00:00
Miguel de Icaza 00c2299b17 2002-10-30 Miguel de Icaza <[email protected]>
* Encoding.cs (UTF8Unmarked): New static property, used to return
	a no-markers UTf8 encoder, used in a few places in the class library.

svn path=/trunk/mcs/; revision=8684
2002-10-31 00:45:59 +00:00
Atsushi Eno 099042bca0 *** empty log message ***
svn path=/trunk/mcs/; revision=8683
2002-10-30 19:41:13 +00:00
Paolo Molaro c0346cdc65 Wed Oct 30 19:37:32 CET 2002 Paolo Molaro <[email protected]>
* marshal.c: create valid IL code in the filter clause:
	the new JIT is less forgiving:-)

svn path=/trunk/mono/; revision=8682
2002-10-30 18:41:41 +00:00
Gonzalo Paniagua Javier 6c9a8afc29 added missing files
svn path=/trunk/mcs/; revision=8681
2002-10-30 15:45:24 +00:00
Jackson Harper d29f13f83c Added class
svn path=/trunk/mcs/; revision=8680
2002-10-30 15:39:25 +00:00
Gonzalo Paniagua Javier fee8fdda16 2002-10-30 Gonzalo Paniagua Javier <[email protected]>
* EventHandlerList.cs: fixed bug #29535.

svn path=/trunk/mcs/; revision=8679
2002-10-30 15:21:46 +00:00
Gonzalo Paniagua Javier 6a3b9fa131 changelog
svn path=/trunk/mcs/; revision=8678
2002-10-30 15:13:51 +00:00
Gonzalo Paniagua Javier d9bfb88359 2002-10-30 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs:
	* ChangeLog:
	* EventHandlerListTests.cs: new test.

svn path=/trunk/mcs/; revision=8677
2002-10-30 15:10:17 +00:00
Zoltan Varga 441e68fe10 2002-10-29 Zoltan Varga <[email protected]>
* Enum.cs: Added support for whitespaces in Enum:Parse().

svn path=/trunk/mcs/; revision=8676
2002-10-30 10:19:41 +00:00
Miguel de Icaza 90ccde5dfd 2002-10-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Fix bug where floating point values with an
	exponent where a sign was missing was ignored.

svn path=/trunk/mcs/; revision=8675
2002-10-30 06:27:55 +00:00
Miguel de Icaza 8f35a05eee 2002-10-30 Miguel de Icaza <[email protected]>
* driver.cs: Allow multiple assemblies to be specified in a single

svn path=/trunk/mcs/; revision=8674
2002-10-30 06:23:47 +00:00
Tim Coleman 0855d9f2ca 2002-10-29 Tim Coleman ([email protected])
* ITds.cs:
                Add OutputParameters collection
        * Tds.cs:
                Much reformatting, added handling for dates,
                fixed handling of output parameters, and a
                whole lot more
        * TdsPacketEndTokenResult.cs:
                Remove incorrect exception
        * TdsPacketType.cs:
                Add Logoff packet type.

svn path=/trunk/mcs/; revision=8671
2002-10-30 04:57:49 +00:00
Tim Coleman e6b40a5d00 2002-10-29 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Added code to handle parameters for queries
        * System.Data.SqlClient/SqlConnection.cs:
                Properly handle resetting SqlConnections
        * System.Data.SqlClient/SqlDataReader.cs:
                Properly handle the case where no results are returned
        * System.Data.SqlClient/SqlParameter.cs:
                Default direction to Input
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Implement GetEnumerator

svn path=/trunk/mcs/; revision=8670
2002-10-30 04:54:11 +00:00
Dennis Hayes 07ba9fb439 start of implmenting menus. checkin for Alexandre Pigolkine ([email protected])
svn path=/trunk/mcs/; revision=8669
2002-10-30 00:52:41 +00:00
Daniel Morgan c1a3b925e2 2002-10-29 Daniel Morgan <[email protected]>
* System.ComponentModel/PropertyDescriptor.cs: added
	missing abstract methods and properties

	* System.ComponentModel/DerivedPropertyDescriptor.cs: implemented
	SetValue and added stubs for missing methods and properties

svn path=/trunk/mcs/; revision=8668
2002-10-29 21:52:54 +00:00
Rodrigo Moya 39c83773cc 2002-10-29 Rodrigo Moya <[email protected]>
* makefile.gnu: added Test directory.

svn path=/trunk/mcs/; revision=8667
2002-10-29 21:19:53 +00:00
Gonzalo Paniagua Javier 4482feab4d 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.

svn path=/trunk/mcs/; revision=8666
2002-10-29 20:45:43 +00:00
Gonzalo Paniagua Javier 019d94a45f 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* icall.c: removed get_property internal call.

svn path=/trunk/mono/; revision=8665
2002-10-29 20:29:12 +00:00
Gonzalo Paniagua Javier b263b3febc 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: fixed GetProperty (string, Type []) and removed get_property
	internal call. Closes bug #32992.

svn path=/trunk/mcs/; revision=8664
2002-10-29 20:25:29 +00:00
Ville Palo 5c65f4b0dd 2002-10-29 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
	couple of MonoTODOs.

svn path=/trunk/mcs/; revision=8663
2002-10-29 19:47:03 +00:00
Gonzalo Paniagua Javier a570c0a747 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* Exception.cs: display the inner exception, if any, in ToString ().

svn path=/trunk/mcs/; revision=8662
2002-10-29 18:38:38 +00:00
Gonzalo Paniagua Javier 83dbe7ec4a 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* TargetInvocationException.cs: modified default message.

svn path=/trunk/mcs/; revision=8661
2002-10-29 18:38:22 +00:00
Nick Drochak 7f7b6cba58 2002-10-29 Nick Drochak <[email protected]>
* Hash.cs: Fix build issues.  Add some using statements mostly.

svn path=/trunk/mcs/; revision=8660
2002-10-29 14:04:49 +00:00
Dick Porter 6d893c7a7a Dead chickens and other voodoo to shut automake 1.6 up
svn path=/trunk/mono/; revision=8659
2002-10-29 12:42:09 +00:00
Gaurav Vaish 5a6a273203 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for RepeaterDesigner.
* RepeaterDesigner.CS     : Initial implementation.
* XmlDesigner.cs          : Minor bug fixes.

svn path=/trunk/mcs/; revision=8658
2002-10-29 10:08:58 +00:00
Gaurav Vaish 540b2a68b6 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for XmlDesigner.
* XmlDesigner.cs          : Initial implementation.

svn path=/trunk/mcs/; revision=8657
2002-10-29 09:18:01 +00:00
Gaurav Vaish 13ed549bc5 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for PanelDesigner.
* PanelDesigner.cs        : Completed.

svn path=/trunk/mcs/; revision=8656
2002-10-29 09:09:12 +00:00
Gaurav Vaish 603a313e0c 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Updates of what I am doing / have done.
* BaseValidatorDesigner.cs: Completed.

svn path=/trunk/mcs/; revision=8655
2002-10-29 06:40:39 +00:00
Gaurav Vaish adf8e4b7ea 2002-10-29 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : GetDesignTimeDataSource(IEnumerable, int, bool)
                                            - Implemented.

svn path=/trunk/mcs/; revision=8654
2002-10-29 05:29:22 +00:00
Gaurav Vaish 96d1ad3fe6 2002-10-29 Gaurav Vaish <[email protected]>
* ChangeLog -- Correcting the date. ;-)

svn path=/trunk/mcs/; revision=8653
2002-10-29 05:27:23 +00:00
Jackson Harper 1580b7655d FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
svn path=/trunk/mcs/; revision=8652
2002-10-29 04:51:58 +00:00
Gaurav Vaish dca003cca9 2002-10-28 Gaurav Vaish <[email protected]>
* BaseCompareValidator.cs - Fixed operator bug in
                            Compare(string, string, ...)
* CompareValidator.cs     - EvaluateIsValid()            : Implemented.

svn path=/trunk/mcs/; revision=8651
2002-10-29 04:50:44 +00:00
Jackson Harper 901f90fdb3 Implemented most methods
svn path=/trunk/mcs/; revision=8650
2002-10-29 04:45:11 +00:00
Jackson Harper ec21b822a6 Added class
svn path=/trunk/mcs/; revision=8649
2002-10-29 04:40:59 +00:00
Jackson Harper f18efb92a2 AllMembershipCondition.cs: Made GetHashCode act more like MS version. All AllMembershipCondition instance's will return the same hashcode but this hashcode should still be unique to AllMembershipCondition's.
svn path=/trunk/mcs/; revision=8648
2002-10-29 04:35:31 +00:00
Tim Coleman eaf5a64eb9 2002-10-28 Tim Coleman ([email protected])
* Tds.cs:
	* Tds42.cs:
	* Tds50.cs:
	* Tds70.cs:
	* Tds80.cs:
		Fix the build on windows.

svn path=/trunk/mcs/; revision=8647
2002-10-29 04:05:48 +00:00
Tim Coleman 49323a6ca5 2002-10-28 Tim Coleman ([email protected])
* Tds80.cs:
		Update to be consistent with other classes.  Not used.

svn path=/trunk/mcs/; revision=8646
2002-10-29 03:52:49 +00:00
Tim Coleman 185b20f62e 2002-10-28 Tim Coleman ([email protected])
* Tds.cs:
                Add much handling to get the following types
                working in queries: string, int, decimal
                All sorts of other bug fixing and general
                purpose hackery.
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
                ProcessColumnInfo was abstracted in Tds.cs
                and subclassed, because 7.0 provides the information
                in a different format.
        * TdsColumnSchema.cs:
                Added size, precision, scale
        * TdsComm.cs:
                Fixed GetString because it wasn't working properly
                with TDS 7.0.
        * TdsMessage.cs:
                Change state and severity to byte instead of int
                because that is more consitent.

svn path=/trunk/mcs/; revision=8645
2002-10-29 03:44:43 +00:00
Tim Coleman 7c9b013590 2002-10-28 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Add some error handling
        * System.Data.SqlClient/SqlDataReader.cs:
                Add some error handling
                Add precision/scale to schema table
        * System.Data.SqlClient/SqlException.cs:
                Generate a SqlException from TDS error
                collection
        * System.Data.SqlClient/SqlTransaction.cs:
                Add some error handling

svn path=/trunk/mcs/; revision=8644
2002-10-29 03:40:49 +00:00
Miguel de Icaza 9513de97dd 2002-10-28 Miguel de Icaza <[email protected]>
* cs-parser.jay: Ugly.  We had to add a multiplicative_expression,
	because identifiers after a parenthesis would end up in this kind
	of production, and we needed to desamiguate it for having casts
	like:

		(UserDefinedType *) xxx

svn path=/trunk/mcs/; revision=8643
2002-10-29 02:55:57 +00:00
Sebastien Pouliot d5da514447 2002-10-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
	(last two partly commented until implementation is commited).
	* SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
	* SHA256ManagedTest.cs: New. Implementation tests (inherits
	from SHA256Test).
	* SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
	* SHA384ManagedTest.cs: New. Implementation tests (inherits
	from SHA384Test).
	* SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
	* SHA512ManagedTest.cs: New. Implementation tests (inherits
	from SHA512Test).

svn path=/trunk/mcs/; revision=8642
2002-10-29 02:51:00 +00:00
Sebastien Pouliot 09a10d4caa *** empty log message ***
svn path=/trunk/mcs/; revision=8641
2002-10-29 02:49:43 +00:00
Jackson Harper 4de2729aa5 Added test for Evidence class
svn path=/trunk/mcs/; revision=8640
2002-10-29 02:48:19 +00:00
Dennis Hayes 2c2289cb14 added test file for Alexandre
svn path=/trunk/mcs/; revision=8639
2002-10-29 01:48:45 +00:00
Dennis Hayes e61fa8764b minor changes for Alexandre
svn path=/trunk/mcs/; revision=8638
2002-10-29 01:46:14 +00:00
Miguel de Icaza 388a9792ae Fix build
svn path=/trunk/mcs/; revision=8637
2002-10-28 23:29:01 +00:00
Miguel de Icaza 4e29083c64 Flush
svn path=/trunk/mono/; revision=8636
2002-10-28 21:14:19 +00:00
Miguel de Icaza ff5a77dee6 Flush
svn path=/trunk/mono/; revision=8635
2002-10-28 21:13:23 +00:00
Dennis Hayes 4551be83d6 updated
svn path=/trunk/mcs/; revision=8634
2002-10-28 20:49:55 +00:00
Atsushi Eno 9971d03a5d *** empty log message ***
svn path=/trunk/mcs/; revision=8633
2002-10-28 18:33:34 +00:00
Atsushi Eno d4facf5237 2002-10-29 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : add internal 'IsDefault' property
			    (equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.

svn path=/trunk/mcs/; revision=8632
2002-10-28 18:05:39 +00:00
Atsushi Eno 3eb71a9573 *** empty log message ***
svn path=/trunk/mcs/; revision=8631
2002-10-28 17:55:34 +00:00
Atsushi Eno ff784d30c3 * XmlAttribute.cs : add internal 'IsDefault' property
(equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.
	* XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
		property to enable AppendChild() for this class.
	* XmlTextReader.cs : appended private publicId and systemId fields.

svn path=/trunk/mcs/; revision=8630
2002-10-28 17:51:36 +00:00
Dennis Hayes 8e590adc31 added and implmented
svn path=/trunk/mcs/; revision=8629
2002-10-28 17:43:05 +00:00
Dennis Hayes 41f4af87e6 implmented
svn path=/trunk/mcs/; revision=8628
2002-10-28 17:39:34 +00:00
Dennis Hayes 34ecc1a7e2 more implmentation CE complete on scrollbar and ScrollableControl
svn path=/trunk/mcs/; revision=8627
2002-10-28 17:37:06 +00:00
Dennis Hayes 4e62e11fd1 updated
svn path=/trunk/mcs/; revision=8626
2002-10-28 17:34:18 +00:00
Gonzalo Paniagua Javier dad9057526 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: make it work when the underlying Stream is not
	'seekable'.

svn path=/trunk/mcs/; revision=8625
2002-10-28 17:17:29 +00:00
Atsushi Eno 755b1236a8 * XmlAttribute.cs : add internal 'IsDefault' property
(equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.
	* XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
		property to enable AppendChild() for this class.
	* XmlTextReader.cs : appended private publicId and systemId fields.

svn path=/trunk/mcs/; revision=8624
2002-10-28 17:15:07 +00:00
Ville Palo ce96ed7b40 2002-10-28 Ville Palo <[email protected]>
* makefile.gnu:
	* data_linux_test.args: Added new files for testing
	* System.Data.SqlTypes/AllTest.cs:
	* System.Data.SqlTypes/SqlDecimalTest.cs
	* System.Data.SqlTypes/SqlMoneyTest.cs: Bugfixes, Now all the
	SqlTypes test suites work.

svn path=/trunk/mcs/; revision=8623
2002-10-28 16:52:57 +00:00
Ville Palo 2e2caf7962 2002-10-28 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/Money.cs:
	* System.Data.SqlTypes/SqlSingle.cs:
	* System.Data.SqlTypes/SqlString.cs:
	* System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
	some other minor fixes. Now all of the test suites work.

svn path=/trunk/mcs/; revision=8622
2002-10-28 16:43:12 +00:00
Duncan Mak 3ecf8b80c5 2002-10-28 Duncan Mak <[email protected]>
* list: added DataGridLinkButton.cs.

svn path=/trunk/mcs/; revision=8621
2002-10-28 14:38:59 +00:00
Gaurav Vaish 72b85ba496 2002-10-28 Gaurav Vaish <[email protected]>
* BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
                                              : Implemented.
                        - All Properties      : Now make use of ViewState.

svn path=/trunk/mcs/; revision=8620
2002-10-28 12:02:41 +00:00
Gaurav Vaish a104dc873b 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - Uncomment NotImplementedException.

svn path=/trunk/mcs/; revision=8619
2002-10-28 11:27:57 +00:00
Gaurav Vaish f3fc6f012e 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - Minor changes in TODO comments.

svn path=/trunk/mcs/; revision=8618
2002-10-28 11:11:05 +00:00
Gaurav Vaish 3a8b5a62cb 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
                          the NotImplementedException being thrown.
* DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
* DataGridLinkButton.cs - Added new class (private)      : Implemented.
* DataGrid.cs           - InitializePager(DataGridItem, int,
                          PagedDataSource)               : Implemented.

svn path=/trunk/mcs/; revision=8617
2002-10-28 11:05:51 +00:00
Rodrigo Moya 5ae39b1746 2002-10-27 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
	GetFillParameters, Update): added overloaded methods.

	* System.Data.OleDb/OleDbCommand.cs:
	* System.Data.OleDb/OleDbDataReader.cs:
	* System.Data.OleDb/OleDbConnection.cs: removed limitation of one
	data adapter at a time. Mono's version can open as many as you want,
	for free.

svn path=/trunk/mcs/; revision=8616
2002-10-28 10:59:37 +00:00
Dietmar Maurer d067dea4ba 2002-10-28 Dietmar Maurer <[email protected]>
* monoburg.c (emit_state): use 16bit values for registers, removed
	reg3 and spilled flag.

svn path=/trunk/mono/; revision=8615
2002-10-28 09:50:49 +00:00
Gaurav Vaish 53c1c5d75c 2002-10-28 Gaurav Vaish <[email protected]>
* DataList.cs          - PrepareControlHierarchy()       : Implemented.

svn path=/trunk/mcs/; revision=8614
2002-10-28 09:40:38 +00:00
Nick Drochak ca590b670e 2002/10/28 Nick Drochak <[email protected]>
* DateAndTimeTest.cs: Make tests pass on Windows with .NET

svn path=/trunk/mcs/; revision=8613
2002-10-28 08:50:49 +00:00
Gaurav Vaish a834749015 2002-10-28 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs       : Fresh implementation. Moved from
                      System.Web.UI.WebControls.DataGrid
                      ::ResolveData(object, string).

svn path=/trunk/mcs/; revision=8612
2002-10-28 07:44:38 +00:00
Gaurav Vaish f70d52a7ca 2002-10-28 Gaurav Vaish <[email protected]>
* DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
                       - GetItem(ListItemType, int)      : Removed TODO.
                       - CreateControlHierarchy(bool)    : Implemented.
                       - CreateItem(int, ListItemType)   : Implemented.
                       - CreateItem(int, ListItemType,
                               bool, object)             : Implemented.
                       - InitializeItem(DataItem)        : Implemented.
* DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
                    The ViewState["_!ItemCount"],
                        ViewState["_!DataSource_ItemCount"]
                          are shared by DataList and DataGrid, and hence
                          should share the same name.
                       - ResolveDataSource(object, string)
                             : Removed. Use System.Web.UI.Utils.DataSourceHelper
                               ::GetResolvedDataSource(object, string).

svn path=/trunk/mcs/; revision=8611
2002-10-28 07:43:42 +00:00
Gonzalo Paniagua Javier 062a00f4b0 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: added test target.
	* Test/System.XML_linux_test.args: added XPathNavigatorEvaluateTests.cs
	* Test/makefile.gnu: pass MONO_PATH when running the tests.

svn path=/trunk/mcs/; revision=8610
2002-10-28 03:23:23 +00:00
Gonzalo Paniagua Javier 4d449fc5ad no NUnit tests in this assembly yet
svn path=/trunk/mcs/; revision=8609
2002-10-28 03:17:19 +00:00
Gonzalo Paniagua Javier 00091b8b37 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added missing files from System.Security.Cryptography
	namespace.

	* Test/AllTests.cs: removed System.Threading.AllTests. It does not
	exist.

	* Test/corlib_linux_test.args: added missing tests from s.s.c namespace.

	* Test/makefile.gnu: pass MONO_PATH correctly. Not sure if this does
	anything because mono will load corlib from the installation dir.

	* Test/run_test.sh: NUNIT_MONO_PATH is not used.

svn path=/trunk/mcs/; revision=8608
2002-10-28 03:10:23 +00:00
Dennis Hayes feb2de8d87 updated
svn path=/trunk/mcs/; revision=8607
2002-10-28 00:25:57 +00:00
Gonzalo Paniagua Javier 53a67e95fb Mono.Data.TdsClient.dll does not build on unix. Removing it by now.
svn path=/trunk/mcs/; revision=8606
2002-10-28 00:09:27 +00:00
Dennis Hayes 218b460171 tweaks
svn path=/trunk/mcs/; revision=8605
2002-10-27 23:37:27 +00:00
Dennis Hayes d09d211a3f see last logfile
svn path=/trunk/mcs/; revision=8604
2002-10-27 23:28:08 +00:00
Dennis Hayes 2606c42bcc 2002-10-26 DennisHayes <[email protected]>
* AccessibleObject.cs
	* AssemblyInfo.cs
	* AxHost.cs
	* BaseCollection.cs
	* BindingMemberInfo.cs
	* BindingsCollection.cs
	* ButtonBase.cs
	* ColumnClickEventArgs.cs
	* ComboBox.cs
	* ContainerControl.cs
	* ContentsResizedEventArgs.cs
	* Control.cs
	* ControlEventArgs.cs
	* ConvertEventArgs.cs
	* DateBoldEventArgs.cs
	* DateRangeEventArgs.cs
	* DomainUpDown.cs
	* DragEventArgs.cs
	* DrawItemEventArgs.cs
	* FolderBrowserDialog.cs
	* Form.cs
	* GiveFeedbackEventArgs.cs
	* HelpEventArgs.cs
	* InputLanguageChangedEventArgs.cs
	* InputLanguageChangingEventArgs.cs
	* InvalidateEventArgs.cs
	* ItemChangedEventArgs.cs
	* ItemCheckEventArgs.cs
	* ItemDragEventArgs.cs
	* KeyEventArgs.cs
	* KeyPressEventArgs.cs
	* Keys.cs
	* LabelEditEventArgs.cs
	* LayoutEventArgs.cs
	* LinkClickedEventArgs.cs
	* LinkLabelLinkClickedEventArgs.cs
	* ListControl.cs
	* MeasureItemEventArgs.cs
	* MouseEventArgs.cs
	* NavigateEventArgs.cs
	* NodeLabelEditEventArgs.cs
	* PaintEventArgs.cs
	* PrintPreviewDialog.cs
	* PropertyTabChangedEventArgs.cs
	* PropertyValueChangedEventArgs.cs
	* QueryAccessibilityHelpEventArgs.cs
	* QueryContinueDragEventArgs.cs
	* ScrollEventArgs.cs
	* SelectedGridItemChangedEventArgs.cs
	* SplitterEventArgs.cs
	* StatusBarDrawItemEventArgs.cs
	* StatusBarPanelClickEventArgs.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* TextBox.cs
	* ToolBarButtonClickEventArgs.cs
	* TreeNodeConverter.cs
	* TreeViewCancelEventArgs.cs
	* UICuesEventArgs.cs
	* UpDownBase.cs
	* UpDownEventArgs.cs
	* VScrollBar.cs

	* Stubs now compliant with .NET 1.1 Beta, except for one that has dependencies.
	* Added FolderBrowserDialog.cs for .NET 1.1 beta compatibility.
	* Completed implmentation of all *Args classes.
	* Updated checkoutlist.
	* Made fixes so this will compile using Visual studio under windows.

svn path=/trunk/mcs/; revision=8603
2002-10-27 23:26:21 +00:00
Dennis Hayes ddbc15a333 Added .sln file for SWF
svn path=/trunk/mcs/; revision=8602
2002-10-27 22:58:53 +00:00
Gonzalo Paniagua Javier 7dce138db8 forgot these 3. WebEncoding.
svn path=/trunk/mcs/; revision=8601
2002-10-27 20:30:19 +00:00
Gonzalo Paniagua Javier 095823b134 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* list: added WebEncoding.cs

	* System.Web/HttpApplication.cs: reenabled a few lines of code
	(ThreadPool already fixed).

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs:
	* System.Web/HttpWriter.cs:
	* System.Web.UI/LosFormatter.cs:
	Use WebEncoding.Encoding.

	* System.Web.Compilation/PageCompiler.cs: tracing.
	* System.Web.Compilation/TemplateFactory.cs: cache compiled types and
	tracing.
	* System.Web.Compilation/WebServiceCompiler.cs: new parameter in
	GetTypeFromsource,
	* System.Web.Configuration/HttpHandlersSectionHandler.cs: more null
	checks.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs:
	* System.Web.Util/WebTrace.cs: fixed namespace.

	* System.Web.Util/WebEncoding.cs: new class that holds the default
	encoding for System.Web.

svn path=/trunk/mcs/; revision=8599
2002-10-27 19:55:28 +00:00
Zoltan Varga a7e0a23e60 2002-10-25 Zoltan Varga <[email protected]>
* corlib_linux_test.args AllTests.cs: Added beginnings of
	System.Threading testcases.

	* run_test.sh: fixed paths.

svn path=/trunk/mcs/; revision=8598
2002-10-27 18:44:30 +00:00
Zoltan Varga 96419ef08c 2002-10-25 Zoltan Varga <[email protected]>
* Thread.cs: Implement GetDomain() and GetDomainID().

svn path=/trunk/mcs/; revision=8597
2002-10-27 18:40:48 +00:00
Zoltan Varga cba938ef19 2002-10-25 Zoltan Varga <[email protected]>
* appdomain.h domain.c: Added an ID to appdomains.

	* threads.c threads.h icall.c: Implement icall
	Thread:GetDomainID(), and remove unused icall
	CurrentThreadDomain_internal.

svn path=/trunk/mono/; revision=8596
2002-10-27 18:31:05 +00:00
Gonzalo Paniagua Javier f0b26b0540 lalala
svn path=/trunk/mcs/; revision=8595
2002-10-27 13:25:32 +00:00
Gonzalo Paniagua Javier 0c06d75f25 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* Hashtable.cs: add the key when to the error mesagge when
	'key duplication'.

svn path=/trunk/mcs/; revision=8594
2002-10-27 13:24:31 +00:00
Dennis Hayes 14d2b2fd07 *** empty log message ***
svn path=/trunk/mcs/; revision=8589
2002-10-27 01:15:48 +00:00
Dennis Hayes 01d5e08ae6 2002-10-26 DennisHayes <[email protected]>
* Test and sample programs for SWF.
	* Created dir and started changlog.
	* Miguel will soon move files from SWF that were just moved from WINELIB.

svn path=/trunk/mcs/; revision=8588
2002-10-27 01:03:47 +00:00
Dennis Hayes f7e572fc72 2002-10-26 DennisHayes <[email protected]>
* Added CheckOutFile to SWF one level up from here
	* to keep track of who is working on what.

svn path=/trunk/mcs/; revision=8587
2002-10-27 00:26:09 +00:00
Dennis Hayes 03c22913b5 Added CheckOutList to keep track of who's working on what.
comment added to changelog in SWF

svn path=/trunk/mcs/; revision=8586
2002-10-27 00:20:36 +00:00
Piers Haken 04d50fc445 2002-10-26 Piers Haken <[email protected]>
* XmlNode.cs: add virtual property XPathNodeType
	* XmlAttribute.cs:
	* XmlComment.cs:
	* XmlDocument.cs:
	* XmlElement.cs::
	* XmlProcessingInstruction.cs:
	* XmlSignificantWhitespace.cs:
	* XmlText.cs:
	* XmlWhitespace.cs: implement XPathNodeType property
	* XmlDocumentNavigator.cs: use XPathNodeType property instead of switch

svn path=/trunk/mcs/; revision=8585
2002-10-26 23:06:29 +00:00
Piers Haken 3cac85224b 2002-10-26 Piers Haken <[email protected]>
* XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.

svn path=/trunk/mcs/; revision=8584
2002-10-26 22:27:52 +00:00
Gonzalo Paniagua Javier f7a96763b6 System.Data depends on System.EnterpriseServices
svn path=/trunk/mcs/; revision=8583
2002-10-26 16:03:32 +00:00
Gonzalo Paniagua Javier b2ccb75ca4 forgot this
svn path=/trunk/mcs/; revision=8582
2002-10-26 15:46:45 +00:00
Gonzalo Paniagua Javier d92cb66db8 2002-10-26 Gonzalo Paniagua Javier <[email protected]>
* makefile.trace: used to build System.Web.dll with trace enabled.
	* System.Web.build: added trace and clean targets.

svn path=/trunk/mcs/; revision=8581
2002-10-26 15:46:06 +00:00
Gonzalo Paniagua Javier 7f080f3193 2002-10-26 Gonzalo Paniagua Javier <[email protected]>
* DefaultTraceListener.cs: changed OutputDebugString to
	OutputDebugStringW (no more warnings under windows). Also a few style
	fixes.

svn path=/trunk/mcs/; revision=8580
2002-10-26 15:26:35 +00:00
Gonzalo Paniagua Javier 954165409b added clean target
svn path=/trunk/mcs/; revision=8579
2002-10-26 14:28:35 +00:00
Daniel Morgan 5e599cf949 mysql exception classes forgot to be added cvs
svn path=/trunk/mcs/; revision=8576
2002-10-26 04:56:47 +00:00
Daniel Morgan 0215e451d3 2002-10-26 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlError.cs
	* Mono.Data.MySql/MySqlErrorCollection.cs
	* Mono.Data.MySql/MySqlException.cs: added files for
	MySQL Exceptions

	* Mono.Data.MySql.build: removed excludes for new
	files (thus adding them to the build) on Windows

	* list: added files to build on Linux

	* Mono.Data.MySql/MySqlCommand.cs
	* Mono.Data.MySql/MySqlConnection.cs: modified
	to throw a new MySqlException when a MySqlError occurs

svn path=/trunk/mcs/; revision=8575
2002-10-26 04:49:36 +00:00
Daniel Morgan 466469dc6c 2002-10-26 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: just write to the console
	the Message from the exception, not the entire trace.

svn path=/trunk/mcs/; revision=8574
2002-10-26 04:42:00 +00:00
Daniel Morgan fe20eb1412 2002-10-25 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: add support for
	SqlClient and TdsClient providers.  Added
	DebugWriteLine() for debugging.  Misc. tweaks

	* LoginDialog.cs
	* SqlEditorSharp.cs: use DebugWriteLine() for
    debug messages

svn path=/trunk/mcs/; revision=8573
2002-10-26 02:37:09 +00:00
Sebastien Pouliot f6468f26c3 2002-10-25 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for PasswordDeriveBytes
	* PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
	only works for short runs (keys < HashSize) not long runs

svn path=/trunk/mcs/; revision=8572
2002-10-26 01:23:36 +00:00
Sebastien Pouliot 38adbc3d23 2002-10-25 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytes.cs: New. PKCS#5 key derivation (PBKDF1) works up to
	HashSize length (but MS support longer keys)

svn path=/trunk/mcs/; revision=8571
2002-10-26 01:14:09 +00:00
Daniel Morgan b15c439e1d 2002-10-25 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added support for
	SqlClient and TdsClient

	* SqlSharpCli.build: added target of "clean"

svn path=/trunk/mcs/; revision=8570
2002-10-25 22:58:25 +00:00
Miguel de Icaza e013f26402 Add validating reader
svn path=/trunk/mcs/; revision=8569
2002-10-25 22:31:42 +00:00
Tim Coleman 6726443d48 2002-10-25 Tim Coleman ([email protected])
* makefile.gnu :
	* library.build :
		Add Mono.Data.TdsClient to the default build

svn path=/trunk/mcs/; revision=8566
2002-10-25 20:18:47 +00:00
Tim Coleman f2e98df324 2002-10-25 Tim Coleman ([email protected])
* TdsDataReader.cs:
		Fix a few compile issues.

svn path=/trunk/mcs/; revision=8565
2002-10-25 20:17:28 +00:00
Tim Coleman 2d0f53e9c9 2002-10-25 Tim Coleman ([email protected])
* PostgresLibrary.cs :
	* PostgresTypes.cs :
		Remove unnecessary files.

svn path=/trunk/mcs/; revision=8564
2002-10-25 20:13:14 +00:00
Tim Coleman 990df43be3 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs :
		Fix compiler warning

svn path=/trunk/mcs/; revision=8563
2002-10-25 19:27:52 +00:00
Tim Coleman ff2e4bd22c 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs:
		Fix more build errors.

svn path=/trunk/mcs/; revision=8562
2002-10-25 19:17:46 +00:00
Daniel Morgan a6add3fd46 2002-10-25 Daniel Morgan <[email protected]>
* all of the files: modified made sure
	  licensing terms were the same
	  for mcs tools being under the GPL license

	* sqlsharpgtk.cs: modified to load Login Dialog
	  to Connect to database.  Create a toolbar and
	  status bar.  When appending text to the output
	  textview, scroll to the end of the text.
	  created login dialog, toolbar, and status bar,
	  and use new SQL editor

	* LoginDialog.cs: added file to be the Login Dialog

	* DbProvider.cs
	* DbProviderCollection.cs: added files for the
	  database provider

	* SqlEditorSharp.cs: added new file to be the
	  SQL Editor written in C# and GTK#.  Replaces
	  the SqlEditor.cs which was only C# bindings to
	  native sqleditor.dll

	* win32.make: add new files to windows build and
	  removed the old native sqleditor.dll as a dependency.

	* SqlEditor.cs: file removed

	* sql-editor-gtk-widget: directory removed

	* sql-editor-gtk-widget/win32.make: file removed

	* sql-editor-gtk-widget/gnome-db-sqleditor.c
	* sql-editor-gtk-widget/gnome-db-sqleditor.h: removed files

svn path=/trunk/mcs/; revision=8561
2002-10-25 19:10:20 +00:00
Tim Coleman 52d3e9e129 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs:
		Missed checking in this file before.

svn path=/trunk/mcs/; revision=8560
2002-10-25 18:49:16 +00:00
Gonzalo Paniagua Javier 40d240ed30 reference System.EnterpriseServices
svn path=/trunk/mcs/; revision=8559
2002-10-25 18:45:12 +00:00
Tim Coleman 61b6881e0a 2002-10-25 Tim Coleman ([email protected])
* Tds.cs:
		Remove unused variables to avoid warnings.

svn path=/trunk/mcs/; revision=8558
2002-10-25 18:02:56 +00:00
Tim Coleman 2a9102ac32 2002-10-25 Tim Coleman ([email protected])
* System.Data.build:
		Fix it so that I can now build SqlClient!

svn path=/trunk/mcs/; revision=8557
2002-10-25 17:57:04 +00:00
Atsushi Eno 71a3beee9e * XmlElement.cs : Fixed bug 32839. InnerXml removes all the children.
svn path=/trunk/mcs/; revision=8556
2002-10-25 16:54:52 +00:00
Tim Coleman e158c5137e 2002-10-25 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8555
2002-10-25 16:17:58 +00:00
Tim Coleman 4f9d0a10e3 2002-10-25 Tim Coleman ([email protected])
* TdsConnection.cs:
        * TdsConnectionPool.cs:
                Use a different locking mechanism for connection
                pools.
                The connection pool now uses a Monitor to have
                exclusive access.
        * TdsDataReader.cs:
                Implement a bit more.

svn path=/trunk/mcs/; revision=8554
2002-10-25 16:17:05 +00:00
Tim Coleman 52c906c88e 2002-10-25 Tim Coleman ([email protected])
* TdsPacketErrorResultCollection.cs:
                New class added for exporting errors
        * ITds.cs:
        * Tds.cs:
        * Tds70.cs:
        * TdsComm.cs:
        * TdsPacketEndTokenResult.cs:
        * TdsPacketRowResult.cs:
                Changes to make SqlClient build.

svn path=/trunk/mcs/; revision=8553
2002-10-25 16:14:54 +00:00
Tim Coleman 73b08bddcf 2002-10-25 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlConnectionPool.cs:
                New class added
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
        * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Code reformatting
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                New code based on work in TDS Client
        * list:
                New files added for SqlClient, and TdsClient.Internal
        * System.Data.build:
                Added reference to System.EnterpriseServices.dll
                Still leave SqlClient out of build until danmorg
                can fix.

svn path=/trunk/mcs/; revision=8552
2002-10-25 16:11:37 +00:00
Tim Coleman 17e21290e8 2002-10-25 Tim Coleman ([email protected])
* ParmUtil.cs:
		This file is no longer used.

svn path=/trunk/mcs/; revision=8551
2002-10-25 16:00:06 +00:00
Gonzalo Paniagua Javier a182fc63c0 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: recurse to Test directory.

	* Test/makefile.gnu:
	* Test/system_linux_test.args: added System tests to the build.

svn path=/trunk/mcs/; revision=8550
2002-10-25 15:58:16 +00:00
Gonzalo Paniagua Javier 7bc8829800 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: applied fix from Tim Haynes ([email protected]) to
	solve bug #32807. Also modified GetMapping to return the same as MS.

svn path=/trunk/mcs/; revision=8549
2002-10-25 15:09:02 +00:00
Miguel de Icaza 2bc140897a Fix
svn path=/trunk/mono/; revision=8548
2002-10-25 15:08:20 +00:00
Dick Porter 2740738b76 Compile fix
svn path=/trunk/mcs/; revision=8547
2002-10-25 12:40:24 +00:00
Miguel de Icaza 6287dcfee5 update
svn path=/trunk/mono/; revision=8544
2002-10-25 06:12:15 +00:00
Miguel de Icaza 55e0bd0f19 Update
svn path=/trunk/mono/; revision=8543
2002-10-25 06:11:10 +00:00
Gonzalo Paniagua Javier b32ca8a72f 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
	This fixes sending bytes and allows mixing byte with chars.

svn path=/trunk/mcs/; revision=8540
2002-10-25 03:25:45 +00:00
Gonzalo Paniagua Javier bd72f631c9 style
svn path=/trunk/mcs/; revision=8539
2002-10-25 02:26:44 +00:00
Sebastien Pouliot 067aaf6b97 2002-10-24 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProvider.cs: New. Implemented most logic expect crypto stuff.
	* RSAOAEPKeyExchangeDeformatter.cs: New. Stub.
	* RSAOAEPKeyExchangeFormatter.cs: New. Stub.
	* RSAPKCS1KeyExchangeDeformatter.cs: New. Stub.
	* RSAPKCS1KeyExchangeFormatter.cs: New. 98% implemented but still
	require RSA.DecryptValue (not supported in MS .NET Framework)
	* RSAPKCS1SignatureDeformatter.cs: New. Stub.
	* RSAPKCS1SignatureFormatter.cs: New. Stub.

svn path=/trunk/mcs/; revision=8538
2002-10-25 01:52:56 +00:00
Gonzalo Paniagua Javier 1f4f95b3ba 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: implemented WriteFile methods.
	* MimeTypes.cs: removed duplicated entries.

svn path=/trunk/mcs/; revision=8537
2002-10-25 01:46:05 +00:00
Miguel de Icaza 8d8ed8167e 2002-10-24 Miguel de Icaza <[email protected]>
* typemanager.cs (RealMemberLookup): when we deal with a subclass,
	we should set on the Bindingflags.NonPublic, but not turn on
	private_ok.  private_ok controls whether a Private member is
	returned (this is chekced on the filter routine), while the
	BindingFlags.NonPublic just controls whether private/protected
	will be allowed.   This fixes the problem part of the problem of
	private properties being allowed to be used in derived classes.

	* expression.cs (BaseAccess): Provide an DoResolveLValue method,
	so we can call the children DoResolveLValue method (this will
	properly signal errors on lvalue assignments to base properties)

	* ecore.cs (PropertyExpr.ResolveAccessors): If both setter and
	getter are null, and we have a property info, we know that this
	happened because the lookup failed, so we report an error 122 for
	protection level violation.

	We also silently return if setter and getter are null in the
	resolve functions, this condition only happens if we have flagged
	the error before.  This is the other half of the problem.

svn path=/trunk/mcs/; revision=8536
2002-10-25 01:20:44 +00:00
Miguel de Icaza f6f94c5f47 Add new test
svn path=/trunk/mcs/; revision=8535
2002-10-25 01:20:00 +00:00
Gonzalo Paniagua Javier 7e7604e5af style
svn path=/trunk/mcs/; revision=8534
2002-10-25 00:52:13 +00:00
Miguel de Icaza 48e9d8b95a Add new test csae
svn path=/trunk/mcs/; revision=8532
2002-10-25 00:33:48 +00:00
Miguel de Icaza 1ffa1a1e04 2002-10-24 Miguel de Icaza <[email protected]>
* class.cs: Remove InheritablePropertySignatureCompare from the
	class, as we no longer depend on the property signature to compute
	whether it is possible to implement a method or not.

	The reason is that calling PropertyInfo.GetGetMethod will return
	null (in .NET, in Mono it works, and we should change this), in
	cases where the Get Method does not exist in that particular
	class.

	So this code:

	class X { public virtual int A { get { return 1; } } }
	class Y : X { }
	class Z : Y { public override int A { get { return 2; } } }

	Would fail in Z because the parent (Y) would not have the property
	defined.  So we avoid this completely now (because the alternative
	fix was ugly and slow), and we now depend exclusively on the
	method names.

	(PropertyBase.CheckBase): Use a method-base mechanism to find our
	reference method, instead of using the property.

	* typemanager.cs (GetPropertyGetter, GetPropertySetter): These
	routines are gone now.

svn path=/trunk/mcs/; revision=8531
2002-10-25 00:05:16 +00:00
Gonzalo Paniagua Javier 102a6ffc70 Added WebTrace.cs
svn path=/trunk/mcs/; revision=8530
2002-10-24 23:33:38 +00:00
Miguel de Icaza dea00dfac9 Style
svn path=/trunk/mcs/; revision=8529
2002-10-24 22:03:24 +00:00
Miguel de Icaza e6123a3ed3 2002-10-24 Miguel de Icaza <[email protected]>
* typemanager.cs (GetPropertyGetter, GetPropertySetter): swap the
	names, they were incorrectly named.

svn path=/trunk/mcs/; revision=8528
2002-10-24 21:58:43 +00:00
Gonzalo Paniagua Javier 740c71cc31 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added options (commented out) to activate tracing.

	* System.Web/HttpResponse.cs: don't throw exception in a couple of
	methods not yet implemented.

	* System.Web.Compilation/AspComponentFoundry.cs: fixed typo.

	* System.Web.Compilation/AspGenerator.cs: don't use FileDependencies
	property of base class.

	* System.Web.Compilation/TemplateFactory.cs: use csc style options.

	* System.Web.UI/Page.cs: set the context in ProcessRequest. Added a
	few trace calls.
	* System.Web.UI/Control.cs: added some trace information.

svn path=/trunk/mcs/; revision=8527
2002-10-24 21:47:31 +00:00
Miguel de Icaza 4d96085282 Flush
svn path=/trunk/mono/; revision=8526
2002-10-24 21:33:12 +00:00
Miguel de Icaza 70ff1ccf2a Flush
svn path=/trunk/mono/; revision=8525
2002-10-24 21:22:37 +00:00
Tim Coleman bea85e6d00 2002-10-24 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8524
2002-10-24 21:02:48 +00:00
Tim Coleman 80dcdebad2 2002-10-24 Tim Coleman ([email protected])
* ITds.cs:
                Added column info, and NextResult/NextRow
                to interface
        * TdsColumnSchema.cs:
                New class added to keep track of column info
        * Tds.cs:
                Many, many changes to get queries working
                for the most part.
        * TdsPacketColumnInfoResult.cs:
        * TdsPacketColumnNamesResult.cs:
                Doesn't use a DataColumnCollection anymore
                Also more complete.
        * TdsPacketRowResult.cs:
                Added Add() method.

svn path=/trunk/mcs/; revision=8523
2002-10-24 21:02:05 +00:00
Tim Coleman eb03b681c2 2002-10-24 Tim Coleman ([email protected])
* TdsDataAdapter.cs:
        * TdsRowUpdatedEventArgs.cs:
        * TdsRowUpdatedEventHandler.cs:
        * TdsRowUpdatingEventArgs.cs:
        * TdsRowUpdatingEventHandler.cs:
                New classes added.
        * TdsCommand.cs:
                Implemented the ExecuteReader ()
                method
        * TdsConnection.cs:
                Added Dispose (), fixed connection parameter bug
        * TdsDataReader.cs:
                Implemented many methods

svn path=/trunk/mcs/; revision=8522
2002-10-24 20:57:17 +00:00
Paolo Molaro 9d49ad4c8f s390 support from Neale Ferguson <[email protected]>.
svn path=/trunk/mono/; revision=8521
2002-10-24 19:27:13 +00:00
Dennis Hayes 7dc88c3013 2002-10-24 DennisHayes <[email protected]>
* AccessibleObject.cs
	* Application.cs
	* AssemblyInfo.cs
	* BaseCollection.cs
	* BindingContext.cs
	* BindingManagerBase.cs
	* BindingsCollection.cs
	* ContainerControl.cs
	* Control.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* InputLanguageCollection.cs
	* Label.cs
	* MessageBox.cs
	* PropertyTabChangedEventArgs.cs
	* ScrollableControl.cs
	* Win32.cs
	* WINELib.csproj
	* WINELib.csproj.user
	* winelib.sln

	* Changes to get winelib version running with more methods uncommented out.
	* Especialy trying to get CE compliance.

svn path=/trunk/mcs/; revision=8520
2002-10-24 18:31:00 +00:00
Atsushi Eno 92b3797c5f * Xmlchar.cs : added IsPubidChar().
* XmlTextReader.cs : added primitive parsing features for DoctypeDecl.

svn path=/trunk/mcs/; revision=8519
2002-10-24 18:26:25 +00:00
Atsushi Eno 0304e69293 * XmlDocumentTests.cs : added TestDocumentWithDoctypeDecl()
svn path=/trunk/mcs/; revision=8518
2002-10-24 18:24:03 +00:00
Miguel de Icaza 9e3be4ebbe Mono coding conventions
svn path=/trunk/mcs/; revision=8517
2002-10-24 16:29:56 +00:00
Miguel de Icaza afe5159388 Small fix
svn path=/trunk/mono/; revision=8516
2002-10-24 16:11:56 +00:00
Jaime Anguiano Olarra 36f283be19 Some updates.
svn path=/trunk/mono/; revision=8515
2002-10-24 16:07:23 +00:00
Gonzalo Paniagua Javier a7eb397e81 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* icall.c: Don't recurse through the base types in GetConstructor.
	Fixes bug #32063.

svn path=/trunk/mono/; revision=8514
2002-10-24 15:58:03 +00:00
Paolo Molaro a93993d3fc Thu Oct 24 16:56:00 CEST 2002 Paolo Molaro <[email protected]>
* mempool.h, mempool.c: added mono_mempool_empty() and
	mono_mempool_stats().

svn path=/trunk/mono/; revision=8513
2002-10-24 15:00:12 +00:00
Ville Palo b6c4affae9 2002-10-24 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlStringTest.cs:
	* System.Data.SqlTypes/SqlDecimalTest.cs: new test suites for
	SqlDecimal and SqlString

svn path=/trunk/mcs/; revision=8512
2002-10-24 13:18:05 +00:00
Nick Drochak b91f637e42 2002-10-24 Nick Drochak <[email protected]>
* System.XML_test.build: remove legacy build of a standalone exe of the
	unit tests
	* XmlDocumentTests.cs: Cannot use a URI with Load().

svn path=/trunk/mcs/; revision=8511
2002-10-24 12:59:22 +00:00
Gonzalo Paniagua Javier a43a8bd5df 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: fixed StackTrace property.

svn path=/trunk/mcs/; revision=8510
2002-10-24 11:42:40 +00:00
Gonzalo Paniagua Javier 436a8e6a80 sleep time is again 500ms
svn path=/trunk/mcs/; revision=8509
2002-10-24 10:34:05 +00:00
Tim Coleman 23632c45c1 2002-10-23 Tim Coleman ([email protected])
* TdsCommand.cs:
                Change ExecuteReader call
        * TdsConnection.cs:
                Much to do with the restructuring
                of the TDS objects and some
                simplification.
        * TdsConnectionPool.cs:
                Some modifications to do with above.
        * TdsTransaction.cs:
                Move calls out of Tds object and
                into here.  Simpler, makes Tds
                object smaller, doesn't change this
                much.

svn path=/trunk/mcs/; revision=8508
2002-10-24 06:33:54 +00:00
Tim Coleman 27e6b691f9 2002-10-23 Tim Coleman ([email protected])
* list:
                Add new files to build
        * Mono.Data.TdsClient.build:
                Exclude Tds70.cs, Tds80.cs, Tds50.cs
                Those should only be included with
                the appropriate providers.

svn path=/trunk/mcs/; revision=8507
2002-10-24 06:31:32 +00:00
Tim Coleman 6161be6ef5 2002-10-23 Tim Coleman ([email protected])
* ITds.cs:
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
        * Tds80.cs:
                New classes added.  Functionality
                is split up because different protocols
                have slight differences.
        * Tds.cs:
                Remove some unnecessary code after
                the above split, and add in a whole
                lot more stuff for completeness.
        * TdsColumnType.cs:
                Fix Int4.  Wrong enum value.
        * TdsComm.cs:
                Move the encoder out of constructor
                because we don't know the charset at
                that point
        * TdsConnectionParameters.cs:
                Small changes
        * TdsPacketEndTokenResult.cs:
                Implement ToString ()

svn path=/trunk/mcs/; revision=8506
2002-10-24 06:30:31 +00:00
Miguel de Icaza 479ba9b0f8 2002-10-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Return are more gentle token on failure.

svn path=/trunk/mcs/; revision=8505
2002-10-24 06:10:00 +00:00
Miguel de Icaza 7115b86677 2002-10-24 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation.InterfaceMethod): This routine
	had an out-of-sync index variable, which caused it to remove from
	the list of pending methods the wrong method sometimes.

svn path=/trunk/mcs/; revision=8504
2002-10-24 06:09:23 +00:00
Sebastien Pouliot 8ee72c4e52 2002-10-23 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
	* TripleDESCryptoServiceProvider.cs: Ajusted for CFB.

svn path=/trunk/mcs/; revision=8503
2002-10-24 01:51:44 +00:00
Gonzalo Paniagua Javier c1b56a7e26 forgot this
svn path=/trunk/mcs/; revision=8502
2002-10-24 00:58:00 +00:00
Gonzalo Paniagua Javier 8a9c6577b5 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: applied patch from Tim Haynes
	([email protected])

svn path=/trunk/mcs/; revision=8501
2002-10-24 00:56:40 +00:00
Gonzalo Paniagua Javier 8c92294afd 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* ThreadPool.cs: now the monitor thread is not sleeping and checking if
	more worker threads needed. It waits on _DataInQueue. If (and only if)
	there's data in the queue it checks if more worker threads needed and
	then sleeps 5 before waiting for queued data again.

svn path=/trunk/mcs/; revision=8500
2002-10-24 00:42:54 +00:00
Gonzalo Paniagua Javier cbf0c14ee0 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReaderTests.cs: fixed TestEntityReferenceInsideText.

svn path=/trunk/mcs/; revision=8499
2002-10-23 23:21:55 +00:00
Gonzalo Paniagua Javier b5fc624405 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: don't increment depth for entity references.

svn path=/trunk/mcs/; revision=8498
2002-10-23 22:42:54 +00:00
Rafael Teixeira 9a50d5213f 2002-10-23 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8497
2002-10-23 18:28:49 +00:00
Miguel de Icaza 6547a11f2c Revert this patch
svn path=/trunk/mcs/; revision=8496
2002-10-23 17:04:47 +00:00
Atsushi Eno 3ffced1659 * XmlDeclaration.cs : Fixed ParseInput() more parse strictly.
(now uses Regex.Match() of Regex const object. )
	* XmlNode.cs : ConstructDOM() now creates XmlDeclaration node.
	* XmlTextReader.cs : ReadProcessingInstruction() now reads
	  XMLDeclaration.

	* XmlWriter.cs : Implemented main of WriteAttributes().
	  TODO: 'defattr' parameter ignored; DTD must be implemented.

svn path=/trunk/mcs/; revision=8495
2002-10-23 16:44:47 +00:00
Atsushi Eno af0c73faa3 * XmlDocumentTests.cs: TestDocumentLoadUromUrl()
* XmlTextWriterTests.cs: TestWriteAttributes()

svn path=/trunk/mcs/; revision=8494
2002-10-23 16:43:36 +00:00
Dick Porter 9e41528ad2 2002-10-23 Dick Porter <[email protected]>
* file-io.c:
	* file-io.h:
	* icall.c: Added MonoIO.GetFileType internal call

svn path=/trunk/mono/; revision=8493
2002-10-23 15:13:10 +00:00
Dick Porter 3207e426e4 2002-10-23 Dick Porter <[email protected]>
* Process.cs: Redirected standard input needs to have AutoFlush set

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

	* FileStream.cs: Implemented CanSeek, and used it around all the
	calls to MonoIO.Seek.  Fixed buffering in Read() so that it
	doesn't block forever on short reads.

	* MonoFileType.cs: New enum for GetFileType

	* MonoIO.cs: Added GetFileType

svn path=/trunk/mcs/; revision=8492
2002-10-23 15:12:26 +00:00
Ville Palo f1b03888d8 2002-10-23 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlSingle.cs: Finished

svn path=/trunk/mcs/; revision=8491
2002-10-23 14:23:09 +00:00
Ville Palo 61b60054dd 2002-10-23 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs: Finished.

svn path=/trunk/mcs/; revision=8490
2002-10-23 14:09:49 +00:00
Gonzalo Paniagua Javier 8ff19c5e76 Update asp.net status
svn path=/trunk/mono/; revision=8489
2002-10-23 11:25:09 +00:00
Miguel de Icaza 6a7c9f0b3b Flush
svn path=/trunk/mono/; revision=8487
2002-10-23 05:48:58 +00:00
Sebastien Pouliot 283ee1fc21 2002-10-20 Sebastien Pouliot <[email protected]>
* RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size

svn path=/trunk/mcs/; revision=8486
2002-10-23 03:07:03 +00:00
Miguel de Icaza 4d13319167 2002-10-22 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr): Do not use PropertyInfo.CanRead,
	CanWrite, because those refer to this particular instance of the
	property, and do not take into account the fact that we can
	override single members of a property.

	Constructor requires an EmitContext.  The resolution process does
	not happen here, but we need to compute the accessors before,
	because the resolution does not always happen for properties.

	* typemanager.cs (RealMemberLookup): Set private_ok if we are a
	subclass, before we did not update this flag, but we did update
	bindingflags.

	(GetAccessors): Drop this routine, as it did not work in the
	presence of partially overwritten set/get methods.

	Notice that this broke the cs1540 detection, but that will require
	more thinking.

svn path=/trunk/mcs/; revision=8485
2002-10-23 00:17:33 +00:00
Miguel de Icaza 41fd8089b6 Add new test
svn path=/trunk/mcs/; revision=8483
2002-10-22 23:59:33 +00:00
Gonzalo Paniagua Javier 7e51416080 2002-10-22 Gonzalo Paniagua Javier <[email protected]>
* class.cs:
	* codegen.cs:
	* driver.cs: issue a warning instead of an error if we don't support
	debugging for the platform. Also ignore a couple of errors that may
	arise when trying to write the symbols. Undo my previous patch.

svn path=/trunk/mcs/; revision=8480
2002-10-22 23:10:19 +00:00
Gonzalo Paniagua Javier a02cfa3a39 2002-10-22 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: ignore /debug switch except for Unix platforms.

svn path=/trunk/mcs/; revision=8479
2002-10-22 22:42:53 +00:00
Tim Coleman 6f7db60522 2002-10-22 Tim Coleman ([email protected])
* Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.

svn path=/trunk/mcs/; revision=8477
2002-10-22 20:50:32 +00:00
Tim Coleman 23a668c470 2002-10-22 Tim Coleman ([email protected])
* list:
                Add TODOAttribute in both
                namespaces
                Add TdsConnectionPool

svn path=/trunk/mcs/; revision=8476
2002-10-22 20:49:02 +00:00
Tim Coleman 3c40e83577 2002-10-22 Tim Coleman ([email protected])
* TdsConnectionPool.cs:
                New class added for pooling connections
        * TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation, handling of
                pooled connections and such.
        * TdsConnection.cs:
                Code cleanups, more implementation
                Connection pooling (works!)
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

svn path=/trunk/mcs/; revision=8475
2002-10-22 20:48:13 +00:00
Miguel de Icaza 2bbeb878e2 2002-10-22 Miguel de Icaza <[email protected]>
* configure.in: Also allow the miss-spelled bohem.

svn path=/trunk/mono/; revision=8474
2002-10-22 20:44:25 +00:00
Miguel de Icaza c87eee78f6 2002-10-22 Tim Haynes <[email protected]>
* - Fixed the duplication of xmlns:xx = yy when serializing the
	XML for serialization

	Fixed the unnecessary parsing/serializing when adding assemblies
	for serialization

	Avoided setting the XmlNode.InnerXml property
	(as it's not implemented)

	Fixed the usage/implementation of
	XmlElement.GetElementsByTagName()

svn path=/trunk/mcs/; revision=8473
2002-10-22 19:32:29 +00:00
Tim Coleman 9f90dac5f2 2002-10-22 Tim Coleman ([email protected])
* list:
                Add TODOAttribute in both
                namespaces

svn path=/trunk/mcs/; revision=8472
2002-10-22 16:14:11 +00:00
Tim Coleman 0baa3f57bb 2002-10-22 Tim Coleman ([email protected])
* Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.
        * TdsConnectionParameters.cs:
                Rename Host to DataSource, and
                add Hostname for the local hostname.
        * TdsPacketEndTokenResult.cs:
                Change TODO attribute
        * TODOAttribute.cs:
                New class added

svn path=/trunk/mcs/; revision=8471
2002-10-22 16:12:57 +00:00
Nick Drochak 8224466370 2002-10-23 Nick Drochak <[email protected]>
* DateAndTimeTest.cs: Try to set the culture for these tests and see
	if that helps.  All but one works on my machine.

svn path=/trunk/mcs/; revision=8470
2002-10-22 16:07:33 +00:00
Tim Coleman dec99dd8c4 2002-10-22 Tim Coleman ([email protected])
* TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation
        * TdsConnection.cs:
                Code cleanups, more implementation
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

svn path=/trunk/mcs/; revision=8469
2002-10-22 16:06:50 +00:00
Nick Drochak e851afd42b 2002-10-23 Nick Drochak <[email protected]>
* makefile: Remove mcs2.exe and mcs3.exe on 'make clean'

svn path=/trunk/mcs/; revision=8468
2002-10-22 15:23:44 +00:00
Tim Coleman 366758b92b *** empty log message ***
svn path=/trunk/mcs/; revision=8467
2002-10-22 15:19:49 +00:00
Nick Drochak 2fc4b212e9 2002-10-23 Nick Drochak <[email protected]>
* ConstraintCollectionTest.cs (SetUp): Clear the constraints before
	each test.
	* ConstraintTest.cs: same
	* DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
	aren't

svn path=/trunk/mcs/; revision=8466
2002-10-22 15:17:42 +00:00
Miguel de Icaza 5cb1e23789 Evidence.cs from Jackson Harper
svn path=/trunk/mcs/; revision=8465
2002-10-22 14:40:02 +00:00
Jaime Anguiano Olarra 621a5c5ff2 Some updates.
svn path=/trunk/mono/; revision=8464
2002-10-22 14:19:07 +00:00
Nick Drochak d40a1d14d2 2002-10-22 Nick Drochak <[email protected]>
* DataColumnTest.cs: Remove compiler warnings and use caught exception
	to report useful info.

svn path=/trunk/mcs/; revision=8463
2002-10-22 13:54:27 +00:00
Miguel de Icaza 2574838ce1 2002-10-21 Miguel de Icaza <[email protected]>
* driver.cs: Do not make mcs-debug conditional, so we do not break
	builds that use it.

	* statement.cs (UsageVector.MergeChildren): I would like Martin to
	review this patch.  But basically after all the children variables
	have been merged, the value of "Breaks" was not being set to
	new_breaks for Switch blocks.  I think that it should be set after
	it has executed.  Currently I set this to the value of new_breaks,
	but only if new_breaks is FlowReturn.ALWAYS, which is a bit
	conservative, but I do not understand this code very well.

svn path=/trunk/mcs/; revision=8461
2002-10-22 01:29:26 +00:00
Daniel Morgan 3b22bed26b 2002-10-21 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs
	* SqlEditor.cs: added files for SQL# For GTK#

	* win32.make: added make file to build on Windows

	* sql-editor-gtk-widget: added subdirectory

	* sql-editor-gtk-widget/gnome-db-sqleditor.c
	* sql-editor-gtk-widget/gnome-db-sqleditor.h: added files for
	sql editor gtk+ widget

	* sql-editor-gtk-widget/Win32.make: added make file
	to build gtk+ widget on Windows

svn path=/trunk/mcs/; revision=8460
2002-10-22 00:14:12 +00:00
Tim Coleman 2c6cfb4f92 2002-10-21 Tim Coleman ([email protected])
* Tds.cs
	* TdsComm.cs:
		A whole slew of changes to get logon
		to work (it now works in both TDS 7.0
		and TDS 4.2) ... danmorg can test with
		8.0 if he likes.
		TdsComm has some simplifications too,
		because C# has some features not present
		in the Java implementation.
	* TdsConnectionParameters.cs:
		Change a few default values.
	* TdsMessage.cs:
		Implement this class.

svn path=/trunk/mcs/; revision=8459
2002-10-21 23:32:42 +00:00
Tim Coleman a32d7f3869 2002-10-21 Tim Coleman ([email protected])
* TdsConnection.cs:
		Make sure to set the TDS Version. (This will
		use 4.2)

svn path=/trunk/mcs/; revision=8458
2002-10-21 23:29:04 +00:00
Miguel de Icaza 3c0dff28e5 2002-10-21 Miguel de Icaza <[email protected]>
* X509CertificateCollection.cs (Add): New method.

svn path=/trunk/mcs/; revision=8457
2002-10-21 21:26:01 +00:00
Miguel de Icaza bcb2db7375 Flush
svn path=/trunk/mono/; revision=8456
2002-10-21 21:02:12 +00:00
Miguel de Icaza a69c1bf3d3 Flush
svn path=/trunk/mono/; revision=8455
2002-10-21 21:01:26 +00:00
Mark Crichton 9d788907a3 Added OdbcErrorCollection.cs to list.
svn path=/trunk/mcs/; revision=8452
2002-10-21 19:22:49 +00:00
Miguel de Icaza c49e30ab0e 2002-10-21 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Also allow \r in comments as a line separator.

svn path=/trunk/mcs/; revision=8451
2002-10-21 17:05:50 +00:00
Gonzalo Paniagua Javier 15119aee06 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
	to \n).

svn path=/trunk/mcs/; revision=8450
2002-10-21 17:04:53 +00:00
Brian Ritchie cc810f5abf Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
includes full error text returned by ODBC driver

svn path=/trunk/mcs/; revision=8449
2002-10-21 16:44:14 +00:00
Gonzalo Paniagua Javier 71752a091e 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
	\n (this is what MS does).

svn path=/trunk/mcs/; revision=8448
2002-10-21 16:40:28 +00:00
Ville Palo a37551e704 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlGuidTest.cs: new test suite for SqlGuid.

svn path=/trunk/mcs/; revision=8447
2002-10-21 15:23:20 +00:00
Nick Drochak d571ff0966 2002-10-22 Nick Drochak <[email protected]>
* XmlTextWriterTests.cs: Null is ok when prefix is "xmlns".

svn path=/trunk/mcs/; revision=8446
2002-10-21 15:09:42 +00:00
Nick Drochak 29e2c32959 Fix typo.
svn path=/trunk/mcs/; revision=8445
2002-10-21 14:44:16 +00:00
Rodrigo Moya ef909c1819 2002-10-21 Rodrigo Moya <[email protected]>
* list: removed libodbchelper.cs file, which has been removed.

svn path=/trunk/mcs/; revision=8444
2002-10-21 12:21:47 +00:00
Gonzalo Paniagua Javier 15c8085284 added new files in System.Data.Odbc
svn path=/trunk/mcs/; revision=8443
2002-10-21 12:15:06 +00:00
Gonzalo Paniagua Javier 1ec2adc832 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: added.
	* OdbcError.cs:
	* OdbcException.cs: added dummy implementation for these missing
	classes.

svn path=/trunk/mcs/; revision=8442
2002-10-21 12:14:13 +00:00
Duncan Mak 47c3834149 2002-10-21 Duncan Mak <[email protected]>
* XmlDocument.cs:
	* XmlElement.cs:
	* XmlNode.cs:
	* XmlTextReader.cs: Implementation for XmlNode.InnerXml from
	Atsushi Enomoto <[email protected]>.

	* XmlTextReaderTests.cs:
	* XmlElementTests.cs:
	* XmlDocumentTests.cs: Patches from Atsushi Enomoto
	<[email protected]>.

svn path=/trunk/mcs/; revision=8440
2002-10-21 04:18:43 +00:00
Dennis Hayes f63cc01ee5 2002-10-18 DennisHayes <[email protected]>
* StatusBarPanelAutoSize.cs
	* StatusBarPanelBorderStyle.cs
	* StatusBarPanelClickEventArgs.cs
	* StatusBarPanelClickEventHandler.cs
	* StatusBarPanelStyle.cs
	* TabAlignment.cs
	* ToolBar.cs
	* ToolBarAppearance.cs
	* ToolBarButton.cs
	* ToolBarButtonClickEventArgs.cs
	* ToolBarButtonClickEventHandler.cs
	* ToolBarButtonStyle.cs
	* ToolBarTextAlign.cs
	* Tooltip.cs
	* TreeNode.cs
	* TreeNodeCollection.cs
	* TreeView.cs
	* TreeViewAction.cs
	* TreeViewCancelEventArgs.cs
	* TreeViewCancelEventHandler.cs
	* TreeViewEventArgs.cs
	* TreeViewEventHandler.cs
	* UICues.cs
	* UICuesEventArgs.cs
	* UICuesEventHandler.cs
	* UpDownEventArgs.cs
	* UpDownEventHandler.cs
	* WINELib.csproj
	* WINELib.csproj.user
	* winelib.sln

	* Moved file from SWF need for uncommented code.
	* Include porject file for Visual studio.
	* forgot solution file for visual studio.
	* will break winelib build because some classes that 
	* should be public are not marked as suh, so default to private.
	* resulting in error "visiblity does not match"
	* will fix and check in Tuseday.
	* planed to fix tonight, but am out of time and want to get this cjahecked in.

svn path=/trunk/mcs/; revision=8439
2002-10-21 03:25:38 +00:00
Dennis Hayes 13bfdd8a1b 2002-10-18 DennisHayes <[email protected]>
* PaintEventHandler.cs
	* PropertyTabChangedEventArgs.cs
	* PropertyTabChangedEventHandler.cs
	* PropertyValueChangedEventArgs.cs
	* PropertyValueChangedEventHandler.cs
	* QueryAccessibilityHelpEventArgs.cs
	* QueryAccessibilityHelpEventHandler.cs
	* QueryContinueDragEventArgs.cs
	* QueryContinueDragEventHandler.cs
	* RightToLeft.cs
	* ScrollEventArgs.cs
	* ScrollEventHandler.cs
	* ScrollEventType.cs
	* SelectedGridItemChangedEventArgs.cs
	* SelectedGridItemChangedEventHandler.cs
	* SizeGripStyle.cs
	* SplitterEventArgs.cs
	* SplitterEventHandler.cs
	* StatusBar.cs
	* StatusBarDrawItemEventArgs.cs
	* StatusBarDrawItemEventHandler.cs
	* StatusBarPanel.cs

svn path=/trunk/mcs/; revision=8438
2002-10-21 03:18:32 +00:00
Dennis Hayes 120099cd4b 2002-10-18 DennisHayes <[email protected]>
* KeyPressEventHandler.cs
	* Keys.cs
	* LabelEditEventArgs.cs
	* LabelEditEventHandler.cs
	* LayoutEventArgs.cs
	* LayoutEventHandler.cs
	* LeftRightAlignment.cs
	* LinkArea.cs
	* LinkBehavior.cs
	* LinkClickedEventArgs.cs
	* LinkClickedEventHandler.cs
	* LinkLabel.cs
	* LinkLabelLinkClickedEventArgs.cs
	* LinkLabelLinkClickedEventHandler.cs
	* ListViewAlignment.cs
	* MainMenu.cs
	* MdiLayout.cs
	* MeasureItemEventArgs.cs
	* MeasureItemEventHandler.cs
	* Menu.cs
	* Message.cs
	* MessageBoxButtons.cs
	* MessageBoxDefaultButton.cs
	* MessageBoxIcon.cs
	* MessageBoxOptions.cs
	* MouseButtons.cs
	* MouseEventArgs.cs
	* MouseEventHandler.cs
	* NavigateEventArgs.cs
	* NavigateEventHandler.cs
	* NodeLabelEditEventArgs.cs
	* NodeLabelEditEventHandler.cs
	* PaintEventArgs.cs

svn path=/trunk/mcs/; revision=8437
2002-10-21 03:15:13 +00:00
Dennis Hayes 36f1e17aa4 2002-10-18 DennisHayes <[email protected]>
* HelpEventArgs.cs
	* HelpEventHandler.cs
	* HorizontalAlignment.cs
	* IButtonControl.cs
	* IDataObject.cs
	* ImageList.cs
	* ImageListStreamer.cs
	* ImeMode.cs
	* IMessageFilter.cs
	* InputLanguage.cs
	* InputLanguageChangedEventArgs.cs
	* InputLanguageChangedEventHandler.cs
	* InputLanguageChangingEventArgs.cs
	* InputLanguageChangingEventHandler.cs
	* InputLanguageCollection.cs
	* InvalidateEventArgs.cs
	* InvalidateEventHandler.cs
	* ItemChangedEventArgs.cs
	* ItemChangedEventHandler.cs
	* ItemCheckEventArgs.cs
	* ItemCheckEventHandler.cs
	* ItemDragEventArgs.cs
	* ItemDragEventHandler.cs
	* IWin32Window.cs
	* IWindowTarget.cs
	* KeyEventArgs.cs
	* KeyEventHandler.cs
	* KeyPressEventArgs.cs

svn path=/trunk/mcs/; revision=8436
2002-10-21 03:10:32 +00:00
Dennis Hayes a77a063787 2002-10-18 DennisHayes <[email protected]>
* ConvertEventArgs.cs
	* ConvertEventHandler.cs
	* CreateParams.cs
	* Cursor.cs
	* DateBoldEventArgs.cs
	* DateRangeEventArgs.cs
	* DateRangeEventHandler.cs
	* DialogResult.cs
	* DockStyle.cs
	* DragAction.cs
	* DragDropEffects.cs
	* DragEventArgs.cs
	* DragEventHandler.cs
	* DrawItemState.cs
	* ErrorIconAlignment.cs
	* FlatStyle.cs
	* FormBorderStyle.cs
	* FormStartPosition.cs
	* FormWindowState.cs
	* GiveFeedbackEventArgs.cs
	* GiveFeedbackEventHandler.cs
	* GridItem.cs

svn path=/trunk/mcs/; revision=8435
2002-10-21 03:07:00 +00:00
Dennis Hayes e648a7e8dc 2002-10-18 DennisHayes <[email protected]>
* Application.cs
	* Button.cs
	* ButtonBase.cs
	* changelog
	* ContainerControl.cs
	* Control.cs
	* DrawItemEventArgs.cs
	* DrawItemEventHandler.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* IContainerControl.cs
	* Label.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Win32.cs

	* Added some implmentation. Uncommented some stuff. 
	* About to add files to implment stuff uncommented.

svn path=/trunk/mcs/; revision=8434
2002-10-21 03:02:52 +00:00
Dennis Hayes cc23a0cbdf 2002-10-18 DennisHayes <[email protected]>
* Application.cs
	* Button.cs
	* ButtonBase.cs
	* changelog
	* ContainerControl.cs
	* Control.cs
	* DrawItemEventArgs.cs
	* DrawItemEventHandler.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* IContainerControl.cs
	* Label.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Win32.cs

	* Added some implmentation. Uncommented some stuff. 
	* About to add files to implment stuff uncommented.

svn path=/trunk/mcs/; revision=8433
2002-10-21 02:47:35 +00:00
Rafael Teixeira d903a9088f 2002-10-20 Rafael Teixeira <[email protected]>
* using Mono.GetOptions preliminar support for response files,
	  changed the makefile target 'test' for use o response file testmbas/filelist

svn path=/trunk/mcs/; revision=8432
2002-10-20 20:20:12 +00:00
Rafael Teixeira 3ccd868861 alpha support for response files
svn path=/trunk/mcs/; revision=8431
2002-10-20 20:06:40 +00:00
Rafael Teixeira 4cfcee786f 2002-10-20 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8430
2002-10-20 19:38:09 +00:00
Brian Ritchie 71d38f2a35 - Transaction Isolation Level is supported
- Fixed TinyInt mapping (Thanks Daniel for finding the bug!)
- ExecuteScalar is supported
- Support CloseConnection CommandBehavior for ExecuteReader
- Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
- Parameter support for all data types (needs further optimization)

svn path=/trunk/mcs/; revision=8429
2002-10-20 19:19:50 +00:00
Miguel de Icaza d21d6de00a Ok, my own attempt, after 3 cvs update failures
svn path=/trunk/mcs/; revision=8428
2002-10-20 18:34:48 +00:00
Rafael Teixeira 3e1d2a9ecf wrap_as doubly defined bug
svn path=/trunk/mcs/; revision=8427
2002-10-20 18:31:03 +00:00
Tim Coleman 51465db123 2002-10-20 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8426
2002-10-20 18:16:26 +00:00
Sebastien Pouliot 3ca847bc92 2002-10-20 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for Rjindael
	* RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.

svn path=/trunk/mcs/; revision=8425
2002-10-20 18:15:47 +00:00
Tim Coleman b5e259bba6 2002-10-20 Tim Coleman ([email protected])
* TdsColumnType.cs:
        * TdsContext.cs:
        * TdsEnvPacketSubType.cs:
        * TdsMessage.cs:
        * TdsPacketColumnInfoResult.cs:
        * TdsPacketColumnNamesResult.cs:
        * TdsPacketColumnOrderResult.cs:
        * TdsPacketControlResult.cs:
        * TdsPacketEndTokenResult.cs:
        * TdsPacketErrorResult.cs:
        * TdsPacketMessageResult.cs:
        * TdsPacketOutputParam.cs:
        * TdsPacketResult.cs:
        * TdsPacketRetStatResult.cs:
        * TdsPacketRowResult.cs:
        * TdsPacketSubType.cs:
        * TdsPacketTableNameResult.cs:
        * TdsPacketUnknown.cs:
                New classes added as part of TDS internal implementation.
        * Tds.cs:
                Some work on receiving and interpreting packages received from
                SQL Server.  Still doesn't work completely.
        * TdsComm.cs:
                Add some methods as part of the ongoing work with Tds.cs
        * TdsConnectionParameters.cs:
                Add default values for Encoding ("iso-8859-1"), Port (1433),
                TDS Version (4.2).

svn path=/trunk/mcs/; revision=8424
2002-10-20 18:15:04 +00:00
Sebastien Pouliot 2472188b6f 2002-10-20 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Added better Dispose support
	* DES.cs: Now only contains the abstract DES class.
	* DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
	from SymmetricTransform) based the old DESCore and DESTransformBase code
	* RC2.cs: Fixed EffectiveKeySize == 0
	* RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
	from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
	* RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
	* TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from
	DESTransform (non-optimal but working :-).

svn path=/trunk/mcs/; revision=8423
2002-10-20 18:11:27 +00:00
Mark Crichton 544903156c Fixed compile blocker. Still missing a Type declaration, and removed a
warning.

svn path=/trunk/mcs/; revision=8422
2002-10-20 17:38:47 +00:00
Tim Coleman d3599c584a *** empty log message ***
svn path=/trunk/mcs/; revision=8421
2002-10-20 16:10:05 +00:00
Nick Drochak df4698c193 2002-10-20 Nick Drochak <[email protected]>
* cfold.cs: Fixed compile blocker.

svn path=/trunk/mcs/; revision=8420
2002-10-20 14:06:39 +00:00
Miguel de Icaza 06d2b50aa3 2002-10-20 Miguel de Icaza <[email protected]>
* driver.cs: I was chekcing the key, not the file.

svn path=/trunk/mcs/; revision=8419
2002-10-20 07:41:46 +00:00
Tim Coleman e96beff775 2002-10-20 Tim Coleman ([email protected])
* TdsConnection.cs:
                Lots of stuff to get this working somewhat.

svn path=/trunk/mcs/; revision=8417
2002-10-20 06:46:11 +00:00
Ravi Pratap M 36f9ceb43f Add to insure ourselves of bug #32218 which btw, I am sure will
never resurface but anyhow ;-)

svn path=/trunk/mcs/; revision=8416
2002-10-20 01:21:02 +00:00
Ravi Pratap M 5df14330dd 2002-10-19 Ravi Pratap <[email protected]>
* ecore.cs (UserDefinedConversion): Get rid of the bogus error
	message that we were generating - we just need to silently return
	a null.

svn path=/trunk/mcs/; revision=8415
2002-10-20 01:16:43 +00:00
Ravi Pratap M a44c529995 *** empty log message ***
svn path=/trunk/mcs/; revision=8414
2002-10-20 01:14:35 +00:00
Miguel de Icaza 32525ae4c8 2002-10-19 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Change my previous commit, as this
	breaks the debugger.  This is a temporary hack, as it seems like
	the compiler is generating events incorrectly to begin with.

svn path=/trunk/mcs/; revision=8413
2002-10-20 00:36:27 +00:00
Tim Coleman e43be9a56d 2002-10-19 Tim Coleman ([email protected])
* list:
		rename internal files

svn path=/trunk/mcs/; revision=8410
2002-10-19 23:14:35 +00:00
Tim Coleman cbd8717731 2002-10-19 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8409
2002-10-19 23:03:57 +00:00
Tim Coleman fd3837bf20 2002-10-19 Tim Coleman ([email protected])
* TdsDataReader.cs:
        * TdsError.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameter.cs:
        * TdsParameterCollection.cs:
                Added new classes, to get started with this namespace.
                This is pretty much what is needed to do things like
                TdsConnection and so on.
        * TdsCommand.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsCommandInternal class.
        * TdsConnection.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsConnectionInternal class.
        * TdsTransaction.cs:
                De-wrappify this class.  There is no longer a

svn path=/trunk/mcs/; revision=8408
2002-10-19 23:03:15 +00:00
Tim Coleman 4d9158afb8 2002-10-19 Tim Coleman ([email protected])
* TdsCommInternal.cs:
        * TdsConnectionParametersInternal.cs:
        * TdsInternal.cs:
        * TdsPacketTypeInternal.cs:
        * TdsVersionInternal.cs:
                Rename classes, since there will no
                longer be conflicts between these and
                the classes in Mono.Data.TdsClient
        * TdsServerTypeInternal.cs:
                Added "Generic" server type and renamed
                class to TdsServerType

svn path=/trunk/mcs/; revision=8407
2002-10-19 22:59:13 +00:00
Tim Coleman 3d8ae35a82 2002-10-19 Tim Coleman ([email protected])
* TdsTransactionInternal.cs:
	* TdsConnectionInternal.cs:
	* TdsCommandInternal.cs:
		Since these will be exclusively implemented
		in Mono.Data.TdsClient they are no longer needed
		here.  Lotsa luck guys!

svn path=/trunk/mcs/; revision=8406
2002-10-19 22:55:35 +00:00
Tim Coleman 988ef9a81d 2002-10-19 Tim Coleman ([email protected])
* TdsServerType.cs:
	* TdsVersion.cs:
		Remove these files as they will exist in
		Mono.Data.TdsClient.Internal.

svn path=/trunk/mcs/; revision=8405
2002-10-19 22:51:00 +00:00
Miguel de Icaza 208c6e381a 2002-10-19 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Added support for
	"U operator - (E x, E y)"

	* cfold.cs (BinaryFold): Added support for "U operator - (E x, E
	y)".

svn path=/trunk/mcs/; revision=8404
2002-10-19 22:12:36 +00:00
Miguel de Icaza e31738c4a9 Update test
svn path=/trunk/mcs/; revision=8403
2002-10-19 22:06:29 +00:00
Miguel de Icaza 150abfac35 2002-10-19 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): We had a special code path for
	init-only variables, but this path did not take into account that
	there might be also instance readonly variables.  Correct this
	problem.

	This fixes bug 32253

svn path=/trunk/mcs/; revision=8401
2002-10-19 20:21:49 +00:00
Miguel de Icaza c0aacceed3 2002-10-19 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.DoResolve): Catch creation of unsafe
	delegates as well.

svn path=/trunk/mcs/; revision=8399
2002-10-19 19:50:49 +00:00
Miguel de Icaza c2ba6046eb 2002-10-19 Miguel de Icaza <[email protected]>
* driver.cs: Change the extension for modules to `netmodule'

	* cs-parser.jay: Improved slightly the location tracking for
	the debugger symbols.

	* class.cs (Event.Define): Use Modifiers.FieldAttr on the
	modifiers that were specified instead of the hardcoded value
	(FamAndAssem).  This was basically ignoring the static modifier,
	and others.  Fixes 32429.

svn path=/trunk/mcs/; revision=8398
2002-10-19 19:22:53 +00:00
Miguel de Icaza a6fcc2d47a Improve this test to test bug 32429
svn path=/trunk/mcs/; revision=8397
2002-10-19 19:18:56 +00:00
John Sohn 339973ab76 * makefile: removed hard coded path to libmono
svn path=/trunk/mcs/; revision=8396
2002-10-19 17:21:41 +00:00
Sebastien Pouliot d9760c3970 2002-10-19 Sebastien Pouliot <[email protected]>
* corlib_test.build: Removed all excluded cryptographic test code as
	the cyclic dependency was removed (well commented)

svn path=/trunk/mcs/; revision=8395
2002-10-19 16:25:46 +00:00
Sebastien Pouliot dcffcbb2b3 2002-10-19 Sebastien Pouliot <[email protected]>
* AllTests.cs: Renabled most tests after commenting all code causing a
	cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
	until commented code is replaced.
	* SymmetricAlgorithm.cs: New (189) generated test cases for all default
	algorithm implementation, all cipher modes, all padding modes, all key
	sizes, all block sizes, feedback...
	* PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
	tests to check for various exceptions

svn path=/trunk/mcs/; revision=8394
2002-10-19 15:50:12 +00:00
Sebastien Pouliot 98d9a4195b 2002-10-19 Sebastien Pouliot <[email protected]>
* corlib.build: Removed all excluded cryptographic source code as the
	cyclic dependency was removed (well commented)

svn path=/trunk/mcs/; revision=8393
2002-10-19 15:40:37 +00:00
Sebastien Pouliot b443cb3648 2002-10-19 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Added new class SymmetricTransform to avoid
	duplicating CipherMode (currently ECB, CBC) and PaddingMode functionalities
	in every crytographic algorithm implementation.
	* RijndaelManaged.cs: Added the RjindaelTransform class (inherited
	from SymmetricTransform) based the old RijndaelImpl / RijndaelController
	code. Fixed encryption for block size 192, 256, there is still a problem
	decrypting block size 192, 256. Unrolled some loops + littl'optimizations
	* PKCS1MaskGenerationMethod.cs: Removed Array.Reverse in I2OSP to be
	compatible with MS implementation (however we are now failing the PKCS#1
	test vector) + added some more checks (null, overflow, ...)
	* AsymmetricAlgorithm.cs: Commented XMLDocument stuff to end the cyclic
	dependency (corlib->System.Xml->corlib)
	* RSA.cs: Commented FromXmlString stuff to end the cyclic dependency
	* DSA.cs: Commented FromXmlString stuff to end the cyclic dependency
	* RC2.cs: Create using CryptoConfig
	* TripleDES.cs: Marked class public. Added LegalKeySizes and LegalBlockSizes

svn path=/trunk/mcs/; revision=8392
2002-10-19 15:32:57 +00:00
Ville Palo b82e969e07 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTest.cs:
	* System.Data.SqlTypes/SqlMoneyTest.cs new test suite for SqlMoney
	* System.Data.SqlTypes/SqlDateTimeTest.cs new test suite for
	SqlDateTime

svn path=/trunk/mcs/; revision=8391
2002-10-19 13:36:36 +00:00
Ville Palo e91636b50d Added test suite for SqlMoney and SqlDateTime
svn path=/trunk/mcs/; revision=8390
2002-10-19 11:21:47 +00:00
Miguel de Icaza 45f6cbba11 2002-10-19 Miguel de Icaza <[email protected]>
* statement.cs (Switch.SimpleSwitchEmit): Simplified the code, and
	fixed a bug in the process (32476)

svn path=/trunk/mcs/; revision=8388
2002-10-19 07:19:41 +00:00
Miguel de Icaza f0509b6222 2002-10-19 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitAssign): Patch from
	[email protected] that fixes bug 31834.3

svn path=/trunk/mcs/; revision=8387
2002-10-19 06:55:41 +00:00
Miguel de Icaza a46ff508fc update
svn path=/trunk/mcs/; revision=8386
2002-10-19 06:46:32 +00:00
Miguel de Icaza 92e42766ac Add new test
svn path=/trunk/mcs/; revision=8385
2002-10-19 06:45:36 +00:00
Miguel de Icaza 8305bbbfe4 Add new test file
svn path=/trunk/mcs/; revision=8384
2002-10-19 06:31:09 +00:00
Rachel Hestilow 6d6aeca7ea 2002-10-19 Rachel Hestilow <[email protected]>
* CSharpCodeProvider.cs
	(GeneratePropertySetValueReferenceExpression): Implement.
	(GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
	if there are any attributes.
	(GenerateProperty): Implement.

svn path=/trunk/mcs/; revision=8383
2002-10-19 06:06:26 +00:00
Rachel Hestilow 1947f1e133 2002-10-19 Rachel Hestilow <[email protected]>
* ColorTranslator.cs (FromHtml): Implement.

svn path=/trunk/mcs/; revision=8382
2002-10-19 06:05:48 +00:00
Daniel Morgan 4d9b69da73 2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net
	* doc/postgresql
	* doc/tds-providers: cleaned up the web pages

	* doc/web/commands: postgresql.html page was mistyped

svn path=/trunk/mono/; revision=8380
2002-10-19 02:08:04 +00:00
Miguel de Icaza 6a65de7e5f Addes test program from Tim
svn path=/trunk/mcs/; revision=8379
2002-10-19 00:08:17 +00:00
Miguel de Icaza d16cdb7b97 Patches from Tim Haynes
svn path=/trunk/mcs/; revision=8378
2002-10-19 00:07:21 +00:00
Miguel de Icaza 387c692a9f Apply patch from Tim Haynes to get SoapFormatter working
svn path=/trunk/mcs/; revision=8377
2002-10-19 00:06:36 +00:00
Duncan Mak 0a40887d3b 2002-10-18 Duncan Mak <[email protected]>
* XmlDocument.cs: Applied a patch by Atsushi Enomoto
	<[email protected]>.

	* XmlDocumentTests.cs: Apply a patch from Atsushi Enomoto
	<[email protected]>.

svn path=/trunk/mcs/; revision=8376
2002-10-19 00:02:38 +00:00
Dennis Hayes 3568c2bd63 2002-10-18 DennisHayes <[email protected]>
* Application.cs
* ContainerControl.cs
* Control.cs
* Form.cs
* Label.cs

* Added //Compact Framework comment to members that belong.
* A CE subset of SWF might not be that difficult to reach. 
* John has already completed *Most* of the CE members in these files.
* 
* also added a couple of members that seem to have not been
  stubbed, hope I did not break the build, unable to test

svn path=/trunk/mcs/; revision=8374
2002-10-18 22:06:39 +00:00
Tim Coleman 6bf6610c11 2002-10-18 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal/TdsCommInternal.cs
                Add
                Mono.Data.TdsClient.Internal/TdsConnectionParametersInternal.cs
                Mono.Data.TdsClient.Internal/TdsInternal.cs

svn path=/trunk/mcs/; revision=8373
2002-10-18 21:05:50 +00:00
Tim Coleman 3ede35a6d4 2002-10-18 Tim Coleman ([email protected])
* TdsConnectionParametersInternal:
        * TdsInternal:
                New classes added
        * TdsConnectionInternal:
                Add some implementation details
                Add new methods, move some functionality to
                TdsInternal
        * TdsCommandInternal:
                Add new methods
        * TdsCommInternal:
                New class, which will handle the low-level
                communication with the database
        * TdsPacketTypeInternal:
                Add new packet type, TdsPacketTypeInternal.None
                which is used when no packet is being constructed.
                The value is 0.

svn path=/trunk/mcs/; revision=8372
2002-10-18 21:04:53 +00:00
Dick Porter 93210b5033 2002-10-18 Dick Porter <[email protected]>
* FileStream.cs: SeekOrigin.End still calculates the offset from
	the end of the file with positive values extending the length.
	Fixes bug 32471.

svn path=/trunk/mcs/; revision=8371
2002-10-18 15:20:50 +00:00
Daniel Morgan ea380d9f67 2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net: updated status of
	the ADO.NET functionality and providers
	and added link to tds-providers.html

	* doc/tds-providers: added file to
	describe the design	and status of
	the SqlClient, SybaseClient, and TdsClient
	ADO.NET providers.

	* doc/web/makefile
	* doc/web/command: added new web page
	tds-providers.html to build of 	www.go-mono.com web site

svn path=/trunk/mono/; revision=8370
2002-10-18 14:52:07 +00:00
Tim Coleman 7f3554422d 2002-10-18 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal/TdsCommInternal.cs

svn path=/trunk/mcs/; revision=8369
2002-10-18 14:50:13 +00:00
Tim Coleman dfb9267fc9 2002-10-18 Tim Coleman ([email protected])
* TdsConnectionInternal:
                Add some implementation details
        * TdsCommInternal:
                New class, which will handle the low-level
                communication with the database
        * TdsPacketTypeInternal:
                Add new packet type, TdsPacketTypeInternal.None
                which is used when no packet is being constructed.
                The value is 0.

svn path=/trunk/mcs/; revision=8368
2002-10-18 14:49:02 +00:00
Tim Coleman 379d76fe07 2002-10-17 Tim Coleman ([email protected])
* list:
                Add files from Mono.Data.TdsClient.Internal
        * makefile.gnu:
                Add reference to System.Data.dll.  This is
                fine, just not the reverse.

svn path=/trunk/mcs/; revision=8358
2002-10-17 22:17:56 +00:00
Tim Coleman 057b21b303 *** empty log message ***
svn path=/trunk/mcs/; revision=8357
2002-10-17 22:16:49 +00:00
Duncan Mak a457b961bb 2002-10-17 Duncan Mak <[email protected]>
* CultureInfo.cs (TextInfo): return a TextInfo in the property.

	* TextInfo.cs (ToLower):
	(ToTitleCase): Implemented.

svn path=/trunk/mcs/; revision=8356
2002-10-17 22:04:40 +00:00
Tim Coleman 6c9afdef05 2002-10-17 Tim Coleman ([email protected])
* ChangeLog:
                New changelog added
        * TdsCommandInternal.cs:
        * TdsConnectionInternal.cs:
        * TdsPacketTypeInternal.cs:
        * TdsServerTypeInternal.cs:
        * TdsTransactionInternal.cs:
        * TdsVersionInternal.cs:
                New classes added.  These are the
                internal implementations, meant for
                "wrapping" from other locations.

svn path=/trunk/mcs/; revision=8355
2002-10-17 21:59:43 +00:00
Tim Coleman bfb6772328 2002-10-17 Tim Coleman ([email protected])
* IsolationLevel.cs:
                Removed, as we now use IsolationLevel from System.Data
        * TdsCommand.cs:
        * TdsConnection.cs:
        * TdsTransaction.cs:
                These classes are now just wrappers for the
                Mono.Data.TdsClient.Internal classes.
        * TdsServerType.cs:
                Slight modification

svn path=/trunk/mcs/; revision=8354
2002-10-17 21:56:52 +00:00
Dick Porter 48880e656f 2002-10-17 Dick Porter <[email protected]>
* appdomain.c (mono_runtime_cleanup): Don't signal the async
	delegate semaphore before waiting for all threads to finish,
	because new threads can also call async delegates.  Fixes bug
	32004.

	* threadpool.c (async_invoke_thread): Only wait for 500ms instead
	of 3 seconds, in case another async job is queued.  (This part is
	needed because the bug fix reintroduced the 3s exit lag.)  This
	makes the mono_runtime_shutdown flag superfluous.

svn path=/trunk/mono/; revision=8353
2002-10-17 19:23:00 +00:00
Dietmar Maurer 0a87db2e0f 2002-10-17 Dietmar Maurer <[email protected]>
* monoburg.y: added missing semicolon

svn path=/trunk/mono/; revision=8351
2002-10-17 17:50:47 +00:00
Daniel Morgan fccc5fc44a 2002-10-17 Daniel Morgan <[email protected]>
* doc/web/makefile
	* doc/web/commands:	web page
	postgresql needed to be added

svn path=/trunk/mono/; revision=8350
2002-10-17 16:45:06 +00:00
Daniel Morgan 678daa65dd 2002-10-16 Daniel Morgan <[email protected]>
* Mono.Data.TdsClient.build: added build for windows

	* Test: added directory for tests

	* Mono.Data.TdsClient/TdsVersion.cs: added file for
	enum TdsVersion

	* Mono.Data.TdsClient/TdsConnection.cs: added public
	property TdsVersion so it can be set to
	use TDS version 4.2, 5.0, 7.0, or 8.0.  Also, added
	comments

svn path=/trunk/mcs/; revision=8349
2002-10-17 16:14:38 +00:00
Paolo Molaro 3907b3c970 Thu Oct 17 13:11:39 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: include ehader size in method section headers.
	Really check for suplicated modules entries.

svn path=/trunk/mono/; revision=8348
2002-10-17 11:15:16 +00:00
Tim Coleman 936efdcd19 002-10-16 Tim Coleman ([email protected])
* ChangeLog:
                New ChangeLog
        * IsolationLevel.cs:
        * TdsCommand.cs:
        * TdsConnection.cs:
        * TdsServerType.cs:
        * TdsTransaction.cs:
                Added skeletons to get started.

svn path=/trunk/mcs/; revision=8347
2002-10-17 05:04:57 +00:00
Tim Coleman 20076a2a4a 2002-10-16 Tim Coleman ([email protected])
* ChangeLog:
        * list:
        * makefile.gnu:
                Added new files to start this assembly

svn path=/trunk/mcs/; revision=8346
2002-10-17 05:03:39 +00:00
Miguel de Icaza aa8777e3f1 2002-10-16 Miguel de Icaza <[email protected]>
* Mono.Data.SqliteClient/SqliteCommand.cs: Reworked to return the
	error from SqlLite.

svn path=/trunk/mcs/; revision=8342
2002-10-17 02:16:41 +00:00
Martin Baulig 856876b7fc 2002-10-17 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added back support for locals.

svn path=/trunk/mono/; revision=8337
2002-10-17 00:27:43 +00:00
Martin Baulig 40fa542391 2002-10-17 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): Make this actually work if we don't
	have any lifetime information.

svn path=/trunk/mono/; revision=8336
2002-10-17 00:26:42 +00:00
Daniel Morgan 022ccefc72 2002-10-16 Daniel Morgan <[email protected]>
* TestSqlDataReader.cs: got to work
	with new place for the PostgreSQL provider
	at Mono.Data.PostgreSqlClient.

svn path=/trunk/mcs/; revision=8328
2002-10-16 21:48:04 +00:00
Daniel Morgan 285f3646aa 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added support for new place
	where the PostgreSQL provider is an external
	provider now.  Commented support for SqlClient and
	cause an error and exception when trying to change to or open a
	connection to the SqlClient provider.

svn path=/trunk/mcs/; revision=8327
2002-10-16 21:40:49 +00:00
Rodrigo Moya 1c6b74e2ad 2002-10-16 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlBinary.cs: new test suite for SqlBinary, by
	Ville Palo ([email protected]).

svn path=/trunk/mcs/; revision=8326
2002-10-16 21:33:07 +00:00
Daniel Morgan 30a0b9960a 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: remove file
	from this directory because it has been
	moved to
	mcs/tools/SqlSharp

svn path=/trunk/mcs/; revision=8325
2002-10-16 21:06:54 +00:00
Daniel Morgan 016c8298bb 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: SQL query tool moved
	from mcs/class/System.Data/Test
	to mcs/tools/SqlSharp.  Include it in the build
	so people can have a place to test connection strings
	and the ADO.NET providers

svn path=/trunk/mcs/; revision=8324
2002-10-16 20:43:27 +00:00
Daniel Morgan 1befb4e2d5 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: import from
	mcs/class/System.Data/Test
	by Miguel to
	mcs/tools/SqlSharp

	* unix.args
	* Makefile
	* SqlSharpCli.build: add build files

	* README: add file about SqlSharp

	* ChangeLog: add file for log of changes

svn path=/trunk/mcs/; revision=8323
2002-10-16 20:42:31 +00:00
Daniel Morgan b50724ef73 2002-10-16 Daniel Morgan <[email protected]>
* PostresTest.cs: modified to
	use the new namepace and assembly for PostgreSQL
	provider which is Mono.Data.PostgreSqlClient

svn path=/trunk/mcs/; revision=8322
2002-10-16 19:52:52 +00:00
Daniel Morgan 60f36d10da 2002-10-16 Daniel Morgan <[email protected]>
* ParmUtil.cs
	* PostgresLibrary.cs
	* PostgresTypes.cs
	* SqlClientPermission.cs
	* SqlClientPermissionAttribute.cs
	* SqlCommand.cs
	* SqlCommandBuilder.cs
	* SqlConnection.cs
	* SqlDataAdapter.cs
	* SqlDataReader.cs
	* SqlError.cs
	* SqlErrorCollection.cs
	* SqlException.cs
	* SqlInfoMessageEventArgs.cs
	* SqlInfoMessageEventHandler.cs
	* SqlParameter.cs
	* SqlParameterCollection.cs
	* SqlRowUpdatedEventArgs.cs
	* SqlRowUpdatedEventHandler.cs
	* SqlRowUpdatingEventArgs.cs
	* SqlRowUpdatingEventHandler.cs
	* SqlTransaction.cs: thanks to Miguel, he copied
	files on the mono cvs server
	from mcs/class/System.Data/System.Data.SqlClient
	for the PostgreSQL provider
	to mcs/class/Mono.Data.PostgreSqlClient.
	This frees up
	mcs/class/System.Data/System.Data.SqlClient for
	the Microsoft SQL Server provider.
	Any Mono.Data.PostgreSqlClient/Sql*.cs files
	were copied on the cvs server
	to Mono.Data.PostgreSqlClient/PgSql*.cs files
	and the old Mono.Data.PostgreSqlClient/Sql*.cs
	files were removed.  Copying, renaming, and removing
	was done on the server so we could keep
	the cvs change history.

	* ChangeLog: added this file for logging changes

	* Mono.Data.PostgreSqlClient.build: added file for Windows build

	* library-deps.stamp
	* list
	* makefile.gnu: added for Linux build

	* Locale.cs: added file for Locale.GetText(string);

	* TODOAttribute.cs: added file for [MonoTODO] attribute

svn path=/trunk/mcs/; revision=8321
2002-10-16 19:42:16 +00:00
Tim Coleman da0c092209 2002-10-16 Tim Coleamn <[email protected]>
* list:
        * System.Data.build:
                Exclude compiling of System.Data.SqlClient in
                preparation for overhauls of that system.

svn path=/trunk/mcs/; revision=8320
2002-10-16 19:38:37 +00:00
Daniel Morgan 58ddb8caf1 2002-10-16 Daniel Morgan <[email protected]>
* ParmUtil.cs
	* PostgresLibrary.cs
	* PostgresTypes.cs
	* SqlClientPermission.cs
	* SqlClientPermissionAttribute.cs
	* SqlCommand.cs
	* SqlCommandBuilder.cs
	* SqlConnection.cs
	* SqlDataAdapter.cs
	* SqlDataReader.cs
	* SqlError.cs
	* SqlErrorCollection.cs
	* SqlException.cs
	* SqlInfoMessageEventArgs.cs
	* SqlInfoMessageEventHandler.cs
	* SqlParameter.cs
	* SqlParameterCollection.cs
	* SqlRowUpdatedEventArgs.cs
	* SqlRowUpdatedEventHandler.cs
	* SqlRowUpdatingEventArgs.cs
	* SqlRowUpdatingEventHandler.cs
	* SqlTransaction.cs: thanks to Miguel de Icaza, he
	copied files on the mono cvs server
	from mcs/class/System.Data/System.Data.SqlClient
	for the PostgreSQL provider
	to mcs/class/Mono.Data.PostgreSqlClient.
	This frees up
	mcs/class/System.Data/System.Data.SqlClient for
	the Microsoft SQL Server provider.
	Any Mono.Data.PostgreSqlClient/Sql*.cs files
	were copied on the cvs server
	to Mono.Data.PostgreSqlClient/PgSql*.cs files
	and the old Mono.Data.PostgreSqlClient/Sql*.cs
	files were removed.  Copying, renaming, and removing
	was done on the cvs server so we could keep
	the cvs change history.

svn path=/trunk/mcs/; revision=8318
2002-10-16 17:14:10 +00:00
Miguel de Icaza 1f91970db0 2002-10-16 Miguel de Icaza <[email protected]>
* driver.cs: Report an error if the resource file is not found
	instead of crashing.

svn path=/trunk/mcs/; revision=8317
2002-10-16 15:51:57 +00:00
Nick Drochak e04a0457c6 2002-10-16 Nick Drochak <[email protected]>
* QueueTest.cs: Add test from tetsuo via Vladimir Vukicevic
	([email protected]).

svn path=/trunk/mcs/; revision=8315
2002-10-16 14:52:31 +00:00
Nick Drochak 807460a70a 2002-10-16 Nick Drochak <[email protected]>
* CryptoConfigTest.cs (TestCreateFromName): Disable tests for
	algorithms that aren't in the build yet.

svn path=/trunk/mcs/; revision=8314
2002-10-16 13:55:10 +00:00
Vladimir Vukicevic 0ddeb9b865 * Queue.cs: update new capacity in grow(), preventing queue from
constantly looping over old elements in Dequeue(). Also use
capacity instead of contents.Length in Enqueue().

svn path=/trunk/mcs/; revision=8307
2002-10-16 04:38:01 +00:00
Miguel de Icaza 10b31ca193 2002-10-16 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.EmitAssign): Pass IsBase instead of
	false, like Emit does.

svn path=/trunk/mcs/; revision=8306
2002-10-16 04:33:23 +00:00
Brian Ritchie 145480dbde Modified SQLDescribeCol to work around bug in pinvoke...when doing a ref on a typed enum
svn path=/trunk/mcs/; revision=8304
2002-10-16 04:12:35 +00:00
Gaurav Vaish 4317fc04e2 2002-10-16 Gaurav Vaish <[email protected]>
* winforms - Added <pre> tags for directory layout. Browser does
  not display it properly otherwise.

svn path=/trunk/mono/; revision=8303
2002-10-16 03:59:51 +00:00
Miguel de Icaza c0b50a1a59 Add to the build
svn path=/trunk/mcs/; revision=8302
2002-10-16 03:42:46 +00:00
Daniel Morgan 9276dbc434 2002-10-15 Daniel Morgan <[email protected]>
* System.Data.OleDb/libgda.cs: added more functions
	to platfrom invoke into shared library libgda

	* System.Data.OleDb/OleDbDataReader.cs: implemented
	GetSchemaTable() and GetFieldType()

svn path=/trunk/mcs/; revision=8299
2002-10-15 21:46:11 +00:00
Rodrigo Moya b0b6e21af2 2002-10-15 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs: added new test.

2002-10-15  Ville Palo <[email protected]>

	* System.Data.SqlTypes/SqlSingleTest.cs: added test suite for
	SqlSingle.

svn path=/trunk/mcs/; revision=8297
2002-10-15 18:18:40 +00:00
Daniel Morgan 3ebc15004a 2002-10-15 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: get it to work with System.Data.OleDb
	on MS .net when connected to Oracle 8i.  Also, get data
	to space correctly when data size is smaller than the
	header size.  If DataType is DateTime, use GetDataTime(),
	otherwise, use GetValue().

svn path=/trunk/mcs/; revision=8296
2002-10-15 17:24:19 +00:00
Nick Drochak cb8ee7adaf 2002-10-16 Nick Drochak <[email protected]>
* Enum.cs (Parse): Then fix the code so that it works too.

svn path=/trunk/mcs/; revision=8295
2002-10-15 15:52:44 +00:00
Nick Drochak a9d0dfc9ec Ignore debug files
svn path=/trunk/mcs/; revision=8293
2002-10-15 15:44:20 +00:00
Nick Drochak 5bf64ccfe2 2002-10-16 Nick Drochak <[email protected]>
* typemanager.cs: Remove unused private member.  Also reported mcs
	bug to report this as a warning like csc.

svn path=/trunk/mcs/; revision=8292
2002-10-15 15:41:30 +00:00
Nick Drochak 0628ee92f1 Ignore more dll's
svn path=/trunk/mcs/; revision=8291
2002-10-15 15:37:53 +00:00
Nick Drochak 38312d5691 Ignore dll's
svn path=/trunk/mcs/; revision=8290
2002-10-15 15:34:34 +00:00
Nick Drochak 453eacd093 2002-10-16 Nick Drochak <[email protected]>
* corlib_test.build: Fix build.  Exclude tests that depend on
	components we are not building into corlib yet.

svn path=/trunk/mcs/; revision=8289
2002-10-15 15:28:24 +00:00
Nick Drochak 544c75429d 2002-10-16 Nick Drochak <[email protected]>
* AllTests.cs: Disable tests that use components were are excluding
	from corlib.
	* SHA1Test.cs: same

svn path=/trunk/mcs/; revision=8288
2002-10-15 15:26:19 +00:00
Nick Drochak 4e5c2dc69a 2002-10-16 Nick Drochak <[email protected]>
* EnumTest.cs: Find out which Assert is causing the error on mono.

svn path=/trunk/mcs/; revision=8287
2002-10-15 15:23:13 +00:00
Nick Drochak d7f6f3d82a 2002-10-15 Nick Drochak <[email protected]>
* Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.

svn path=/trunk/mcs/; revision=8286
2002-10-15 15:03:24 +00:00
Martin Baulig afa52b82c7 Oooops, this was an accident, sorry for the breakage.
svn path=/trunk/mono/; revision=8285
2002-10-15 13:14:27 +00:00
Martin Baulig 1584558454 2002-10-15 Martin Baulig <[email protected]>
* jit.cs (PUSH_TREE): Always set t->cli_addr here.

	* debug.c (generate_line_number): Small fix to make this actually
	work for more complex things.

svn path=/trunk/mono/; revision=8282
2002-10-15 12:08:18 +00:00
Martin Baulig 4959c14001 2002-10-15 Martin Baulig <[email protected]>
* statement.cs (Statement.Emit): Made this a virtual method; emits
	the line number info and calls DoEmit().
	(Statement.DoEmit): New protected abstract method, formerly knows
	as Statement.Emit().

	* codegen.cs (EmitContext.Mark): Check whether we have a symbol writer.

svn path=/trunk/mcs/; revision=8281
2002-10-15 12:04:33 +00:00
Sebastien Pouliot d8ff8ff53d 2002-10-14 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for PKCS1MaskGenerationMethod
	* PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
	result isn't the same as MS implementation !?! is MS using this class ?

svn path=/trunk/mcs/; revision=8276
2002-10-15 02:47:50 +00:00
Sebastien Pouliot 5b34a1b454 2002-10-14 Sebastien Pouliot <[email protected]>
* PKCS1MaskGenerationMethod.cs: Added [CLSCompliant(false)] to methods using uint

svn path=/trunk/mcs/; revision=8275
2002-10-15 02:38:08 +00:00
Dennis Hayes bc3ac058f5 2002-10-13 DennisHayes <[email protected]>
*Application.cs
	*AxHost.cs
	*ChangeLog
	*CheckedListBox.cs
	*ComboBox.cs
	*CurrencyManager.cs
	*DateTimePicker.cs
	*DomainUpDown.cs
	*FolderBrowserDialog.cs
	*ListBox.cs
	*logfile.txt
	*StatusBarDrawItemEventArgs.cs
	*TabControl.cs
	*TextBox.cs
	*TrackBar.cs
	*UpDownBase.cs

	* Updated to match .NET V1.1 Beta

svn path=/trunk/mcs/; revision=8274
2002-10-15 01:13:47 +00:00
Dennis Hayes 9a0f017e3c 2002-10-14 Dennis Hayes ([email protected])
* Region.cs
	* changed using namespace from Drawing2d to Drawing2D

svn path=/trunk/mcs/; revision=8273
2002-10-15 01:11:09 +00:00
Dennis Hayes 0ed78b0656 *** empty log message ***
svn path=/trunk/mcs/; revision=8272
2002-10-15 01:07:55 +00:00
Dennis Hayes a2158fa226 2002-10-13 DennisHayes <[email protected]>
* Changed namespace from *2d to *2D
	* Changed comment header from system.Drawing to System.Drawing.Drawing2D

svn path=/trunk/mcs/; revision=8271
2002-10-15 01:06:53 +00:00
Dennis Hayes ce9fc09aab 2002-10-13 DennisHayes <[email protected]>
* PrintDocument
	* Added OriginAtMargin for .NET V 1.1 compatablity.

svn path=/trunk/mcs/; revision=8270
2002-10-15 01:03:58 +00:00
Miguel de Icaza 8e611009f4 Applied patch from Gustavo
svn path=/trunk/mcs/; revision=8268
2002-10-15 00:24:33 +00:00
Miguel de Icaza 7264b04933 Flush
svn path=/trunk/mono/; revision=8262
2002-10-14 20:40:56 +00:00
Miguel de Icaza 296c9bfaba Flush
svn path=/trunk/mono/; revision=8256
2002-10-14 18:14:06 +00:00
Sebastien Pouliot 579602906a 2002-10-14 Sebastien Pouliot <[email protected]>
* MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* Rijndael.cs: Create using CryptoConfig. Removed TODO.
	* RSAParameters.cs: Modulus must be serialized. Removed TODO.
	* SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* FromBase64Transform.cs: Removed ToString()
	* ToBase64Transform.cs: Removed ToString()
	* SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and
	Padding, added Clear, Dispose
	* TripleDES.cs: New. Abstract class.
	* MaskGenerationMethod.cs: New. Abstract class.
	* PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not
	compatible with MS implementation - but not sure the bug is mine!).

svn path=/trunk/mcs/; revision=8254
2002-10-14 18:02:11 +00:00
Rodrigo Moya 2e840d8d47 2002-10-14 Rodrigo Moya <[email protected]>
* list: added missing Odbc files.

svn path=/trunk/mcs/; revision=8251
2002-10-14 16:33:50 +00:00
Martin Baulig c5eeb05054 2002-10-14 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added MONO_TYPE_I, MONO_TYPE_U and
	MONO_TYPE_VOID.

svn path=/trunk/mono/; revision=8242
2002-10-14 11:38:45 +00:00
Martin Baulig 9b35a3e4fe 2002-10-14 Martin Baulig <[email protected]>
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetType): Use
	mono_class_get() instead of looking in the class cache.

svn path=/trunk/mono/; revision=8241
2002-10-14 11:22:35 +00:00
Martin Baulig f9202c17a9 2002-10-14 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
	Append ".config" to the filename, not ".exe.config" since the
	filename already has a ".exe" suffix.

svn path=/trunk/mcs/; revision=8239
2002-10-14 10:04:29 +00:00
Martin Baulig 5e63beb027 2002-10-14 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
	Assembly.Location, not Assembly.FullName to get its filename.

svn path=/trunk/mcs/; revision=8238
2002-10-14 09:51:05 +00:00
Nick Zigarovich bad23e8a29 Make sure XmlTextReader.GetAttribute never returns null.
svn path=/trunk/mcs/; revision=8237
2002-10-14 06:22:08 +00:00
Brian Ritchie d0579aba6b Changed odbc32 to odbc32.dll to support dllmapping in mono
svn path=/trunk/mcs/; revision=8236
2002-10-14 05:28:50 +00:00
Brian Ritchie 77ddaa1106 Added dllmapping for odbc32
svn path=/trunk/mono/; revision=8235
2002-10-14 05:25:43 +00:00
Brian Ritchie 1a3c0abe89 Brian Ritchie
-Updated to support ODBC provider

svn path=/trunk/mcs/; revision=8234
2002-10-14 04:59:34 +00:00
Brian Ritchie f8721edf94 Brian Ritchie
- Added OdbcTransaction Object and moved transaction logic out of connection and into new object.
- Support for DSN-less connection strings
- Fixed OdbcType enum to have correct values
- General cleanup on all objects
- Implemented Cancel in OdbcCommand
- Added DBNull support
- Updated OdbcType enum with values from header files.
- Modified column description code to happen dynamically as a column is accessed
  instead of describing all columns when the query opens
- Works with SqlSharp

Known Issues:
- Transaction Isolation Level isn't handled
- A number of data types are returned as strings instead of native types
- Parameter support is weak -- only supports int types
- ExecuteReader: CommandBehavior isn't implemented
- ExecuteScalar not implemented
- Need better error handling

svn path=/trunk/mcs/; revision=8233
2002-10-14 04:57:06 +00:00
Mark Crichton ef449ee1c8 Even more typos fixed.
svn path=/trunk/mono/; revision=8232
2002-10-14 02:44:26 +00:00
Vladimir Vukicevic 0fef9e9e7f fix dir name
svn path=/trunk/mcs/; revision=8231
2002-10-14 00:34:57 +00:00
Daniel Morgan d14239a8f3 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataReader.cs: change "DataType" in
	schema DataTable to be typeof(Type) instead of
	typeof(string) to make it more like MS.NET

	* Test/MySqlTest.cs: tweaks

svn path=/trunk/mcs/; revision=8230
2002-10-14 00:23:18 +00:00
Daniel Morgan 1810f3436a 2002-10-13 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: don't throw exception
	if DBNull is false.  Had to do comment this line
	to allow a typeof(Type).

	* System.Data.SqlClient/SqlCommand.cs: the "DataType"
	DataColumn and DataRows in a DataTable for a schema should
	be typeof Type,	not string.  This is to make it
	compatible with MS.NET

	* System.Data.SqlClient/SqlConnection.cs: the
	isolation level should be set before
	beginning the transaction

	* Test/SqlSharpCli.cs: change string to Type for
	"DataType" from a DataRow in a DataTable
	that contains a schema.

svn path=/trunk/mcs/; revision=8229
2002-10-14 00:19:06 +00:00
Daniel Morgan 1dd2506a4a 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: better formatting of output

svn path=/trunk/mcs/; revision=8228
2002-10-13 20:51:22 +00:00
Daniel Morgan e76e7a3106 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlCommand.cs:
	* Mono.Data.MySql/MySqlConnection.cs:
	* Mono.Data.MySql/MySqlDataReader.cs:
	* Mono.Data.MySql/MySqlTypes.cs: modifed -
	handle MySQL types to .NET types and some fixes

svn path=/trunk/mcs/; revision=8227
2002-10-13 20:41:21 +00:00
Martin Baulig 9deb33f261 2002-10-13 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Set version number to 28, include the
	signature in method names.

svn path=/trunk/mono/; revision=8225
2002-10-13 19:33:40 +00:00
Martin Baulig 262a6293b1 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 28.
	(SourceFileEntry): Read the methods when they're needed.
	(MethodSourceEntry): Made this a struct, not a class.

svn path=/trunk/mcs/; revision=8224
2002-10-13 19:32:53 +00:00
Martin Baulig 7f2e3af79a 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 28.
	(SourceFileEntry): Read the methods when they're needed.
	(MethodSourceEntry): Made this a struct, not a class.

svn path=/trunk/mcs/; revision=8223
2002-10-13 19:31:52 +00:00
Sebastien Pouliot 4a996606a4 2002-10-13 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
        HMACSHA1
	* HashAlgorithmTest.cs: New. Test for Create and Clear
        * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
        * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202

svn path=/trunk/mcs/; revision=8222
2002-10-13 18:47:53 +00:00
Sebastien Pouliot 053b98da02 2002-10-13 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it
	inherits ICryptoTransform
	* KeyedHashAlgorithm.cs: New implementation
	* HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
	* MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
	* CryptoStream.cs: Added limited functionalities to support HMACSHA1

svn path=/trunk/mcs/; revision=8221
2002-10-13 18:38:54 +00:00
Martin Baulig 9220e11189 2002-10-13 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Set version number to 27.

svn path=/trunk/mono/; revision=8219
2002-10-13 16:48:36 +00:00
Martin Baulig 5751f8c72a 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 27.  Added a source
	file table which is used to search a method by source file + line number.

svn path=/trunk/mcs/; revision=8217
2002-10-13 16:47:04 +00:00
Daniel Morgan ac5a52054d 2002-10-13 Daniel Morgan <[email protected]>
* doc/adonet: updated status of all providers, added links,
	  and added information
	  about the Mono.Data.SqliteClient provider that
	  Vladimir Vukicevic contributed. Added Brian Ritchie's
	  and Vladimir Vukicevic's email addresses as
	  people to contact about ADO.NET in Mono.
	  Added information about SQL#, configuration tools,
	  and an ADO.NET Multiplexor, etc...

svn path=/trunk/mono/; revision=8216
2002-10-13 15:02:49 +00:00
Daniel Morgan 902f44c9a1 2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
	directory to windows build

svn path=/trunk/mcs/; revision=8215
2002-10-13 12:01:42 +00:00
Daniel Morgan f9cef840ef 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	- add support for the external Mono.Data.SqliteClient
	ADO.NET provider. All the user has to do is
	"/provider sqlite"
	to load it instead of the usual syntax for loading
	external providers
	"/loadextprovider Mono.Data.SqliteClient Mono.Data.SqliteClient.SqliteConnection".

svn path=/trunk/mcs/; revision=8214
2002-10-13 11:04:01 +00:00
Daniel Morgan 05d8ceb4d5 2002-10-13 Daniel Morgan <[email protected]>
* Test: added new directory to hold
	tests for Mono.Data.SqliteClient

	* Test/SqliteTest.cs: added file
	to test Mono.Data.SqliteClient.

svn path=/trunk/mcs/; revision=8213
2002-10-13 10:53:43 +00:00
Daniel Morgan 4c4c4cfa95 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.SqliteClient: add file
	to build on Windows

	* Mono.Data.SqliteClient/SqliteCommand.cs: modified
	added unsafe { } around call to sqlite_exec() which calls
	an unsafe method SqliteCallbackFunction

svn path=/trunk/mcs/; revision=8212
2002-10-13 09:54:21 +00:00
Vladimir Vukicevic dcd385f830 * Mono.Data.SqlClient/SqliteCobmmand.cs, SqliteDataReader.cs,
SqliteParameterCollection.cs, SqliteConnection.cs,
	SqliteParameter.cs: Initial checkin

svn path=/trunk/mcs/; revision=8210
2002-10-13 08:33:15 +00:00
John Sohn 6e0fb50396 * Button.cs:
* Label.cs:
	* Control.cs:
	* Form.cs: fixed location of elements on Form
	* FormTest.cs: changed location of Label and Button on Form

svn path=/trunk/mcs/; revision=8209
2002-10-13 06:48:56 +00:00
Sebastien Pouliot d1753e90d0 2002-10-12 Sebastien Pouliot <[email protected]>
* DSA.cs: changed constructor to public from internal (like MS)
	* HashAlgorithm.cs: Completed ComputeHash methods
	* SHA1.cs: Added HashSizeValue = 160

svn path=/trunk/mcs/; revision=8208
2002-10-13 03:13:08 +00:00
Sebastien Pouliot 42e3890563 2002-10-12 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
        SHA1CryptoServiceProvider
	* RandomNumberGeneratorTest.cs: New. Tests for Create and generic
        random quality tests (FIPS140-2)
	* SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
	* SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
        specific tests

svn path=/trunk/mcs/; revision=8207
2002-10-13 03:05:30 +00:00
John Sohn 6bdc1a4369 * ButtonBase.cs:
* Button.cs:  initial implementation of Button class
	* FormTest.cs: added Button to form
	* makefile: added Button.cs and ButtonBase.cs to makefile

svn path=/trunk/mcs/; revision=8206
2002-10-12 23:08:44 +00:00
Miguel de Icaza 4f7b717a86 2002-10-12 A.Enomoto <[email protected]>
* XmlDocument.cs (ImportNode): Implemented

svn path=/trunk/mcs/; revision=8205
2002-10-12 22:17:24 +00:00
John Sohn 40f69d7379 * Control.cs:
* Label.cs: changed CreateHandle method to use CreateParams property
	* README: added instructions for building and using project
	* makefile: removed monostart.c from makefile
	* monostart.c:
	* test.sh
	* build.sh: no longer used, removed

svn path=/trunk/mcs/; revision=8202
2002-10-12 19:30:39 +00:00
Sebastien Pouliot f309618e5c 2002-10-12 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it inherits ICryptoTransform

svn path=/trunk/mcs/; revision=8200
2002-10-12 18:24:54 +00:00
Sebastien Pouliot da82e0e5cb 2002-10-12 Sebastien Pouliot <[email protected]>
* ICryptoTransform.cs: Now inherits from IDisposable
	* RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
        * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
        * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
        * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
        * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
        * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform

svn path=/trunk/mcs/; revision=8199
2002-10-12 16:22:31 +00:00
Daniel Morgan 2d2547d0b2 2002-10-12 Daniel Morgan <[email protected]>
* Test/MySqlTest.cs: added file - to do
	  various Tests for the MySql provider

	* Mono.Data.MySql/Field.cs: enum MySqlFieldFlags
	should be unit.  Rename class Field to MySqlMarshalledField
	to represent what it really is.  Redo handling of field Flags.

	* Mono.Data.MySql/MySql.cs: added method AffectedRows() to
	pinvoke	into mysql_affected_rows() so we can know what rows
	were affected by an INSERT, UPDATE, or DELETE SQL statement.

	* Mono.Data.MySql/MySqlCommand.cs: rename
	internal method rowVal() to GetColumnData().  In GetColumnData,
	if IntPtr.Zero, return an empty "" string instead of "NULL".
	Pass command behavior to data reader.

	* Mono.Data.MySql/MySqlDataReader.cs: redo the
	way field meta data and data is structured so
	a schema DataTable can be built.  Implement
	GetSchemaTable() to create a DataTable holding the schema
	of the fields.  Implemented more methods.

	* Mono.Data.MySql/MySqlTypes.cs: added method to
	translate System.Data.DbType to System.Type

	* est/TestMySqlExecuteReader.cs: minor tweaks

svn path=/trunk/mcs/; revision=8198
2002-10-12 11:03:40 +00:00
Daniel Morgan 133b16c231 2002-10-11 Daniel Morgan <[email protected]>
* OdbcTest.cs: added
	for System.Data.Odbc tests.  Modify this
	test as needed...

svn path=/trunk/mcs/; revision=8197
2002-10-12 03:03:00 +00:00
Duncan Mak d3cfe31655 2002-10-11 Duncan Mak <[email protected]>
* CSharpCodeProvider.cs: Fix constructor visibility.

	* unix.args: Added System.Security.Cryptography.CryptoConfig.

	* DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().

svn path=/trunk/mcs/; revision=8196
2002-10-12 02:02:24 +00:00
Sebastien Pouliot d8299b0ed3 2002-10-11 Sebastien Pouliot <[email protected]>
* DES.cs: Create() using CryptoConfig, fix #30256
	* DESCryptoServiceProvider.cs: fix #30256
	* RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig

svn path=/trunk/mcs/; revision=8195
2002-10-12 01:26:11 +00:00
Nick Drochak 216e5bdccc 2002-10-12 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Fix compiler warnings.

svn path=/trunk/mcs/; revision=8194
2002-10-12 01:18:41 +00:00
Miguel de Icaza e85db67a75 2002-10-11 Tim Haynes <[email protected]>
* Type.cs (GetConstructors): Use the correct flags.

svn path=/trunk/mcs/; revision=8181
2002-10-11 21:33:22 +00:00
Martin Baulig e394f332c1 2002-10-11 Martin Baulig <[email protected]>
* gc.c: Don't register/unregister NULL pointers as disappearing links.

svn path=/trunk/mono/; revision=8177
2002-10-11 20:24:11 +00:00
Ravi Pratap M 492d1d3251 2002-10-11 Ravi Pratap <[email protected]>
* CodeMethodInvokeExpression.cs : Fix second constructor so that
	the last argument is params - that is what the docs say.

svn path=/trunk/mcs/; revision=8176
2002-10-11 20:14:38 +00:00
Dick Porter 9f7c6c3b97 Don't try to compile stuff that wants to reference System.Xml, or their
dependencies.

svn path=/trunk/mcs/; revision=8166
2002-10-11 15:07:23 +00:00
Dietmar Maurer 19f1094336 (emit_label_func): make it possible to print operator names in
error messages.

svn path=/trunk/mono/; revision=8165
2002-10-11 13:28:09 +00:00
Dietmar Maurer daace9fe57 2002-10-11 Dietmar Maurer <[email protected]>
* x86.brg (freg): use fprem instead of fprem1

svn path=/trunk/mono/; revision=8164
2002-10-11 12:28:20 +00:00
Daniel Morgan 0c3b244314 2002-10-11 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlTransaction.cs: added to
	  support transactions (BEGIN, COMMIT/ROLLBACK).

	* Mono.Data.MySql.build: included MySqlTransaction
	  in build on Windows

	* list: included MySqlTransaction
	  in build on Linux

	* Mono.Data.MySql/MySql.cs: the mysql thread functions
	  were misnamed and prevented them from being loaded
	  by the mono JIT - my_thread_init() and my_thread_end().
	  Now, threading should work in the MySQL provider and
	  less memory leaks too.

	* Mono.Data.MySql/Test.cs: remove conditional comiliation
	  since everything compiles fine on Mono now

	* Mono.Data.MySql/MySqlCommand.cs: remove Console.WriteLine()

	* Mono.Data.MySql/MySqlConnection.cs: added transaction
	  support, implemented method ChangeDatabase(), implemented
	  property ServerVersion

	* Test/TestMySqlInsert.cs: modified test
	  to handle transactions

svn path=/trunk/mcs/; revision=8163
2002-10-11 10:13:28 +00:00
Dietmar Maurer 85cb289ff1 2002-10-11 Dietmar Maurer <[email protected]>
* monoburg.c (emit_tree_match): omit unnecessary compare

svn path=/trunk/mono/; revision=8162
2002-10-11 09:48:15 +00:00
Miguel de Icaza 608eeea85e 2002-10-11 Miguel de Icaza <[email protected]>
* class.cs: Following the comment from 2002-09-26 to AddMethod, I
	have fixed a remaining problem: not every AddXXXX was adding a
	fully qualified name.

	Now everyone registers a fully qualified name in the DeclSpace as
	being defined instead of the partial name.

	Downsides: we are slower than we need to be due to the excess
	copies and the names being registered this way.

	The reason for this is that we currently depend (on the corlib
	bootstrap for instance) that types are fully qualified, because
	we dump all the types in the namespace, and we should really have
	types inserted into the proper namespace, so we can only store the
	basenames in the defined_names array.

svn path=/trunk/mcs/; revision=8161
2002-10-11 05:16:45 +00:00
Sebastien Pouliot 4ca9f70393 2002-10-10 Sebastien Pouliot <[email protected]>
* DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
	* RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
	* AllTests.cs: Added DSATest.cs and RSATest.cs in suite

svn path=/trunk/mcs/; revision=8160
2002-10-11 03:29:23 +00:00
Sebastien Pouliot 22fa9bf079 2002-10-10 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
	* DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
	* RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
	* DSACryptoServiceProvider.cs: Added Dispose()

svn path=/trunk/mcs/; revision=8159
2002-10-11 03:20:52 +00:00
Miguel de Icaza 91cb44526c Remove doctools, not it lives in monodoc module
svn path=/trunk/mcs/; revision=8152
2002-10-10 22:08:27 +00:00
Miguel de Icaza 4f301f568f Remove doc
svn path=/trunk/mcs/; revision=8151
2002-10-10 22:07:33 +00:00
Miguel de Icaza e82b308bf4 remove docs
svn path=/trunk/mcs/; revision=8150
2002-10-10 21:49:03 +00:00
Miguel de Icaza c54ad75756 Remove docs
svn path=/trunk/mcs/; revision=8149
2002-10-10 21:48:19 +00:00
Rodrigo Moya ea63847eb7 2002-10-10 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlDoubleTest.cs: new test suite for SqlDouble.

svn path=/trunk/mcs/; revision=8147
2002-10-10 20:27:55 +00:00
Martin Baulig bc1c50d429 2002-10-10 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): Reverted the patch
	from bug #31834, see the bug report for a testcase which is
	miscompiled.

svn path=/trunk/mcs/; revision=8146
2002-10-10 20:26:32 +00:00
Miguel de Icaza 42c0da3795 Rename
svn path=/trunk/mcs/; revision=8145
2002-10-10 20:07:50 +00:00
Miguel de Icaza a05997224b Rename attributeusage file
svn path=/trunk/mcs/; revision=8144
2002-10-10 20:06:49 +00:00
Miguel de Icaza b501dc6710 We have win binaries now
svn path=/trunk/mono/; revision=8137
2002-10-10 17:21:22 +00:00
Paolo Molaro 973ae7b2ff Thu Oct 10 14:56:51 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c, metadata.h: added helper function to allocate signatures.

svn path=/trunk/mono/; revision=8136
2002-10-10 12:59:52 +00:00
Daniel Morgan 07b2c77b79 2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.

svn path=/trunk/mcs/; revision=8135
2002-10-10 10:33:06 +00:00
Rodrigo Moya a528fc0efc 2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.

svn path=/trunk/mcs/; revision=8134
2002-10-10 10:05:33 +00:00
Rodrigo Moya 85fc1e51a4 2002-10-10 Rodrigo Moya <[email protected]>
* makefile.gnu: added makefile for linux build.

	* list: updated to contain all missing files.

	* Mono.Data.MySql/makefile: removed unneeded makefile.

svn path=/trunk/mcs/; revision=8133
2002-10-10 10:03:57 +00:00
Daniel Morgan 861ea9c609 2002-10-10 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - add support for System.Data.Odbc
	  - created simple reader to display data for those providers
	    which have not implemented GetSchemaTable - UseSimpleReader
	  - allow only providers that support parameters to use them
	    during exection of SQL - UseParameters
	  - add support for postional parameter marker (question mark),
	    the delimted named parameter markers (square brackets) in addition
	    to colon and at parameter markers.  Allow, the parameter marker
	    to be settable.

svn path=/trunk/mcs/; revision=8130
2002-10-10 05:26:28 +00:00
Miguel de Icaza 21dcbaff5f More work
svn path=/trunk/mcs/; revision=8129
2002-10-10 05:10:09 +00:00
Daniel Morgan 9f4c90c68d *** empty log message ***
svn path=/trunk/mono/; revision=8128
2002-10-10 04:07:26 +00:00
Daniel Morgan 5f70f7b839 2002-10-10 Daniel Morgan <[email protected]>
* doc/index: corrected some mistypes

	* doc/adonet: updated the status and plans of all the ADO.NET providers
	  and moved PostgreSQL specific stuff to doc/postgresql

	* doc/postgresql: added new file to detail
	  the status of the PostgreSQL ADO.NET provider
	  and provide test notes for setting it up

svn path=/trunk/mono/; revision=8127
2002-10-10 04:05:26 +00:00
Gonzalo Paniagua Javier 0cdfce96e0 2002-10-10 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs: workaround for a bug in NameValueCollection.
	* ConfigurationSettings.cs: load sections when the parent holds a
	handler for it. Now overriding appSettings values in the app config
	file works (first <remove..> and then <add...).

svn path=/trunk/mcs/; revision=8126
2002-10-10 03:32:29 +00:00
Sebastien Pouliot 19ef8e7c35 2002-10-09 Sebastien Pouliot <[email protected]>
svn path=/trunk/mcs/; revision=8125
2002-10-10 03:21:49 +00:00
Sebastien Pouliot fcc5d5158d Initial version.
svn path=/trunk/mcs/; revision=8124
2002-10-10 02:50:10 +00:00
Daniel Morgan c0cbb53705 2002-10-09 Daniel Morgan <[email protected]>
* data/config.in: add entry for MySQL native shared libraries
	  which are different on Windows and Linux

svn path=/trunk/mono/; revision=8123
2002-10-10 02:37:30 +00:00
Gonzalo Paniagua Javier 27d89dfd8a 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs:
	* NameValueFileSectionHandler.cs: check that Attributes is not null.

svn path=/trunk/mcs/; revision=8122
2002-10-10 00:40:28 +00:00
Martin Baulig 16d0b059fe 2002-10-10 Martin Baulig <[email protected]>
* verify-1.cs: Added testcase from bug #31470.

svn path=/trunk/mcs/; revision=8121
2002-10-10 00:30:08 +00:00
Martin Baulig 09c830d6b8 2002-10-10 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.Breaks): Removed, we're now using the
	flow analysis code for this.

	* statement.cs (Do, While, For): Tell the flow analysis code about
	infinite loops.
	(FlowBranching.UsageVector): Added support for infinite loops.
	(Block.Resolve): Moved the dead code elimination here and use flow
	analysis to do it.

svn path=/trunk/mcs/; revision=8120
2002-10-10 00:29:31 +00:00
Martin Baulig 2839a77732 Added one more testcase to this bug.
svn path=/trunk/mcs/; revision=8119
2002-10-10 00:07:18 +00:00
Gonzalo Paniagua Javier d53db80c2e Added appSettings
svn path=/trunk/mono/; revision=8118
2002-10-09 23:15:01 +00:00
Miguel de Icaza 88d8b4573d 2002-10-09 Miguel de Icaza <[email protected]>
* class.cs (Field.Define): Catch cycles on struct type
	definitions.

svn path=/trunk/mcs/; revision=8117
2002-10-09 23:06:02 +00:00
Gonzalo Paniagua Javier be0aa76afe Removed unneeded stuff
svn path=/trunk/mono/; revision=8116
2002-10-09 22:53:43 +00:00
Miguel de Icaza 16f8895006 2002-10-09 Miguel de Icaza <[email protected]>
* NameValueFileSectionHandler.cs: For now if a section is not
	present, return null.  Do not know what the real fix is.  Gonzalo
	will have to look at this, but the debugger was crashing as
	appSettings in the machine.config does not exist, but GetConfig
	returns a non-null value when looking it up when you do a
	GetDocumentForSection ("appSettings").

svn path=/trunk/mcs/; revision=8115
2002-10-09 22:37:57 +00:00
Miguel de Icaza 200d15096a tpos
svn path=/trunk/mono/; revision=8114
2002-10-09 22:27:22 +00:00
Martin Baulig ff2d438502 2002-10-10 Martin Baulig <[email protected]>
* verify-5.cs: Added testcase from bug #31541.

svn path=/trunk/mcs/; revision=8113
2002-10-09 22:19:29 +00:00
Miguel de Icaza 3c4e95b96c The news are in
svn path=/trunk/mono/; revision=8112
2002-10-09 22:07:47 +00:00
Miguel de Icaza c37caa93be 2002-10-09 Miguel de Icaza <[email protected]>
* typemanager.cs (IsUnmanagedtype): Do not recursively check
	fields if the fields are static.  We only need to check instance
	fields.

svn path=/trunk/mcs/; revision=8106
2002-10-09 18:29:56 +00:00
Rodrigo Moya c4fb9fb7e8 2002-10-09 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlInt16Test.cs:
	* System.Data.SqlTypes/SqlInt64Test.cs: new test suites.

svn path=/trunk/mcs/; revision=8105
2002-10-09 17:54:00 +00:00
Rodrigo Moya b48adf3e23 Removed wrong System.Data.Odbc directory
svn path=/trunk/mcs/; revision=8104
2002-10-09 17:17:44 +00:00
Rodrigo Moya 2ce1d9ef66 2002-10-09 Rodrigo Moya <[email protected]>
* list: added System.Data.Odbc files.

2002-10-09  Brian Ritchie <[email protected]>

	* System.Data.Odbc/*: added first version of ODBC managed provider.

svn path=/trunk/mcs/; revision=8103
2002-10-09 17:15:22 +00:00
Dietmar Maurer 1fcc80e9ee 2002-10-09 Dietmar Maurer <[email protected]>
* monoburg.c (check_result): emit a warning instead of an error

svn path=/trunk/mono/; revision=8102
2002-10-09 16:15:23 +00:00
Rodrigo Moya 2ac1d0e8d0 2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.

svn path=/trunk/mcs/; revision=8100
2002-10-09 15:11:51 +00:00
Rodrigo Moya b0e9a56f37 2002-10-09 Brian Ritchie <[email protected]>
First version of the System.Data.Odbc managed provider.

svn path=/trunk/mcs/; revision=8099
2002-10-09 15:11:22 +00:00
Nick Drochak 300b2c4c89 2002-10-09 Nick Drochak <[email protected]>
* SortedListTest.cs: Re-enable test for IsSyncronized

svn path=/trunk/mcs/; revision=8098
2002-10-09 14:53:50 +00:00
Daniel Morgan 0613f97cbd 2002-10-09 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataReader.cs: added
	  started implementing Reader for MySQL provider

	* Mono.Data.MySql/MySqlTypes.cs: added
	  to hold internal helper methods, enums, structs, classes
	  for handling MySQL data types

	* Test/TestMySqlExecuteReader.cs
	* Test/TestMySqlExecuteScalar.cs: added simple tests
	  for ExecuteScalar() and ExecuteReader() methods
	  in MySqlCommand.  We are able to retrieve data
	  from MySQL now.

	* Mono.Data.MySql.build: took out exclude
      so MySqlExecuteReader.cs will build

    * Mono.Data.MySql/Field.cs: added enum to file
      and added helper methods field flags

    * Mono.Data.MySql/MySqlCommand.cs: started
      implementation of ExecuteScalar nd ExecuteReader methods
      to retrieve data.  Also, added internal method rowVal
      for marshalling field data.

    * Mono.Data.MySql/Test.cs: take out a bunch of
      Console.WriteLines'

svn path=/trunk/mcs/; revision=8097
2002-10-09 13:07:27 +00:00
Miguel de Icaza b72e0fd402 2002-10-09 Miguel de Icaza <[email protected]>
* expression.cs (As.DoResolve): Test for reference type.

svn path=/trunk/mcs/; revision=8095
2002-10-09 05:46:11 +00:00
Miguel de Icaza 70cff6d783 2002-10-09 Miguel de Icaza <[email protected]>
* statement.cs (Using.ResolveExpression): Use
	ConvertImplicitRequired, not ConvertImplicit which reports an
	error on failture
	(Using.ResolveLocalVariableDecls): ditto.

svn path=/trunk/mcs/; revision=8094
2002-10-09 05:37:59 +00:00
Miguel de Icaza a2b4f2c387 2002-10-09 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Report errors in a few
	places where we had to.

svn path=/trunk/mcs/; revision=8093
2002-10-09 05:30:13 +00:00
Miguel de Icaza 045bf2fb02 2002-10-09 Miguel de Icaza <[email protected]>
* typemanager.cs (IsUnmanagedtype): Finish implementation.

svn path=/trunk/mcs/; revision=8092
2002-10-09 05:19:20 +00:00
Miguel de Icaza 013443b0a6 Better if its static
svn path=/trunk/mcs/; revision=8090
2002-10-09 00:47:18 +00:00
Miguel de Icaza a21af59ae0 Typo fix
svn path=/trunk/mono/; revision=8089
2002-10-09 00:45:17 +00:00
Miguel de Icaza 3279cc066e Register call
svn path=/trunk/mono/; revision=8088
2002-10-09 00:32:55 +00:00
Miguel de Icaza 04fb0326a5 New Mono runtime class
svn path=/trunk/mcs/; revision=8087
2002-10-09 00:32:44 +00:00
Miguel de Icaza bc78b9d350 Just for Adam
svn path=/trunk/mcs/; revision=8086
2002-10-09 00:15:42 +00:00
Miguel de Icaza 81e8961184 Flush the bits of love
svn path=/trunk/mcs/; revision=8084
2002-10-08 23:49:55 +00:00
Miguel de Icaza eb94c0679f 2002-10-08 Miguel de Icaza <[email protected]>
* expression.cs: Use StoreFromPtr instead of extracting the type
	and then trying to use Stelem.  Patch is from [email protected]

svn path=/trunk/mcs/; revision=8083
2002-10-08 23:45:46 +00:00
Miguel de Icaza 7aa8056a44 Flush test
svn path=/trunk/mcs/; revision=8082
2002-10-08 23:34:19 +00:00
Miguel de Icaza 28f7f29b6a 2002-10-08 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion): It is possible to assign
	an enumeration value to a System.Enum, but System.Enum is not a
	value type, but an class type, so we need to box.

svn path=/trunk/mcs/; revision=8081
2002-10-08 23:34:09 +00:00
Miguel de Icaza 93d626fb4b 2002-10-08 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ConvertExplicit): One codepath could return
	errors but not flag them.  Fix this.  Fixes #31853

svn path=/trunk/mcs/; revision=8080
2002-10-08 23:22:09 +00:00
Gonzalo Paniagua Javier b0cf876ecb 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: use get_machine_config_path internal call.

svn path=/trunk/mcs/; revision=8077
2002-10-08 23:13:26 +00:00
Gonzalo Paniagua Javier b39bf54752 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* data/Makefile.am:
	* data/machine.config: install machine.config file.
	* mono/metadata/icall.c: added internal call to get the location of
	machine.config file.

svn path=/trunk/mono/; revision=8076
2002-10-08 23:13:03 +00:00
Miguel de Icaza 2a75e290b2 2002-10-08 Miguel de Icaza <[email protected]>
* parameter.cs (Resolve): Do not allow void as a parameter type.

svn path=/trunk/mcs/; revision=8075
2002-10-08 22:48:12 +00:00
Gonzalo Paniagua Javier 18be21e855 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.

	* System.Web/HttpApplication.cs: fixed type and handle factories when
	creating IHttpHandler for a request.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: made a
	couple of static methods be part of a class used in other handlers.
	* System.Web.Configuration/HttpModulesConfigurationHandler.cs: handler
	for modules.
	* System.Web.Configuration/ModuleItem.cs: added IsMatch method.
	* System.Web.Configuration/ModulesConfiguration.cs: made it similar to
	the handlers class: added Clear, Remove.

	* System.Web.Handlers/ChangeLog: New file.
	* System.Web.Handlers/TraceHandler.cs: stubbed out. This should generate
	the trace page when tracing is enabled.

	* System.Web.SessionState/SessionStateModule.cs: don't throw exception.
	Just for testing the configuration stuff until we implement this.

svn path=/trunk/mcs/; revision=8074
2002-10-08 22:03:56 +00:00
Kristian Rietveld 16e0e0bdc9 Added links to RedHat 8.0 RPMs.
svn path=/trunk/mono/; revision=8070
2002-10-08 16:47:13 +00:00
Miguel de Icaza 2f4860f2a6 Flush
svn path=/trunk/mono/; revision=8069
2002-10-08 16:37:43 +00:00
Miguel de Icaza 6424b4cc64 Update embedded api
svn path=/trunk/mono/; revision=8068
2002-10-08 16:33:47 +00:00
Miguel de Icaza f02271213d Small fix
svn path=/trunk/mono/; revision=8067
2002-10-08 16:33:23 +00:00
Nick Drochak d345b04ddc 2002-10-09 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Suppress insignificant leading zeros

svn path=/trunk/mcs/; revision=8065
2002-10-08 15:34:30 +00:00
Nick Drochak dd2fdc24f3 2002-10-09 Nick Drochak <[email protected]>
* BufferTest.cs: Test for ArgumentExceptions where they should be
	thrown
	* Int32Test.cs: Enable tests for custom format strings.  We do have
	implementation for them now.

svn path=/trunk/mcs/; revision=8064
2002-10-08 15:33:43 +00:00
Miguel de Icaza a7fe62393f Flush for Kris
svn path=/trunk/mcs/; revision=8063
2002-10-08 14:55:53 +00:00
Dick Porter bb0b26f43a 2002-10-08 Dick Porter <[email protected]>
* Socket.cs:
	* NetworkStream.cs: Bounds checking fixes, and better exception
	texts.  Changes by [email protected] (Timothy J. Mills).

svn path=/trunk/mcs/; revision=8062
2002-10-08 14:05:51 +00:00
Martin Baulig 2d68045cbd 2002-10-08 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Ignore classes with a pending init for the
	moment.

svn path=/trunk/mono/; revision=8061
2002-10-08 14:00:40 +00:00
Dietmar Maurer b32a4a7cb0 bug fix for dag_mode
svn path=/trunk/mono/; revision=8059
2002-10-08 07:59:58 +00:00
Duncan Mak 1e43d2a0ef Flush
svn path=/trunk/mcs/; revision=8056
2002-10-08 06:43:11 +00:00
Miguel de Icaza 31f4b7bc81 Flush glade file
svn path=/trunk/mcs/; revision=8055
2002-10-08 06:28:42 +00:00
Gonzalo Paniagua Javier be9ba5624b windoze
svn path=/trunk/mcs/; revision=8054
2002-10-08 04:32:37 +00:00
Gonzalo Paniagua Javier 00cd44e83d 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: use handlers from configuration.
	* System.Web/HttpContext.cs: get handlers from ConfigurationSettings.

	* System.Web.Caching/Cache.cs: little fixes.

	* System.Web.Configuration/HttpHandlerTypeMapper.cs: removed.
	* System.Web.Configuration/HandlerFactoryConfiguration.cs: readded. I
	removed it by mistake.
	* System.Web.Configuration/HandlerItem.cs: only load the type if
	we gotta validate it. Implemented initial IsMatch.
	* System.Web.Configuration/HttpConfigurationContext.cs: New file.
	* System.Web.Configuration/HttpHandlersSectionHandler.cs: validate is
	optional (default true).  Use HttpHandlerTypeMapper.

	* System.Web.UI/SimpleHandlerFactory.cs: new handler for .ashx files.

svn path=/trunk/mcs/; revision=8053
2002-10-08 04:29:52 +00:00
Gonzalo Paniagua Javier c4a0d2615b 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: move the reader for the section to the first
	element.

	* ConfigurationSettings.cs: fixed hierarchical search for a handler.

svn path=/trunk/mcs/; revision=8052
2002-10-08 04:16:31 +00:00
Gonzalo Paniagua Javier 941d4611e3 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: some cleanup. Thanks to Martin Aliger.

svn path=/trunk/mcs/; revision=8051
2002-10-07 18:53:49 +00:00
Gonzalo Paniagua Javier cd0a46ebec 2002-10-07 Gonzalo Paniagua Javier <[email protected]>
* System.Data/ConstraintCollection.cs:
	* System.Data/DataColumnCollection.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/InternalDataCollectionBase.cs: made List internal to fix
	the build with csc. It must be a mcs bug. I will try to get a test case.

svn path=/trunk/mcs/; revision=8050
2002-10-07 18:08:22 +00:00
Gaurav Vaish f639f45e34 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : Dipose(bool)    - Implemented.
                          : GetDesignTimeDataSource(IEnumerable, int, bool)
                                              - Stubbed.
                          : GetDesignTimeDataSource(int, bool)
                                              - Implemented.

svn path=/trunk/mcs/; revision=8049
2002-10-07 10:38:22 +00:00
Paolo Molaro 92d73a5c91 Mon Oct 7 12:25:15 CEST 2002 Paolo Molaro <[email protected]>
* monograph.c: added a --stats command line option to gather
	statistics about the assembly code.

svn path=/trunk/mono/; revision=8048
2002-10-07 10:27:55 +00:00
Dick Porter 820a74e0de 2002-10-07 Dick Porter <[email protected]>
* timefuncs.c:
	* daemon.c: Use a more accurate time source for process start and
	end times.

svn path=/trunk/mono/; revision=8047
2002-10-07 10:21:10 +00:00
Gaurav Vaish 746d56f189 2002-10-07 Gaurav Vaish <[email protected]>
* System.Design.build              : Bug fix. Attribute is "basedir"
                                     and not "bardir".

svn path=/trunk/mcs/; revision=8046
2002-10-07 09:17:55 +00:00
Gaurav Vaish 1f3ff95a30 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : Initial implementation.

svn path=/trunk/mcs/; revision=8045
2002-10-07 09:11:21 +00:00
Gaurav Vaish 9d81f5f57e 2002-10-07 Gaurav Vaish <[email protected]>
* TableRowsCollectionEditor.cs
                          : Completed.
* TODO                    : Updated information.

svn path=/trunk/mcs/; revision=8044
2002-10-07 08:23:45 +00:00
Gaurav Vaish cd8608a45f 2002-10-07 Gaurav Vaish <[email protected]>
* BordersPageInternal.cs  : LoadComponent() - Initial implementation.
			: OnClickColorPicker(object, EventArgs),
			: InitializePage()
					- Stubbed.
			: OnBordersChanged(object, EventArgs)
					- Implemented.

svn path=/trunk/mcs/; revision=8043
2002-10-07 07:45:16 +00:00
Gaurav Vaish 20a375f4ae 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListPageInternal.cs
                          : ctor()         - Removed call to base.
  	                                             It's by default.
     	                  : HelpKeyword    - Added abstract property.
  	                  : IsDataGridMode - Implemented.
  	                  : ShowHelp(),
  	                  : SupportsHelp(),
  	                  : SetComponent(IComponent),
  	                  : GetBaseControl(),
  	                  : GetBaseDesigner()
  	                                   - Implemented.
* BordersPageInternal.cs  : SetComponent(IComponent)
                                   - Implemented.
   	                  : HelpKeyword { get; },
  	                  : InitializeForm()
  	                                   - Stubbed.
* FormatPageInternal.cs   : HelpKeyword { get; }
                                           - Stubbed.
* GeneralPageDataListInternal.cs
                          : HelpKeyword { get; }
  	                                   - Stubbed.

svn path=/trunk/mcs/; revision=8042
2002-10-07 07:05:00 +00:00
Mark Crichton 9292dd7a2d Fix some minor trampoline nags. Now down to 15 failed tests. Delegate code
still broken, if anyone wants to help fix it.

svn path=/trunk/mono/; revision=8041
2002-10-07 03:36:50 +00:00
Rodrigo Moya 181aa014e3 2002-10-06 Luis Fernandez <[email protected]>
* System.Data/Constraint.cs (AssertConstraint): added overloaded
	method.

	* System.Data/DataColumnCollection.cs: added constraints when needed.

	* System.Data/DataRow.cs: validate UniqueConstraint's.

	* System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
	internal method to validate a given DataRow with respect to the
	DataRowCollection.

	* System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
	new overloaded method.

	* System.Data/UniqueConstraint.cs: added implementation.
	(AseertConstraint): implemented new overloaded method.

svn path=/trunk/mcs/; revision=8039
2002-10-06 19:10:33 +00:00
Rodrigo Moya f4e9ac5cf9 2002-10-06 Luis Fernandez <[email protected]>
* System.Data/Constraint.cs (AssertConstraint): added overloaded
	method.

	* System.Data/DataColumnCollection.cs: added constraints when needed.

	* System.Data/DataRow.cs: validate UniqueConstraint's.

	* System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
	internal method to validate a given DataRow with respect to the
	DataRowCollection.

	* System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
	new overloaded method.

	* System.Data/UniqueConstraint.cs: added implementation.
	(AseertConstraint): implemented new overloaded method.

svn path=/trunk/mcs/; revision=8038
2002-10-06 19:10:14 +00:00
Martin Baulig 74c4e87af4 2002-10-06 Martin Baulig <[email protected]>
* statemenc.cs (FlowBranching.SetParameterAssigned): Don't crash
	if it's a class type and not a struct.  Fixes #31815.

svn path=/trunk/mcs/; revision=8037
2002-10-06 16:57:37 +00:00
Martin Baulig c0e22c9f1d 2002-10-06 Martin Baulig <[email protected]>
* test-164.cs: Added a few more testcases here.

svn path=/trunk/mcs/; revision=8036
2002-10-06 16:37:09 +00:00
Patrik Torstensson cb312fbab0 2002-10-06 Patrik Torstensson <[email protected]>
* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.

svn path=/trunk/mcs/; revision=8035
2002-10-06 16:36:37 +00:00
Martin Baulig c4e20f11e6 2002-10-06 Martin Baulig <[email protected]>
* statement.cs: Reworked the flow analysis code a bit to make it
	usable for dead code elimination.

svn path=/trunk/mcs/; revision=8034
2002-10-06 16:36:01 +00:00
Gonzalo Paniagua Javier 775b22f82c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: allow empty source files. Fixes bug #31781.

svn path=/trunk/mcs/; revision=8033
2002-10-06 15:48:29 +00:00
Gonzalo Paniagua Javier ac46f3d303 Fix for bug #31730
svn path=/trunk/mono/; revision=8032
2002-10-06 15:34:34 +00:00
Rafael Teixeira 2033eff6fa Project MonoQLE Link
svn path=/trunk/mono/; revision=8031
2002-10-06 15:06:57 +00:00
Gonzalo Paniagua Javier 597d5d0d0c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Configuration.
	* System.Web.Configuration/HandlerFactoryConfiguration.cs: removed.

	* System.Web.Configuration/HandlerItem.cs: added validation field.

	* System.Web.Configuration/HttpHandlerTypeMapper.cs: holds mappings
	between verbs and wilcards and their associated HandlerItem.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: this one
	processes system.web/httpHandlers section of machine.config file.

svn path=/trunk/mcs/; revision=8030
2002-10-06 03:46:53 +00:00
Gonzalo Paniagua Javier 9f58f3fde4 ChangeLog
svn path=/trunk/mcs/; revision=8029
2002-10-06 03:37:50 +00:00
Gonzalo Paniagua Javier fdf2ccc675 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: reimplemented. It is now able to deliver
	sections to their handlers for processing.

svn path=/trunk/mcs/; revision=8028
2002-10-06 03:37:20 +00:00
Gonzalo Paniagua Javier 42412c749c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* XmlDocument.cs: one more Load method implemented.
	* XmlTextReader.cs: Depth now works.

svn path=/trunk/mcs/; revision=8027
2002-10-06 03:32:38 +00:00
Miguel de Icaza b30ff30988 Update sample
svn path=/trunk/mono/; revision=8008
2002-10-05 19:50:44 +00:00
Rafael Teixeira 2adb173c86 2002-10-05 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8006
2002-10-05 19:45:23 +00:00
Andrew Birkett 3d5524e212 2002-10-05 Andrew Birkett <[email protected]>
* RC2Test.cs: New test.  Only three cases are enabled - the other
	five work fine under mono, but fail under MS corlib, so I've
	commented them out.

	* AllTests.cs: Added RC2Test.

svn path=/trunk/mcs/; revision=8003
2002-10-05 18:33:31 +00:00
Andrew Birkett d437ac1700 2002-10-05 Andrew Birkett <[email protected]>
* corlib_linux_test.args: Added RC2Test

svn path=/trunk/mcs/; revision=8002
2002-10-05 18:32:57 +00:00
Andrew Birkett 598ec44596 2002-10-05 Andrew Birkett <[email protected]>
* RC2CryptoServiceProvider.cs: New implementation
	* RC2.cs: New implementation

svn path=/trunk/mcs/; revision=8001
2002-10-05 18:32:20 +00:00
Andrew Birkett c8f0bf13cc 2002-10-05 Andrew Birkett <[email protected]>
* unix.args: Added System.Security.Cryptography.RC2

svn path=/trunk/mcs/; revision=8000
2002-10-05 18:31:02 +00:00
Miguel de Icaza a4d57c736b Small update
svn path=/trunk/mcs/; revision=7999
2002-10-05 17:10:11 +00:00
Miguel de Icaza 5ca6d18eae Remove old apidocs
svn path=/trunk/mcs/; revision=7998
2002-10-05 17:04:13 +00:00
Miguel de Icaza 7b18fcd0ba Update AUTHORS, which is massively outdated
svn path=/trunk/mcs/; revision=7997
2002-10-05 17:02:56 +00:00
Duncan Mak e69f1dc609 2002-10-04 Duncan Mak <[email protected]>
* main.cs (FileSelectionOk): Fix filename handling.
	(OnQuitActivate): Added, so now we can properly quit from the
	Quit menuitem.

svn path=/trunk/mcs/; revision=7992
2002-10-04 21:37:05 +00:00
Miguel de Icaza 09e02b5455 Also add this
svn path=/trunk/mcs/; revision=7990
2002-10-04 20:46:39 +00:00
Miguel de Icaza f08595d0c5 Add gtk-monodoc UI
svn path=/trunk/mcs/; revision=7989
2002-10-04 20:46:28 +00:00
Miguel de Icaza e3157cfbed 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast.DoResolveType): A quick workaround
	to fix the test 165, will investigate deeper.

svn path=/trunk/mcs/; revision=7984
2002-10-04 15:39:15 +00:00
Martin Baulig 7a67f39830 2002-10-04 Martin Baulig <[email protected]>
* test-154.cs: Added testcase from bug #31546.

svn path=/trunk/mcs/; revision=7983
2002-10-04 15:21:34 +00:00
Martin Baulig 09bd31b3b9 2002-10-04 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Make
	finally blocks actually work.
	(Try.Resolve): We don't need to create a sibling for `finally' if
	there is no finally block.

svn path=/trunk/mcs/; revision=7982
2002-10-04 15:19:02 +00:00
Daniel Morgan 2f9db75fc6 2002-10-04 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - fix compile errors due to mcs has better error checking
	  - fix exection of query with semicolon at end which resulted in an exception
	  - added support for ? postioned parameters
	  - added support for [] delimited named parameters
	  - misc. tidbits

svn path=/trunk/mcs/; revision=7981
2002-10-04 15:13:57 +00:00
Martin Baulig 76dead6320 2002-10-04 Martin Baulig <[email protected]>
* class.cs (Constructor.Define): The default accessibility for a
	non-default constructor is private, not public.

svn path=/trunk/mcs/; revision=7980
2002-10-04 14:50:17 +00:00
Diego Sevilla Ruiz 6d7b23b303 2002-10-04 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Fixed some ugly formatting.

svn path=/trunk/mono/; revision=7979
2002-10-04 09:45:45 +00:00
Miguel de Icaza b334425713 2002-10-04 Miguel de Icaza <[email protected]>
* class.cs (Constructor): Make AllowedModifiers public, add
	EXTERN.

	* cs-parser.jay: Perform the modifiers test here, as the
	constructor for the Constructor class usually receives a zero
	because of the way we create it (first we create, later we
	customize, and we were never checking the modifiers).

svn path=/trunk/mcs/; revision=7978
2002-10-04 06:30:15 +00:00
Miguel de Icaza b30ba5b788 2002-10-04 Miguel de Icaza <[email protected]>
* typemanager.cs (Typemanager.LookupTypeDirect): This new function
	is a version of LookupTypeReflection that includes the type-name
	cache.  This can be used as a fast path for functions that know
	the fully qualified name and are only calling into *.GetType() to
	obtain a composed type.

	This is also used by TypeManager.LookupType during its type
	composition.

	(LookupType): We now also track the real type name, as sometimes
	we can get a quey for the real type name from things like
	ComposedCast.  This fixes bug 31422.

	* expression.cs (ComposedCast.Resolve): Since we are obtaining a
	complete type fullname, it does not have to go through the type
	resolution system to obtain the composed version of the type (for
	obtaining arrays or pointers).

svn path=/trunk/mcs/; revision=7977
2002-10-04 06:06:11 +00:00
Miguel de Icaza ae7d67ba8c 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (Conditional.Emit): Use the EmitBoolExpression to
	generate nicer code, as requested by Paolo.

svn path=/trunk/mcs/; revision=7976
2002-10-04 04:56:37 +00:00
Miguel de Icaza 1e428ed9e7 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.CheckIndices): Use the patch from
	[email protected] to validate the array initializers.

svn path=/trunk/mcs/; revision=7975
2002-10-04 04:49:26 +00:00
Miguel de Icaza 54492a69af 2002-10-03 Miguel de Icaza <[email protected]>
* class.cs (ConstructorInitializer.Emit): simplify code by using
	Invocation.EmitCall, and at the same time, fix the bugs in calling
	parent constructors that took variable arguments.

svn path=/trunk/mcs/; revision=7973
2002-10-03 22:12:17 +00:00
Miguel de Icaza bcc6a8d002 2002-10-03 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ConvertNumericExplicit,
	Expression.ImplicitNumericConversion): Remove the code that
	manually wrapped decimal (InternalTypeConstructor call is now gone
	as well).

svn path=/trunk/mcs/; revision=7971
2002-10-03 18:36:49 +00:00
Miguel de Icaza 2c1784d8b2 Removed unused variables
svn path=/trunk/mcs/; revision=7970
2002-10-03 17:42:07 +00:00
Miguel de Icaza 5332739807 2002-10-03 Miguel de Icaza <[email protected]>
* expression.cs (Cast.TryReduce): Also handle decimal types when
	trying to perform a constant fold on the type.

	* typemanager.cs (IsUnmanagedtype): Partially implemented.

svn path=/trunk/mcs/; revision=7969
2002-10-03 17:40:04 +00:00
Dick Porter b33a40df69 2002-10-03 Dick Porter <[email protected]>
* TcpClient.cs: NoDelay is a TCP option, not Socket

svn path=/trunk/mcs/; revision=7968
2002-10-03 16:15:01 +00:00
Dick Porter b5a59a3011 2002-10-03 Dick Porter <[email protected]>
* Win32Exception.cs: Added ETIMEDOUT

svn path=/trunk/mcs/; revision=7967
2002-10-03 15:48:43 +00:00
Mark Crichton 91cbdf845f Changes to tramp.c. Pass more tests.
svn path=/trunk/mono/; revision=7966
2002-10-03 15:30:05 +00:00
Gonzalo Paniagua Javier d383884ffa 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: throw an exception if trying to open a directory.
	Thanks to Martin Aliger.

svn path=/trunk/mcs/; revision=7965
2002-10-03 14:33:31 +00:00
Dick Porter 3452e61122 2002-10-03 Dick Porter <[email protected]>
* acconfig.h:
        * configure.in:  Freebsd pthread_t is a pointer

2002-10-03  Dick Porter  <[email protected]>

        * daemon.c:
        * handles.c:
        * threads.c:  Fixes for freebsd.  Make sure that mutex and condition
        creation and deletion happen in the process that owns them, when
        POSIX shared thread objects aren't supported.  This breaks on
        freebsd, as pthread_t is a pointer to data.

2002-10-03  Dick Porter  <[email protected]>

        * threads.c: Freebsd pthread_t is a pointer

svn path=/trunk/mono/; revision=7964
2002-10-03 14:01:29 +00:00
Dietmar Maurer 70de7f6485 2002-10-03 Dietmar Maurer <[email protected]>
* monoburg.c: added new %termprefix mode

svn path=/trunk/mono/; revision=7963
2002-10-03 10:35:30 +00:00
Rodrigo Moya ac43311b4e 2002-10-03 ville <[email protected]>
* System.Data.SqlClient/AllTests.cs:
	* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

svn path=/trunk/mcs/; revision=7962
2002-10-03 09:55:44 +00:00
Rodrigo Moya f3012127ee 2002-10-03 ville <[email protected]>
* System.Data.SqlClient/AllTests.cs:
	* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

svn path=/trunk/mcs/; revision=7961
2002-10-03 09:46:00 +00:00
Dick Porter eda5cdcdd6 2002-10-03 Dick Porter <[email protected]>
* socket-io.c: Implemented GetHostName_internal

svn path=/trunk/mono/; revision=7960
2002-10-03 09:13:56 +00:00
Dick Porter 2d6dbf76a1 2002-10-03 Dick Porter <[email protected]>
* Dns.cs: Fixed GetHostName()

svn path=/trunk/mcs/; revision=7959
2002-10-03 09:13:34 +00:00
Dietmar Maurer ca12ccb9dd 2002-10-03 Dietmar Maurer <[email protected]>
* jit.c (ves_array_element_address): added check for out of range index
	(mono_analyze_stack): added fix for bug #31654

svn path=/trunk/mono/; revision=7958
2002-10-03 07:41:26 +00:00
Miguel de Icaza 2c21ef19c9 2002-10-03 Miguel de Icaza <[email protected]>
* parameter.cs: Removed ResolveAndDefine, as it was not needed, as
	that only turned off an error report, and did nothing else.

svn path=/trunk/mcs/; revision=7957
2002-10-03 05:45:23 +00:00
Miguel de Icaza 0e99d2af1f Also rename the constructor
svn path=/trunk/mcs/; revision=7956
2002-10-03 05:41:03 +00:00
Miguel de Icaza 3399450cf8 Correct file
svn path=/trunk/mcs/; revision=7955
2002-10-03 05:39:09 +00:00
Miguel de Icaza cdaeb53a26 rename file
svn path=/trunk/mcs/; revision=7954
2002-10-03 05:38:47 +00:00
Gonzalo Paniagua Javier 3dafc5d7a9 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files in System.Configuration.

	* System.Configuration/ConfigHelper.cs: New file. Contains some
	helper functions for getting key-value collections from the config file.

	* System.Configuration/ConfigXmlDocument.cs: wrapper around xml
	elements to provide line number and file name info.
	* System.Configuration/IConfigXmlNode.cs: used in ConfigXmlDocument
	and ConfigurationException.

	* System.Configuration/ConfigurationException.cs: get file name and line
	number from the wrapped XmlNode. Display this info in Message.

	* System.Configuration/NameValueFileSectionHandler.cs: new handler.
	* System.Configuration/DictionarySectionHandler.cs:
	* System.Configuration/NameValueSectionHandler.cs: modified to use the
	helper methods in ConfigHelper.

svn path=/trunk/mcs/; revision=7953
2002-10-03 04:37:54 +00:00
Gonzalo Paniagua Javier 3235c43da9 Added a few \n to the --help output
svn path=/trunk/mcs/; revision=7952
2002-10-03 02:12:28 +00:00
Nick Zigarovich 0e222dc320 Added Makefiles for monodoc and updated the README.
svn path=/trunk/mcs/; revision=7947
2002-10-02 17:58:59 +00:00
Dick Porter 728b4330d0 2002-10-02 Dick Porter <[email protected]>
* shared.c: Use mmap() instead of sysv shm for the shared data.

	* wapi-private.h (_WAPI_HANDLE_VERSION): Reset back to 0, for the
	new system

	* daemon-private.h:
	* daemon.c: mmap()ed regions survive fork, so just pass the
	pointer to _wapi_daemon_main instead of mapping it again.

svn path=/trunk/mono/; revision=7946
2002-10-02 17:00:17 +00:00
Miguel de Icaza 2a36658d5d Update faq
svn path=/trunk/mono/; revision=7944
2002-10-02 16:15:45 +00:00
Miguel de Icaza 258dfff244 2002-10-02 Miguel de Icaza <[email protected]>
* driver.cs: Handle and ignore /fullpaths

svn path=/trunk/mcs/; revision=7943
2002-10-02 16:13:41 +00:00
Miguel de Icaza 692505b29a oops, revert broken patch
svn path=/trunk/mono/; revision=7942
2002-10-02 16:08:20 +00:00
Gonzalo Paniagua Javier eb1afd1400 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: fixes bug #28046.

svn path=/trunk/mcs/; revision=7941
2002-10-02 14:55:11 +00:00
Gonzalo Paniagua Javier f0e585dcb5 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c:
	(mono_config_parse_file): don't leak the text.

svn path=/trunk/mono/; revision=7940
2002-10-02 12:37:53 +00:00
Martin Baulig 332f7885fd 2002-10-02 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for methods.

svn path=/trunk/mono/; revision=7936
2002-10-02 11:39:34 +00:00
Mads Pultz e7dd68d618 Fix for GetHostName. Now relies on native gethostname.
svn path=/trunk/mcs/; revision=7935
2002-10-02 11:14:38 +00:00
Gonzalo Paniagua Javier 714798c14d 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* HttpMethodNotAllowedHandler.cs:
	* HttpRuntime.cs:
	* StaticFileHandler.cs: Modified file.

	* HttpUtility.cs: implemented all missing methods.

svn path=/trunk/mcs/; revision=7934
2002-10-02 04:07:09 +00:00
Gonzalo Paniagua Javier c2b37008ec 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.Configuration/AppSettingsReader.cs: New file.
	* System.Configuration/IConfigurationSystem.cs: New file.

	* System.Configuration/IgnoreSectionHandler.cs:
	* System.Configuration/NameValueSectionHandler.cs:
	* System.Configuration/SingleTagSectionHandler.cs: little fixes.

svn path=/trunk/mcs/; revision=7933
2002-10-02 04:04:58 +00:00
Miguel de Icaza 76d7aa27e3 Flush
svn path=/trunk/mono/; revision=7932
2002-10-02 01:10:27 +00:00
Miguel de Icaza 18cdb430a9 Flush changes
svn path=/trunk/mono/; revision=7931
2002-10-02 00:44:15 +00:00
Duncan Mak 336e8da2a6 More build fixes
svn path=/trunk/mono/; revision=7929
2002-10-02 00:11:58 +00:00
Rodrigo Moya 5d1f26a554 2002-10-01 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (Open): commented code from
	last commit, which wasn't supposed to be in CVS yet.

svn path=/trunk/mcs/; revision=7924
2002-10-01 23:14:53 +00:00
Duncan Mak 6afb083663 Flush
svn path=/trunk/mono/; revision=7923
2002-10-01 22:24:59 +00:00
Rodrigo Moya 454dcdbf14 2002-10-01 Luis Fernandez <[email protected]>
* System.Data/DataColumn.cs:
	* System.Data/DataRow.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTable.cs: some fixes and implementation.

svn path=/trunk/mcs/; revision=7921
2002-10-01 22:24:31 +00:00
Duncan Mak f1e2dea617 2002-10-01 Duncan Mak <[email protected]>
* mono/os/Makefile.am: Add gc_wrapper.h.

svn path=/trunk/mono/; revision=7920
2002-10-01 22:19:18 +00:00
Duncan Mak aeb0f402b0 2002-10-01 Duncan Mak <[email protected]>
* runtime/Makefile.am: Fix the path for monoresgen.exe.

svn path=/trunk/mono/; revision=7919
2002-10-01 22:11:33 +00:00
Rodrigo Moya a9c99094e5 2002-09-28 Vladimir Vukicevic� <[email protected]>
* System.Data.OleDb/OleDbConnection.cs: Close
	reader properly in call to ExecuteScalar().

svn path=/trunk/mcs/; revision=7918
2002-10-01 22:09:43 +00:00
Miguel de Icaza 07dadd18e6 Bump release to 0.16
svn path=/trunk/mono/; revision=7917
2002-10-01 21:32:16 +00:00
Miguel de Icaza dfacc317bb Update NEWS file
svn path=/trunk/mono/; revision=7916
2002-10-01 21:31:55 +00:00
Miguel de Icaza 50d954e407 2002-10-01 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Catch the case where
	DoNumericPromotions returns true,

	(Binary.DoNumericPromotions): Simplify the code, and the tests.

svn path=/trunk/mcs/; revision=7915
2002-10-01 21:19:19 +00:00
Gonzalo Paniagua Javier d3654afcba removed double topdir definition
svn path=/trunk/mcs/; revision=7914
2002-10-01 19:24:03 +00:00
Gonzalo Paniagua Javier 055226227b little fixes
svn path=/trunk/mcs/; revision=7913
2002-10-01 19:22:01 +00:00
Miguel de Icaza 4df4036832 Sorry
svn path=/trunk/mcs/; revision=7912
2002-10-01 19:13:26 +00:00
Miguel de Icaza 0e54ff0114 Fix
svn path=/trunk/mcs/; revision=7911
2002-10-01 19:06:01 +00:00
Miguel de Icaza fdac2e4440 Add to the build
svn path=/trunk/mcs/; revision=7910
2002-10-01 18:55:18 +00:00
Martin Baulig de5d618bba 2002-10-01 Martin Baulig <[email protected]>
* debug.c: Don't create an .il file for the dynamic symbol file.

svn path=/trunk/mono/; revision=7908
2002-10-01 18:44:01 +00:00
Martin Baulig f5895c6858 2002-10-01 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Don't emit methods and line numbers for
	the dynamic symbol file, just write the type table.  We can easily
	have an external helper program which creates a symbol file for an
	IL file.

svn path=/trunk/mono/; revision=7907
2002-10-01 18:42:50 +00:00
Gonzalo Paniagua Javier b927f644a1 2002-10-01 Gonzalo Paniagua Javier <[email protected]>
* MonoProperty.cs:
	* PropertyInfo.cs: fixed bug #31535.

svn path=/trunk/mcs/; revision=7906
2002-10-01 16:15:12 +00:00
Dick Porter eea28c3d23 2002-10-01 Dick Porter <[email protected]>
* timed-thread.c: Kludge for CREATE_SUSPENDED thread creation.
	Unfortunately libgc uses the same thread suspend technique that I
	want to, and the two don't mix: libgc will deadlock when it tries
	to stop the world if a thread has already been suspended by
	someone else.  Just do the simple suspended create rather than the
	general purpose thread suspension for now.

	* threads.c: Pass create flags to the timed_thread create call, to
	implement suspended thread creation.  ResumeThread() partially
	implemented, to cope with the case where a newly created but
	suspended thread is launched.

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

	* threads.c (ves_icall_System_Threading_Thread_Start_internal):
	Only add the handle to the cleanup array when we're about to
	launch the thread.  Bug 31425 deadlocked when the test was run on
	mono under w32.

svn path=/trunk/mono/; revision=7905
2002-10-01 15:59:52 +00:00
Martin Baulig 8574ac82b3 2002-10-01 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerInfo): Added mono_runtime_invoke().

svn path=/trunk/mono/; revision=7904
2002-10-01 13:38:49 +00:00
Martin Baulig 391cd6613a 2002-10-01 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for properties.

svn path=/trunk/mono/; revision=7903
2002-10-01 13:37:49 +00:00
Rodrigo Moya 3dfe241caa 2002-10-01 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/AllTests.cs: added SqlBoolean test.

2002-10-01  ville <[email protected]>

	* System.Data.SqlClient/SqlBooleanTest.cs: new test suite for
	SqlBoolean class.

svn path=/trunk/mcs/; revision=7899
2002-10-01 09:18:23 +00:00
Gonzalo Paniagua Javier 8be3df2b99 2002-09-30 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.

	* System.Web/HttpApplication.cs: use the static file handler.
	* System.Web/HttpForbiddenHandler.cs: handler to forbid access.
	* System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
	allowed.

	* System.Web/HttpUtility.cs: finished all UrlDecode methods.
	* System.Web/MimeTypes.cs: map from file extension to MIME type.
	* System.Web/StaticFileHandler.cs: serves static files

svn path=/trunk/mcs/; revision=7897
2002-09-30 23:38:44 +00:00
Dick Porter 1c4c28a73b 2002-09-30 Dick Porter <[email protected]>
* sockets.c (ioctlsocket): Set non-blocking mode in a better way,
	with fcntl.

svn path=/trunk/mono/; revision=7896
2002-09-30 14:43:10 +00:00
Dick Porter 367d52afe7 2002-09-30 Dick Porter <[email protected]>
* Win32Exception.cs: Sorted the errors, added EINPROGRESS

svn path=/trunk/mcs/; revision=7895
2002-09-30 14:42:48 +00:00
Dietmar Maurer 10fbbd6de6 2002-09-30 Dietmar Maurer <[email protected]>
* monoburg.c (main): add option to specify default costs, added
	experimental code to handle several input files.

svn path=/trunk/mono/; revision=7894
2002-09-30 13:58:49 +00:00
John Sohn 783ac37230 * Form.cs: Site property now calls base class
* FormTest.cs: set label position on test form
	* Label.cs: implemented more methods
	* makefile: stub no longer links to gc library

svn path=/trunk/mcs/; revision=7893
2002-09-30 04:27:56 +00:00
Nick Drochak cf85b96e59 2002-09-29 Nick Drochak <[email protected]>
* XmlTextReaderTest.cs (AssertEndDocument): Add messages for Asserts()
	so we can tell where this is failing.

svn path=/trunk/mcs/; revision=7890
2002-09-29 15:00:18 +00:00
Nick Drochak bb5893fd12 2002-09-29 Nick Drochak <[email protected]>
* DecimalTest.cs: Change from Assert() with == to AssertEquals(). This
	gets the tests to pass on linux, but they shouldn't need that.  Now
	to find out why.  This seems deep...

svn path=/trunk/mcs/; revision=7889
2002-09-29 14:42:31 +00:00
Gonzalo Paniagua Javier f2e90236bb 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
* list: added PageHandlerFactory.

	* System.Web/HttpApplication.cs:
	* System.Web/HttpApplicationFactory.cs:
	* System.Web/HttpRequest.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web.Compilation/AspElements.cs:
	* System.Web.Compilation/AspGenerator.cs:
	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/TemplateFactory.cs: Modified file.
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Hosting/SimpleWorkerRequest.cs:
	* System.Web.UI/PageHandlerFactory.cs:
	* System.Web.UI/PageParser.cs:
	* System.Web.UI/TemplateControlParser.cs: we are now able to compile
	pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.

svn path=/trunk/mcs/; revision=7880
2002-09-28 07:44:14 +00:00
Gonzalo Paniagua Javier 7a2d262277 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
* ThreadPool.cs: set IsThreadPoolThread before starting the worker.

svn path=/trunk/mcs/; revision=7879
2002-09-28 07:08:58 +00:00
Gonzalo Paniagua Javier 2cf49db82d 2002-09-27 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: give more information when wrong parameters passed.

svn path=/trunk/mcs/; revision=7878
2002-09-27 23:28:45 +00:00
Martin Baulig 12b25d25c1 2002-09-27 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Don't use sigaction() on win32.

svn path=/trunk/mono/; revision=7876
2002-09-27 19:11:06 +00:00
Dick Porter bb16b9c077 cygwin needs to link another library now
svn path=/trunk/mono/; revision=7875
2002-09-27 18:04:02 +00:00
Paolo Molaro 8edca8c7e4 Fri Sep 27 18:55:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: unaligned store fix from Mark Crichton
	<[email protected]>.

svn path=/trunk/mono/; revision=7873
2002-09-27 16:57:46 +00:00
Paolo Molaro c01ccfa6f9 Dum de dum, need to escape %.
svn path=/trunk/mono/; revision=7870
2002-09-27 14:56:19 +00:00
Paolo Molaro 139aad4a64 Make it print the unknown operator value.
svn path=/trunk/mono/; revision=7869
2002-09-27 14:53:20 +00:00
Martin Baulig bf97c0f83d 2002-09-27 Martin Baulig <[email protected]>
* Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.

svn path=/trunk/mcs/; revision=7868
2002-09-27 14:51:16 +00:00
Martin Baulig 2ef83b66ab 2002-09-27 Martin Baulig <[email protected]>
* icall.c ("System.Reflection.Assembly::GetReferencedAssemblies"):
	New interncall.

svn path=/trunk/mono/; revision=7867
2002-09-27 14:49:22 +00:00
Dick Porter 604542bea7 2002-09-27 Dick Porter <[email protected]>
* configure.in: Check for semaphore.h.  Patch for BSD from
	[email protected] (Julio Merino).

2002-09-27  Dick Porter  <[email protected]>

	* semaphores.c: Only include semaphore.h if it's present. Patch
	for BSD from [email protected] (Julio Merino).

svn path=/trunk/mono/; revision=7865
2002-09-27 13:54:16 +00:00
Paolo Molaro 71178114f2 Fri Sep 27 15:38:31 CEST 2002 Paolo Molaro <[email protected]>
* assembly.h, assembly.c: use a sane API to hook into the assembly
	loading process instead of a useless special-purpouse hack
	(ngen needs a hook, too, for example).

svn path=/trunk/mono/; revision=7864
2002-09-27 13:42:47 +00:00
Paolo Molaro e000f7dd39 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: applied patch by "Si Jingnan"
	<[email protected]> to return also derived types.

svn path=/trunk/mcs/; revision=7863
2002-09-27 13:09:06 +00:00
Dick Porter dd1e6a5c10 2002-09-27 Dick Porter <[email protected]>
* processes.c: Pass environment and working directory to the
	daemon when forking.  Don't let argv[0] be duplicated when looking
	for the program name.  Implement EnumProcessModules (simple
	version for now, lsof-style later if needed), GetModuleBaseName,
	{Get,Set}ProcessWorkingSetSize (just faked, because the vm hints
	aren't available on Linux).

	* process-private.h: Store the process name, and the working set
	min and max

	* handles.c:
	* handles-private.h: New functions to store and retrieve an array
	of strings in the scratch space

	* daemon.c: Don't miss deleting some handles when a client exits
	(we used to rely on the client doing the final cleanup, but
	obviously if the client is no longer there the daemon has to do
	it).

	Process forking now sets the environment and the working
	directory.

	* io.c: Don't confuse fd 0 with an unassigned handle struct

	* atomic.h: Add a google cache alternative to the msdn URL

2002-09-27  Dick Porter  <[email protected]>

	* threads.c (mono_thread_init): Call GetCurrentProcess() so
	io-layer can set up some process handle info.  Not needed on w32,
	but doesn't hurt either.

	* process.c: Pass the program name in the second parameter to
	CreateProcess, so the path is searched.  Include the working
	directory. Implemented process name, process enumeration, and some
	process detail internal calls.

	* icall.c: Added internal calls for process lookup, and some
	process details

svn path=/trunk/mono/; revision=7858
2002-09-27 12:02:56 +00:00
Dick Porter 2203f51858 2002-09-27 Dick Porter <[email protected]>
* interp.c: Tell glib what the program name is, by passing it the
	name of the managed file we're executing

2002-09-27  Dick Porter  <[email protected]>

	* mono.c: Tell glib what the program name is, by passing it the
	name of the managed file we're executing

svn path=/trunk/mono/; revision=7857
2002-09-27 11:44:02 +00:00
Dick Porter 0037b58a94 2002-09-27 Dick Porter <[email protected]>
* Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
	ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
	Pass the working directory to Start.  Pass the program and args in
	one string to be used with the second arg of CreateProcess, so it
	will search the path.

svn path=/trunk/mcs/; revision=7856
2002-09-27 11:39:50 +00:00
Miguel de Icaza d481bfdf60 2002-09-27 Miguel de Icaza <[email protected]>
* ecore.cs (EventExpr.Emit): Instead of emitting an exception,
	report error 70.

svn path=/trunk/mcs/; revision=7854
2002-09-27 05:13:57 +00:00
Martin Baulig 4bb37638b2 2002-09-26 Martin Baulig <[email protected]>
* trampoline.c (x86_magic_trampoline): Don't insert the breakpoint
	trampoline into the vtable, also use it for non-virtual methods,
	remove the breakpoint when done.

svn path=/trunk/mono/; revision=7850
2002-09-26 21:45:46 +00:00
Martin Baulig e04dfe9f14 2002-09-26 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Block SIGCHLD while running
	monodis.

svn path=/trunk/mono/; revision=7848
2002-09-26 20:31:18 +00:00
Miguel de Icaza 5f0e61d090 2002-09-26 Miguel de Icaza <[email protected]>
* ecore.cs (ConvertNumericExplicit): It is not enough that the
	conversion exists, but it is also required that the conversion be
	performed.  This manifested in "(Type64Enum) 2".

svn path=/trunk/mcs/; revision=7847
2002-09-26 20:18:07 +00:00
Martin Baulig 0eb502a6bd Incremented version number.
svn path=/trunk/mono/; revision=7844
2002-09-26 19:41:44 +00:00
Martin Baulig 7487ebe7dc 2002-09-26 Martin Baulig <[email protected]>
* debug.c: Reworked the whole debugging stuff.  We have now one
	single `mono_debug_handle' which keeps a hashtable of
	`AssemblyDebugInfo's (which may have different debugging formats).
	The AssemblyDebugInfo is now created when the assembly is loaded,
	but never when adding a class/type.

	* mono.c: Initialize debugging stuff after corlib and the assembly
	have been loaded.

svn path=/trunk/mono/; revision=7843
2002-09-26 19:41:20 +00:00
Martin Baulig 519d06df66 2002-09-26 Martin Baulig <[email protected]>
* assembly.c (mono_install_open_assembly_hook): New global
	function to install a function to be invoked each time a new
	assembly is loaded.
	(mono_assembly_open): Run this callback function if set.

	* debug-mono-symfile.c: Put back line numbers for the dynamic
	symbol file and also record the .il file as source file.  This
	allows us to install the temporary symbol file as `file.dbg' just
	like a compiler-generated one.

svn path=/trunk/mono/; revision=7842
2002-09-26 19:40:56 +00:00
Nick Zigarovich a1f03ed082 Corrected typo in gc.c (BOHEM vs BOEHM)
svn path=/trunk/mono/; revision=7841
2002-09-26 19:40:15 +00:00
Miguel de Icaza 110f012a21 2002-09-26 Miguel de Icaza <[email protected]>
* class.cs (TypeManager.AddMethod): The fix is not to change
	AddEnum, because that one was using a fully qualified name (every
	DeclSpace derivative does), but to change the AddMethod routine
	that was using an un-namespaced name.  This now correctly reports
	the duplicated name.

svn path=/trunk/mcs/; revision=7840
2002-09-26 18:33:24 +00:00
Miguel de Icaza ad25b25d96 Small hack to avoid the make -f makefile.gnu
svn path=/trunk/mcs/; revision=7839
2002-09-26 18:22:30 +00:00
Gonzalo Paniagua Javier ee5cee70b6 2002-09-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs:
	* SimpleWorkerRequest.cs: workaround for bug #31245.

svn path=/trunk/mcs/; revision=7838
2002-09-26 18:01:06 +00:00
Gonzalo Paniagua Javier 61ed992ec2 2002-09-26 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: little fix in CreateInstance (Type, bool).

svn path=/trunk/mcs/; revision=7837
2002-09-26 17:55:05 +00:00
Dietmar Maurer eb89850b2e 2002-09-26 Dietmar Maurer <[email protected]>
* monoburg.c (emit_state): include additional fields to handle
	register allocation in dag_mode

svn path=/trunk/mono/; revision=7836
2002-09-26 13:35:51 +00:00
Miguel de Icaza e80c1f995b 2002-09-26 Miguel de Icaza <[email protected]>
* class.cs: Revert patch until I can properly fix it.  The issue
	is that we have a shared Type space across all namespaces
	currently, which is wrong.

	Options include making the Namespace a DeclSpace, and merge
	current_namespace/current_container in the parser.

svn path=/trunk/mcs/; revision=7833
2002-09-26 05:30:03 +00:00
Miguel de Icaza 643cb4cece Fix the build
svn path=/trunk/mcs/; revision=7832
2002-09-26 04:19:13 +00:00
Gonzalo Paniagua Javier c04e247ac7 oops
svn path=/trunk/mcs/; revision=7831
2002-09-26 01:36:38 +00:00
Gonzalo Paniagua Javier a71b02136a 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: added some missing methods.
	* HttpApplicationFactory.cs: get event handlers for the application.
	* HttpAsyncResult.cs: little fixes.
	* HttpRequest.cs: make Encoding work even with no worker request.

svn path=/trunk/mcs/; revision=7830
2002-09-26 01:33:33 +00:00
Gonzalo Paniagua Javier 2e92d252d3 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented ObBubbleEvent.
	* Page.cs: temporary workaround to make POST work with xsp server.

svn path=/trunk/mcs/; revision=7829
2002-09-26 00:56:48 +00:00
Gonzalo Paniagua Javier 73094fe20a 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed OnDataBinding.

svn path=/trunk/mcs/; revision=7828
2002-09-26 00:51:05 +00:00
Gonzalo Paniagua Javier f3cf15ac50 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed bug #31235 by copying a few lines from GetMethods to
	GetProperties. Also avoid calling g_slist_length in GetProperties and
	GetMethods.

svn path=/trunk/mono/; revision=7827
2002-09-25 23:46:37 +00:00
Miguel de Icaza e90b829c52 2002-09-25 Miguel de Icaza <[email protected]>
* cs-parser.jay: Improve error reporting when we get a different
	kind of expression in local_variable_type and
	local_variable_pointer_type.

	Propagate this to avoid missleading errors being reported.

svn path=/trunk/mcs/; revision=7823
2002-09-25 22:34:49 +00:00
Martin Baulig ad95a40a96 Always create a line entry for the last line.
svn path=/trunk/mono/; revision=7822
2002-09-25 21:49:31 +00:00
Martin Baulig 5fef166878 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Use pointers
	instead of guint64 for addresses and added prologue/epilogue info.

svn path=/trunk/mono/; revision=7819
2002-09-25 21:43:08 +00:00
Miguel de Icaza ebcbb5fca0 2002-09-25 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion): treat
	TypeManager.value_type as a target just like object_type.   As
	code like this:

	ValueType v = 1;

	Is valid, and needs to result in the int 1 being boxed before it
	is assigned to the value type v.

svn path=/trunk/mcs/; revision=7818
2002-09-25 21:41:33 +00:00
Miguel de Icaza 8403be52d1 2002-09-25 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddEnum): Use the basename, not the name
	to validate the enumeration name.

svn path=/trunk/mcs/; revision=7817
2002-09-25 21:10:06 +00:00
Miguel de Icaza a657e86da3 2002-09-25 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitAssign): Mimic the same test from
	EmitDynamicInitializers for the criteria to use Ldelema.  Thanks
	to [email protected] for finding the bug and providing a patch.

svn path=/trunk/mcs/; revision=7816
2002-09-25 20:58:38 +00:00
Gonzalo Paniagua Javier e94b7baef0 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* sockets.c:
	(_wapi_recvfrom): added ECONNRESET to the switch.

svn path=/trunk/mono/; revision=7815
2002-09-25 20:35:17 +00:00
Paolo Molaro b3aabafaa5 Wed Sep 25 22:18:03 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: avoid unaligned stores (bug spotted by
	Mark Crichton  <[email protected]>).

svn path=/trunk/mono/; revision=7814
2002-09-25 20:21:28 +00:00
Martin Baulig e0063d14b3 2002-09-25 Martin Baulig <[email protected]>
* debug-private.h (DebugLineNumberInfo): Removed.  There's now a
	MonoDebugLineNumberEntry type in debug-mono-symfile.h which we're
	using instead of it.
	(DebugMethodInfo): Removed `line_numbers'.

	* debug.c: Reworked the line number generation; we're now using
	the MonoDebugLineNumberEntry try for all debugging formats.  This
	type also includes the line number and IL offset, this allows the
	JIT to produce better line number info: we only emit line number
	information for source lines which actually have code.

svn path=/trunk/mono/; revision=7812
2002-09-25 18:51:19 +00:00
Martin Baulig a1e50dc4c2 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoDebugLineNumberEntry): New type to
	store line number info.  For the dynamic symbol file, we only need
	to provide the JIT generated dynamic line number info for the dynamic
	symbol file.

svn path=/trunk/mono/; revision=7811
2002-09-25 18:50:48 +00:00
Miguel de Icaza e742eb5e0e More assemblies
svn path=/trunk/mono/; revision=7810
2002-09-25 17:30:08 +00:00
Martin Baulig 6034ab0b3e 2002-09-25 Martin Baulig <[email protected]>
* debug.h: Removed external declaration of all functions which
	should only be called from the Mono Debugger and also made them
	static.  Since the debugger gets their address from the
	`MONO_DEBUGGER__debugger_info' vtable, there's no need to export
	these functions.

svn path=/trunk/mono/; revision=7807
2002-09-25 13:48:41 +00:00
Martin Baulig da6130fc83 2002-09-25 Martin Baulig <[email protected]>
Improved breakpoint support, we can now dynamically insert and
	remove breakpoints at runtime and when called from withing the
	Mono Debugger, we're using a special breakpoint trampoline.

	* debug.h (mono_method_has_breakpoint): New method to check
	whether to insert a breakpoint for a method.
	(mono_insert_breakpoint): New method to insert a breakpoint.
	(mono_insert_breakpoint_full): New method to insert a breakpoint,
	takes a MonoMethodDesc.
	(mono_remove_breakpoint): New method to remove a breakpoint.

	* debug.c (mono_debugger_insert_breakpoint): New function for the
	debugger.  Should only be called from the debugger.
	(mono_debugger_remove_breakpoint): Likewise.

	* mono.c (main): Use mono_insert_breakpoint() to insert breakpoints.

	* trampoline.c (get_breakpoint_trampoline): New static function to
	create a special breakpoint trampoline for the debugger.
	(x86_magic_trampoline): If we're running inside the Mono Debugger
	and a breakpoint was requested for the method, generate a special
	breakpoint trampoline.

	* jit.c (mono_debug_methods): Removed, use mono_insert_breakpoint()
	to insert a breakpoint.
	(mono_debug_last_breakpoint_address): Removed.
	(match_debug_method): Removed, use mono_method_has_breakpoint().

svn path=/trunk/mono/; revision=7806
2002-09-25 13:39:49 +00:00
Martin Baulig 2de418a43d 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Incremented version number.

svn path=/trunk/mono/; revision=7805
2002-09-25 13:37:07 +00:00
Martin Baulig 2386cc7881 Use g_message() here, not g_warning().
svn path=/trunk/mono/; revision=7804
2002-09-25 13:27:37 +00:00
Paolo Molaro 9056983301 Wed Sep 25 12:04:08 CEST 2002 Paolo Molaro <[email protected]>
* jit.c: reorder mono_runtime_cleanup () call since it needs the
	engine still fully working.

svn path=/trunk/mono/; revision=7803
2002-09-25 10:06:41 +00:00
Gaurav Vaish 78cefb0f7b 2002-09-25 Gaurav Vaish <[email protected]>
* RegextEditorDialog.cs   : Added a few more methods.
* BaseDataListComponentEditor.cs
                          : Completed.
* DataListComponentEditor.cs
                          : Completed
* BaseDataListPageInternal.cs,
* GeneralPageDataListInternal.cs,
* FormatPageInternal.cs,
* BordersPageInternal.cs  : Added private classes. Initial implementation.

svn path=/trunk/mcs/; revision=7802
2002-09-25 10:01:55 +00:00
Dietmar Maurer 6a89f19c0d 2002-09-25 Dietmar Maurer <[email protected]>
* added -p and -e options. monoburg is now able to work with DAGs.

svn path=/trunk/mono/; revision=7801
2002-09-25 08:03:19 +00:00
Mark Crichton 4e22c5b894 Stupid off-by-one error fixed.
The problem was that I incremented gr as if we were on a PPC box.  Sparc
doesn't need such "alignment" of the registers.

svn path=/trunk/mono/; revision=7800
2002-09-25 04:50:10 +00:00
Miguel de Icaza 6c03dfc7f7 2002-09-25 Miguel de Icaza <[email protected]>
* ecore.cs (TryImplicitIntConversion): When doing an
	implicit-enumeration-conversion, check if the type is 64-bits and
	perform a conversion before passing to EnumConstant.

svn path=/trunk/mcs/; revision=7799
2002-09-25 04:20:49 +00:00
Mark Crichton dbb66e9867 arch/sparc/tramp.c: Fixed once again. Now works, mostly.
io-layer/atomic.h: It's sparc on gcc/solaris, and __sparc__ on gcc/linux.
	           had to add an #ifdef.

svn path=/trunk/mono/; revision=7798
2002-09-25 01:52:30 +00:00
Adam Treat 62cc2c3017 * Added tageditor, a context menu for inserting monodoc tags
* Updated the GUI to handle the changes in the lib

svn path=/trunk/mcs/; revision=7794
2002-09-24 21:29:10 +00:00
Adam Treat fb12a3e446 * Added emember.cs and seealso.cs which help to flesh out the dtd
* Reworked Type.cs to support the full range of the monodoc.dtd

* Added support for the full monodoc.dtd to parser.cs

svn path=/trunk/mcs/; revision=7792
2002-09-24 21:27:49 +00:00
Martin Baulig 2021462e95 Small improvement.
svn path=/trunk/mono/; revision=7787
2002-09-24 20:32:46 +00:00
Martin Baulig 86d6940fac 2002-09-24 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetType): New method to get a Type
	from its metadata token.  This should only be used by the debugger.

svn path=/trunk/mcs/; revision=7784
2002-09-24 20:04:10 +00:00
Martin Baulig 4e1aed55c0 2002-09-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): When we're invoked from inside the
	Mono Debugger, set mono_debugger_class_init_func (exported in
	metadata/class.c) to mono_add_type().
	(mono_add_type): Call mono_debug_symfile_add_type().

svn path=/trunk/mono/; revision=7783
2002-09-24 20:02:35 +00:00
Martin Baulig 688cde0904 2002-09-24 Martin Baulig <[email protected]>
* class.c (mono_debugger_class_init_func): New global function
	pointer variable.
	(mono_class_init): If mono_debugger_class_init_func is non-NULL,
	call it.

	* debug-mono-symfile.c (mono_debug_symfile_add_type): New
	function.  This is called via the mono_debugger_class_init_func
	hook to add all types to the dynamic type table.
	(ves_icall_MonoDebugger_GetType): New interncall to get a class
	from its metadata token.

	* icall.c ("System.Reflection.Assembly::MonoDebugger_GetType"):
	New interncall for the debugger.

svn path=/trunk/mono/; revision=7782
2002-09-24 20:02:10 +00:00
Miguel de Icaza ffa9b1f8a4 Update files
svn path=/trunk/mcs/; revision=7781
2002-09-24 18:25:09 +00:00
Miguel de Icaza e135755a10 Add WarningException.cs
svn path=/trunk/mcs/; revision=7780
2002-09-24 18:23:42 +00:00
Nick Drochak e976db7f29 2002-09-24 Nick Drochak <[email protected]>
* icall.c (ves_icall_System_Enum_ToObject): validate the type parameter
	before using it in case it is null.

svn path=/trunk/mono/; revision=7779
2002-09-24 15:21:19 +00:00
Gonzalo Paniagua Javier 7c83de8e4b 2002-09-24 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: added test for null argument in IsPathRooted.

svn path=/trunk/mcs/; revision=7778
2002-09-24 15:05:32 +00:00
Martin Baulig 5d8eab5ec8 Don't include static fields.
svn path=/trunk/mono/; revision=7777
2002-09-24 14:14:01 +00:00
Nick Drochak 0032d48b02 2002-09-24 Nick Drochak <[email protected]>
* ArrayList.cs: Make enumerator throw exception if the ArrayList is
	mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
	this was passed as parameter.

svn path=/trunk/mcs/; revision=7775
2002-09-24 14:11:07 +00:00
Nick Drochak 734d904e3e 2002-09-24 Nick Drochak <[email protected]>
* ArrayListTest.cs: Add test for InsertRange() for the case where an
	ArrayList is passed to itself to be insterted.

svn path=/trunk/mcs/; revision=7774
2002-09-24 14:10:33 +00:00
Martin Baulig 06c96bb5d1 Added support for structs and classes.
svn path=/trunk/mono/; revision=7772
2002-09-24 11:31:47 +00:00
Paolo Molaro b8bdaccfda Tue Sep 24 13:24:56 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c: allow custom modifiers in local var signatures
	(bug spotted by Zoltan Varga).

svn path=/trunk/mono/; revision=7771
2002-09-24 11:27:44 +00:00
Gaurav Vaish 3e7f3ae17c 2002-09-24
* RegexTypeEditor.cs      : Completed
* RegexEditorDialog.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=7770
2002-09-24 11:20:57 +00:00
Paolo Molaro c1595a2d68 Tue Sep 24 12:12:16 CEST 2002 Paolo Molaro <[email protected]>
* class.c: deal with the <Module> class that may have a NULL vtable.
	Eliminate warnings.

svn path=/trunk/mono/; revision=7769
2002-09-24 10:14:55 +00:00
Paolo Molaro 3ee422999e Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <[email protected]>
* main.c: use mono_type_size () to get the size of
	a blob of data for a type (Zoltan Varga spotted the bug).

svn path=/trunk/mono/; revision=7768
2002-09-24 09:52:02 +00:00
Paolo Molaro a2a8d1547f Tue Sep 24 11:34:02 CEST 2002 Paolo Molaro <[email protected]>
* jit.c: avoid including cil-coff.h (again). Optimize typeof (type).
	Run finalize on domain cleanup.
	* mono.c: call setlocale ().
	* trampoline.c: clearer error message for invalid trampoline.

svn path=/trunk/mono/; revision=7767
2002-09-24 09:38:38 +00:00
Paolo Molaro e2440e9757 Tue Sep 24 11:28:46 CEST 2002 Paolo Molaro <[email protected]>
* image.c, image.h: more strong name helpers.
	* monosn.c: more work: convert pem keys to cryptoapi format.

svn path=/trunk/mono/; revision=7766
2002-09-24 09:31:42 +00:00
Paolo Molaro 4ba3ae74aa Tue Sep 24 11:27:38 CEST 2002 Paolo Molaro <[email protected]>
* string-icalls.c: speedup IndexOf.

svn path=/trunk/mono/; revision=7765
2002-09-24 09:29:48 +00:00
Paolo Molaro b5f0912fcd 2002-09-21 Zoltan Varga <[email protected]>
* CallConvCdecl.cs: new file

	* CallConvFastcall.cs: new file

	* CallConvThiscall.cs: new file

	* CallConvStdcall.cs: new file

	* RuntimeHelpers.cs: Implemented OffsetToStringData, GetObjectValue and
	RunClassConstructor.

svn path=/trunk/mcs/; revision=7764
2002-09-24 09:20:39 +00:00
Paolo Molaro c94963533c Tue Sep 24 11:17:13 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: updates from [email protected].

svn path=/trunk/mono/; revision=7763
2002-09-24 09:19:59 +00:00
Paolo Molaro 72e36542ad Updates.
svn path=/trunk/mcs/; revision=7762
2002-09-24 09:18:12 +00:00
Paolo Molaro 02253ae5cd Tue Sep 24 11:09:17 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: cleanup: use mono_object_domain ().

svn path=/trunk/mono/; revision=7761
2002-09-24 09:11:30 +00:00
Paolo Molaro 7997efba36 2002-09-21 Zoltan Varga <[email protected]>
* AllTests.cs: new file

	* RuntimeHelpersTest.cs: new file

svn path=/trunk/mcs/; revision=7760
2002-09-24 09:09:35 +00:00
John Sohn 68e9564374 *** empty log message ***
svn path=/trunk/mcs/; revision=7759
2002-09-24 06:09:20 +00:00
John Sohn 7ef9bfb6a3 2002-9-24 John Sohn <[email protected]>
* Application.cs: Run method now creates the Form
	* ContainerControl.cs: no implementation but made sure overridden
	methods call the base class
	* Control.cs: Implemented several more methods in the implementation
	of this class. Implemented ControlCollection, allowing controls
	to be added and removed from the Form.
	* Form.cs: Implemented more methods of the Form class
	* FormTest.cs: Added code to draw and display a Label
	* Label.cs: Initial implementation of Label class. The Label can
	be added and displayed on a Form.
	* NativeWindow.cs: modified debugging (console) output
	* ScrollableControl.cs: no implementation but made sure overridden
	methods call the base class
	* Win32.cs: added more Win32 imports and definitions
	* monostub.c: now store the application HINSTANCE
	* makefile: added Label.cs to makefile

svn path=/trunk/mcs/; revision=7758
2002-09-24 06:06:39 +00:00
Adam Treat a20fc7fc78 * Broke up our monodoc source file so it's easier to extend. It was
getting to big ;)

svn path=/trunk/mcs/; revision=7757
2002-09-24 04:17:40 +00:00
Adam Treat 89b878c5df * Damn, I couldn't fine this anywhere... thanks gonzalo ;)
svn path=/trunk/mcs/; revision=7754
2002-09-24 01:58:58 +00:00
Adam Treat e751b881bf * Thanks gonzalo ;)
svn path=/trunk/mcs/; revision=7753
2002-09-24 01:50:05 +00:00
Adam Treat 31d8c204a5 * Hook up the options dialog
svn path=/trunk/mcs/; revision=7752
2002-09-24 01:11:15 +00:00
Miguel de Icaza 49efecf987 2002-09-23 Miguel de Icaza <[email protected]>
* decl.cs (Error_AmbiguousTypeReference); New routine used to
	report ambiguous type references.  Unlike the MS version, we
	report what the ambiguity is.   Innovation at work ;-)

svn path=/trunk/mcs/; revision=7751
2002-09-24 00:54:24 +00:00
Miguel de Icaza 73b75c4bef 2002-09-23 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.FindType): Require a location argument to
	display when we display an ambiguous error.

	* ecore.cs: (SimpleName.DoResolveType): Pass location to FindType.

	* interface.cs (GetInterfaceTypeByName): Pass location to FindType.

svn path=/trunk/mcs/; revision=7748
2002-09-24 00:32:57 +00:00
Martin Baulig 6c3be28a21 More work on the type stuff.
svn path=/trunk/mono/; revision=7746
2002-09-23 23:21:14 +00:00
Miguel de Icaza 0544e9c682 2002-09-23 Miguel de Icaza <[email protected]>
* expression.cs (EmitDynamicInitializers): Apply patch from
	[email protected] that fixes the order in which we emit our
	initializers.

svn path=/trunk/mcs/; revision=7745
2002-09-23 22:39:52 +00:00
Duncan Mak 23bb65c7a5 2002-09-23 Duncan Mak <[email protected]>
* XslTransform.cs (Laod): Implemented the simple version that
	takes one XPathNavigator as argument.
	(Save): New private method for recreating the XML in text from a
	XPathNavigator
	(WriteCurrentNode):
	(WriteTree): private methods for generating the text XML from the
	XPathNavigator tree.

svn path=/trunk/mcs/; revision=7744
2002-09-23 22:19:25 +00:00
Mark Crichton 4372c15832 Added information about the new LCC 4.2 release that supports compiling to
MSIL.

svn path=/trunk/mono/; revision=7743
2002-09-23 18:19:51 +00:00
Andrew Birkett a724359910 2002-09-23 Andrew Birkett <[email protected]>
* RijndaelManagedTest.cs: Fixed initialization order problem
	to match MS behaviour.

svn path=/trunk/mcs/; revision=7742
2002-09-23 18:07:38 +00:00
Andrew Birkett ff4ec3d133 2002-09-23 Andrew Birkett <[email protected]>
* corlib_linux_test.args: Added MD5Test

svn path=/trunk/mcs/; revision=7741
2002-09-23 18:06:10 +00:00
Gonzalo Paniagua Javier 26c28da391 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlContainerControl.cs:
	* HtmlControl.cs:
	* HtmlForm.cs:
	* HtmlGenericControl.cs:
	* HtmlImage.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputFile.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTable.cs:
	* HtmlTableCell.cs:
	* HtmlTableRow.cs:
	* HtmlTextArea.cs: added almost all missing attributes.

svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00
Martin Baulig b55c75b6e8 Added support for enum types.
svn path=/trunk/mono/; revision=7739
2002-09-23 16:42:25 +00:00
Martin Baulig 469bc8f420 Multi-dimensional arrays ...
svn path=/trunk/mono/; revision=7736
2002-09-23 15:51:17 +00:00
Nick Drochak 5877256e30 2002-09-24 Nick Drochak <[email protected]>
* ArrayListTest.cs: Add check that enumerator is invalidated after a
	method that changes the list, such as Add(), Remove(), etc.

svn path=/trunk/mcs/; revision=7735
2002-09-23 15:17:31 +00:00
Gonzalo Paniagua Javier b2d22b5280 Little fix to clean target for PEToolkit
svn path=/trunk/mcs/; revision=7733
2002-09-23 14:52:50 +00:00
Nick Drochak f9b5964873 2002-09-23 Nick Drochak <[email protected]>
* TraceTest.cs: Default level and size are 0 & 4, respectively.

svn path=/trunk/mcs/; revision=7732
2002-09-23 14:44:48 +00:00
Martin Baulig 8423c62e96 2002-09-23 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Improved type support.

svn path=/trunk/mono/; revision=7730
2002-09-23 14:36:08 +00:00
Paolo Molaro 64dc6f0c67 Update.
svn path=/trunk/mono/; revision=7729
2002-09-23 09:04:50 +00:00
Mark Crichton 2399ceea61 Starting rewrite of trampolining for SPARC. It needed some cleanup.
It doesn't work at all now.  GO PROGRESS!

svn path=/trunk/mono/; revision=7728
2002-09-23 02:25:43 +00:00
Gonzalo Paniagua Javier 7b6b950e75 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
	return pvt methods.

svn path=/trunk/mcs/; revision=7727
2002-09-23 01:42:48 +00:00
Gonzalo Paniagua Javier b3c0ac9e01 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* System.IO/BinaryReaderTest.cs: more tests.

	* System.Security.Cryptography/AllTests.cs:
	* System.Security.Cryptography/ChangeLog:
	* System.Security.Cryptography/MD5Test.cs: added new MD5Test.cs.

	Patch from Eduardo Garc�a Cebollero ([email protected]).

svn path=/trunk/mcs/; revision=7726
2002-09-23 01:00:15 +00:00
Gonzalo Paniagua Javier 59d02c87d9 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* XmlConvert.cs: IsInvalid is now internal.
	* XmlNamespaceManager.cs: implemented RemoveNamespace
	* XmlTextReader.cs: return BaseURI and Encoding from the parser.
	* XmlTextWriter.cs: implemented WriteName and WriteNmToken.

svn path=/trunk/mcs/; revision=7725
2002-09-23 00:39:30 +00:00
Gonzalo Paniagua Javier 593854090b 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* get.c: closes bug #30814. Thanks to Zoltan Varga.

svn path=/trunk/mono/; revision=7724
2002-09-22 17:31:53 +00:00
Andrew Birkett 1a166dda7f 2002-09-22 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)

svn path=/trunk/mcs/; revision=7723
2002-09-22 16:05:55 +00:00
Andrew Birkett 26e16e4f03 2002-09-22 Andrew Birkett <[email protected]>
* System.Security.Cryptography/RijndaelManagedTest.cs: BlockSize
	measured in bytes, not bits.

svn path=/trunk/mcs/; revision=7722
2002-09-22 15:28:10 +00:00
Andrew Birkett cc02964701 2002-09-22 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: BlockSize now reports size in bytes.
	* ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.

svn path=/trunk/mcs/; revision=7721
2002-09-22 15:26:50 +00:00
Nick Drochak 279b42114e 2002-09-22 Nick Drochak <[email protected]>
* Parser.cs: Remove extraneous "using" that was stopping the build.

svn path=/trunk/mcs/; revision=7720
2002-09-22 14:35:04 +00:00
Martin Baulig 149657947f 2002-09-22 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for reference types and strings.

svn path=/trunk/mono/; revision=7718
2002-09-22 13:46:42 +00:00
Martin Baulig 357528fd8f Removed another g_message().
svn path=/trunk/mono/; revision=7717
2002-09-22 13:45:54 +00:00
Johannes Roith 5e66030ed3 fix ximian link.
svn path=/trunk/mono/; revision=7715
2002-09-22 09:15:58 +00:00
Martin Baulig 0860aa1384 Removed this g_message().
svn path=/trunk/mono/; revision=7713
2002-09-21 23:25:29 +00:00
Martin Baulig 281f0d64b0 2002-09-22 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Started to work on the type table.

svn path=/trunk/mono/; revision=7712
2002-09-21 23:24:50 +00:00
Miguel de Icaza 447eb0ca67 2002-09-17 Asier Llano Palacios <[email protected]>
* CancelEventArgs.cs
	* CancelEventHandler.cs
	* PropertyChangedEventHandler.cs
	* IExtenderProvider.cs: Implemented

svn path=/trunk/mcs/; revision=7711
2002-09-21 21:39:37 +00:00
Miguel de Icaza e335c3c1a5 2002-09-21 Miguel de Icaza <[email protected]>
* FileStream.cs: Do not call FSync on the file.

svn path=/trunk/mcs/; revision=7710
2002-09-21 21:27:59 +00:00
Martin Baulig 062b365f91 2002-09-21 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyApplicability): Make this work if the
	delegate takes no arguments.

svn path=/trunk/mcs/; revision=7692
2002-09-21 18:42:24 +00:00
Piers Haken e3df4e4f28 2002-09-21 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable more tests, XPathException is now used properly.

svn path=/trunk/mcs/; revision=7691
2002-09-21 18:28:40 +00:00
Piers Haken e05854d185 2002-09-21 Piers Haken <[email protected]>
* XPathException: implementation
	* Expression.cs:
	* Iterator.cs:
	* Parser.jay:
	* Tokenizer.jay:
	* XPathNavigator.jay:
		use XPathException.

svn path=/trunk/mcs/; revision=7690
2002-09-21 18:26:49 +00:00
Martin Baulig 6500bbb03b 2002-09-21 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerSymbolFileTable): Use an actual typedef for this
	instead of writing a byte blob.
	(mono_debug_make_symbols): This doesn't touch the symbol tables anymore.
	(mono_debug_add_method): Incrementally add the new method to the symbol
	table.

	* exception.c (arch_handle_exception): If we have debugging support,
	call mono_debugger_update_symbol_file_table () as well.

svn path=/trunk/mono/; revision=7686
2002-09-21 17:16:34 +00:00
Martin Baulig 6f85fc7bd9 2002-09-21 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Largely reworked the symbol table format.
	The symbol table is now incrementally updated each time a new
	method is added.  We're now also using our own magic and version
	so that you don't need to recompile all your classes if the
	dynamic table changes.
	(mono_debug_update_mono_symbol_file): Removed.
	(mono_debug_symfile_add_method): New function to add a method.

svn path=/trunk/mono/; revision=7685
2002-09-21 17:14:47 +00:00
Martin Baulig 3c63374b42 2002-09-21 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 26.  Removed all the dynamic
	stuff, this library now just deals with the compiler generated symbol table.
	The dynamic stuff is private between the JIT and the debugger.

svn path=/trunk/mcs/; revision=7684
2002-09-21 17:12:30 +00:00
Matt Hunter afcfff04a2 implementing tests: XmlElementTests.TestSetAttributeNode
and XmlAttributeCollectionTest.TestAppend

svn path=/trunk/mcs/; revision=7681
2002-09-21 04:21:44 +00:00
Matt Hunter 07aae53fac implementing XmlElement.SetAttributeNode(localName, namespaceURI) and
implementing XmlAttributeCollection.Append(XmlAttribute)

svn path=/trunk/mcs/; revision=7680
2002-09-21 04:20:31 +00:00
Miguel de Icaza 73692dfb45 2002-09-20 Miguel de Icaza <[email protected]>
* constant.cs: Use Conv_U8 instead of Conv_I8 when loading longs
	from integers.

	* expression.cs: Extract the underlying type.

	* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

svn path=/trunk/mcs/; revision=7679
2002-09-21 04:12:05 +00:00
Adam Treat ff90b8ddf9 * Refactored some code
* Added archiver.cs

svn path=/trunk/mcs/; revision=7678
2002-09-21 03:49:26 +00:00
Adam Treat 711cd36714 * Integrated the flush methods and refactored some code.
svn path=/trunk/mcs/; revision=7677
2002-09-21 03:48:27 +00:00
Duncan Mak 7e5aeaec40 2002-09-20 Duncan Mak <[email protected]>
* data/config.in: Added reference to libxslt.

svn path=/trunk/mono/; revision=7676
2002-09-21 03:19:10 +00:00
Duncan Mak 8db33b5870 2002-09-16 Duncan Mak <[email protected]>
* Uri.cs (GetObjectData):
	(Uri): The key should be "AbsoluteUri", not "Uri".

2002-09-20  Duncan Mak  <[email protected]>

	* XslTransform.cs (Load): Implemented the  methods, not
	including the ones that deal with XPathNavigator (hopefully those
	will come later).
	(Transform): Implemented the version that saves directly to a file.
	(Save): New private method for recreating the XML in text from
	from an XmlReader

	We're now P/Invoking libxslt for doing XSLT work.

svn path=/trunk/mcs/; revision=7675
2002-09-21 03:18:17 +00:00
John Sohn 848e0d00ed added settings menu and initial configure dialog
svn path=/trunk/mcs/; revision=7674
2002-09-21 03:14:23 +00:00
Miguel de Icaza 80e1821593 2002-09-20 Miguel de Icaza <[email protected]>
* expression.cs: Extract the underlying type.

svn path=/trunk/mcs/; revision=7672
2002-09-21 00:02:02 +00:00
Miguel de Icaza e9d574a279 2002-09-20 Miguel de Icaza <[email protected]>
* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

svn path=/trunk/mcs/; revision=7671
2002-09-20 23:53:34 +00:00
Martin Baulig 6b24be88df 2002-09-21 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
	get the type of a local variable from its signature.  This should only
	be used by the debugger.

svn path=/trunk/mcs/; revision=7669
2002-09-20 23:41:46 +00:00
Martin Baulig 72e148a30f 2002-09-21 Martin Baulig <[email protected]>
* icall.c
	("System.Reflection.Assembly::MonoDebugger_GetLocalTypeFromSignature"):
	New interncall.

	* debug-mono-symfile.c (ves_icall_MonoDebugger_GetLocalTypeFromSignature):
	New interncall to get a method from its metadata token.

svn path=/trunk/mono/; revision=7668
2002-09-20 23:40:47 +00:00
Martin Baulig b5f6dcaa76 Ooops, fixed a typo in my last commit.
svn path=/trunk/mono/; revision=7667
2002-09-20 23:39:21 +00:00
Martin Baulig b6688165af 2002-09-21 Martin Baulig <[email protected]>
* ModuleBuilder.cs (ModuleBuilder.symbol_writer): Make this
	field internal, not private.
	(ModuleBuilder.SymWriter_DefineLocalVariable): Removed.

	* LocalBuilder.cs (LocalBuilder.SetLocalSymInfo): Use the
	ISymbolWriter's DefineLocalVariable() method instead of the
	IMonoSymbolWriter hack.

svn path=/trunk/mcs/; revision=7666
2002-09-20 23:16:47 +00:00
Martin Baulig ba422481d9 2002-09-21 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Create type table.

svn path=/trunk/mono/; revision=7664
2002-09-20 23:13:33 +00:00
Martin Baulig dda30d78db 2002-09-21 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 25.  Added information about
	local variables.

svn path=/trunk/mcs/; revision=7663
2002-09-20 23:12:48 +00:00
Adam Treat 0d05c3f3ad * Eliminate pesky carriage returns
svn path=/trunk/mcs/; revision=7662
2002-09-20 22:39:04 +00:00
Martin Baulig 12f74ca39f 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Reflect latest Mono.CSharp.Debugger changes.

svn path=/trunk/mono/; revision=7661
2002-09-20 22:01:55 +00:00
Martin Baulig 6a7f5875ba 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 24.  Added a type index
	table.  Write the type of a local variable or a parameter as an index
	into this table.

svn path=/trunk/mcs/; revision=7660
2002-09-20 22:00:52 +00:00
Martin Baulig afd46500d4 2002-09-20 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Remove all the unused interfaces.

svn path=/trunk/mcs/; revision=7659
2002-09-20 21:05:41 +00:00
Miguel de Icaza 8e90ead220 Provide location informtaion
svn path=/trunk/mcs/; revision=7658
2002-09-20 20:58:19 +00:00
Miguel de Icaza 6706e60bd6 2002-09-20 Miguel de Icaza <[email protected]>
* decl.cs (FindType): Sorry about this, fixed the type lookup bug.

svn path=/trunk/mcs/; revision=7657
2002-09-20 20:47:34 +00:00
Mark Crichton 62f353dcb1 More Solaris/BSD fixes. This now allows shared handles to work on BSD
and BSD like systems.

Please test this code.  The only thing left is to fix POSIX shared threads
on Solaris...

svn path=/trunk/mono/; revision=7650
2002-09-20 17:10:02 +00:00
Martin Baulig 9a47cec765 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 23, include the size
	of a variable.

svn path=/trunk/mcs/; revision=7647
2002-09-20 15:01:25 +00:00
Martin Baulig 162bc3d1f5 2002-09-20 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): The `MonoDebugVarInfo' now includes
	the size of the variable.

svn path=/trunk/mono/; revision=7646
2002-09-20 15:00:46 +00:00
Martin Baulig bd17401c0b 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 22.  Provide information
	about parameters and local variables.

svn path=/trunk/mcs/; revision=7645
2002-09-20 14:42:33 +00:00
Martin Baulig 079e9ba377 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Provide information about params and locals.

svn path=/trunk/mono/; revision=7644
2002-09-20 14:41:55 +00:00
Martin Baulig 7b119ca3dd 2002-09-20 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
	from its metadata token.  This should only be used by the debugger.

svn path=/trunk/mcs/; revision=7642
2002-09-20 13:38:00 +00:00
Martin Baulig 7b72546da7 2002-09-20 Martin Baulig <[email protected]>
* icall.c ("System.Reflection.Assembly::MonoDebugger_GetMethod"):
	New interncall.

	* debug-mono-symfile.c (ves_icall_MonoDebugger_GetMethod): New
	interncall to get a method from its metadata token.

svn path=/trunk/mono/; revision=7641
2002-09-20 13:36:05 +00:00
Paolo Molaro 14043542c4 Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: add some needed defines to fix support of
	threads in the GC.

svn path=/trunk/mono/; revision=7640
2002-09-20 13:34:35 +00:00
Adam Treat 99dc6fbb98 * Begin the implementation of the Archive methods and extend the parser
to parse the go-mono.org/monodoc.dtd

* Added additional metadata to the data representation

svn path=/trunk/mcs/; revision=7638
2002-09-20 05:03:26 +00:00
Adam Treat 0d5c1c0dd8 * Begin the implementation of the Archive methods Sync and Flush.
* Set the FileRoot for the loaded Master.xml and allow the forms to flush to
the specified path.

svn path=/trunk/mcs/; revision=7637
2002-09-20 05:01:31 +00:00
Adam Treat ae4a470206 * Another fix to the Depth property to handle a more complex heirarchy.
svn path=/trunk/mcs/; revision=7636
2002-09-20 04:36:16 +00:00
Adam Treat ec02f3a0bc * The Depth property was not implemented correctly and the Read method did not
take the newline character into account.  The whitespace handling is very preliminary
but it is better than before, where every NON-AREA was being treated as NodeType.Text
example: <Foo name="Blah"> NON-AREA <Bar> TEXT </Bar> NON-AREA </Foo>  The text reader
now correctly performs the Depth example found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclassdepthtopic.asp

svn path=/trunk/mcs/; revision=7635
2002-09-20 04:25:39 +00:00
Miguel de Icaza 6947f0572d 2002-09-19 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.DefineType): We can not use the nice
	PackingSize with the size set to 1 DefineType method, because it
	will not allow us to define the interfaces that the struct
	implements.

	This completes the fixing of bug 27287

	* ecore.cs (Expresion.ImplicitReferenceConversion): `class-type S'
	means also structs.  This fixes part of the problem.
	(Expresion.ImplicitReferenceConversionExists): ditto.

svn path=/trunk/mcs/; revision=7633
2002-09-19 23:23:32 +00:00
Martin Baulig eb13c3c328 2002-09-20 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Use fullly qualified name for
	System.Diagnostics.SymbolStore.ISymbolWriter rather than `using' this
	namespace.  This allows us to use the name `ISymbolWriter' in our own
	code.

svn path=/trunk/mcs/; revision=7632
2002-09-19 22:58:38 +00:00
Martin Baulig 38cee46306 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added a few checks for method->header
	being non-NULL.  This should never happen, but for the moment
	let's use a g_warning() rather than a g_assert().

svn path=/trunk/mono/; revision=7631
2002-09-19 22:26:53 +00:00
Miguel de Icaza b007341324 2002-09-19 Miguel de Icaza <[email protected]>
* decl.cs (DeclSparce.ResolveType): Only report the type-not-found
	error if there were no errors reported during the type lookup
	process, to avoid duplicates or redundant errors.  Without this
	you would get an ambiguous errors plus a type not found.  We have
	beaten the user enough with the first error.

	(DeclSparce.FindType): Emit a warning if we have an ambiguous
	reference.

	* ecore.cs (SimpleName.DoResolveType): If an error is emitted
	during the resolution process, stop the lookup, this avoids
	repeated error reports (same error twice).

	* rootcontext.cs: Emit a warning if we have an ambiguous reference.

svn path=/trunk/mcs/; revision=7630
2002-09-19 22:25:47 +00:00
Miguel de Icaza 045eaf1f77 Add new test
svn path=/trunk/mcs/; revision=7629
2002-09-19 22:08:21 +00:00
Miguel de Icaza 14d6027ca5 Improve test
svn path=/trunk/mcs/; revision=7628
2002-09-19 21:48:10 +00:00
Miguel de Icaza 3ce9a0001a 2002-09-19 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupType): Redo the type lookup code to match
	the needs of System.Reflection.

	The issue is that System.Reflection requires references to nested
	types to begin with a "+" sign instead of a dot.  So toplevel
	types look like: "NameSpace.TopLevelClass", and nested ones look
	like "Namespace.TopLevelClass+Nested", with arbitrary nesting
	levels.

svn path=/trunk/mcs/; revision=7627
2002-09-19 21:42:00 +00:00
Andrew Birkett 79f8741a6f * System.Security.Cryptography/RijndaelManagedTest.cs: New test
* System.Security.Cryptography/AllTests.cs: Added RijndaelManagedTest
	* corlib_linux_test.args: Added RijndaelManagedTest

svn path=/trunk/mcs/; revision=7626
2002-09-19 19:32:22 +00:00
Andrew Birkett df0838678e * Rijndael.cs: Create() now gives you a RijndaelManaged object
* RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
* SymmetricAlgorithm.cs: Updated comments

svn path=/trunk/mcs/; revision=7625
2002-09-19 19:31:14 +00:00
Martin Baulig dba32d8363 2002-09-19 Martin Baulig <[email protected]>
* test-154.cs: Added testcase from bug #30487.

svn path=/trunk/mcs/; revision=7624
2002-09-19 18:53:06 +00:00
Martin Baulig e9e273a33b 2002-09-19 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.EmitTopBlock): If control flow analysis
	says that a method always returns or always throws an exception,
	don't report the CS0161.

	* statement.cs (FlowBranching.UsageVector.MergeChildren): Always
	set `Returns = new_returns'.

svn path=/trunk/mcs/; revision=7623
2002-09-19 18:52:46 +00:00
Mark Crichton 3eedd84b18 Beginning to add support for Solaris. Tested on Solaris 9.
Shared handles are still not working, will be addressed soon.

Trampoline code still broken, expect a rewrite.

svn path=/trunk/mono/; revision=7622
2002-09-19 18:30:56 +00:00
Duncan Mak 0a7663f9d5 2002-09-19 Duncan Mak <[email protected]>
* Array.cs (CopyTo): Revert back to 1.40, this is stopping
	I18N/Common from building right now.

svn path=/trunk/mcs/; revision=7621
2002-09-19 17:50:33 +00:00
Nick Drochak 999104f3d0 2002-09-19 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Pinpoint error closing streams

svn path=/trunk/mcs/; revision=7620
2002-09-19 14:11:54 +00:00
Nick Drochak 9736241ce6 2002-09-19 Nick Drochak <[email protected]>
* ArrayTest.cs: Report errors with CopyTo().

svn path=/trunk/mcs/; revision=7619
2002-09-19 14:10:02 +00:00
Nick Drochak 0bcab3f27c 2002-09-19 Nick Drochak <[email protected]>
* Array.cs (CopyTo): Account for Object type and base (primitive) types
	* Type.cs (IsAssignableFrom): return false for a null parameter

svn path=/trunk/mcs/; revision=7618
2002-09-19 14:04:42 +00:00
Nick Drochak c556617566 2002-09-19 Nick Drochak <[email protected]>
* Array.cs (CopyTo): Check that source type can be cast automatically
	to the destination type.

svn path=/trunk/mcs/; revision=7617
2002-09-19 12:11:59 +00:00
Nick Drochak 6d07086de5 2002-09-19 Nick Drochak <[email protected]>
* ArrayTest.cs: Can check for exception throw now on CopyTo(). Re-
	enable test.

svn path=/trunk/mcs/; revision=7616
2002-09-19 12:05:06 +00:00
Martin Baulig e9f6f3b943 2002-09-19 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): When resolving
	to an enum constant, check for a CS0176.

svn path=/trunk/mcs/; revision=7615
2002-09-19 11:49:22 +00:00
Dietmar Maurer d8b7637801 2002-09-18 Dietmar Maurer <[email protected]>
* linear-scan.c (mono_analyze_liveness): we can save 30% of needed
	iterations if we visit blocks in reverse order.

svn path=/trunk/mono/; revision=7614
2002-09-19 09:17:09 +00:00
Gaurav Vaish c55b3d8237 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : GetDesignTimeHtml() - Removed "MonoTODO"
* ButtonDesigner.cs       : Completed.
* CalendarAutoFormatDialog.cs
                          : Initial implementation.
  	* CalendarDesigner.cs     : Initial implementation.
* CheckBoxDesigner.cs     : Completed.
* HyperLinkDesigner.cs    : Almost completed. See "FIXME".
* LabelDesigner.cs        : Completed.
* LinkButtonDesigner.cs   : Completed.
* TableCellsCollectionEditor.cs
                          : Completed
  	* TableDesigner.cs        : Initial implementation.

2002-09-16     Gaurav Vaish <[email protected]>

* TODO                    : TODO Updates. Found some undocumented
                            classes.

svn path=/trunk/mcs/; revision=7613
2002-09-19 08:25:02 +00:00
Gonzalo Paniagua Javier 7b527404dd 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: fixed #30239.
	* XmlTextWriter.cs: fixed #30240.

svn path=/trunk/mcs/; revision=7612
2002-09-19 07:55:56 +00:00
Gonzalo Paniagua Javier f9fcc1d75e 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlCustomFormatter.cs: finished.
	* XmlSerializationReader.cs: implemented some more methods.

svn path=/trunk/mcs/; revision=7611
2002-09-19 07:16:01 +00:00
Gonzalo Paniagua Javier 7faec3f1be 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlConvert.cs: finished implementation.

svn path=/trunk/mcs/; revision=7610
2002-09-19 07:11:24 +00:00
Nick Drochak f6e3aaa0b1 Forgot one...
svn path=/trunk/mcs/; revision=7609
2002-09-19 06:59:15 +00:00
Nick Drochak e1a0fb9915 2002-09-19 Nick Drochak <[email protected]>
* TraceImpl.cs: Remove debug prints

svn path=/trunk/mcs/; revision=7608
2002-09-19 06:56:12 +00:00
Nick Drochak 7a11028c33 2002-09-19 Nick Drochak <[email protected]>
* TraceListenerCollection.cs: Set Indet level and size to default
	values.  The values from TraceImpl might have been changed.

svn path=/trunk/mcs/; revision=7607
2002-09-19 06:48:05 +00:00
Nick Drochak 4d00f22660 2002-09-19 Nick Drochak <[email protected]>
* TraceTest.cs: Clear list of listeners before each test.

svn path=/trunk/mcs/; revision=7606
2002-09-19 06:47:14 +00:00
Miguel de Icaza 021524678e Update index
svn path=/trunk/mono/; revision=7605
2002-09-19 06:12:26 +00:00
Miguel de Icaza f22633ce5f 2002-09-18 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.CheckPairedOperators): Now we check
	for operators that must be in pairs and report errors.

svn path=/trunk/mcs/; revision=7603
2002-09-19 01:17:25 +00:00
Martin Baulig e58b64a8f7 2002-09-19 Martin Baulig <[email protected]>
* debug-mono-symfile.c (read_string, write_string): Reflect latest
	changes in the symbol file format.

svn path=/trunk/mono/; revision=7598
2002-09-19 00:40:39 +00:00
Miguel de Icaza c1728ca2d8 2002-09-18 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.DoResolveType): During the initial type
	resolution process, when we define types recursively, we must
	check first for types in our current scope before we perform
	lookups in the enclosing scopes.

svn path=/trunk/mcs/; revision=7596
2002-09-18 23:47:26 +00:00
Miguel de Icaza 31891eac8e 2002-09-18 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Handle Decimal blobs.

svn path=/trunk/mcs/; revision=7595
2002-09-18 22:46:26 +00:00
Gonzalo Paniagua Javier 709edea6bc Make it build on unix
svn path=/trunk/mcs/; revision=7587
2002-09-18 15:20:59 +00:00
Martin Baulig f7fa3e9881 2002-09-18 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Set version number to 21.

svn path=/trunk/mono/; revision=7586
2002-09-18 14:00:52 +00:00
Martin Baulig 8125abef6b 2002-09-18 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 21.  Encode the source file
	as a 4-byte length field followed by the UTF8 encoded string.

svn path=/trunk/mcs/; revision=7585
2002-09-18 13:59:31 +00:00
Martin Baulig 0c2ce64528 2002-09-18 Martin Baulig <[email protected]>
* IMonoBinaryReader.cs: New interface.

	* MonoSymbolTable.cs: Use IMonoBinaryReader instead of binary reader.

svn path=/trunk/mcs/; revision=7582
2002-09-18 13:13:26 +00:00
Dick Porter 4786e2ce84 2002-09-18 Dick Porter <[email protected]>
* threads.c (mon_new): Use the GC_MALLOC macro to hide differences
	on netbsd.  Fixes bug 30051.

svn path=/trunk/mono/; revision=7579
2002-09-18 12:04:02 +00:00
Gonzalo Paniagua Javier aa0acdf4b2 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* XmlSerializationReader.cs: implemented a few methods.

	* XmlAnyElementAttribute.cs:
	* XmlArrayAttribute.cs:
	* XmlChoiceIdentifierAttribute.cs:
	* XmlElementAttribute.cs:
	* XmlMemberMapping.cs:
	* XmlMembersMapping.cs: class status based fixes.

svn path=/trunk/mcs/; revision=7578
2002-09-18 07:43:41 +00:00
Miguel de Icaza b8f3703cd2 2002-09-18 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Call
	TypeManager.TypeToCoreType on the parameter_type.GetElementType.
	I thought we were supposed to always call this, but there are a
	few places in the code where we dont do it.

svn path=/trunk/mcs/; revision=7577
2002-09-18 06:57:32 +00:00
Adam Treat 9f4c5d1676 * Added the QProgressDialog and extensions to the form widgets
svn path=/trunk/mcs/; revision=7576
2002-09-18 06:41:05 +00:00
Gonzalo Paniagua Javier f13b9706bf implemented DefaultBinder and GetDefaultMembers
svn path=/trunk/mcs/; revision=7575
2002-09-18 05:29:37 +00:00
Gonzalo Paniagua Javier 6918735598 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* System.Xml/XmlDocument.cs:
	* System.Xml/XmlTextWriter.cs:
	* System.Xml/XmlValidatingReader.cs:
	* System.Xml.Schema/XmlSchemaCollection.cs:
	* System.Xml.Schema/XmlSchemaException.cs:
	* System.Xml.Schema/XmlSchemaObjectCollection.cs:
	* System.Xml.Serialization/SoapTypeAttribute.cs:
	* System.Xml.Serialization/XmlAttributes.cs:
	* System.Xml.Serialization/XmlMapping.cs:
	* System.Xml.Serialization/XmlReflectionImporter.cs:
	* System.Xml.Serialization/XmlSerializer.cs:
	* System.Xml.Serialization/XmlTextAttribute.cs:
	* System.Xml.Xsl/XslTransform.cs: misc. fixed and implementation.

	* System.Xml.Serialization/SchemaTypes.cs: New file.
	* System.Xml.Serialization/TypeData.cs: New file.
	* System.Xml.Serialization/TypeTranslator.cs: New file.

svn path=/trunk/mcs/; revision=7574
2002-09-18 05:21:10 +00:00
Kral Ferch a98017c882 xpath tests for string(), concat(), starts-with(), and contains().
svn path=/trunk/mcs/; revision=7572
2002-09-18 04:48:32 +00:00
Gonzalo Paniagua Javier 68f4f02905 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: implemented IsAssignableFrom.

svn path=/trunk/mcs/; revision=7571
2002-09-18 04:05:07 +00:00
Adam Treat 16e0c171f6 * Implemented some nice sorting methods
svn path=/trunk/mcs/; revision=7570
2002-09-18 03:08:33 +00:00
Miguel de Icaza ca050ddc0d Flushety Flush
svn path=/trunk/mono/; revision=7569
2002-09-17 22:59:13 +00:00
Gonzalo Paniagua Javier da120aecba Actually build PEToolkit on unix
svn path=/trunk/mcs/; revision=7568
2002-09-17 22:52:29 +00:00
Miguel de Icaza ffe1660a03 oops
svn path=/trunk/mcs/; revision=7567
2002-09-17 21:47:45 +00:00
Miguel de Icaza 23b3aa1be5 2002-09-17 Miguel de Icaza <[email protected]>
* driver.cs: Add support in -linkres and -resource to specify the
	name of the identifier.

svn path=/trunk/mcs/; revision=7566
2002-09-17 21:24:13 +00:00
Miguel de Icaza 8928220dab Update man page
svn path=/trunk/mono/; revision=7565
2002-09-17 21:23:51 +00:00
Miguel de Icaza 76f71ea43b Add decimal to MakeByteBlob
svn path=/trunk/mcs/; revision=7564
2002-09-17 18:16:08 +00:00
Nick Drochak 9f997ad5cd 2002-09-17 Nick Drochak <[email protected]>
* UriTest.cs: Fixed some path separator issues for the tests running on
	linux.

	* TraceTest.cs: Remove extraneous Console.WriteLine().

	* ServicePointManagerTest.cs: Convert Console.WriteLine() into a Fail()

	* TraceImpl.cs: Add some debug to find the error.  Still working on
	this one.

svn path=/trunk/mcs/; revision=7563
2002-09-17 15:05:21 +00:00
Miguel de Icaza 7e6e368b3f I got mixed up
svn path=/trunk/mono/; revision=7562
2002-09-17 14:49:51 +00:00
Adam Treat abcf740ff1 * Fixed CreateInstance to honor the bflags argument.
svn path=/trunk/mcs/; revision=7561
2002-09-17 14:44:11 +00:00
Miguel de Icaza bebcc60989 Apply patch to Brushes
svn path=/trunk/mcs/; revision=7560
2002-09-17 14:38:02 +00:00
Nick Drochak c1b04d89b3 2002-09-17 Nick Drochak <[email protected]>
* System_test.build: Oops.  Don't build the old standalone exe either.

svn path=/trunk/mcs/; revision=7559
2002-09-17 14:00:26 +00:00
Nick Drochak 93ed6ca92a 2002-09-17 Nick Drochak <[email protected]>
* TheTests.cs: Removed.  Not needed anymore since NUnit runs on linux.
	* Syste_test.build: Build a linux version of the unit tests (just a
	different linking of dll's)

svn path=/trunk/mcs/; revision=7558
2002-09-17 13:51:33 +00:00
Adam Treat d17799bf9a * The rest of the Master.xml files for the assemblies. Note: we're still missing
assemblies such as System.DirectoryServices.dll

svn path=/trunk/mcs/; revision=7557
2002-09-17 06:31:43 +00:00
Gonzalo Paniagua Javier 8421f2e98c 2002-09-17 Gonzalo Paniagua Javier <[email protected]>
* reflection.c:
	(set_version_from_string): little fix.

svn path=/trunk/mono/; revision=7553
2002-09-17 05:00:04 +00:00
Gaurav Vaish e4667928cb 2002-09-16 Gaurav Vaish <[email protected]>
* TODO                    : TODO Updates. Found some undocumented
                            classes.

svn path=/trunk/mcs/; revision=7552
2002-09-17 04:50:56 +00:00
Miguel de Icaza 7d9658d15a 2002-09-16 Miguel de Icaza <[email protected]>
* ecore.cs (StandardConversionExists): Sync with the conversion
	code: allow anything-* to void* conversions.

svn path=/trunk/mcs/; revision=7551
2002-09-17 04:34:26 +00:00
Gonzalo Paniagua Javier f8a4aeba3f added list file and 'disabled' build with mcs
svn path=/trunk/mcs/; revision=7550
2002-09-17 03:00:43 +00:00
Miguel de Icaza bbec6a7fb9 Add nant file
svn path=/trunk/mcs/; revision=7549
2002-09-17 02:29:52 +00:00
Miguel de Icaza 695ddcd816 Update news
svn path=/trunk/mono/; revision=7548
2002-09-17 02:24:09 +00:00
Miguel de Icaza 03d3f9b784 2002-9-15 Asier Llano <[email protected]>
* Fixes	the enum values in the following enums
	* ContentAlignment.cs:
	* FontStyle.cs:
	* GraphicsUnit.cs:
	* KnownColor.cs:
	* RotateFlipType.cs:
	* StringAligment.cs:
	* StringDigitSubstitute.cs:
	* StringFormatFlags.cs:
	* StringTrimming.cs:
	* StringUnit.cs:
	* SolidBrush.cs: Easy implementation
	* Brushes.cs:    Implementation based on SolidBrush and Color class.
        * Brush.cs:      Fixes based on the status web).
	* CharacterRange.cs: Implemented the missing Lenth property.

svn path=/trunk/mcs/; revision=7547
2002-09-17 02:15:18 +00:00
Adam Treat 74467c031a * Update on the mono documentation tools.
svn path=/trunk/mono/; revision=7546
2002-09-17 02:10:46 +00:00
Miguel de Icaza 3eeddbd69d Add makefile.gnu
svn path=/trunk/mcs/; revision=7545
2002-09-17 01:59:21 +00:00
Miguel de Icaza 3b8e6c5823 Add Sergey Panov's ILASM to the build, waiting for an update
svn path=/trunk/mcs/; revision=7544
2002-09-17 01:44:02 +00:00
Miguel de Icaza db76d32644 Add Mono.PEToolkit to the build
svn path=/trunk/mcs/; revision=7543
2002-09-17 01:19:47 +00:00
Miguel de Icaza 9b1aad2b6f Add Sergey Chaban's Mono.PEToolkit
svn path=/trunk/mcs/; revision=7542
2002-09-17 01:18:57 +00:00
Adam Treat 501655c80d * Images for MonoDoc
svn path=/trunk/mcs/; revision=7541
2002-09-17 01:02:37 +00:00
Adam Treat be956b47ec * Hurray! The mono documentation editor :-)
svn path=/trunk/mcs/; revision=7540
2002-09-17 01:01:51 +00:00
Miguel de Icaza 6407333030 Remove debugging message
svn path=/trunk/mcs/; revision=7539
2002-09-17 01:00:37 +00:00
Adam Treat ffb41f4845 * This is the tool used to generate the Master.xml files on Windows
svn path=/trunk/mcs/; revision=7538
2002-09-17 01:00:28 +00:00
Miguel de Icaza 25f808006a 2002-09-16 Miguel de Icaza <[email protected]>
* ecore.cs (FindMostSpecificSource): Use an Expression argument
	instead of a Type, because we might be handed over a Literal which
	gets a few more implicit conversions that plain types do not.  So
	this information was being lost.

	Also, we drop the temporary type-holder expression when not
	required.

svn path=/trunk/mcs/; revision=7537
2002-09-17 01:00:02 +00:00
Adam Treat 16e839a58d * This is/will be the shared lib for MonoDoc
svn path=/trunk/mcs/; revision=7536
2002-09-17 00:59:18 +00:00
Adam Treat c9d6bbeb43 * Initial setup for MonoDoc
svn path=/trunk/mcs/; revision=7535
2002-09-17 00:57:08 +00:00
Adam Treat 1e60974b30 * More cleanup.
svn path=/trunk/mcs/; revision=7534
2002-09-17 00:52:28 +00:00
Adam Treat 0bc22702d7 * More cleanup
svn path=/trunk/mcs/; revision=7533
2002-09-17 00:44:36 +00:00
Adam Treat b5cd8474f8 * More cleaning up.
svn path=/trunk/mcs/; revision=7532
2002-09-17 00:42:31 +00:00
Adam Treat c50d7b5903 * Removed John's tools. We are using a different method.
svn path=/trunk/mcs/; revision=7531
2002-09-17 00:36:05 +00:00
Miguel de Icaza 2d9580e265 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Don't check the base class if
	this is an explicit interface implementation.

svn path=/trunk/mcs/; revision=7530
2002-09-17 00:29:10 +00:00
Miguel de Icaza 685ae9720b 2002-09-16 Miguel de Icaza <[email protected]>
* TextWriter.cs (Null): The Null field should be an instance of a
	TextWriter class that does nothing, so it is an instance of the
	NullTextWriter class.

svn path=/trunk/mcs/; revision=7529
2002-09-16 23:45:37 +00:00
Martin Baulig f6d17c09aa 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Don't check the base class if
	this is an explicit interface implementation.

svn path=/trunk/mcs/; revision=7528
2002-09-16 22:59:40 +00:00
Martin Baulig 59a19aba9a 2002-09-17 Martin Baulig <[email protected]>
* test-148.cs: Added testcase for base indexers.

svn path=/trunk/mcs/; revision=7527
2002-09-16 22:14:48 +00:00
Martin Baulig 6914d4218b 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Make this work for indexers with
	different `IndexerName' attributes.

	* expression.cs (BaseIndexerAccess): Rewrote this class to use IndexerAccess.
	(IndexerAccess): Added special protected ctor for BaseIndexerAccess and
	virtual CommonResolve().

svn path=/trunk/mcs/; revision=7526
2002-09-16 22:13:52 +00:00
Chris Toshok 9749a97dc5 initial import
svn path=/trunk/mcs/; revision=7525
2002-09-16 21:26:14 +00:00
Miguel de Icaza 132cd42b52 Small temporary fix, Lupus will fix right
svn path=/trunk/mono/; revision=7524
2002-09-16 21:08:47 +00:00
Miguel de Icaza 2bfd7fce53 2002-09-16 Miguel de Icaza <[email protected]>
* SocketFlags.cs: Add missing enumeration.

	* UdpClient.cs: Make Dispose private.

svn path=/trunk/mcs/; revision=7523
2002-09-16 19:31:26 +00:00
Miguel de Icaza 1fb1efbead 2002-09-16 Miguel de Icaza <[email protected]>
* Uri.cs: Implemented a few of the protected methods.

svn path=/trunk/mcs/; revision=7522
2002-09-16 19:25:22 +00:00
Miguel de Icaza 52dfba4436 Add newlines
svn path=/trunk/mono/; revision=7521
2002-09-16 18:54:28 +00:00
Miguel de Icaza 392d8a86c0 2002-09-16 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.Resolve): Indexers are just like variables
	or PropertyAccesses.

svn path=/trunk/mcs/; revision=7520
2002-09-16 18:46:48 +00:00
Miguel de Icaza a1af8aab94 Another place where we did not track correctly the line
svn path=/trunk/mcs/; revision=7519
2002-09-16 18:38:07 +00:00
Paolo Molaro d44b07c77a Mon Sep 16 18:57:13 CEST 2002 Paolo Molaro <[email protected]>
* monosn.c, Makefile.am: added strong name utility.
	* reflection.h, reflection.c: implemented delayed signing,
	locale, version and hash id assembly attributes.

svn path=/trunk/mono/; revision=7515
2002-09-16 17:07:44 +00:00
Paolo Molaro ec10d849ad Mon Sep 16 19:02:58 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.c: special case some custom attributes.

svn path=/trunk/mcs/; revision=7514
2002-09-16 17:07:27 +00:00
Paolo Molaro 1328a6f481 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <[email protected]>
* main.c, get.c, dump.c: updates for changes in libmetadata.

svn path=/trunk/mono/; revision=7513
2002-09-16 16:57:36 +00:00
Paolo Molaro 3df5349721 Mon Sep 16 18:51:47 CEST 2002 Paolo Molaro <[email protected]>
* loader.c, metadata.c: load param attributes in signatures.

svn path=/trunk/mono/; revision=7512
2002-09-16 16:57:21 +00:00
Miguel de Icaza 5d9454bbbd 2002-09-16 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (consume_string): Track line numbers and columns
	inside quoted strings, we were not doing this before.

svn path=/trunk/mcs/; revision=7510
2002-09-16 15:37:20 +00:00
Martin Baulig aa086e723d Make this compile.
svn path=/trunk/mcs/; revision=7509
2002-09-16 14:57:47 +00:00
Gaurav Vaish 4c4187ac70 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Damn those typo errors.

svn path=/trunk/mcs/; revision=7505
2002-09-16 13:03:27 +00:00
Gaurav Vaish 18bcfe421b 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build  : Excludes the System.Web.UI.Design.WebControls namespace

svn path=/trunk/mcs/; revision=7504
2002-09-16 12:58:31 +00:00
Gaurav Vaish 01e83c57f2 2002-09-16 Gaurav Vaish <[email protected]>
* .cvsignore   : Now ignores more files

svn path=/trunk/mcs/; revision=7503
2002-09-16 12:56:49 +00:00
Gaurav Vaish 115a1bc919 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build  : Project name is "System.Design"

svn path=/trunk/mcs/; revision=7502
2002-09-16 12:47:59 +00:00
Gaurav Vaish e8824ac3e4 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Completed.

svn path=/trunk/mcs/; revision=7501
2002-09-16 12:46:47 +00:00
Gaurav Vaish ca3c45f076 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build : Added the build file

svn path=/trunk/mcs/; revision=7500
2002-09-16 12:44:46 +00:00
Gaurav Vaish f2bce6f4ce 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Initial implementation.
* TODOAttribute.cs        : The TODO-Attribute class.
* TODO                    : Added file
* ChangeLog               : Added file

svn path=/trunk/mcs/; revision=7499
2002-09-16 12:25:16 +00:00
Martin Baulig e3a5c81cda 2002-09-16 Martin Baulig <[email protected]>
* ecore.cs (MethodGroupExpr.DoResolve): If we have an instance expression,
	resolve it.  This is needed for the definite assignment check of the
	instance expression, fixes bug #29846.
	(PropertyExpr.DoResolve, EventExpr.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=7498
2002-09-16 11:55:55 +00:00
Gaurav Vaish 5b96bba155 2002-09-16 Gaurav Vaish <[email protected]>
* System.Web.UI.Design.WebControls : Added directory

svn path=/trunk/mcs/; revision=7497
2002-09-16 11:37:33 +00:00
Martin Baulig 36cbf13e9b 2002-09-16 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added string table with all method names.

svn path=/trunk/mono/; revision=7495
2002-09-16 11:18:26 +00:00
Martin Baulig 2ef5ab765d 2002-09-16 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 20.

svn path=/trunk/mcs/; revision=7494
2002-09-16 11:16:30 +00:00
John Sohn 1d5f157767 * Control.cs:
* ScrollableControl.cs
        * Form.cs: added Win32 implementation to more methods and properties
        * MessageBox.cs: fixed typo
        * makefile: now using pkg-config for including and linking glib

svn path=/trunk/mcs/; revision=7492
2002-09-16 06:09:09 +00:00
Nick Drochak b358c5c6ba 2002-09-16 Nick Drochak <[email protected]>
* MemoryStream.cs (Close): Don't throw an exception if the stream
	is already closed.

svn path=/trunk/mcs/; revision=7491
2002-09-16 04:38:41 +00:00
Nick Drochak 826216fc0a 2002-09-16 Nick Drochak <[email protected]>
* PrivateFontCollection.cs: Fix build error.  Cannot put ComVisible on
	constructors.

svn path=/trunk/mcs/; revision=7490
2002-09-16 04:11:03 +00:00
Nick Drochak 999e715866 2002-09-16 Nick Drochak <[email protected]>
* parameter.cs: Fix compile error.  Cannot reference static member
	from an instance object.  Is this an mcs bug?

svn path=/trunk/mcs/; revision=7489
2002-09-16 04:00:24 +00:00
Johannes Roith eba68d5a04 use correct EventHandlers
svn path=/trunk/mcs/; revision=7488
2002-09-15 22:04:06 +00:00
Johannes Roith a7586e9345 throw NotImplemented Exeption()
svn path=/trunk/mcs/; revision=7487
2002-09-15 21:36:21 +00:00
Johannes Roith 8099daa3f3 add TODOAttribute.cs
svn path=/trunk/mcs/; revision=7486
2002-09-15 21:34:40 +00:00
Johannes Roith 2569eb1b80 small fix.
svn path=/trunk/mcs/; revision=7480
2002-09-15 19:20:46 +00:00
Duncan Mak d1eb94eb67 2002-09-15 Duncan Mak <[email protected]>
* FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
	constructor.

svn path=/trunk/mcs/; revision=7479
2002-09-15 18:46:41 +00:00
Andrew Birkett d554416afa 2002-09-15 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Added support for CBC-mode, PKCS7/Zero padding.
	* SymmetricAlgorithm.cs: IV size must match block size, not key size.
	  Key property now sets KeySizeValue correctly in bits.

svn path=/trunk/mcs/; revision=7477
2002-09-15 17:48:42 +00:00
Johannes Roith 8cfefa5129 initial import
svn path=/trunk/mcs/; revision=7476
2002-09-15 16:17:22 +00:00
Andrew Birkett 9819ad6367 2002-09-15 Andrew Birkett <[email protected]>
* man/mcs.1: --probe is now --expect-error.

svn path=/trunk/mono/; revision=7475
2002-09-15 16:13:31 +00:00
Miguel de Icaza e148821cdd 2002-09-15 Miguel de Icaza <[email protected]>
* FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
	Flush calls fsync().

	The API docs show no explicit mention that Flush() should even do
	an fsync, I am thinking that we should drop that from the
	runtime.

This significantly improves the thumbnail creation in mPhoto

svn path=/trunk/mcs/; revision=7473
2002-09-15 06:28:54 +00:00
Gonzalo Paniagua Javier 3fcb6699a2 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: line and position begin with 1.

svn path=/trunk/mcs/; revision=7472
2002-09-15 03:43:45 +00:00
Miguel de Icaza d45d3ca5cd Spelling fixes
svn path=/trunk/mono/; revision=7468
2002-09-14 20:32:36 +00:00
Miguel de Icaza ec9cd9342d Update Winforms information
svn path=/trunk/mono/; revision=7467
2002-09-14 20:15:29 +00:00
Martin Baulig f77e88e224 2002-09-14 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Don't add an interface
	multiple times.  Fixes bug #30295, added test-166.cs.

svn path=/trunk/mcs/; revision=7464
2002-09-14 16:57:29 +00:00
Martin Baulig 2e6da6116b 2002-09-14 Martin Baulig <[email protected]>
* test-166.cs: New test.

svn path=/trunk/mcs/; revision=7463
2002-09-14 16:53:16 +00:00
Martin Baulig 7ee74a2c67 2002-09-14 Martin Baulig <[email protected]>
* verify-4.cs: Added testcase from bug #29857.

svn path=/trunk/mcs/; revision=7462
2002-09-14 16:08:48 +00:00
Martin Baulig 5f2723750f 2002-09-14 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Don't emit unreachable code.
	(Switch.SimpleSwitchEmit, Switch.TableSwitchEmit): Check for missing
	`break' statements.
	(Goto.Emit, Continue.Emit): Set ec.Breaks = true.

svn path=/trunk/mcs/; revision=7461
2002-09-14 15:31:44 +00:00
Piers Haken 901e27abde 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable string() tests.

svn path=/trunk/mcs/; revision=7460
2002-09-14 14:24:44 +00:00
Piers Haken 096cca20dc 2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
		use $(topdir)
		build nunit into $(topdir)/class/lib

svn path=/trunk/mcs/; revision=7459
2002-09-14 14:14:40 +00:00
Piers Haken 94280409f0 2003-09-14 Piers Haken <[email protected]>
* PrivateFontCollection.cs: import interop for ComVisible attribute

svn path=/trunk/mcs/; revision=7458
2002-09-14 14:07:54 +00:00
Martin Baulig ef71ae0b4c 2002-09-14 Martin Baulig <[email protected]>
* parameter.cs (Parameter.Attributes): Make this work if Modifier.ISBYREF
	is set.

svn path=/trunk/mcs/; revision=7457
2002-09-14 13:19:57 +00:00
Martin Baulig e4db77f4fb 2002-09-14 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): This must return false
	if `type == parent' since in this case `type.IsSubclassOf (parent)' will
	be false on the ms runtime.

svn path=/trunk/mcs/; revision=7456
2002-09-14 12:02:43 +00:00
Martin Baulig b50d9debff 2002-09-12 Martin Baulig <[email protected]>
* test-40.cs: Removed the syntax errors from this test.

svn path=/trunk/mcs/; revision=7455
2002-09-14 11:47:43 +00:00
Martin Baulig e95210cc26 2002-09-14 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs, IMonoSymbolWriter.cs, MonoSymbolTableWriter.cs:
	Make all classes and interfaces which don't need to be public internal.

svn path=/trunk/mcs/; revision=7454
2002-09-14 11:37:57 +00:00
Martin Baulig 7a50edd0f8 Ooops, make this build.
svn path=/trunk/mcs/; revision=7450
2002-09-14 00:27:48 +00:00
Martin Baulig 73ef4bfacc 2002-09-14 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFile): Added method range table for
	fast method lookup.

svn path=/trunk/mono/; revision=7449
2002-09-14 00:10:54 +00:00
Martin Baulig 2db249b6c6 2002-09-11 Martin Baulig <[email protected]>
* gc.c: Call GC_unregister_disappearing_link() on all links when
	finalizing them, this is necessary to aviod a crash in boehm's
	finalize handler.

svn path=/trunk/mono/; revision=7448
2002-09-14 00:06:40 +00:00
Martin Baulig f0a3f6ff0c 2002-09-14 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Use only CLS-compliant types here, bumped version
	number to 19.

	* MonoSymbolTableReader.cs: Removed, this is now in the debugger.

svn path=/trunk/mcs/; revision=7447
2002-09-14 00:05:28 +00:00
Rafael Teixeira dc405bc445 ArgumentProcessorAttribute added
svn path=/trunk/mcs/; revision=7445
2002-09-13 23:08:32 +00:00
Rafael Teixeira 432d688ab2 2002-08-31 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7444
2002-09-13 23:05:34 +00:00
Gonzalo Paniagua Javier 56e0f5c928 Added new stub
svn path=/trunk/mcs/; revision=7443
2002-09-13 21:27:51 +00:00
Gonzalo Paniagua Javier 0bfa6eba80 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* CodeIdentifiers.cs:
	* XmlSchemaExporter.cs:
	* XmlSchemaImporter.cs:
	* XmlSchemas.cs:
	* XmlSerializationWriteCallback.cs:
	* XmlSerializationWriter.cs:
	* XmlSerializer.cs:
	* XmlSerializerNamespaces.cs: some class status based fixed and
	implemented a couple of methods.

svn path=/trunk/mcs/; revision=7442
2002-09-13 21:15:11 +00:00
Gonzalo Paniagua Javier 8d6c1867c0 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* Parser.cs: commented out non-existent namespace (it compiles fine
	with mcs because of a bug that is already on bugzilla).

svn path=/trunk/mcs/; revision=7441
2002-09-13 20:41:38 +00:00
Gonzalo Paniagua Javier e3f4037161 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* XmlException.cs: added a new internal constructor for IXmlLineInfo
	and output line and position info in Message.

	* XmlReader.cs: implemented missing bits.

svn path=/trunk/mcs/; revision=7440
2002-09-13 20:39:10 +00:00
Gonzalo Paniagua Javier e53b062a80 removed Sample.cs
svn path=/trunk/mcs/; revision=7439
2002-09-13 19:30:25 +00:00
Dennis Hayes d5725f2ff1 2002-09-13 Dennis Hayes ([email protected])
* checked in for Everaldo Canuto [email protected]

* FontCollection.cs
* GenericFontFamilies.cs
* HotkeyPrefix.cs
* InstalledFontCollection.cs
* PrivateFontCollection.cs
* TextRenderingHint.cs

svn path=/trunk/mcs/; revision=7438
2002-09-13 17:56:51 +00:00
Dennis Hayes db16975b2c 2002-9-13 Dennis Hayes ([email protected])
* sample.cs
* removed personal template that should not have been checked in

svn path=/trunk/mcs/; revision=7437
2002-09-13 17:49:09 +00:00
Dennis Hayes 276270710a 2002-9-13 DennisHayes <[email protected]>
* PageSettings.cs 
* PaperSize.cs 
* PaperSource.cs 
* PrintControler.cs 
* PrintDocument.cs 
* PrintingPermission.cs 
* PrintPageEventHandler.cs 
* QueryPageSettingEventArgs.cs 
* QueryPageSettingsEventHandler.cs 
* added todos back
* minor bug fixes

svn path=/trunk/mcs/; revision=7436
2002-09-13 17:43:58 +00:00
Dennis Hayes 2176ccd445 2002-9-2 DennisHayes <[email protected]>
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back

svn path=/trunk/mcs/; revision=7435
2002-09-13 17:39:47 +00:00
Paolo Molaro 708f7135e8 Fri Sep 13 16:04:54 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: record the public key token of referenced assemblies.

svn path=/trunk/mono/; revision=7434
2002-09-13 14:07:05 +00:00
Paolo Molaro fc844c6c01 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <[email protected]>
* mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
	to get the public key token from a public key.

svn path=/trunk/mono/; revision=7433
2002-09-13 13:58:22 +00:00
Paolo Molaro a52c79cb41 Fri Sep 13 15:41:40 CEST 2002 Paolo Molaro <[email protected]>
* image.c, image.h: added functions to get the strong name and the
	public key of an assembly.
	* pedump.c: use them.

svn path=/trunk/mono/; revision=7432
2002-09-13 13:44:25 +00:00
Paolo Molaro 5a58a1b09c Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <[email protected]>
* main.c: dump public key.
	* get.c, util.h, util.c: prettyfy data dumps.

svn path=/trunk/mono/; revision=7431
2002-09-13 13:42:07 +00:00
Miguel de Icaza 32bd01ec10 Flush
svn path=/trunk/mcs/; revision=7429
2002-09-13 03:49:36 +00:00
Piers Haken b407458d97 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable string() tests.

svn path=/trunk/mcs/; revision=7428
2002-09-13 03:32:21 +00:00
Piers Haken 474fe75047 2002-09-12 Piers Haken <[email protected]>
* Tokenizer.cs: fix parsing numbers that start with '.'
	* DefaultContext.cs: use MS-compatible formatting of doubles

svn path=/trunk/mcs/; revision=7427
2002-09-13 03:17:22 +00:00
Piers Haken a49dae415f 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable last() & count() tests.

svn path=/trunk/mcs/; revision=7426
2002-09-13 02:40:26 +00:00
Piers Haken 0d3a9e6aaf 2002-09-12 Piers Haken <[email protected]>
* Iterator.cs: added NullIterator to handle unspecified contexts
	* XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
	* XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators

svn path=/trunk/mcs/; revision=7424
2002-09-13 02:35:47 +00:00
Piers Haken 234ede86c6 2002-09-12 Piers Haken <[email protected]>
* XmlDocumentNavigator.cs: implement MoveToId()

svn path=/trunk/mcs/; revision=7423
2002-09-13 02:15:40 +00:00
Piers Haken 643a34dd9a 2002-09-12 Piers Haken <[email protected]>
* Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
	* Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
	* DefaultContext.cs: fix id() return type.

svn path=/trunk/mcs/; revision=7422
2002-09-13 02:13:11 +00:00
Adam Treat 62f60f8731 * The System.dll Master.xml file. For use with MonoDoc.
svn path=/trunk/mcs/; revision=7421
2002-09-13 02:04:20 +00:00
Adam Treat 1b0029d99e * The mscorlib Master.xml file. This will be used by the MonoDoc GUI
svn path=/trunk/mcs/; revision=7420
2002-09-13 02:02:11 +00:00
Gonzalo Paniagua Javier f03736cdec 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* ColorConverter.cs: readded MonoTODOs and implemented a couple of
	methods.

svn path=/trunk/mcs/; revision=7419
2002-09-12 23:27:52 +00:00
Martin Baulig 2ff1173034 2002-09-13 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Include the member name in
	the CS0038 error message.

svn path=/trunk/mcs/; revision=7418
2002-09-12 23:19:26 +00:00
Martin Baulig 59dc9ab7df 2002-09-12 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.DoConstantNumericPromotions): Check whether an
	implicit conversion can be done between enum types.

	* enum.cs (Enum.LookupEnumValue): If the value is an EnumConstant,
	check whether an implicit conversion to the current enum's UnderlyingType
	exists and report an error if not.

	* codegen.cs (CodeGen.Init): Delete the symbol file when compiling
	without debugging support.

	* delegate.cs (Delegate.CloseDelegate): Removed, use CloseType instead.
	Fixes bug #30235.  Thanks to Ricardo Fern�ndez Pascual.

svn path=/trunk/mcs/; revision=7417
2002-09-12 22:58:01 +00:00
Gonzalo Paniagua Javier 17813fc84d 2002-09-12 Gonzalo Paniagua Javier <[email protected]>
* Char.cs: implemented ToString (char)
	* IntegerFormatter.cs: made it internal.

svn path=/trunk/mcs/; revision=7416
2002-09-12 22:52:36 +00:00
Gonzalo Paniagua Javier cc1d059ed0 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.Drawing.Imaging/MetafileType.cs: implemented missing enum.

svn path=/trunk/mcs/; revision=7415
2002-09-12 22:47:25 +00:00
Miguel de Icaza 6d7b54637f Removed strange character
svn path=/trunk/mcs/; revision=7414
2002-09-12 21:40:14 +00:00
Miguel de Icaza a9de18eec9 2002-09-12 Miguel de Icaza <[email protected]>
* expression.cs (CheckedExpr, UnCheckedExpr): If we have a
	constant inside, return it.

svn path=/trunk/mcs/; revision=7413
2002-09-12 21:39:43 +00:00
Dennis Hayes cda70e3aea 2002-9-2 DennisHayes <[email protected]>
* Duplex.cs
	* InvalidPrinterExecption.cs
	* Margins.cs
	* MarginsConverter.cs
	* PageSettings.cs
	* PaperKind.cs
	* PaperSize.cs
	* PaperSource.cs
	* PaperSourceCollection.cs
	* PaperSourceKind.cs
	* PaperUnitConvert.cs
	* PreviewPageInfo.cs
	* PreviewPrintControler.cs
	* PrintControler.cs
	* PrintDocument.cs
	* PrinterResolution.cs
	* PrinterResolutionKind.cs
	* PrinterSettings.cs
	* PrinterUnit.cs
	* PrintEventArgs.cs
	* PrintEventHandler.cs
	* PrintingPermission.cs
	* PrintingPermissionAttribute.cs
	* PrintingPermissionLevel.cs
	* PrintPageEventArgs.cs
	* PrintPageEventHandler.cs
	* PrintRange.cs
	* QueryPageSettingEventArgs.cs
	* QueryPageSettingsEventHandler.cs
	* StandardPrintController.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7410
2002-09-12 18:47:50 +00:00
Dennis Hayes e2ec2cde28 2002-9-2 DennisHayes <[email protected]>
* AdjustableArrowCap.cs
	* Blend.cs
	* ColorBlend.cs
	* CombineMode.cs
	* CompostingMode.cs
	* CompostingQuality.cs
	* CoordinateSpace.cs
	* CustomLineCap.cs
	* DashCap.cs
	* DashStyle.cs
	* FillMode.cs
	* FlushIntention.cs
	* GraphicsContainer.cs
	* GraphicsPathIterator.cs
	* GraphicsState.cs
	* HatchBrush.cs
	* HatchStyle.cs
	* InterpolationMode.cs
	* LinearGradientBrush.cs
	* LinearGradientMode.cs
	* LineCap.cs
	* LineJoin.cs
	* MatrixOrder.cs
	* PathData.cs
	* PathGradientBrush.cs
	* PathPointType.cs
	* PenAligment.cs
	* PenType.cs
	* PixelOffsetMode.cs
	* QualityMode.cs
	* RegionData.cs
	* SmoothingMode.cs
	* WarpMode.cs
	* WrapMode.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7409
2002-09-12 18:41:33 +00:00
Dennis Hayes 057909bc36 2002-9-2 DennisHayes <[email protected]>
* FontConverter.cs
	* FontFamily.cs
	* Icon.cs
	* IconConverter.cs
	* ImageAnimator.cs
	* ImageConverter.cs
	* ImageFormatConverter.cs
	* PointConverter.cs
	* RectangleConverter.cs
	* Sample.cs
	* SizeConverter.cs
	* SolidBrush.cs
	* StringFormat.cs
	* SystemBrushes.cs
	* SystemIcons.cs
	* SystemPens.cs
	* TextureBrush.cs
	* ToolboxBitmapAttribute.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7408
2002-09-12 18:35:49 +00:00
Dick Porter 93aff8c4da 2002-09-12 Dick Porter <[email protected]>
* unix.args: Add System.Globalization.SortKey,
	System.Globalization.StringInfo and
	System.Globalizaton.TextElementEnumerator

2002-09-12  Dick Porter  <[email protected]>

	* ThaiBuddhistCalendar.cs:
	* TextInfo.cs:
	* TaiwanCalendar.cs:
	* RegionInfo.cs:
	* KoreanCalendar.cs:
	* JulianCalendar.cs:
	* JapaneseCalendar.cs:
	* HijriCalendar.cs:
	* HebrewCalendar.cs:
	* GregorianCalendar.cs:
	* CultureInfo.cs:
	* CompareInfo.cs: Stub out missing methods

svn path=/trunk/mcs/; revision=7407
2002-09-12 18:34:38 +00:00
Dennis Hayes 5f79974ab1 2002-9-2 DennisHayes <[email protected]>
* checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
	* BitmapData.cs
	* ColorAdjustType.cs
	* ColorChannelFlag.cs
	* ColorMap.cs
	* ColorMapType.cs
	* ColorMatrix.cs
	* ColorMatrixFlag.cs
	* ColorMode.cs
	* EmfPlusRecordType.cs
	* EmfType.cs
	* EncoderParameterValueType.cs
	* EncoderValue.cs
	* ImageCodecFlags.cs
	* ImageCodecInfo.cs
	* ImageFlags.cs
	* ImageFormat.cs
	* ImageLockMode.cs
	* MetafileFrameUnit.cs
	* MetafileHeader.cs
	* MetaHeader.cs
	* PaletteFlags.cs
	* PixelFormat.cs
	* PlayRecordCallback.cs
	* PropertyItem.cs
	* WmfPlaceableFileHeader.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7406
2002-09-12 18:30:13 +00:00
Dennis Hayes 0f54d4b16f 2002-9-2 DennisHayes <[email protected]>
* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7405
2002-09-12 18:24:39 +00:00
Dennis Hayes 83b8fc6048 2002-9-2 DennisHayes <[email protected]>
* Matrix.cs
	* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7404
2002-09-12 18:20:57 +00:00
Dennis Hayes cc40965131 2002-9-2 DennisHayes <[email protected]>
* Bitmap.cs
* Color.cs
* ColorConverter.cs
* Image.cs
* Pen.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7403
2002-09-12 18:17:15 +00:00
Johannes Roith f973f337e3 add mono setup
svn path=/trunk/mono/; revision=7402
2002-09-12 17:01:44 +00:00
Nick Drochak cf42c5be87 2002-09-13 Nick Drochak <[email protected]>
* EnumTest.cs: Add an extreme value test for format.

svn path=/trunk/mcs/; revision=7400
2002-09-12 16:20:08 +00:00
Nick Drochak afdd7b1d16 2002-09-13 Nick Drochak <[email protected]>
* Enum.cs (Format): handle the "d" format for both signed and unsigned
	underlying types.

svn path=/trunk/mcs/; revision=7399
2002-09-12 16:19:11 +00:00
Martin Baulig 0239aa7828 2002-09-12 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): New method.

	* ecore.cs (IMemberExpr.DeclaringType): New property.
	(SimpleName.SimpleNameResolve): Check whether we're accessing a
	nonstatic member of an outer type (CS0038).

svn path=/trunk/mcs/; revision=7398
2002-09-12 16:13:21 +00:00
Martin Baulig d01a931d9f 2002-09-12 Martin Baulig <[email protected]>
* cs0038.cs: New test.

svn path=/trunk/mcs/; revision=7397
2002-09-12 15:45:40 +00:00
Dick Porter 5f1b4c67f5 2002-09-12 Dick Porter <[email protected]>
* unix.args: Add System.ArgIterator and System.TypedReference

	* corlib.build: Adding DecimalConstantAttribute to Decimal (which
	corcompare showed as missing) causes a SecurityException in
	corcompare, so exclude Decimal from the corlib_cmp build.

2002-09-12  Dick Porter  <[email protected]>

	* UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
	attribute, as there doesn't appear to be any struct
	layout-depending code here (and corcompare says it should be
	LayoutKind.Sequential)

	* Decimal.cs: Stub out missing methods, add
	[DecimalConstantAttribute] to the constant fields (as shown by
	corcompare).

	* LocalDataStoreSlot.cs:
	* Environment.cs:
	* Char.cs:
	* Array.cs: Stub out missing methods.

	* TypedReference.cs:
	* ArgIterator.cs: Stub out

	* AppDomainSetup.cs:
	* AppDomain.cs: Stub out missing methods, add missing
	ClassInterface(ClassInterfaceType.None) attribute.

2002-09-12  Dick Porter  <[email protected]>

	* TypeBuilder.cs: Say _which_ Type has already been created

svn path=/trunk/mcs/; revision=7395
2002-09-12 15:38:21 +00:00
Gonzalo Paniagua Javier fdcb013b16 2002-09-12 Gonzalo Paniagua Javier <[email protected]>
* list: added 2 new files.
	* System.Web.UI.WebControls/DataGrid.cs: fixed compilation

svn path=/trunk/mcs/; revision=7391
2002-09-12 13:07:39 +00:00
Gaurav Vaish 021c2720cf 2002-09-12 Gaurav Vaish <[email protected]>
* PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
* DataGrid.cs          - CreateControlHierarchy(bool)
                            : working towards completion.
    	                       - ResolveDataSource(object, string)
       	                            : stubbed new method
    	                       - CreateItem(....)
       	                            : stubbed new method
    	                Well. It's almost done.
* DataGridTableInternal.cs
                       - Added new internal class.

svn path=/trunk/mcs/; revision=7390
2002-09-12 12:38:36 +00:00
Dietmar Maurer ba88a15e12 array code cleanup
svn path=/trunk/mono/; revision=7389
2002-09-12 12:27:46 +00:00
Dietmar Maurer a03ff8d5ba 2002-09-12 Dietmar Maurer <[email protected]>
* exception.c: added patch from Julio Merno to fix bug #30048

svn path=/trunk/mono/; revision=7384
2002-09-12 10:58:56 +00:00
Dietmar Maurer 4301d72d8c 2002-09-12 Dietmar Maurer <[email protected]>
* marshal.c (emit_str_to_ptr_conv): support marshalling of delegates.

svn path=/trunk/mono/; revision=7383
2002-09-12 10:50:09 +00:00
Dietmar Maurer 03317f7a4c fix for bug 29365
svn path=/trunk/mono/; revision=7382
2002-09-12 08:48:57 +00:00
Andrew Birkett 77f0cd8d73 2002-09-11 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
	* Rijndael.cs: Set valid key/block sizes.
	* SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
	  derived classes.  Fixes to key sizes so they are measured in bits.
	* KeySizes.cs: Updated comments to emphasize that sizes are in bits.

svn path=/trunk/mcs/; revision=7381
2002-09-12 08:15:30 +00:00
Kral Ferch c57901837e more xpath core function tests.
svn path=/trunk/mcs/; revision=7379
2002-09-12 05:16:17 +00:00
Miguel de Icaza 2cb13bd9a8 2002-09-12 Miguel de Icaza <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Added
	MONO_TYPE_BOOLEAN

svn path=/trunk/mono/; revision=7378
2002-09-12 04:39:32 +00:00
Miguel de Icaza b44bec6c3f 2002-09-11 Miguel de Icaza <[email protected]>
* driver.cs: Activate the using-error detector at warning level
	4 (at least for MS-compatible APIs).

	* namespace.cs (VerifyUsing): Small buglett fix.

svn path=/trunk/mcs/; revision=7377
2002-09-12 03:10:18 +00:00
Miguel de Icaza 7837ad922c 2002-09-11 Miguel de Icaza <[email protected]>
* ModuleBuilder.cs (GetTypes): Implement.

svn path=/trunk/mcs/; revision=7376
2002-09-12 02:53:48 +00:00
Miguel de Icaza c594caf965 2002-09-11 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation): pass the container pointer.

	* interface.cs (GetMethods): Allow for recursive definition.  Long
	term, I would like to move every type to support recursive
	definitions, not the current ordering mechanism that we have right
	now.

	The situation is this: Attributes are handled before interfaces,
	so we can apply attributes to interfaces.  But some attributes
	implement interfaces, we will now handle the simple cases
	(recursive definitions will just get an error).

svn path=/trunk/mcs/; revision=7375
2002-09-12 02:11:42 +00:00
Kral Ferch 85cf5e87a3 Some tests for XPathNavigator.Evaluate()
svn path=/trunk/mcs/; revision=7372
2002-09-12 01:12:50 +00:00
Gonzalo Paniagua Javier ef94f0465d 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeDomProvider.cs:
	* IndentedTextWriter.cs: misc. fixes.

svn path=/trunk/mcs/; revision=7370
2002-09-11 23:40:37 +00:00
Gonzalo Paniagua Javier fe249c988a 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeBinaryOperatorType.cs:
	* CodeMemberEvent.cs:
	* CodeParameterDeclarationExpression.cs:
	* CodeTypeMember.cs:
	* CodeTypeReference.cs:
	* CodeTypeReferenceCollection.cs: misc. fixes

svn path=/trunk/mcs/; revision=7369
2002-09-11 23:40:11 +00:00
Miguel de Icaza b62468c7ec 2002-09-11 Miguel de Icaza <[email protected]>
* parameter.cs: Only invalidate types at the end if we fail to
	lookup all types.

svn path=/trunk/mcs/; revision=7368
2002-09-11 19:14:00 +00:00
Martin Baulig 2b48d1c45b 2002-09-11 Martin Baulig <[email protected]>
* gc.c: Call GC_unregister_disappearing_link() on all links when
	finalizing them, this is necessary to aviod a crash in boehm's
	finalize handler.

svn path=/trunk/mono/; revision=7367
2002-09-11 18:43:56 +00:00
Gonzalo Paniagua Javier cbe5c9f1d7 oops
svn path=/trunk/mcs/; revision=7365
2002-09-11 15:54:56 +00:00
Gonzalo Paniagua Javier 9848badf22 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* list: added new files.
	* System.Web.Compilation/AspElements.cs: added WebService directive.
	* System.Web.Compilation/WebServiceCompiler.cs: New file.
	* System.Web.UI/SimpleWebHandlerParser.cs: New file.
	* System.Web.UI/WebServiceParser.cs: New file.

svn path=/trunk/mcs/; revision=7364
2002-09-11 15:53:53 +00:00
Paolo Molaro 29b37ee691 Wed Sep 11 17:06:49 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: handle GetTarget for finalized objects spotted and fixed by
	[email protected].

svn path=/trunk/mono/; revision=7363
2002-09-11 15:11:24 +00:00
Nick Drochak c991b0d27d 2002-09-12 Nick Drochak <[email protected]>
* Double.cs (ToString): Throw exception when "X" format is passed in.

svn path=/trunk/mcs/; revision=7362
2002-09-11 15:10:32 +00:00
Dick Porter c77d9a071f 2002-09-11 Dick Porter <[email protected]>
* Mutex.cs:
	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
	the private field

	* WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
	method

svn path=/trunk/mcs/; revision=7361
2002-09-11 15:01:31 +00:00
Nick Drochak 0160dcc880 2002-09-11 Nick Drochak <[email protected]>
* DoubleTest.cs: Add test for bad format string passed to ToString().
	* Int64Test.cs: Re-enable broad range of test values.
	* MulticastDeletegateTest.cs: Re-enable test for correct order of
	delegate firing.

svn path=/trunk/mcs/; revision=7360
2002-09-11 14:49:30 +00:00
Paolo Molaro b88507b22a Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: implemented Module property.

svn path=/trunk/mcs/; revision=7359
2002-09-11 13:30:46 +00:00
Paolo Molaro 101bcbc576 Wed Sep 11 15:27:20 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: implemented MonoType::Module.
	* reflection.c, reflection.h: mono_module_get_object () from
	Tomi Pakarinen <[email protected]>.

svn path=/trunk/mono/; revision=7358
2002-09-11 13:30:05 +00:00
Paolo Molaro 1bc7a5c672 Compilation fix.
svn path=/trunk/mcs/; revision=7357
2002-09-11 11:11:27 +00:00
Paolo Molaro affee047b3 Wed Sep 11 12:53:28 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: ignore overridden methods in GetMethods ().
	Fix for FieldInfo::SetValue().
	* object.c: handle float/double in runtime invoke.

svn path=/trunk/mono/; revision=7356
2002-09-11 10:57:39 +00:00
Paolo Molaro cf3b279815 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs, Type.cs: implemented InvokeMember.


Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <[email protected]>

	* Binder.cs: more default binder implementation.
	* FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
	* MonoMethod.cs: use the binder in the Invoke () implementation.
	Implemented custom attributes methods and ToString for constructors.

svn path=/trunk/mcs/; revision=7355
2002-09-11 10:57:34 +00:00
Paolo Molaro 38435c8147 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <[email protected]>
* Delegate.cs: check the type passed to CreateDelegate is a Delegate
	type. Check the method signature matches.

svn path=/trunk/mcs/; revision=7353
2002-09-11 09:08:58 +00:00
Gonzalo Paniagua Javier 4c015b6312 2002-09-10 Gonzalo Paniagua Javier <[email protected]>
* FileTest.cs: don't leave AFile.txt open.

svn path=/trunk/mcs/; revision=7352
2002-09-10 14:00:43 +00:00
Paolo Molaro 5cff2490a6 Runtime invoke tests.
svn path=/trunk/mono/; revision=7351
2002-09-10 13:57:49 +00:00
Paolo Molaro ff0eb523ec Tue Sep 10 15:51:53 CEST 2002 Paolo Molaro <[email protected]>
* object.c: allow a constructor to be called again on an object.

svn path=/trunk/mono/; revision=7350
2002-09-10 13:53:48 +00:00
Paolo Molaro 02133437a9 Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <[email protected]>
* ConstructorBuilder.cs: added a field to hold the handle.

svn path=/trunk/mcs/; revision=7349
2002-09-10 10:18:18 +00:00
Paolo Molaro a1bf6e0ea7 Tue Sep 10 11:58:46 CEST 2002 Paolo Molaro <[email protected]>
* class.h, class.c: move field layout code to it's own function and
	export it. Get an interface id earlier. Move fields in MonoClass
	so they are more cache friendly and align the bitfields.
	* loader.c: temporary handle get_param_names() for a runtime method.
	* reflection.c, reflection.h: more code to handle runtime creation of
	types.

svn path=/trunk/mono/; revision=7348
2002-09-10 10:18:18 +00:00
Gonzalo Paniagua Javier 41681b5c8d 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied another patch from Shahms E. King
	([email protected]).

svn path=/trunk/mcs/; revision=7346
2002-09-09 23:15:01 +00:00
Miguel de Icaza 5ac4160881 2002-09-09 Miguel de Icaza <[email protected]>
* StreamWriter.cs: When no encoding is provided, create an
	encoding without markers, this is what MS does.

svn path=/trunk/mcs/; revision=7344
2002-09-09 21:50:52 +00:00
Miguel de Icaza 51853f78b0 Update errors
svn path=/trunk/mcs/; revision=7343
2002-09-09 21:46:41 +00:00
Martin Baulig b86562e6d7 Oooops.
svn path=/trunk/mcs/; revision=7342
2002-09-09 21:42:46 +00:00
Martin Baulig 5d84732a2a 2002-09-09 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.Emit): Also check for
	TypeManager.system_int_array_get_length so this'll also work when
	compiling corlib.  Fixes #30003.

svn path=/trunk/mcs/; revision=7339
2002-09-09 20:01:37 +00:00
Martin Baulig d2960a4b02 2002-09-09 Martin Baulig <[email protected]>
* expression.cs (ArrayCreation.MakeByteBlob): Added support for enums
	and throw an exception if we can't get the type's size.  Fixed #30040,
	added test-165.cs.

svn path=/trunk/mcs/; revision=7338
2002-09-09 19:13:14 +00:00
Martin Baulig b736b03814 2002-09-09 Martin Baulig <[email protected]>
* makefile: Reverted Ravi's `Update'.  When moving tests from
	TESTS_NOPASS to TEST_SOURCES, please make sure that they actually
	pass on both platforms and don't do it without a ChangeLog entry.

svn path=/trunk/mcs/; revision=7337
2002-09-09 19:11:19 +00:00
Martin Baulig 8c35777cb0 Added my two new tests.
svn path=/trunk/mcs/; revision=7336
2002-09-09 19:09:21 +00:00
Martin Baulig fe00426683 2002-09-09 Martin Baulig <[email protected]>
* test-165.cs: Added testcase for bug #30040.

svn path=/trunk/mcs/; revision=7335
2002-09-09 19:05:53 +00:00
Martin Baulig 28f233ce52 2002-09-09 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.DoResolve): Added check for static properies.

svn path=/trunk/mcs/; revision=7333
2002-09-09 18:33:01 +00:00
Paolo Molaro d893e4d96c Mon Sep 9 17:31:12 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: prepare for the real CreateType implementation.

svn path=/trunk/mcs/; revision=7331
2002-09-09 15:57:14 +00:00
Dick Porter 356f13e5b5 2002-09-09 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Simplify thread checks, by using canned rules for
	particular systems (based on the sleepycat db configure.in).
	Tested on linux/x86, freebsd and w32.  Solaris also added, but I
	don't have a solaris machine to try it on.

svn path=/trunk/mono/; revision=7330
2002-09-09 15:39:28 +00:00
Martin Baulig 08e8e1f3ad 2002-09-09 Martin Baulig <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): We need to use a special
	signature with the pinvoke field being set for the actual call.

svn path=/trunk/mono/; revision=7329
2002-09-09 14:45:17 +00:00
Dick Porter 4b4e6c118a Point at updated gimp-for-w32 files
svn path=/trunk/mono/; revision=7328
2002-09-09 12:08:58 +00:00
Martin Baulig b2f4a1cccb 2002-09-09 Martin Baulig <[email protected]>
* expression.cs (SizeOf.DoResolve): Sizeof is only allowed in unsafe
	context.  Fixes bug #30027.

	* delegate.cs (NewDelegate.Emit): Use OpCodes.Ldvirtftn for
	virtual functions.  Fixes bug #30043, added test-164.cs.

svn path=/trunk/mcs/; revision=7326
2002-09-09 09:41:54 +00:00
Dietmar Maurer 27dd4bbea0 2002-09-09 Dietmar Maurer <[email protected]>
* x86.brg (LDELEMA): use x86_lea

svn path=/trunk/mono/; revision=7325
2002-09-09 09:26:57 +00:00
Martin Baulig 9a4b3f5e01 2002-09-09 Martin Baulig <[email protected]>
* test-164.cs: Added testcase for virtual functions in delegate
	creating expressions (Bug #30043).

svn path=/trunk/mcs/; revision=7324
2002-09-09 09:11:46 +00:00
Ravi Pratap M ae14ed5b48 2002-09-08 Ravi Pratap <[email protected]>
* attribute.cs : Fix a small NullRef crash thanks to my stupidity.

svn path=/trunk/mcs/; revision=7323
2002-09-08 18:52:52 +00:00
Nick Drochak 4936a9cfdd 2002-09-08 Nick Drochak <[email protected]>
* DateTimeTest.cs: Disable test bug file it in bugzilla.

svn path=/trunk/mcs/; revision=7322
2002-09-08 14:21:55 +00:00
Martin Baulig 56837e12e2 So why the hell did someone commit this non-printable character ?
svn path=/trunk/mcs/; revision=7321
2002-09-08 13:58:37 +00:00
Nick Drochak 8b737a2b3b 2002-09-08 Nick Drochak <[email protected]>
* PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
	WINNT.

svn path=/trunk/mcs/; revision=7320
2002-09-08 13:31:55 +00:00
Martin Baulig 54b164923f Hardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
The runtime uses a guint64 type for this, so this'll always be 8 bytes.

svn path=/trunk/mcs/; revision=7319
2002-09-08 13:06:31 +00:00
Nick Drochak 5c254cb310 2002-09-08 Nick Drochak <[email protected]>
* driver.cs: Use an object to get the windows codepage since it's not a
	static property.

svn path=/trunk/mcs/; revision=7317
2002-09-08 12:42:23 +00:00
Miguel de Icaza 4a25a54d0d 2002-09-08 Miguel de Icaza <[email protected]>
* statement.cs (For.Emit): for infinite loops (test == null)
	return whether there is a break inside, not always "true".

svn path=/trunk/mcs/; revision=7315
2002-09-08 05:50:52 +00:00
Miguel de Icaza 40ea2dfb2d 2002-09-08 Miguel de Icaza <[email protected]>
* namespace.cs (UsingEntry): New struct to hold the name of the
	using definition, the location where it is defined, and whether it
	has been used in a successful type lookup.

	* rootcontext.cs (NamespaceLookup): Use UsingEntries instead of
	strings.

	* decl.cs: ditto.

svn path=/trunk/mcs/; revision=7314
2002-09-08 05:45:11 +00:00
Ravi Pratap M c4db22ae77 Update the cs0182 test to actually contain the error message too :-)
svn path=/trunk/mcs/; revision=7313
2002-09-08 05:06:36 +00:00
Ravi Pratap M 12ae4f82e7 2002-09-06 Ravi Pratap <[email protected]>
* attribute.cs : Fix incorrect code which relied on catching
	a NullReferenceException to detect a null being passed in
	where an object was expected.

svn path=/trunk/mcs/; revision=7312
2002-09-08 04:49:30 +00:00
Paolo Molaro 5011ad5bf8 Dum de dum, pass the value...
svn path=/trunk/mcs/; revision=7303
2002-09-07 09:13:42 +00:00
Paolo Molaro 8721448885 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <[email protected]>
* RuntimeMethodHandle.cs: implemented GetFunctionPointer().

svn path=/trunk/mcs/; revision=7302
2002-09-07 08:18:55 +00:00
Paolo Molaro acb3179a1c Sat Sep 7 10:12:19 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: removed some unused icalls. Start of map of glib charsets
	to corlib names. Implemented RuntimeMethod::GetFunctionPointer ().

svn path=/trunk/mono/; revision=7301
2002-09-07 08:17:03 +00:00
Miguel de Icaza 079a95a1e6 Distinguish general from specific correctly from my previous patch
svn path=/trunk/mcs/; revision=7300
2002-09-07 01:19:22 +00:00
Franklin Wise 5fda660239 Implemented GetHashCode for constraint classes. Added tests and continued
work on DataColumn

svn path=/trunk/mcs/; revision=7299
2002-09-07 01:09:22 +00:00
Miguel de Icaza c816fb79c4 2002-09-06 Miguel de Icaza <[email protected]>
* expression.cs (Cast): Simplified by using ResolveType instead of
	manually resolving.

	* statement.cs (Catch): Fix bug by using ResolveType.

svn path=/trunk/mcs/; revision=7298
2002-09-07 00:49:26 +00:00
Miguel de Icaza b5d4c0ea0b Document /codepage
svn path=/trunk/mono/; revision=7297
2002-09-07 00:17:40 +00:00
Miguel de Icaza a17af36749 2002-09-06 Miguel de Icaza <[email protected]>
* driver.cs: (CSCParseOption): Support the /codepage: option.

	Make default code page Latin-1

svn path=/trunk/mcs/; revision=7296
2002-09-07 00:17:26 +00:00
Miguel de Icaza 2eefff50b3 2002-09-06 Miguel de Icaza <[email protected]>
* Console.cs: Specify an encoder, otherwise we will get the UTF8
	encoder that by default emits the byte markers.

2002-09-06  Miguel de Icaza  <[email protected]>

	* StreamReader.cs: Implement detection of byte marks and skipping
	of byte marks at the beginning of the stream.

	(ReadToEnd): Use buffered read instead of char-by-char
	processing.

	Correct the default arguments for creating the StreamReader.

2002-09-06  Miguel de Icaza  <[email protected]>

	* Encoding.cs (UTF8, Unicode): Create with a preamble, that is
	what the Microsoft version does.

	(UnixConsoleEncoding): New internal method, used to get the
	encoding, in the future, this should pull the locale, map to
	charset and then code page.

svn path=/trunk/mcs/; revision=7295
2002-09-06 23:57:02 +00:00
Kral Ferch 8e511e9e31 Added XPathNavigatorMatchesTests.cs to the MonoMicro.Test project
svn path=/trunk/mcs/; revision=7294
2002-09-06 22:46:38 +00:00
Martin Baulig 54ac5974b2 2002-09-06 Martin Baulig <[email protected]>
* debug.c (debug_update_il_offsets): Fixed a memory corruption bug.
	If you were getting random crashes when using the JIT with debugging
	turned on, this fixes it.

svn path=/trunk/mono/; revision=7291
2002-09-06 20:21:50 +00:00
Ravi Pratap M a8dcc7f06d 2002-09-06 Ravi Pratap <[email protected]>
* expression.cs (BetterConversion): Special case for when we have
	a NullLiteral as the argument and we have to choose between string
	and object types - we choose string the way csc does.

	* attribute.cs (Attribute.Resolve): Catch the
	NullReferenceException and report error #182 since the Mono
	runtime no more has the bug and having this exception raised means
	we tried to select a constructor which takes an object and is
	passed a null.

svn path=/trunk/mcs/; revision=7290
2002-09-06 19:51:35 +00:00
Ravi Pratap M ae841349e3 More tests pass so move them to the regular test suite
svn path=/trunk/mcs/; revision=7289
2002-09-06 19:51:09 +00:00
Ravi Pratap M 9ed5c36cd3 Add new error that we catch
svn path=/trunk/mcs/; revision=7288
2002-09-06 19:46:58 +00:00
Ravi Pratap M 0441b0183a 2002-09-06 Ravi Pratap <[email protected]>
* test-163.cs : Add test to check we select string
	over object when we have a Null literal as the argument.

	* makefile : Update.

svn path=/trunk/mcs/; revision=7287
2002-09-06 19:34:24 +00:00
Paolo Molaro 785a7ef43b Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <[email protected]>
* Delegate.cs: look also for non-public methods until we have the
	security checks in place.

svn path=/trunk/mcs/; revision=7285
2002-09-06 18:16:17 +00:00
Paolo Molaro b4879492ca Fri Sep 6 16:08:44 CEST 2002 Paolo Molaro <[email protected]>
* debug-helpers.c: break infinite loop (found and fixed by
	Holger Arnold <[email protected]>).

svn path=/trunk/mono/; revision=7283
2002-09-06 14:11:13 +00:00
Dick Porter e7086535fc More automake lines rearranging: select the "stable" version _after_ we've
checked the automake version.

It seems a bit daft to make sure we've got the latest "unstable" automake
and then not use it, but we have seen builds fail when a slightly older
"unstable" version is installed on the system.

svn path=/trunk/mono/; revision=7282
2002-09-06 12:02:45 +00:00
Dick Porter 3b0393cb64 Can't do the automake check until the mono dir has been checked out of CVS.
(Because automake-wrapper examines the dir to see which version of automake
to use.)

svn path=/trunk/mono/; revision=7281
2002-09-06 11:26:24 +00:00
Paolo Molaro 332d2ced8a Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: consider also the full name in GetInterface.

svn path=/trunk/mcs/; revision=7280
2002-09-06 10:21:51 +00:00
Paolo Molaro 193e77c5cb Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: implemented GetMembers, GetConstructorImpl and
	GetMethodImpl using the binder.
	* Type.cs: GetConstructorImpl/GetConstructor fixes.

svn path=/trunk/mcs/; revision=7279
2002-09-06 10:15:16 +00:00
Dietmar Maurer 33c90290aa only set ESP if necessary
svn path=/trunk/mono/; revision=7278
2002-09-06 09:18:19 +00:00
Dietmar Maurer 1b4e5d7b3f 2002-09-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_epilogue): use pop instead of mov

svn path=/trunk/mono/; revision=7277
2002-09-06 09:15:26 +00:00
Paolo Molaro c93b99378c Update with info on MONO_PATH.
svn path=/trunk/mono/; revision=7276
2002-09-06 08:11:56 +00:00
Ravi Pratap M 9c0368959f I am the worst kind of hacker there is ....
svn path=/trunk/mcs/; revision=7273
2002-09-05 19:16:17 +00:00
Ravi Pratap M 043305a683 Flush ChangeLog
svn path=/trunk/mcs/; revision=7272
2002-09-05 19:13:59 +00:00
Ravi Pratap M 464a887dc8 2002-09-05 Ravi Pratap <[email protected]>
* ecore.cs (ImplicitNumericConversion): Conversion from underlying
	type to the enum type is not allowed. Remove code corresponding to
	that.

	(ConvertNumericExplicit): Allow explicit conversions from
	the underlying type to enum type. This precisely follows the spec
	and closes a bug filed by Gonzalo.

svn path=/trunk/mcs/; revision=7271
2002-09-05 19:13:42 +00:00
Ravi Pratap M 68d2c7f12e Remove debug message - sorry, guys !
svn path=/trunk/mcs/; revision=7270
2002-09-05 18:45:33 +00:00
Paolo Molaro d5aa1a82fd Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <[email protected]>
* Binder.cs: finished the Binder class and implemented the default
	binder.

svn path=/trunk/mcs/; revision=7269
2002-09-05 18:38:31 +00:00
Martin Baulig 07513d7230 2002-09-05 Martin Baulig <[email protected]>
* debug.c (MONO_DEBUGGER__debugger_info): New global data symbol
	which is read by the debugger.

svn path=/trunk/mono/; revision=7268
2002-09-05 18:36:46 +00:00
Ravi Pratap M e65847b3f9 2002-09-05 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.Resolve): Ensure we allow TypeOf
	expressions too. Previously we were checking only in one place for
	positional arguments leaving out named arguments.

svn path=/trunk/mcs/; revision=7265
2002-09-05 17:18:28 +00:00
Ravi Pratap M aa5d984a6d 2002-09-05 Ravi Pratap <[email protected]>
* interface.cs (PopulateMethod): Return if there are no argument
	types. Fixes a NullReferenceException bug.

svn path=/trunk/mcs/; revision=7264
2002-09-05 17:06:03 +00:00
Ravi Pratap M 36beb952d2 2002-09-05 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Flag a nicer error
	message (1502, 1503) when we can't locate a method after overload
	resolution. This is much more informative and closes the bug
	Miguel reported.

svn path=/trunk/mcs/; revision=7263
2002-09-05 16:56:59 +00:00
Paolo Molaro 5b684ccab5 Thu Sep 5 18:50:54 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: target may be null in create_delegate.

svn path=/trunk/mono/; revision=7262
2002-09-05 16:52:43 +00:00
Paolo Molaro 76ba0a9d7f Thu Sep 5 17:42:13 CEST 2002 Paolo Molaro <[email protected]>
* marshal.c: handle a boolean return type.

svn path=/trunk/mono/; revision=7261
2002-09-05 15:43:57 +00:00
Paolo Molaro f91791a18d Thu Sep 5 13:09:46 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: put HIDE_POINTER/REVEAL_POINTER only here.

svn path=/trunk/mono/; revision=7260
2002-09-05 11:12:13 +00:00
Dietmar Maurer f82ceee6bb 2002-09-03 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
	(GetUrlsForUri): use all available channel uris.

svn path=/trunk/mcs/; revision=7259
2002-09-05 07:59:45 +00:00
Gonzalo Paniagua Javier 8ba95aa556 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
* XmlTextWriter.cs: fixed bug #29886.

svn path=/trunk/mcs/; revision=7258
2002-09-05 02:35:27 +00:00
Franklin Wise f6b277b235 Added new tests for various System.Data classes. More flushing out of
the DataTable and supporting classes.

svn path=/trunk/mcs/; revision=7257
2002-09-05 01:46:40 +00:00
Jonathan Pryor 69c9f2c6b3 Implemented better attribute support for C# output.
svn path=/trunk/mcs/; revision=7250
2002-09-04 18:08:05 +00:00
Gonzalo Paniagua Javier 409920670c 2002-09-04 Gonzalo Paniagua Javier <[email protected]>
* compiler.csproj:
	* compiler.csproj.user: patch from Adam Chester ([email protected]).

svn path=/trunk/mcs/; revision=7249
2002-09-04 17:33:52 +00:00
Paolo Molaro 1184f808fb Wed Sep 4 19:23:09 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: fix weakreferences.

svn path=/trunk/mono/; revision=7248
2002-09-04 17:25:14 +00:00
Jonathan Pryor 51b30c8d57 Get rid of silly compiler warning about unreachable code.
svn path=/trunk/mcs/; revision=7246
2002-09-04 17:02:16 +00:00
Paolo Molaro db50b71b63 Make the built response file depend on the file list.
svn path=/trunk/mcs/; revision=7245
2002-09-04 16:32:59 +00:00
Gonzalo Paniagua Javier 8a50239ee4 2002-09-04 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: some fixes to make it work also on unix.

svn path=/trunk/mcs/; revision=7244
2002-09-04 16:29:48 +00:00
Jonathan Pryor d7ae8d619e * EnumTest.cs:
- Added additional "x" formatter test case to test most recent Enum.cs
      patch
    - Code cleanup so that all TestFormat test cases would be executed
    - Change exception types in TestFormat_Args so that it passes on .NET.
      (Some ArgumentNullExceptions should be been ArgumentExceptions.)

svn path=/trunk/mcs/; revision=7243
2002-09-04 16:11:28 +00:00
Miguel de Icaza 4b2f24ea56 Flush & announce
svn path=/trunk/mono/; revision=7242
2002-09-04 15:27:05 +00:00
Miguel de Icaza ae52b007cf Flush
svn path=/trunk/mono/; revision=7241
2002-09-04 15:20:47 +00:00
Miguel de Icaza 5455d3bcc9 Flush docs
svn path=/trunk/mono/; revision=7240
2002-09-04 15:18:50 +00:00
Paolo Molaro 9e1fdee82e Wed Sep 4 14:06:09 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am: link libmono directly into mono. Use a ld script
	to reduce exported symbols.

svn path=/trunk/mono/; revision=7239
2002-09-04 12:09:46 +00:00
Paolo Molaro 9de3cc5947 Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <[email protected]>
* Encoding.cs: use icall to get default codepage.
	* DefaultEncoding.cs: remove useless class.

svn path=/trunk/mcs/; revision=7238
2002-09-04 12:04:16 +00:00
Paolo Molaro 974559cf5c Wed Sep 4 13:59:50 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: added icall to get default codepage.

svn path=/trunk/mono/; revision=7237
2002-09-04 12:01:49 +00:00
Juli Mallett f19cfba5e7 2002-09-04 Juli Mallett <[email protected]>
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.

Taken from the FreeBSD port by Yukihiro Nakai <[email protected]>, to reduce
the patches needed by that port, once the next release is out.

svn path=/trunk/mono/; revision=7236
2002-09-04 08:06:39 +00:00
Miguel de Icaza f4d826a8d4 2002-09-04 Miguel de Icaza <[email protected]>
* Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the actual value
	instead of public.

	* LocalDataStoreSlot.cs: Make constructor internal.

svn path=/trunk/mcs/; revision=7234
2002-09-04 04:55:20 +00:00
Miguel de Icaza b0a21ed982 2002-09-04 Miguel de Icaza <[email protected]>
* Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
	SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
	instead of public.

svn path=/trunk/mcs/; revision=7233
2002-09-04 04:45:45 +00:00
Miguel de Icaza 05d8302025 Make the variable match the prototype
svn path=/trunk/mcs/; revision=7231
2002-09-04 04:07:45 +00:00
Miguel de Icaza 4276594cbb 2002-09-03 Miguel de Icaza <[email protected]>
* statement.cs (SwitchLabel.ResolveAndReduce): In the string case,
	it was important that we stored the right value after the
	reduction in `converted'.

svn path=/trunk/mcs/; revision=7230
2002-09-04 04:05:07 +00:00
Miguel de Icaza 0968f763a3 Improve test
svn path=/trunk/mcs/; revision=7229
2002-09-04 04:03:26 +00:00
Dennis Hayes abdd012125 2002-9-2 DennisHayes <[email protected]>
* GraphicsPath.cs
	* added stub needed for system.windows.forms

svn path=/trunk/mcs/; revision=7228
2002-09-04 02:39:21 +00:00
Dennis Hayes 281e05c862 2002-9-2 DennisHayes <[email protected]>
* Brushes.cs : stubbed, added colors. Not sure how to implement,
				 but this should at least save someone some typing.
	* CharacterRange.cs :Implmented
	* Region.cs : stub needed for system.windows.forms

svn path=/trunk/mcs/; revision=7227
2002-09-04 02:35:26 +00:00
Dennis Hayes e5c4e36a5e 2002-8-6 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* ColorDialog.cs
* ColumnHeader.cs
* ComboBox.cs
* ContainerControl.cs
* DataGrid.cs
* DateTimePicker.cs
* ListControl.cs
* PrintPreviewDialog.cs
* Implmented any functions.

* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* Added win32.cs

svn path=/trunk/mcs/; revision=7226
2002-09-04 02:22:56 +00:00
Gonzalo Paniagua Javier c7a35e4544 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied patch from Shahms E. King
	([email protected]).

svn path=/trunk/mcs/; revision=7225
2002-09-04 01:42:23 +00:00
Martin Baulig 5c623e61ff 2002-09-04 Martin Baulig <[email protected]>
* location.cs (Location.SymbolDocument): Use full pathnames for the
	source files.

svn path=/trunk/mcs/; revision=7223
2002-09-03 23:27:46 +00:00
Juli Mallett 54890e5fa4 Back out the previous revision, the previous previous revision was right, as
long as one reran autoheader (autogen.sh).

svn path=/trunk/mono/; revision=7214
2002-09-03 19:56:00 +00:00
Martin Baulig 3ee223464a 2002-09-03 Martin Baulig <[email protected]>
* debug.c (free_method_info): Make this actually work.

svn path=/trunk/mono/; revision=7212
2002-09-03 18:48:54 +00:00
Jonathan Pryor c1512698fd See ChangeLog for details.
svn path=/trunk/mcs/; revision=7211
2002-09-03 17:57:40 +00:00
Jonathan Pryor 1859baf1d3 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
properly.

svn path=/trunk/mcs/; revision=7210
2002-09-03 17:28:30 +00:00
Dick Porter 7a858ef3f1 2002-09-03 Dick Porter <[email protected]>
* Thread.cs: Added thread ID field

svn path=/trunk/mcs/; revision=7209
2002-09-03 16:43:19 +00:00
Dick Porter 081119cf87 2002-09-03 Dick Porter <[email protected]>
* threads.h:
	* threads.c: Removed PosixKillThread(), because it's not in the
	w32 api

2002-09-03  Dick Porter  <[email protected]>

	* threads.h:
	* threads.c: Use MonoThread instead of MonoObject where
	apropriate.

	Store running thread objects in a hash table, so that we have all
	the info to hand when waiting for them to finish
	(means we don't need OpenThread() any more, so mingw builds should
	be fully functional again.)

	* verify.c:
	* object.h: Added thread ID to MonoThread

svn path=/trunk/mono/; revision=7208
2002-09-03 16:41:29 +00:00
Adam Treat 37e118ce90 * Applied [email protected]'s changes. This fixes method lookups that ignore
case and that ignore parameter signatures resulting in incorrect behavior.

svn path=/trunk/mcs/; revision=7207
2002-09-03 15:16:42 +00:00
Dietmar Maurer 1a0547470d 2002-09-03 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
	(GetUrlsForUri): use all available channel uris.

svn path=/trunk/mcs/; revision=7206
2002-09-03 13:56:31 +00:00
Dietmar Maurer b1313d9e7f revert my last change - it needs to be public
svn path=/trunk/mcs/; revision=7205
2002-09-03 13:04:37 +00:00
Dietmar Maurer 26cf616714 2002-09-03 Dietmar Maurer <[email protected]>
* MonoMethodMessage.cs: make in an iternal class again.

svn path=/trunk/mcs/; revision=7204
2002-09-03 12:47:18 +00:00
Martin Baulig 8d3599ce6d Increase symbol file generation when adding a new method.
svn path=/trunk/mono/; revision=7202
2002-09-03 12:39:30 +00:00
Martin Baulig d6933f0cac 2002-09-03 Martin Baulig <[email protected]>
* icall.c (System.Reflection.Assembly::get_location): New interncall.

svn path=/trunk/mono/; revision=7201
2002-09-03 12:38:18 +00:00
Martin Baulig b997879ae9 2002-09-03 Martin Baulig <[email protected]>
* Assembly.cs (Assembly.Location): Implemented.

svn path=/trunk/mcs/; revision=7200
2002-09-03 12:36:38 +00:00
Martin Baulig 31d6d573f9 2002-09-03 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
	correct configuration filename, fixed the TODO.
	(GetSectionHanderType): Renamed to GetSectionHandlerType.

	* NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
	whitespaces in the configuration file.

svn path=/trunk/mcs/; revision=7199
2002-09-03 12:36:00 +00:00
Gonzalo Paniagua Javier 3583837ad7 Removed stuff included by mistake in my last commit.
svn path=/trunk/mono/; revision=7198
2002-09-03 12:16:53 +00:00
Gonzalo Paniagua Javier fce1655a31 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed leak in get_temp_path. Thanks lupus.

svn path=/trunk/mono/; revision=7197
2002-09-03 12:09:55 +00:00
Dick Porter 5e37acebe6 Insist that the cygwin libiconv package is installed (seems to work around
libtool braindamage)

svn path=/trunk/mono/; revision=7196
2002-09-03 10:12:23 +00:00
Gonzalo Paniagua Javier 56b6a6396b 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* DefaultContext.cs: fixed bug #28840.
	* Expression.cs: added FIXME.

svn path=/trunk/mcs/; revision=7195
2002-09-03 10:01:37 +00:00
Gonzalo Paniagua Javier 9fc1f796b0 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
	([email protected]).

svn path=/trunk/mcs/; revision=7194
2002-09-03 09:55:35 +00:00
Rafael Teixeira cb4d014f4c 2002-09-03 Rafael Teixeira <[email protected]>
* integrated new version of Mono.GetOptions (reflection/attributes-based)

svn path=/trunk/mcs/; revision=7193
2002-09-03 08:00:37 +00:00
Rafael Teixeira 1734110f45 2002-09-03 Rafael Teixeira <[email protected]>
* integrated new version of Mono.GetOptions (reflection/attributes-based)

svn path=/trunk/mcs/; revision=7192
2002-09-03 07:58:28 +00:00
Dietmar Maurer bcc53e7bad CORBA Channel, ObjRef serialisation support
svn path=/trunk/mcs/; revision=7191
2002-09-03 07:22:30 +00:00
John Sohn 3dc3dc6f39 * Control.cs: mapped more of the functions to the Win32 API
* Win32.cs: added more Win32 imports and definitions

svn path=/trunk/mcs/; revision=7190
2002-09-03 06:15:20 +00:00
Rafael Teixeira ea216a1299 see the changelog
svn path=/trunk/mcs/; revision=7189
2002-09-03 06:12:30 +00:00
Miguel de Icaza 96005596ea Remove this, get things working for now
svn path=/trunk/mono/; revision=7187
2002-09-03 01:59:18 +00:00
Miguel de Icaza 3491edf333 Flush: removed redundant instructions + Added Mono licensing
svn path=/trunk/mono/; revision=7186
2002-09-03 00:19:00 +00:00
Martin Baulig 05fedf2865 Reflect latest mono_disasm_code_one() changes.
svn path=/trunk/mono/; revision=7183
2002-09-02 23:59:39 +00:00
Martin Baulig 5ddb5007c9 2002-09-03 Martin Baulig <[email protected]>
* AssemblerWriterI386.cs, IAssemblerWriter.cs, MonoDwarfFileWriter.cs,
	README, README.relocation-table, csharp-lang.[ch], gdb-csharp-support.patch,
	gdb-variable-scopes.patch: Removed.

svn path=/trunk/mcs/; revision=7182
2002-09-02 23:58:04 +00:00
Martin Baulig fa72802d3b 2002-09-03 Martin Baulig <[email protected]>
* debug.h (MonoDebugFormat): Killed MONO_DEBUG_FORMAT_DWARF2_PLUS.
	* debug-dwarf2-plus.c: Removed.

	* debug-private.h (DebugMethodInfo): Removed the `method_info' field.
	(AssemblyDebugInfo): Removed the old `symfile' field and renamed
	`mono_symfile' to `symfile'.

	* debug.c (mono_debug_open): Replaced the assembly argument with a
	file name argument; you can now call this before loading the assembly.
	(debug_generate_method_lines): The MonoDebugILOffsetInfo struct is gone,
	we now use MonoSymbolFileLineNumberEntry's and a separate address array
	instead; splitted out all MonoSymbolFileLineNumberEntry code into
	debug_generate_il_offsets() and debug_update_il_offsets().
	(mono_debug_add_method): Don't create the MonoDebugMethodInfo here; it's
	created when reading the symbol file or from debug_load_method_lines().
	(debug_load_method_lines): Create the MonoDebugMethodInfo for all methods.

	* exception.c (arch_handle_exception): Call mono_debug_make_symbols() before
	looking up an address.

	* debug.c: Don't create the .il files for MONO_DEBUG_FORMAT_MONO.

	* mono.c (main): Initialize debugging before loading the first assembly.

svn path=/trunk/mono/; revision=7181
2002-09-02 23:53:35 +00:00
Martin Baulig bb667a46b5 2002-09-03 Martin Baulig <[email protected]>
* debug-helpers.c (mono_disasm_code_one): Added `const guchar **endp'
	argument to store the end address of the disassembled instruction.

	* debug-mono-symfile.h (MonoDebugMethodInfo, MonoDebugVarInfo): Moved
	here from debug-symfile.h.
	(MonoDebugMethodJitInfo): Moved all fields which are filled out by the
	JIT into this struct.
	(MonoSymbolFile): Added `char *image_file' field.
	(MonoDebugGetMethodFunc): Removed.
	(mono_debug_update_mono_symbol_file): Removed the hash table argument.
	(mono_debug_create_mono_symbol_file): Removed the `source_file' argument.
	(mono_debug_find_method): New method.

	* debug-mono-symfile.c (mono_debug_create_mono_symbol_file): Always
	create a full symbol file.
	(mono_debug_update_mono_symbol_file): Don't distinguish between dynamic
	and static symbol files.
	(mono_debug_find_method): The symbol file keeps an internal method hash,
	call this to get a MonoDebugMethodInfo from a MonoMethod.

	* debug-symfile.[ch]: Removed.

svn path=/trunk/mono/; revision=7180
2002-09-02 23:53:03 +00:00
Martin Baulig 4c5aafabb4 2002-09-03 Martin Baulig <[email protected]>
* MonoSymbolTableReader.cs (MonoSymbolTableReader.ImageFile): New
	public property.

	* MonoSymbolTable.cs: Bumped version number to 18.

svn path=/trunk/mcs/; revision=7179
2002-09-02 23:35:06 +00:00
Diego Sevilla Ruiz e983072823 2002-09-02 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
	Security) to the OpenSSH keys required by mono CVS
	access.

svn path=/trunk/mono/; revision=7178
2002-09-02 19:30:37 +00:00
Dick Porter 35474b62da Cope with the cygwin pkgconfig being installed
svn path=/trunk/mono/; revision=7177
2002-09-02 13:59:34 +00:00
Jonathan Pryor d5c20ef5e1 * ChangeLog: Updated for type-reflector
* makefile: Added type-reflector to the build.

svn path=/trunk/mcs/; revision=7176
2002-09-02 01:18:41 +00:00
Jonathan Pryor 32ffb354c1 Added new tool to the CVS repository, type-reflector.
See README for more information.

svn path=/trunk/mcs/; revision=7175
2002-09-02 01:08:14 +00:00
John Sohn c48238d24e * MessageBox.cs: added mostly complete implementation of the
MessageBox class
	* Application.cs: completed implementation of Run methods, implemented
	message handler functionality
	* Form.cs: implemented the Close event, allows the Application class to
	receive notification for shutting down the application
	* FormTest.cs: added additional functionality to test most methods
	currently implemented in the Application and Form class
	* NativeWindowTest.cs: fixed methods which received the MSG structure,
	previously was using an integer type instead of the struct
	* Win32.cs: added more Win32 imports and definitions
	* makefile: added the MessageBox.cs class to the build

svn path=/trunk/mcs/; revision=7174
2002-09-01 21:40:40 +00:00
Juli Mallett ba419c4ef8 2002-09-01 Juli Mallett <[email protected]>
* configure.in, mono/interpreter/interp.c,
	mono/io-layer/handles.c, mono/io-layer/processes.c,
	mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
	mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
	mono/metadata/appdomain.c, mono/metadata/class.c,
	mono/metadata/domain.c, mono/metadata/gc.c,
	mono/metadata/object.c, mono/metadata/reflection.c,
	mono/metadata/threads.c, mono/os/gc_wrapper.h,
	mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
	wrap inclusion of gc.h for boehm, since from FreeBSD and
	OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
	in <gc/gc.h>.  This will reduce the diffs FreeBSD ports has
	to apply, and also makes it possible for me to build with
	GC on OpenBSD/macppc built by hand.

svn path=/trunk/mono/; revision=7173
2002-09-01 20:47:55 +00:00
Juli Mallett 271f6b2dc8 2002-09-01 Juli Mallett <[email protected]>
* configure.in: On BSD don't try to use -ldl, we simply don't use it.

svn path=/trunk/mono/; revision=7172
2002-09-01 20:05:50 +00:00
Juli Mallett ef113c8323 2002-09-01 Juli Mallett <[email protected]>
* mono/dis/dis-cil.c:
	* configure.in: Check for <wchar.h> via autoconf, don't use it if
	it isn't there, as it seems to work fine without it on OpenBSD.

svn path=/trunk/mono/; revision=7171
2002-09-01 19:14:09 +00:00
Dietmar Maurer 2e2f30bd0c * ObjRef.cs: gather the channel date at creation time.
* ChannelDataStore.cs: use a hash to store other keys

svn path=/trunk/mcs/; revision=7162
2002-08-31 12:43:34 +00:00
Rafael Teixeira 239886689a cvsignore
svn path=/trunk/mcs/; revision=7161
2002-08-31 07:52:00 +00:00
Rafael Teixeira a97a5e5831 2002-08-31 Rafael Teixeira <[email protected]>
* merged expression.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7160
2002-08-31 07:48:31 +00:00
Juli Mallett 09754dbb8d 2002-08-30 Juli Mallett <[email protected]>
* list.unix, makefile.gnu: Added build glue for UNIX.

svn path=/trunk/mcs/; revision=7159
2002-08-31 04:21:35 +00:00
Miguel de Icaza 5489fc358e 2002-08-30 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast): Use DeclSparce.ResolveType instead
	of the expression resolve mechanism, because that will catch the
	SimpleName error failures.

svn path=/trunk/mcs/; revision=7157
2002-08-31 01:59:09 +00:00
Miguel de Icaza e1bfc82707 2002-08-30 Miguel de Icaza <[email protected]>
* expression.cs (Conditional): If we can not resolve the
	expression, return, do not crash.

svn path=/trunk/mcs/; revision=7156
2002-08-30 21:57:47 +00:00
Dietmar Maurer 4d1b3ab9d5 added missing files
svn path=/trunk/mcs/; revision=7155
2002-08-30 16:52:03 +00:00
Dietmar Maurer 3069d9c5c3 removed unnecessary writeline
svn path=/trunk/mcs/; revision=7154
2002-08-30 16:29:22 +00:00
Dietmar Maurer a810886642 2002-08-30 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.Simple/SimpleWireFormat.cs: add
	more types.

svn path=/trunk/mcs/; revision=7153
2002-08-30 16:21:07 +00:00
Dietmar Maurer fc30c69bcf added an example, semove unnecessary WriteLine
svn path=/trunk/mcs/; revision=7152
2002-08-30 14:46:16 +00:00
Dietmar Maurer 2e4f40e23d channel example implementation
svn path=/trunk/mcs/; revision=7151
2002-08-30 14:01:21 +00:00
Nick Drochak 98fae5bd7f 2002-08-30 Nick Drochak <[email protected]>
* PathTest.cs (TestGetPathRoot):  Don't assume current directory will
	be on the C: drive (mine wasn't).

svn path=/trunk/mcs/; revision=7150
2002-08-30 05:47:59 +00:00
John Sohn 1093c32524 RegisterClass/WNDPROC callback is now initialized entrely in C#, simplified
the stub application

svn path=/trunk/mcs/; revision=7149
2002-08-30 05:36:19 +00:00
Miguel de Icaza 2b395e4143 2002-08-29 Miguel de Icaza <[email protected]>
* image.c (do_mono_image_open): Remove linker version check.

svn path=/trunk/mono/; revision=7147
2002-08-30 04:59:06 +00:00
Gonzalo Paniagua Javier 80f46045ee 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: fixed bug #29658.

svn path=/trunk/mcs/; revision=7146
2002-08-30 00:29:22 +00:00
Dick Porter 1dbf4ea99d Pass LDFLAGS when linking monoburg
svn path=/trunk/mono/; revision=7145
2002-08-29 23:41:29 +00:00
Gonzalo Paniagua Javier 7e8c804d86 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs:
	(location): display token name instead of its number.

svn path=/trunk/mcs/; revision=7144
2002-08-29 23:11:41 +00:00
Miguel de Icaza 55634e1f2b Add new logo
svn path=/trunk/mono/; revision=7143
2002-08-29 23:10:02 +00:00
Gonzalo Paniagua Javier b41bf89278 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* MonoField.cs:
	(GetValue): allow obj to be null (used for static fields).

svn path=/trunk/mcs/; revision=7142
2002-08-29 23:07:52 +00:00
Dick Porter 80575b9add New versions of the build scripts. The windows one checks that automake
is new enough (fixes strangeness reported by Gonzalo.)

The other one now copes with enough system variation to work on Freebsd.

svn path=/trunk/mono/; revision=7140
2002-08-29 16:47:27 +00:00
Dietmar Maurer 425cd9f8fe 2002-08-29 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): don't cache
	wrappers for instance methods.

svn path=/trunk/mono/; revision=7139
2002-08-29 15:00:13 +00:00
Rafael Teixeira 3a6c0cbb1d 2002-08-29 Rafael Teixeira <[email protected]>
* merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
        expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
        typemanager.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7138
2002-08-29 14:19:58 +00:00
Gonzalo Paniagua Javier ac893ff6f1 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* CheckArgument.cs: fixed check for empty string.
	* Path.cs: various fixes. It passes all the tests in new PathTest.

svn path=/trunk/mcs/; revision=7137
2002-08-29 11:41:48 +00:00
Gonzalo Paniagua Javier b0da22d0cc 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_System_IO_Path_get_temp_path.

svn path=/trunk/mono/; revision=7136
2002-08-29 11:38:36 +00:00
Gonzalo Paniagua Javier 42a105053e 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: improved.

svn path=/trunk/mcs/; revision=7135
2002-08-29 11:32:15 +00:00
Juli Mallett e4cff48d9a 2002-08-28 Juli Mallett <[email protected]>
* arch.cs, compiler.cs: Give the interpreter machine a property
	for the retrieval of the group count.

	* regex.cs: Use the new GroupCount property of the factory to
	initialise the current group count, and restructure code to compile
	the pattern only the first time it is needed (essentially backing
	out the previous revision of regex.cs, to use the new code.)

svn path=/trunk/mcs/; revision=7132
2002-08-28 18:46:54 +00:00
Radek Doulik 962db8699b retval value type fixed
svn path=/trunk/mono/; revision=7127
2002-08-28 15:26:29 +00:00
Radek Doulik f8b7cbf694 fixed valuetypes marshaling in delegates
svn path=/trunk/mono/; revision=7126
2002-08-28 14:41:08 +00:00
Dick Porter c25efc9f92 2002-08-28 Dick Porter <[email protected]>
* mono/os/win32/util.c:
	* mono/os/unix/util.c:
	* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
	(It doesn't do anything on unix builds, and the w32 version no
	longer needs an arg.)

	* configure.in: Add HOST_CC for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* Makefile.am: Export HOST_CC for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* interp.c: mono_set_rootdir() doesnt take any args now

	* Makefile.am: Export HOST_CC and turn on optimisation for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* mono.c: mono_set_rootdir() doesnt take any args now

	* Makefile.am: Export HOST_CC for w32 builds

svn path=/trunk/mono/; revision=7124
2002-08-28 14:14:24 +00:00
Duncan Mak 2b31a83b28 2002-08-29 Duncan Mak <[email protected]>
* StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
	the build for gtk#.

svn path=/trunk/mcs/; revision=7123
2002-08-28 09:22:19 +00:00
Dietmar Maurer b1d4839dd3 2002-08-28 Dietmar Maurer <[email protected]>
* jit.c (mono_store_tree): only allocate vars if really necessary

svn path=/trunk/mono/; revision=7122
2002-08-28 09:09:25 +00:00
Gaurav Vaish 63da177af1 2002-08-28 Gaurav Vaish <[email protected]>
* DataSourceInternal.cs       - Added new class (internal).
* ChangeLog                   - Updated Info.

svn path=/trunk/mcs/; revision=7121
2002-08-28 06:17:19 +00:00
Nick Drochak 5e3f295d55 *** empty log message ***
svn path=/trunk/mono/; revision=7120
2002-08-28 04:07:42 +00:00
Gonzalo Paniagua Javier b65b32946f 2002-08-28 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed buglet.

svn path=/trunk/mcs/; revision=7119
2002-08-28 02:51:50 +00:00
Gonzalo Paniagua Javier 5bf2383288 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* System.IO/BinaryReader.cs:
	* System.IO/BinaryWriter.cs:
	* System.IO/MemoryStream.cs:
	* System.IO/StreamReader.cs:
	* System.IO/StreamWriter.cs:
	* System.IO/StringReader.cs:
	* System.IO/StringWriter.cs:
	* System.IO/TextWriter.cs:
	* System.Threading/WaitHandle.cs: IDisposable fixes.

svn path=/trunk/mcs/; revision=7118
2002-08-28 02:30:47 +00:00
Gonzalo Paniagua Javier 3e02dca4b6 2002-08-28 Gonzalo Paniagua Javier <[email protected]>
* System.ComponentModel/Component.cs:
	* System.ComponentModel/ComponentCollection.cs:
	* System.ComponentModel/Container.cs:
	* System.ComponentModel/MarshalByValueComponent.cs:
	* System.Diagnostics/Process.cs:
	* System.Diagnostics/TextWriterTraceListener.cs:
	* System.IO/FileSystemWatcher.cs:
	IDisposable fixes.

svn path=/trunk/mcs/; revision=7117
2002-08-28 02:30:24 +00:00
Martin Baulig 6563dbd72c 2002-08-28 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Don't silently return
	but return an error if an operator cannot be applied between two
	enum types.

svn path=/trunk/mcs/; revision=7116
2002-08-28 02:27:19 +00:00
Martin Baulig 230c0d7d06 Oops, default to public if no attribute is given.
svn path=/trunk/mcs/; revision=7115
2002-08-28 02:13:53 +00:00
Martin Baulig b8204cc351 2002-08-28 Martin Baulig <[email protected]>
* class.cs (Constructor.Define): Set the permission attributes
	correctly instead of making all constructors public.

svn path=/trunk/mcs/; revision=7114
2002-08-28 00:43:14 +00:00
Martin Baulig 0c06e20cc0 2002-08-28 Martin Baulig <[email protected]>
* ecore.cs (Expression.DoResolve): Do a TypeManager.MemberLook
	for private members before reporting a CS0103; if we find anything,
	it's a CS0122.

svn path=/trunk/mcs/; revision=7112
2002-08-27 23:52:31 +00:00
Martin Baulig 5305f826e0 2002-08-28 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.FilterWithClosure): It's not enough
	to check whether `closure_start_type == closure_invocation_type',
	we also need to check whether `m.DeclaringType == closure_invocation_type'
	before bypassing the permission checks.  We might be accessing
	protected/private members from the base class.
	(TypeManager.RealMemberLookup): Only set private_ok if private
	members were requested via BindingFlags.NonPublic.

	* ecore.cs (MethodGroupExpr.IsExplicitImpl): New property.

	* expression.cs (MemberAccess.ResolveMemberAccess): Set
	MethodGroupExpr.IsExplicitImpl if appropriate.
	(Invocation.DoResolve): Don't report the CS0120 for explicit
	interface implementations.

svn path=/trunk/mcs/; revision=7111
2002-08-27 23:31:07 +00:00
Martin Baulig 6718c8a85d 2002-08-27 Martin Baulig <[email protected]>
* cs0120-3.cs: New test.

svn path=/trunk/mcs/; revision=7110
2002-08-27 21:16:29 +00:00
Martin Baulig f2008bcb4a 2002-08-27 Martin Baulig <[email protected]>
* expression.cs (Invocation.DoResolve): If this is a static
	method and we don't have an InstanceExpression, we must report
	a CS0120.

svn path=/trunk/mcs/; revision=7109
2002-08-27 21:13:48 +00:00
Martin Baulig f3c7da05e3 2002-08-27 Martin Baulig <[email protected]>
* debug.c: The mono symbol file is installed together with the assembly
	it belongs to and it's used on a per-image basis.

svn path=/trunk/mono/; revision=7101
2002-08-27 17:54:23 +00:00
Paolo Molaro db6e307c86 Tue Aug 27 19:44:32 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: don't use the cil-coff header outside of the loader.

svn path=/trunk/mono/; revision=7100
2002-08-27 17:46:10 +00:00
Gonzalo Paniagua Javier a16a51c225 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
	* class/library.make:
	* class/makefile.gnu:
	* class/I18N/makefile.gnu
	* class/corlib/makefile.gnu:
	* class/corlib/Test/ChangeLog:
	* class/corlib/Test/corlib_linux_test.args:
	* class/corlib/Test/makefile.gnu:
	* class/corlib/Test/run_test.sh:
	* jay/makefile.gnu:
	* mcs/makefile.gnu:
	* monoresgen/makefile.gnu:
	* nunit/makefile.gnu:

	Allow running 'make -f makefile.gnu test' from top directory.
	In the libraries makefile.gnu you just have to add TEST_DIR=dirname
	with the name where tests reside.

svn path=/trunk/mcs/; revision=7099
2002-08-27 17:31:06 +00:00
Paolo Molaro 7818abc420 Tue Aug 27 18:34:51 CEST 2002 Paolo Molaro <[email protected]>
* file-io.c process.c: MonoString are null terminated, no
	need for mono_string_to_utf16() anymore.

svn path=/trunk/mono/; revision=7096
2002-08-27 16:37:08 +00:00
Paolo Molaro a0e8b42612 Removed iconv header.
svn path=/trunk/mono/; revision=7094
2002-08-27 16:19:47 +00:00
Paolo Molaro 3923c5163d Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: remove iconv checks.

svn path=/trunk/mono/; revision=7093
2002-08-27 16:19:15 +00:00
Paolo Molaro 258276203c Tue Aug 27 17:51:27 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, unicode.h, unicode.c: removed unused iconv stuff.

svn path=/trunk/mono/; revision=7091
2002-08-27 16:05:14 +00:00
Paolo Molaro 0b315c47ee Tue Aug 27 16:57:18 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: remove duplicate code and fix
	named field reading in custom attr.

svn path=/trunk/mcs/; revision=7089
2002-08-27 14:59:42 +00:00
Paolo Molaro b4244586e2 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: speedup access to common data.

svn path=/trunk/mcs/; revision=7088
2002-08-27 14:42:09 +00:00
Paolo Molaro 740dee6302 Tue Aug 27 16:38:58 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, reflection.h: speedup System.MonoType.

svn path=/trunk/mono/; revision=7087
2002-08-27 14:42:07 +00:00
Paolo Molaro ab1d8f9b91 Tue Aug 27 16:37:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: allow null as the value of a string argument in
	custom attributes constructors.

svn path=/trunk/mono/; revision=7086
2002-08-27 14:39:19 +00:00
Gonzalo Paniagua Javier 0673413dec 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
	* src/NUnitConsole/makefile.gnu: some modifications to use the other
	makefiles and build dll and exe on linux.

	* src/makefile.gnu: New file.
	* src/NUnitCore/list.unix: New file.
	* src/NUnitCore/makefile.gnu: New file.

svn path=/trunk/mcs/; revision=7085
2002-08-27 13:29:18 +00:00
Martin Baulig 22b9f047d9 2002-08-27 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_get_symbol_files): Removed, we need
	to use global variables for this since they're stored in a core file.
	(mono_debugger_symbol_file_table_generation): New global variable.
	(mono_debugger_symbol_file_table): New global variable.
	(mono_debugger_update_symbol_file_table): New global function to update
	the symbol file table.

svn path=/trunk/mono/; revision=7083
2002-08-27 12:56:58 +00:00
Martin Baulig a266b5dd42 2002-08-27 Martin Baulig <[email protected]>
* trampoline.c (mono_generic_trampoline_code): New global variable.
	(arch_create_jit_trampoline): Use the new global variable to store the
	generic trampoline code instead of using a static one.  This allows the
	debugger to access this variable to check whether a method is a trampoline.

	* debug.h (mono_generic_trampoline_code): Added external declaration.

svn path=/trunk/mono/; revision=7082
2002-08-27 12:01:46 +00:00
Martin Baulig a3bba04e9c 2002-08-27 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodAddress): Removed `TrampolineAddress'.

svn path=/trunk/mcs/; revision=7081
2002-08-27 11:56:30 +00:00
Martin Baulig 8d9dd544ae 2002-08-27 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Removed the
	`trampoline_address' field.

svn path=/trunk/mono/; revision=7080
2002-08-27 11:55:30 +00:00
Martin Baulig 1ff926d1d3 Reverted, it isn't needed anymore.
2002-08-24  Martin Baulig  <[email protected]>

	* rawbuffer.c (mono_raw_buffer_load): Added `int is_shared'
	argument.  This is a flag which specifies whether we do a private
	copy-on-write mapping even when a writable mapping was requested.

svn path=/trunk/mono/; revision=7079
2002-08-27 11:52:16 +00:00
Dietmar Maurer 48cabf2578 2002-08-27 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): removed wrong null
	check (fixes bug #29486)

svn path=/trunk/mono/; revision=7078
2002-08-27 07:53:32 +00:00
Miguel de Icaza 5dc2a03871 I can not figure out, how I made 0.15, without it being on cvs
svn path=/trunk/mono/; revision=7077
2002-08-27 06:41:12 +00:00
Gonzalo Paniagua Javier 416a22b786 Added clean target.
svn path=/trunk/mcs/; revision=7076
2002-08-27 03:06:15 +00:00
Nick Drochak f80004b19f 2002-08-27 Nick Drochak <[email protected]>
* index: fix small typo for top news item

svn path=/trunk/mono/; revision=7075
2002-08-27 03:02:24 +00:00
Gonzalo Paniagua Javier b1c3e6b4bc Oops
svn path=/trunk/mcs/; revision=7074
2002-08-27 02:07:57 +00:00
Gonzalo Paniagua Javier 9e679a80e4 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Security
	* System.Web.Security/DefaultAuthenticationEventHandler.cs:
	* System.Web.Security/DefaultAuthenticationModule.cs:
	* System.Web.Security/FileAuthorizationModule.cs:
	* System.Web.Security/FormsAuthentication.cs:
	* System.Web.Security/FormsAuthenticationEventArgs.cs:
	* System.Web.Security/FormsAuthenticationEventHandler.cs:
	* System.Web.Security/FormsAuthenticationModule.cs:
	* System.Web.Security/FormsAuthenticationTicket.cs:
	* System.Web.Security/FormsIdentity.cs:
	* System.Web.Security/PassportAuthenticationEventArgs.cs:
	* System.Web.Security/PassportAuthenticationEventHandler.cs:
	* System.Web.Security/PassportAuthenticationModule.cs:
	* System.Web.Security/PassportIdentity.cs:
	* System.Web.Security/UrlAuthorizationModule.cs:
	* System.Web.Security/WindowsAuthenticationEventArgs.cs:
	* System.Web.Security/WindowsAuthenticationEventHandler.cs:
	* System.Web.Security/WindowsAuthenticationModule.cs: new files. Some
	of them implemented, some others stubbed out.

svn path=/trunk/mcs/; revision=7073
2002-08-27 02:03:20 +00:00
Gonzalo Paniagua Javier c87c2fda2b 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added a couple of new files in System.Security.Principal.
	* System.Security.Principal/WindowsIdentity.cs:
	* System.Security.Principal/WindowsImpersonationContext.cs: stubbed.

svn path=/trunk/mcs/; revision=7072
2002-08-27 01:40:49 +00:00
Martin Baulig d2bb06c6f2 2002-08-27 Martin Baulig <[email protected]>
* debug.c (MonoDebugHandle): Moved the method hash into the
	AssemblyDebugInfo struct since we need to use a separate hash for each
	MonoImage.

	* debug.c: Added special undocumented command line argument to create a
	symbol file for IL files on-the-fly.  In this case, we also need to create
	the IL files and parse them.
	(mono_debugger_internal_get_symbol_files): Return something more reasonable.

svn path=/trunk/mono/; revision=7067
2002-08-26 23:28:55 +00:00
Martin Baulig 05ee953635 2002-08-27 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Changed the file format in a way that allows us
	open it read-only and to use a specially malloced area for all the
	dynamic data.  We can now also generate a symbol file on-the-fly if we're
	debugging IL code and there is no MCS generated symbol file for it.

svn path=/trunk/mono/; revision=7066
2002-08-26 23:25:36 +00:00
Martin Baulig 97542158b6 2002-08-27 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Changed the file format in a way that allows us
	open it read-only and to use a specially malloced area for all the
	dynamic data.

svn path=/trunk/mcs/; revision=7065
2002-08-26 23:23:36 +00:00
Gonzalo Paniagua Javier d201881f93 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
	to add HttpMapPath to the list file...

svn path=/trunk/mcs/; revision=7064
2002-08-26 23:14:23 +00:00
Gonzalo Paniagua Javier ff19f0aa42 Added IHttpMapPath.cs
svn path=/trunk/mcs/; revision=7063
2002-08-26 23:11:53 +00:00
Ravi Pratap M e09e903225 2002-08-26 Ravi Pratap <[email protected]>
* XmlAttribute.cs (InnerText): Implement getting this property.

	* XmlNode.cs (InnerText): Ensure that we append only values of
	text nodes.

svn path=/trunk/mcs/; revision=7061
2002-08-26 20:26:15 +00:00
Gonzalo Paniagua Javier 06a84330ee 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
	report when i get a test case.

svn path=/trunk/mcs/; revision=7060
2002-08-26 20:25:21 +00:00
Gonzalo Paniagua Javier e4e5331199 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: little fixes.

svn path=/trunk/mcs/; revision=7058
2002-08-26 19:45:11 +00:00
Gonzalo Paniagua Javier 22239e7634 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs:
	* HttpCachePolicy.cs:
	* HttpResponseHeader.cs:
	* HttpResponseStream.cs:
	* HttpResponseStreamProxy.cs:
	* HttpValueCollection.cs: misc. fixes based on class status page.

	* IHttpMapPath.cs: New file.

	* HttpRequest.cs: implemented ContentEncoding.
	* HttpWorkerRequest.cs: mono-stylized and implemented
	SendResponseFromMemory.

svn path=/trunk/mcs/; revision=7057
2002-08-26 19:27:46 +00:00
Ravi Pratap M 5d82d5ca9f Fix typo.
svn path=/trunk/mcs/; revision=7055
2002-08-26 17:29:56 +00:00
Paolo Molaro 4358d78a0e Mon Aug 26 16:47:37 CEST 2002 Paolo Molaro <[email protected]>
* object.c: added a define for a good string and array
	creation speedup (not enabled by default because we need to deal with
	the synch stuff).

svn path=/trunk/mono/; revision=7052
2002-08-26 14:50:32 +00:00
Nick Drochak 6ec3005613 2002-08-26 Nick Drochak <[email protected]>
* BinaryReaderTest.cs: Closing the stream twice doesn not throw any
	exceptions on .NET.

svn path=/trunk/mcs/; revision=7051
2002-08-26 14:47:25 +00:00
Paolo Molaro 6c10f94827 Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <[email protected]>
* *.cs: change to conform to mono coding style.

svn path=/trunk/mcs/; revision=7050
2002-08-26 14:46:37 +00:00
Gonzalo Paniagua Javier e60e67f9be Added 'clean' target to build file
svn path=/trunk/mcs/; revision=7049
2002-08-26 03:24:22 +00:00
Gonzalo Paniagua Javier 71ed9a2dd0 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
	that allowed compiling this.
	[ FIXME: filed bug #29435. mcs should have failed on this ]

svn path=/trunk/mcs/; revision=7048
2002-08-26 03:14:30 +00:00
Gonzalo Paniagua Javier b83d3bf2ad 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* AuthenticationMode.cs:
	* ClientTargetSectionHandler.cs:
	* FormsAuthPasswordFormat.cs:
	* FormsProtectionEnum.cs:
	* HttpCapabilitiesBase.cs: fixes base on class status page.

svn path=/trunk/mcs/; revision=7047
2002-08-26 02:53:15 +00:00
Gonzalo Paniagua Javier 7ab3214054 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files.

	* System.Web.UI.WebControls/FontUnit.cs:
	* System.Web.UI.WebControls/HorizontalAlign.cs:
	* System.Web.UI.WebControls/Unit.cs:
	* System.Web.UI.WebControls/VerticalAlign.cs: fixes based on class
	status page.

	* System.Web.UI.WebControls/HorizontalAlignConverter.cs: implemented.
	* System.Web.UI.WebControls/VerticalAlignConverter.cs: implemented.

	* System.Web.UI.WebControls/FontUnitConverter.cs: implemented
	GetStandardValues ().

	* System.Web.UI.WebControls/WebColorConverter.cs: implemented
	ConvertFrom () and ConvertTo ().

svn path=/trunk/mcs/; revision=7046
2002-08-26 02:36:24 +00:00
Rodrigo Moya 49f4f066e8 2002-08-25 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
	correctly the isolation level.
	(IsolationLevel): likewise.
	(~OleDbTransaction): implemented.

	* System.Data.OleDb/libgda.cs: added more needed stuff.

svn path=/trunk/mcs/; revision=7043
2002-08-26 01:23:20 +00:00
Gonzalo Paniagua Javier a3d9d0e4d5 *** empty log message ***
svn path=/trunk/mcs/; revision=7042
2002-08-26 00:59:16 +00:00
Gonzalo Paniagua Javier d1062e5f1d Moved from System.Web.Utils to System.Web.Util
svn path=/trunk/mcs/; revision=7041
2002-08-26 00:57:47 +00:00
Martin Baulig eeb019ede8 2002-08-26 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_free_symbol_files): New function.
	(mono_debugger_internal_symbol_files_changed): New global variable.

svn path=/trunk/mono/; revision=7039
2002-08-26 00:26:53 +00:00
Martin Baulig b4f60eb86b Removed some debugging stuff and made this work for the first line in a method.
svn path=/trunk/mono/; revision=7038
2002-08-26 00:25:41 +00:00
Martin Baulig a524dfbda7 2002-08-26 Martin Baulig <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Include the error message
	from g_module_error() in the error message.

svn path=/trunk/mono/; revision=7037
2002-08-26 00:25:15 +00:00
Gonzalo Paniagua Javier 7912776803 added TcpServerChannel.cs
svn path=/trunk/mcs/; revision=7036
2002-08-26 00:16:07 +00:00
Gonzalo Paniagua Javier 75ab78e4bb Moving this file to System.Runtime.Remoting.dll
svn path=/trunk/mcs/; revision=7035
2002-08-26 00:12:01 +00:00
Tim Coleman ad41847caa 2002-08-25 Tim Coleman <[email protected]>
* XmlNode.cs:
                Change CreateNavigator to not be virtual.
        * XmlElement.cs:
                Add set_Prefix and InnerText accessors.
        * XmlEntityReference.cs:
                Add set_Value accessor.
        * XmlTextWriter.cs:
                Make objects which should be private private.
        * XmlWriter.cs:
                Remove WriteStartElementInternal abstract definition.
        * XmlValidatingReader.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=7034
2002-08-25 22:04:31 +00:00
Martin Baulig 9443a98307 2002-08-25 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Don't allow `!=' and
	`==' between a valuetype and an object.

svn path=/trunk/mcs/; revision=7033
2002-08-25 21:55:13 +00:00
Sergey Chaban f5d4a50a8e Fixed small typo that resulted in infinite loop when pasing signatures with custom modifiers.
svn path=/trunk/mono/; revision=7028
2002-08-25 17:20:16 +00:00
Tim Coleman a47aca07c9 2002-08-24 Tim Coleman <[email protected]>
* SoapCodeExporter.cs:
                Fix return value of ExportTypeMapping.
        * XmlCustomFormatter.cs:
                Change methods to be internal instead of public.
        * XmlSerializationWriter.cs:
                Modify GetPrimitiveTypeName to build on linux.
                Modify GetQualifiedName to return an incrementing prefix
                instead of the same one all the time (still need to manage
                conflicts)
                Modify WriteElementString to only do special stuff is XsiType
                is not defined.
                Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
                an XmlQualifiedName.

svn path=/trunk/mcs/; revision=7023
2002-08-25 05:16:40 +00:00
Miguel de Icaza feb82bd617 2002-08-25 Miguel de Icaza <[email protected]>
* ecore.cs (TypeExpr): Provide a ToString method.

svn path=/trunk/mcs/; revision=7022
2002-08-25 05:16:30 +00:00
Tim Coleman 66c54d45e3 2002-08-24 Tim Coleman <[email protected]>
* list:
                New files added to build.

svn path=/trunk/mcs/; revision=7021
2002-08-25 04:33:29 +00:00
Tim Coleman 92f445d92c 2002-08-24 Tim Coleman <[email protected]>
* HttpServerProtocol.cs:
        * WebServiceHandler.cs:
                Some commented code added, from analysing
                an exception trace.
        * MimeReturnWriter.cs:
        * XmlReturnWriter.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=7020
2002-08-25 04:32:55 +00:00
Martin Baulig 61be84f5d6 Added public property to get the methods.
svn path=/trunk/mcs/; revision=7018
2002-08-25 01:07:56 +00:00
Miguel de Icaza d46fda6d71 2002-08-24 Miguel de Icaza <[email protected]>
* StreamReader.cs: Removed TODOs, as the code seems to be
	complete.

svn path=/trunk/mcs/; revision=7017
2002-08-25 00:04:06 +00:00
Martin Baulig 6231adbb70 Use start and end addresses for methods.
svn path=/trunk/mono/; revision=7016
2002-08-25 00:04:06 +00:00
Martin Baulig 80105b4782 Use StartAddress and EndAddress for methods.
svn path=/trunk/mcs/; revision=7015
2002-08-25 00:03:38 +00:00
Miguel de Icaza f7cd19e933 2002-08-24 Miguel de Icaza <[email protected]>
* Path.cs (GetTempFileName): Make this routine atomic by not
	testing and then creating, but using the create call to ensure
	that we own the filename.

svn path=/trunk/mcs/; revision=7014
2002-08-24 23:59:54 +00:00
Radek Doulik d0497fcc46 fixed struct marshaling, 108 tests pass now
svn path=/trunk/mono/; revision=7013
2002-08-24 23:54:12 +00:00
Martin Baulig ecf4ffdc4f 2002-08-24 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_symbol_files): New function.

svn path=/trunk/mono/; revision=7010
2002-08-24 23:12:44 +00:00
Martin Baulig 474fba8120 Oooops, that was a cut&paste error ...
svn path=/trunk/mono/; revision=7009
2002-08-24 23:11:31 +00:00
Martin Baulig 416f94ed9b 2002-08-25 Martin Baulig <[email protected]>
* MonoSymbolTableReader.cs: New file.  This is the reader for the
	new symbol file format.

svn path=/trunk/mcs/; revision=7008
2002-08-24 23:02:46 +00:00
Miguel de Icaza a58ff9d3c1 Flush
svn path=/trunk/mono/; revision=7007
2002-08-24 22:55:31 +00:00
Juli Mallett 21c8194c65 2002-08-24 Juli Mallett <[email protected]>
* configure.in: Recognise OpenBSD/macppc as PowerPC.

svn path=/trunk/mono/; revision=7006
2002-08-24 22:25:58 +00:00
Gonzalo Paniagua Javier a72919388c 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* TypeBuilder.cs: UnspecifiedTypeSize is 0.

svn path=/trunk/mcs/; revision=7005
2002-08-24 17:57:01 +00:00
Gonzalo Paniagua Javier e8d3094b31 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* LifetimeServices.cs: the class is sealed.

svn path=/trunk/mcs/; revision=7004
2002-08-24 17:55:11 +00:00
Gonzalo Paniagua Javier df590f5519 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ChannelServices.cs: added private .ctor

svn path=/trunk/mcs/; revision=7003
2002-08-24 17:53:45 +00:00
Gonzalo Paniagua Javier 4c38a8392d 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs:
	* BitArray.cs:
	* CaseInsensitiveComparer.cs:
	* CaseInsensitiveHashCodeProvider.cs:
	* IEnumerable.cs:
	* Queue.cs: misc. fixes based on class status page.

svn path=/trunk/mcs/; revision=7002
2002-08-24 17:52:23 +00:00
Gonzalo Paniagua Javier 851bbb86ad 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncoding.cs:
	* Decoder.cs:
	* Encoder.cs:
	* Encoding.cs:
	* UTF7Encoding.cs:
	* UTF8Encoding.cs:
	* UnicodeEncoding.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=7001
2002-08-24 17:49:22 +00:00
Gonzalo Paniagua Javier 8df6fef700 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: improved performace by using String.InternalCopyTo
	instead of using ToCharArray all over the place (more that 50% of
	speed improvement when using Append).

svn path=/trunk/mcs/; revision=7000
2002-08-24 17:46:16 +00:00
Martin Baulig 56d9f7cfdc 2002-08-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_write_symbols): Added support for the new
	debugging format.

svn path=/trunk/mono/; revision=6999
2002-08-24 17:29:56 +00:00
Martin Baulig 955251d0a3 2002-08-24 Martin Baulig <[email protected]>
* rawbuffer.c (mono_raw_buffer_load): Added `int is_shared'
	argument.  This is a flag which specifies whether we do a private
	copy-on-write mapping even when a writable mapping was requested.

	* debug-mono-symfile.c (mono_debug_update_mono_symbol_file): New
	function to update the symbol file.  The symbol file is mmap()ed
	writable, but private.  This allows us to install the symbol file
	together with the assembly.

svn path=/trunk/mono/; revision=6998
2002-08-24 17:29:06 +00:00
Gonzalo Paniagua Javier 67576cf33d Removed. It's almost the same as InternalCopyTo in string-icalls.c
svn path=/trunk/mono/; revision=6997
2002-08-24 16:48:44 +00:00
Gonzalo Paniagua Javier e822f0183a 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_StringBuilder_CopyChars.

svn path=/trunk/mono/; revision=6996
2002-08-24 16:17:09 +00:00
Martin Baulig 296030ce22 Added docu about the new mono' debugging format and removed dwarf-plus' since I'm about to remove this.
svn path=/trunk/mono/; revision=6995
2002-08-24 16:04:31 +00:00
Martin Baulig 4924193d17 2002-08-24 Martin Baulig <[email protected]>
* mono.c (main): The `--debug' argument now knows about a new
	debugging format `mono' which will be used to display source lines
	in backtraces.

	* debug.h (MonoDebugFormat): Added a new MONO_DEBUG_FORMAT_MONO
	which will be used when displaying backtraces.  It reads a new
	binary symbol file.

svn path=/trunk/mono/; revision=6994
2002-08-24 16:03:19 +00:00
Martin Baulig 589c754cf8 2002-08-24 Martin Baulig <[email protected]>
* debug-mono-symfile.[ch]: New files.  Similar to debug-symfile.[ch]
	but they can read the new symbol file format which mcs is now creating.

	* debug-symfile.c (mono_debug_find_source_location): Moved to
	debug-mono-symfile.c; this is now operating on the new symbol file.

svn path=/trunk/mono/; revision=6993
2002-08-24 16:02:31 +00:00
Martin Baulig 0ab5f8b4da 2002-08-24 Martin Baulig <[email protected]>
* codegen.cs (CodeGen.InitMonoSymbolWriter): The symbol file is
	now called proggie.dbg and it's a binary file.

svn path=/trunk/mcs/; revision=6992
2002-08-24 15:57:45 +00:00
Martin Baulig 0f999df09c 2002-08-24 Martin Baulig <[email protected]>
* MonoSymbolTable.cs, MonoSymbolTableWriter.cs: New files.  This
	creates a binary application.dbg file which will be used by the
	JIT to display source lines for exceptions.

	* list.unix: Disabled the dwarf file writer in the build.

svn path=/trunk/mcs/; revision=6991
2002-08-24 15:54:44 +00:00
Dietmar Maurer 2634b55731 more tcp channel code, renamed soap namespace to Soap
svn path=/trunk/mcs/; revision=6990
2002-08-24 10:39:22 +00:00
Tim Coleman 2255211cb9 2002-08-23 Tim Coleman <[email protected]>
* list:
                New files added to build.

svn path=/trunk/mcs/; revision=6987
2002-08-24 04:17:14 +00:00
Tim Coleman 60f5e9158d 002-08-23 Tim Coleman <[email protected]>
* ServerProtocol.cs:
        * SoapServerProtocol.cs:
                More cleanup, comparison with class status.
        * WebServiceHandler.cs:
        * HttpServerProtocol.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6986
2002-08-24 04:16:30 +00:00
Miguel de Icaza affbd09104 Flush
svn path=/trunk/mono/; revision=6985
2002-08-24 00:53:06 +00:00
Miguel de Icaza 736b3c4147 Add
svn path=/trunk/mcs/; revision=6984
2002-08-24 00:49:12 +00:00
Miguel de Icaza c3bad0708e Flush
svn path=/trunk/mono/; revision=6983
2002-08-24 00:34:40 +00:00
Miguel de Icaza 73651b5b2a Fix
svn path=/trunk/mono/; revision=6982
2002-08-23 23:52:51 +00:00
Miguel de Icaza b30b11435b Prepare for 0.15
svn path=/trunk/mono/; revision=6981
2002-08-23 23:36:10 +00:00
Miguel de Icaza 6f8509ece5 For now, get _REENTRANT defined, we should use the Sleepycat mechanism later
svn path=/trunk/mono/; revision=6979
2002-08-23 22:47:09 +00:00
Miguel de Icaza bdb0cea332 remove spec
svn path=/trunk/mcs/; revision=6976
2002-08-23 20:06:01 +00:00
Martin Baulig 6cd8fed06e Make this actually work.
svn path=/trunk/mcs/; revision=6973
2002-08-23 19:45:54 +00:00
Martin Baulig e2f0145377 2002-08-23 Martin Baulig <[email protected]>
* jit.c (match_debug_method): Don't include runtime invoke methods
	in the search.

svn path=/trunk/mono/; revision=6972
2002-08-23 19:44:55 +00:00
Martin Baulig 11be232e56 You can now use `--break Main' to insert a breakpoint on the application's
main method.

svn path=/trunk/mono/; revision=6971
2002-08-23 19:29:46 +00:00
Martin Baulig fcaff569a5 2002-08-23 Martin Baulig <[email protected]>
* mono.c (main): Accept `Main' as argument to --break to insert a
	breakpoint on the application's main method.

svn path=/trunk/mono/; revision=6970
2002-08-23 19:29:16 +00:00
Martin Baulig fca4a88c75 2002-08-23 Martin Baulig <[email protected]>
* debug-helpers.c (mono_method_desc_from_method): New function to get
	a MonoMethodDesc from a MonoMethod.

svn path=/trunk/mono/; revision=6969
2002-08-23 19:28:31 +00:00
Martin Baulig 45e37eacb8 2002-08-23 Martin Baulig <[email protected]>
* decl.cs (MemberCache.AddMethods): Ignore varargs methods.

svn path=/trunk/mcs/; revision=6968
2002-08-23 18:53:25 +00:00
Miguel de Icaza cd394ccd36 Add monoresgen to the build
svn path=/trunk/mcs/; revision=6967
2002-08-23 18:49:12 +00:00
Martin Baulig 709db5d5f8 2002-08-23 Martin Baulig <[email protected]>
* struct.cs (MyStructInfo.ctor): Make this work with empty
	structs; it's not allowed to use foreach() on null.

svn path=/trunk/mcs/; revision=6966
2002-08-23 18:27:45 +00:00
Martin Baulig f991383273 2002-08-23 Martin Baulig <[email protected]>
* codegen.cs (CodeGen.InitMonoSymbolWriter): Tell the symbol
	writer the full pathname of the generated assembly.

svn path=/trunk/mcs/; revision=6965
2002-08-23 18:17:41 +00:00
Martin Baulig c976f20047 2002-08-23 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Added
	assembly name argument.  Since the symbol writer needs to read the
	final assembly, we need to give it its full pathname.

svn path=/trunk/mcs/; revision=6964
2002-08-23 18:16:32 +00:00
Miguel de Icaza 1d8e204102 It works just as fine
svn path=/trunk/mcs/; revision=6963
2002-08-23 17:53:38 +00:00
Paolo Molaro 22803f39c3 Debugging support in mcs.
svn path=/trunk/mono/; revision=6962
2002-08-23 17:53:08 +00:00
Martin Baulig b5a338749b 2002-08-23 Martin Baulig <[email protected]>
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.

svn path=/trunk/mcs/; revision=6961
2002-08-23 17:52:54 +00:00
Martin Baulig bf83a12174 2002-08-23 Martin Baulig <[email protected]>
* makefile.gnu, list.unix: Added.

svn path=/trunk/mcs/; revision=6960
2002-08-23 17:51:46 +00:00
Paolo Molaro d40b1d1609 Make sure we include all the assemblies in a release.
svn path=/trunk/mono/; revision=6959
2002-08-23 17:48:35 +00:00
Martin Baulig 283f8c047e Added one more testcase to this test.
svn path=/trunk/mcs/; revision=6958
2002-08-23 17:37:07 +00:00
Martin Baulig cb9a938821 2002-08-23 Martin Baulig <[email protected]>
* statements.cs (FlowBranching.UsageVector.MergeChildren):
	A `finally' block never returns or breaks; improved handling of
	unreachable code.

svn path=/trunk/mcs/; revision=6957
2002-08-23 17:36:41 +00:00
Paolo Molaro 526427e05b Included license in the source.
svn path=/trunk/mcs/; revision=6956
2002-08-23 17:21:06 +00:00
Gonzalo Paniagua Javier 2920d505fb 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* System/Double.cs: implemented TryParse.

	* System/Math.cs: PowImpl is now private.

	* System/MissingFieldException.cs: implemented Message.

	* System/RuntimeMethodHandle.cs: stubbed GetFunctionPointer.

	* System/_AppDomain.cs: Uncommented ToString.

	* System.IO/FileLoadException.cs: implemented ToString.

	* System.IO/StreamWriter.cs: added Null field and implemented
	Write (char) and Write (char []).

svn path=/trunk/mcs/; revision=6955
2002-08-23 16:56:08 +00:00
Martin Baulig 426dcfcabe 2002-08-23 Martin Baulig <[email protected]>
* statement.cs (Throw.Resolve): Allow `throw null'.

svn path=/trunk/mcs/; revision=6954
2002-08-23 15:41:35 +00:00
Martin Baulig 8e5efe2829 2002-08-23 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): If this is an
	EventExpr, don't do a DeclaredOnly MemberLookup, but check whether
	`ee.EventInfo.DeclaringType == ec.ContainerType'.  The
	MemberLookup would return a wrong event if this is an explicit
	interface implementation and the class has an event with the same
	name.

svn path=/trunk/mcs/; revision=6950
2002-08-23 15:31:58 +00:00
Martin Baulig ef88f0cf1a Reverted this for the moment, it's causing too many problems.
2002-08-12  Martin Baulig  <[email protected]>

	* attribute.cs (Attribute.Resolve): Call System.Enum.ToObject() on
	enum constants so that we encode the value with the enum type and
	not its underlying type.

svn path=/trunk/mcs/; revision=6949
2002-08-23 14:08:23 +00:00
Martin Baulig 9e0e7f8914 Ooops, forgot to commit this.
svn path=/trunk/mcs/; revision=6948
2002-08-23 14:07:29 +00:00
Paolo Molaro ef40482a9f Fri Aug 23 15:54:09 CEST 2002 Paolo Molaro <[email protected]>
* object.c: fixes assertion failure caused by multiple ExecuteAssembly
	calls for same domain (patch by Tomi Pakarinen <[email protected]>).

svn path=/trunk/mono/; revision=6947
2002-08-23 13:56:10 +00:00
Martin Baulig 5ea1c562e7 2002-08-23 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Resolve): Don't call System.Enum.ToObject()
	on dynamic types since this is currently broken.

svn path=/trunk/mcs/; revision=6946
2002-08-23 13:45:31 +00:00
Martin Baulig 5216d74308 2002-08-23 Martin Baulig <[email protected]>
* statement.cs (Block.AddChildVariableNames): New public method.
	(Block.AddChildVariableName): Likewise.
	(Block.IsVariableNameUsedInChildBlock): Likewise.
	(Block.AddVariable): Check whether a variable name has already
	been used in a child block.

	* cs-parser.jay (declare_local_variables): Mark all variable names
	from the current block as being used in a child block in the
	implicit block.

svn path=/trunk/mcs/; revision=6945
2002-08-23 13:20:12 +00:00
Martin Baulig 9f5fce963b Updated the instructions a bit.
svn path=/trunk/mono/; revision=6944
2002-08-23 12:42:53 +00:00
Martin Baulig 3289aeecf0 2002-08-23 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_class_field): Don't include any static fields.

svn path=/trunk/mono/; revision=6943
2002-08-23 12:40:36 +00:00
Martin Baulig 857ad5b9d5 2002-08-23 Martin Baulig <[email protected]>
* codegen.cs (CodeGen.InitializeSymbolWriter): Abort if we can't
	find the symbol writer.

svn path=/trunk/mcs/; revision=6942
2002-08-23 12:25:39 +00:00
Martin Baulig 9079686460 2002-08-23 Martin Baulig <[email protected]>
* driver.cs: csc also allows the arguments to /define being
	separated by commas, not only by semicolons.

svn path=/trunk/mcs/; revision=6941
2002-08-23 12:22:07 +00:00
Martin Baulig eff68aae47 This is the patch from bug #28562.
2002-08-12  Martin Baulig  <[email protected]>

	* attribute.cs (Attribute.Resolve): Call System.Enum.ToObject() on
	enum constants so that we encode the value with the enum type and
	not its underlying type.

svn path=/trunk/mcs/; revision=6940
2002-08-23 12:14:39 +00:00
Martin Baulig ed8437dd7a 2002-08-23 Martin Baulig <[email protected]>
* interface.cs (Interface.GetMembers): Added static check for events.

svn path=/trunk/mcs/; revision=6939
2002-08-23 12:08:31 +00:00
Martin Baulig dbecdf4f41 Use different return values for different error conditions.
svn path=/trunk/mcs/; revision=6936
2002-08-23 11:43:43 +00:00
Paolo Molaro a664a96d5e Fri Aug 23 12:14:45 CEST 2002 Paolo Molaro <[email protected]>
* string-icalls.[ch]: make helper methods static.

svn path=/trunk/mono/; revision=6935
2002-08-23 10:16:20 +00:00
Gonzalo Paniagua Javier a1d3678325 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: implemented NullStreamReader.

svn path=/trunk/mcs/; revision=6934
2002-08-23 06:45:48 +00:00
Gonzalo Paniagua Javier eb97c76bed added )
svn path=/trunk/mcs/; revision=6933
2002-08-23 06:29:49 +00:00
Gonzalo Paniagua Javier 92046f55a8 added CompilerError.cs
svn path=/trunk/mcs/; revision=6932
2002-08-23 06:25:56 +00:00
Gonzalo Paniagua Javier 9a22266fe9 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* CompilerError.cs: implemented.
	* CompilerErrorCollection.cs: stubbed out and fix inheritance.
	* GeneratorSupport.cs: fixed values.

svn path=/trunk/mcs/; revision=6931
2002-08-23 06:24:31 +00:00
Gonzalo Paniagua Javier 3a87b353c4 fixed warning
svn path=/trunk/mcs/; revision=6930
2002-08-23 06:20:37 +00:00
Gonzalo Paniagua Javier f08d92fb2c 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* System.ComponentModel/BindableSupport.cs:
	* System.ComponentModel/Component.cs:
	* System.ComponentModel/EventDescriptorCollection.cs:
	* System.ComponentModel/ITypeDescriptorContext.cs:
	* System.ComponentModel/TypeConverter.cs:
	* System.ComponentModel/TypeDescriptor.cs:
	* System.Diagnostics/Process.cs: more class status based fixes.

	* System.ComponentModel/StringConverter.cs: implemented a couple of
	methods.

svn path=/trunk/mcs/; revision=6929
2002-08-23 05:37:58 +00:00
Gonzalo Paniagua Javier d5dcc5e01a 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* InternalBufferOverflowException.cs:
	* NotifyFilters.cs:
	* WatcherChangeTypes.cs: little fixes based on class status page.

svn path=/trunk/mcs/; revision=6928
2002-08-23 05:17:50 +00:00
Gonzalo Paniagua Javier 79edbd76d7 oops
svn path=/trunk/mcs/; revision=6927
2002-08-23 05:10:16 +00:00
Jason Diamond d0cd6199a5 Implementation and tests for XmlAttributeCollection.RemoveAll and XmlElement.RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
svn path=/trunk/mcs/; revision=6926
2002-08-23 05:09:53 +00:00
Gonzalo Paniagua Javier db0e7930ea 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* Type.cs:
	(IsValueTypeImpl): it's virtual, not abstract. Implemented.

svn path=/trunk/mcs/; revision=6925
2002-08-23 05:05:37 +00:00
Gonzalo Paniagua Javier e944fc091a 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* ArgumentException.cs: use the field instead of the property for
	param_name.

	* ArgumentOutOfRangeException.cs: modified Message.

	* DateTime.cs:
	(_DoParse): throw out of range exception for year. Removed check
	for month (it's done in the constructor).

svn path=/trunk/mcs/; revision=6924
2002-08-23 04:45:51 +00:00
Tim Coleman e2f62c9a84 *** empty log message ***
svn path=/trunk/mcs/; revision=6923
2002-08-23 03:46:58 +00:00
Tim Coleman 9a60dcf99b 2002-08-22 Tim Coleman <[email protected]>
* XmlSerializationReader.cs:
                Some implementation
        * XmlSerializationWriter.cs:
                More implementation
        * XmlCustomFormatter.cs:
                Implemented this class.

svn path=/trunk/mcs/; revision=6922
2002-08-23 03:46:44 +00:00
Miguel de Icaza dc63b8777c Flush
svn path=/trunk/mono/; revision=6921
2002-08-23 03:34:49 +00:00
Jason Diamond f9553b038a Correction to previous GetElementsByTagName patch courtesy of Matt Hunter <[email protected]>.
svn path=/trunk/mcs/; revision=6920
2002-08-23 03:26:57 +00:00
Gonzalo Paniagua Javier c987ba086d 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* icall.c: re-applied patch to GetValueInternal. Also added R4 and R8
	types to it and to SetValueInternal.

	* object.c: Moved handle_enum label to its proper place. This was the
	f... bug! ;-)

	This time i compiled mcs and gtk-sharp and they both work.

svn path=/trunk/mono/; revision=6919
2002-08-23 02:23:07 +00:00
Jaime Anguiano Olarra 7aa088230d Updated. Please, let me know how to install corlib.dll exactly so I can
add it.

svn path=/trunk/mono/; revision=6917
2002-08-23 01:06:58 +00:00
Gonzalo Paniagua Javier 5bdc541416 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* icall.c: reverted partially my previous patch until
	object.c:set_value handles enums correcly.

svn path=/trunk/mono/; revision=6916
2002-08-22 23:46:42 +00:00
Ravi Pratap M 5e9c839aa8 REvert changes - they were wrong
svn path=/trunk/mcs/; revision=6915
2002-08-22 23:28:30 +00:00
Ravi Pratap M 0fb81cd38b 2002-08-22 Ravi Pratap <[email protected]>
* XmlElement.cs : Implement the Value property.

svn path=/trunk/mcs/; revision=6913
2002-08-22 23:06:38 +00:00
Miguel de Icaza 1e1584a596 Flush
svn path=/trunk/mono/; revision=6911
2002-08-22 21:43:38 +00:00
Gonzalo Paniagua Javier d4a63fe1ba 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_MonoField_GetValue): changed to use mono_field_get_value.
	(ves_icall_System_Environment_get_MachineName): removed warning when
	compiling under cygwin.

svn path=/trunk/mono/; revision=6902
2002-08-22 19:38:32 +00:00
Gonzalo Paniagua Javier ed5dfb871d 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
* MonoField.cs: GetValue renamed to GetValueInternal. Added check for
	null.

svn path=/trunk/mcs/; revision=6901
2002-08-22 19:38:12 +00:00
Paolo Molaro 702900d56c Thu Aug 22 18:49:11 CEST 2002 Paolo Molaro <[email protected]>
* object.c: fixed field_get_value() for reference types.

svn path=/trunk/mono/; revision=6899
2002-08-22 16:52:48 +00:00
Tim Coleman 3c36cfbe06 2002-08-22 Tim Coleman <[email protected]>
* list.unix:
                Add System.Xml.Serialization/XmlCustomFormatter.cs

svn path=/trunk/mcs/; revision=6898
2002-08-22 15:58:01 +00:00
Tim Coleman e9ad8331ab 2002-08-22 Tim Coleman <[email protected]>
* XmlSerializationWriter.cs:
                More implementation
        * XmlCustomFormatter.sc:
                Implemented this class.

svn path=/trunk/mcs/; revision=6897
2002-08-22 15:57:12 +00:00
Nick Drochak 1927c93e49 2002-08-23 Nick Drochak <[email protected]>
* IsVolatile.cs: No _public_ members, but if we don't put a private
	ctor, the complier will give us a public one.

svn path=/trunk/mcs/; revision=6896
2002-08-22 15:57:02 +00:00
Nick Drochak e2c8d7c638 2002-08-23 Nick Drochak <[email protected]>
* IsVolatile.cs: This class has no members, not even an empty ctor.

svn path=/trunk/mcs/; revision=6895
2002-08-22 15:08:45 +00:00
Nick Drochak 314b4cfd3d 2002-08-22 Nick Drochak <[email protected]>
* unix.args: removed obsolete PInvokeMap.cs

svn path=/trunk/mcs/; revision=6894
2002-08-22 15:03:38 +00:00
Nick Drochak 9d9d871fd5 2002-08-22 Nick Drochak <[email protected]>
* OutAttribute.cs: TypeID isn't overriden from Attribute here.
	* PInvokeMap.cs: Non-existent enum.  Must be from beta days.

svn path=/trunk/mcs/; revision=6893
2002-08-22 15:01:40 +00:00
Nick Drochak e36c7e7ab7 2002-08-22 Nick Drochak <[email protected]>
* OutAttribute.cs: TypeID isn't overriden from Attribute here.

svn path=/trunk/mcs/; revision=6892
2002-08-22 14:54:31 +00:00
Gonzalo Paniagua Javier 3bf01dba9c Removed BinaryArrayTypeEnum.cs. The file does not exist
svn path=/trunk/mcs/; revision=6891
2002-08-22 14:33:55 +00:00
Gonzalo Paniagua Javier f1829ef3ee Removed debugging stuff
svn path=/trunk/mcs/; revision=6890
2002-08-22 14:14:21 +00:00
Gonzalo Paniagua Javier 6a0775fc8e 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: almost fully implemented.

svn path=/trunk/mcs/; revision=6889
2002-08-22 14:12:14 +00:00
Nick Drochak 72ef48ba9e 2002-08-22 Nick Drochak <[email protected]>
* RemotingSurrogateSelector.cs (SetRootObject): Function should return
	void, not object.

svn path=/trunk/mcs/; revision=6888
2002-08-22 13:56:57 +00:00
Nick Drochak 353f7edbb1 2002-08-22 Nick Drochak <[email protected]>
* SoapFault.cs: Serialization ctr should be private

svn path=/trunk/mcs/; revision=6887
2002-08-22 13:51:15 +00:00
Nick Drochak b810eeffea 2002-08-22 Nick Drochak <[email protected]>
* BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
	from beta days)

svn path=/trunk/mcs/; revision=6886
2002-08-22 13:42:50 +00:00
Jason Diamond 86ffcfbcd7 Added implementation of namepsace qualified GetElementsByTagName courtesy of
Matt Hunter <[email protected]>.

svn path=/trunk/mcs/; revision=6885
2002-08-22 13:11:55 +00:00
Dick Porter 2875f13d5a 2002-08-22 Dick Porter <[email protected]>
* socket-io.c (ves_icall_System_Net_Sockets_Socket_RecvFrom_internal):
	Don't free a buffer while it's still needed.  Patch from Jonathan
	Liger <[email protected]>

svn path=/trunk/mono/; revision=6884
2002-08-22 08:49:27 +00:00
Daniel Morgan 175d7bd7d5 2002-08-22 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlParameter.cs: flush

	* System.Data.SqlClient/SqlParameterCollection.cs: fixes
	for the Item property, IndexOf, and Contains.

	* Test/SqlSharpCli.cs: added input parameters support.
	when a query is executed, if a parameter name matches
	a SQL# internal variable name, it uses that value for the parameter; otherwise,
	the user is prompted for the parameter value.  Currently, it only supports
	string parameters.

svn path=/trunk/mcs/; revision=6883
2002-08-22 08:39:40 +00:00
Paolo Molaro 13149f5496 Ooops, forgot to commit this file.
svn path=/trunk/mcs/; revision=6882
2002-08-22 07:38:57 +00:00
John Sohn df4a123f90 fixes build
svn path=/trunk/mcs/; revision=6881
2002-08-22 02:38:03 +00:00
John Sohn 4a003c8789 updated build with latest mcs in cvs
svn path=/trunk/mcs/; revision=6880
2002-08-22 02:36:48 +00:00
Miguel de Icaza 9b0c3c66f4 Added spec file
svn path=/trunk/mcs/; revision=6879
2002-08-22 02:02:18 +00:00
Miguel de Icaza c7f770bb99 Add Makefile rule
svn path=/trunk/mono/; revision=6876
2002-08-22 01:38:53 +00:00
Miguel de Icaza 52197e5447 Add data dir
svn path=/trunk/mono/; revision=6875
2002-08-22 01:32:24 +00:00
Miguel de Icaza 997a654a60 Compile fix
svn path=/trunk/mcs/; revision=6874
2002-08-22 01:25:12 +00:00
Miguel de Icaza d7bab4c7ce Add missing file
svn path=/trunk/mcs/; revision=6873
2002-08-22 01:22:47 +00:00
Piers Haken ad69b1a164 Wed Aug 21 18:17:00 PDT 2002 Piers Haken <[email protected]>
* makefile.gnu: add '-f' flag for cleaning

svn path=/trunk/mcs/; revision=6872
2002-08-22 01:16:39 +00:00
Miguel de Icaza fa55b71247 Add missing files
svn path=/trunk/mono/; revision=6871
2002-08-22 01:04:10 +00:00
Rodrigo Moya db5abb3560 2002-08-21 Rodrigo Moya <[email protected]>
* System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
	and get_type for GdaValue).

	* System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
	libgda.cs.

svn path=/trunk/mcs/; revision=6870
2002-08-22 00:13:35 +00:00
Miguel de Icaza d120d26733 2002-08-21 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_System_Environment_get_Platform): Add new
	internal call.

svn path=/trunk/mono/; revision=6869
2002-08-21 23:39:28 +00:00
Miguel de Icaza 8c50416580 2002-08-21 Miguel de Icaza <[email protected]>
* Environment.cs: Implemented OSVersion property.

2002-08-21  Miguel de Icaza  <[email protected]>

	* Path.cs (GetDirectoryName): Fix for filenames with size = 1

	* File.cs: Removed all references that threw exceptions when the
	paths contains a colon, as this is a valid part of an identifier
	on Unix.

	Everywhere: The String.Empty return from GetDirectoryName means
	that there is no directory information about the path.

svn path=/trunk/mcs/; revision=6868
2002-08-21 23:38:23 +00:00
Miguel de Icaza 36162c3ff7 Add throw exceptions where needed
svn path=/trunk/mcs/; revision=6867
2002-08-21 23:36:41 +00:00
Daniel Stodden f1c55b6dd0 OpCode overrides ToString to Name
svn path=/trunk/mcs/; revision=6865
2002-08-21 22:00:51 +00:00
Piers Haken 8a353fd00a Wed Aug 21 10:56:42 PDT 2002 Piers Haken <[email protected]>
* library.make: fix emtpy SOURCES_EXCLUDE rule bug

svn path=/trunk/mcs/; revision=6864
2002-08-21 19:56:39 +00:00
Paolo Molaro feee3a2d52 Wed Aug 21 20:02:04 CEST 2002 Paolo Molaro <[email protected]>
* *.cs: imported the code donated by Rhys Weatherley
	<[email protected]>.

svn path=/trunk/mcs/; revision=6863
2002-08-21 18:04:52 +00:00
Radek Doulik e3cd02888b fixed delegates
svn path=/trunk/mono/; revision=6862
2002-08-21 17:47:34 +00:00
Dietmar Maurer 0d10f00cee revert previous change
svn path=/trunk/mono/; revision=6861
2002-08-21 17:41:00 +00:00
Dietmar Maurer 5b0b17c749 call the binary formatter
svn path=/trunk/mcs/; revision=6860
2002-08-21 16:29:55 +00:00
Miguel de Icaza 7a8b26be63 Add mono.spec.in
svn path=/trunk/mono/; revision=6859
2002-08-21 15:50:21 +00:00
Dietmar Maurer 5dd69de71c 2002-08-21 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_get_method_info): s/MonoMethod/MonoReflectionMethod/
	(ves_icall_get_parameter_info): s/MonoMethod/MonoReflectionMethod/

svn path=/trunk/mono/; revision=6858
2002-08-21 15:20:33 +00:00
Paolo Molaro 4b51e12ff0 Missing resource.
svn path=/trunk/mcs/; revision=6857
2002-08-21 13:44:41 +00:00
Paolo Molaro b367c60337 I18N build integration.
svn path=/trunk/mcs/; revision=6856
2002-08-21 13:41:25 +00:00
Paolo Molaro 5ce95244c0 Build integration.
svn path=/trunk/mcs/; revision=6855
2002-08-21 13:40:36 +00:00
Dietmar Maurer 10aeb580a6 2002-08-21 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_remoting_invoke): save lmf, because
	we call unmanaged code which throws exceptions.

	* exception.c (arch_handle_exception): don't set stack_trace to
	null (so that it contains the full trace even when we rethrow the
	exception).

svn path=/trunk/mono/; revision=6854
2002-08-21 13:09:21 +00:00
Paolo Molaro 81641092ff Missing bit.
svn path=/trunk/mono/; revision=6853
2002-08-21 13:04:20 +00:00
Dietmar Maurer 6cde095dde 2002-08-21 Dietmar Maurer <[email protected]>
* Exception.cs: set stack_trace to null

	* tcp channel work

svn path=/trunk/mcs/; revision=6852
2002-08-21 13:03:59 +00:00
Paolo Molaro 9b887fa021 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
	<[email protected]>.

svn path=/trunk/mcs/; revision=6851
2002-08-21 11:04:50 +00:00
Paolo Molaro ce022e0ec8 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <[email protected]>
* AppDomain.cs: implemented ToString().

svn path=/trunk/mcs/; revision=6850
2002-08-21 11:03:52 +00:00
Paolo Molaro d105e774c6 Wed Aug 21 12:56:49 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h: added per-domain entry_assembly.
	* appdomain.c: ensure mono_runtime_exec_main () gets non-null
	arguments.
	* icall.c: Assembly::GetEntryAssembly icall.
	* object.c: set domain->entry_assembly in mono_runtime_exec_main().
	Changes above from a patch by Tomi Pakarinen <[email protected]>.

svn path=/trunk/mono/; revision=6849
2002-08-21 11:02:07 +00:00
Paolo Molaro a5b993a0aa Readme for mono hackers.
svn path=/trunk/mcs/; revision=6848
2002-08-21 10:17:12 +00:00
Rodrigo Moya 791abbc22e 2002-08-20 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
	property.
	(Close): set the dataReader to null.

	* System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
	connection's DataReader property to this object.
	(Close): set it to null here.
	(Depth, IsDbNull): implemented.
	(this): implemented the Item property with a string indexer.

	* System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
	ExecuteScalar): do nothing if there's already an open data reader.

	* System.Data.OleDb/libgda.cs: more API functions.

	* System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
	reader before continuing.

svn path=/trunk/mcs/; revision=6847
2002-08-21 10:09:22 +00:00
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
Paolo Molaro 5a04c908e9 Initial revision
svn path=/trunk/mcs/; revision=6843
2002-08-21 10:08:33 +00:00
John Sohn 44a50a66fd now compliant with changes in Win32.cs
svn path=/trunk/mcs/; revision=6842
2002-08-21 07:25:37 +00:00
Miguel de Icaza ac7690b850 Flush updates
svn path=/trunk/mono/; revision=6841
2002-08-21 05:53:57 +00:00
Miguel de Icaza 2a8d4abd6c Update docs
svn path=/trunk/mono/; revision=6840
2002-08-21 03:04:13 +00:00
Tim Coleman bfd8355ba8 2002-08-20 Tim Coleman <[email protected]>
* XmlSerializationWriter.cs:
                Some implementation.

svn path=/trunk/mcs/; revision=6839
2002-08-21 02:58:34 +00:00
Miguel de Icaza e5cfbdb163 2002-08-20 Miguel de Icaza <[email protected]>
* skeleton.cs: Fix the code that expanded the arrays dynamically,
	it was broken, and instead was copying 0 elements.

svn path=/trunk/mcs/; revision=6838
2002-08-21 02:28:30 +00:00
John Sohn 4f6bd9f829 Fixes to Win32 API calls. Provided by Dennis Hayes ([email protected])
Fixed build on mcs later than 0.13

svn path=/trunk/mcs/; revision=6837
2002-08-21 00:58:25 +00:00
Franklin Wise dbf202391b Cleaned up DataTable so I could start implementing it. Added a Test file
for DataTable and implemented much of the default ctor behavoir.  Also added
nowarn:0679 to the System.Data.build file.

svn path=/trunk/mcs/; revision=6834
2002-08-21 00:04:38 +00:00
Martin Baulig 0e89a8a3bb 2002-08-15 Martin Baulig <[email protected]>
* class.cs (MethodData.EmitDestructor): In the Expression.MemberLookup
	call, use ec.ContainerType.BaseType as queried_type and invocation_type.

	* ecore.cs (Expression.MemberLookup): Added documentation and explained
	why the MethodData.EmitDestructor() change was necessary.

svn path=/trunk/mcs/; revision=6832
2002-08-20 22:29:24 +00:00
Martin Baulig 6b0b907592 Ooops, that was the wrong version. Reverted the last change and committed the
correct one.
2002-08-20  Martin Baulig  <[email protected]>

	* class.cs (TypeContainer.FindMembers): Added static check for events.

	* decl.cs (MemberCache.AddMembers): Handle events like normal members.

	* typemanager.cs (TypeHandle.GetMembers): When queried for events only,
	use Type.GetEvents(), not Type.FindMembers().

svn path=/trunk/mcs/; revision=6831
2002-08-20 21:44:04 +00:00
Martin Baulig 32d7586359 2002-08-20 Martin Baulig <[email protected]>
* class.cs (TypeContainer.FindMembers): Always return public events,
	even if only queried for non-public ones.

	* decl.cs (MemberCache.GetEntryType): Set the flags correctly for
	nested types and events.

svn path=/trunk/mcs/; revision=6830
2002-08-20 21:11:03 +00:00
Martin Baulig dd7e30e170 2002-08-20 Martin Baulig <[email protected]>
* decl.cs (MemberCache): Added a special method cache which will
	be used for method-only searched.  This ensures that a method
	search will return a MethodInfo with the correct ReflectedType for
	inherited methods.

svn path=/trunk/mcs/; revision=6819
2002-08-20 19:58:13 +00:00
Gonzalo Paniagua Javier 2fc191f4f1 added System.Runtime.Remoting
svn path=/trunk/mcs/; revision=6817
2002-08-20 18:26:03 +00:00
Gonzalo Paniagua Javier 79e1893a20 Fixes
svn path=/trunk/mcs/; revision=6816
2002-08-20 18:25:37 +00:00
Paolo Molaro 9bc542c66c Doh.
svn path=/trunk/mono/; revision=6815
2002-08-20 17:59:05 +00:00
Jaime Anguiano Olarra f8a5badd66 Links updated.
svn path=/trunk/mono/; revision=6814
2002-08-20 16:40:54 +00:00
Jaime Anguiano Olarra 7686b30faf Added a new section Mono Common Problems. Links to Mono Common Problems :)
svn path=/trunk/mono/; revision=6813
2002-08-20 15:27:46 +00:00
Mark Crichton 015354d526 This nearly completes SPARC trampoline support for mint/mono. The delegate
code still needs some work.

There are bugs.  Send crash reports, as well as .cs code and exe's to
[email protected]

Also, if anyone gets Bus Errors in the code, let me know as well, I've been
hunting down alignment bugs as well.

svn path=/trunk/mono/; revision=6812
2002-08-20 15:03:07 +00:00
Martin Baulig 64cba5995a 2002-08-20 Martin Baulig <[email protected]>
* report.cs (Report.Warning): Added overloaded versions which take
	a warning level argument and do the warning level check.

	* decl.cs (MemberCore.CheckMethodAgainstBase): When reporting a
	warning CS0108 or CS0144, add Modifiers.NEW to the ModFlags.

svn path=/trunk/mcs/; revision=6811
2002-08-20 14:02:35 +00:00
Gonzalo Paniagua Javier 9e4839bee4 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* System.Runtime.Remoting/makefile.gnu:
	* System.Runtime.Remoting/unix.args: new files.

	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSinkProvider.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryServerFormatterSink.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryServerFormatterSinkProvider.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/ChangeLog:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/CommonTransportKeys.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapServerFormatterSink.cs:
	* System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs:

	Move files from corlib.dll to System.Runtime.Remoting.dll.

svn path=/trunk/mcs/; revision=6810
2002-08-20 14:00:04 +00:00
Gonzalo Paniagua Javier 8a3f91bf2b 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* System.Runtime.Remoting.Channels/SynchronizationAttribute.cs: this
	is already in System.EnterpriseServices.dll.

	* corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSinkProvider.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryServerFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/BinaryServerFormatterSinkProvider.cs
	* corlib/System.Runtime.Remoting.Channels/CommonTransportKeys.cs
	* corlib/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSink.cs
	* corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs:
	* corlib/unix.args:

	Move files from corlib.dll to System.Runtime.Remoting.dll.

svn path=/trunk/mcs/; revision=6809
2002-08-20 13:59:19 +00:00
Dick Porter fa33bf99de 2002-08-20 Dick Porter <[email protected]>
* Socket.cs: Fix deadlock when the AsyncResult callback calls
	End*().  Set the async request's worker property so it can return
	results.  These two fixes combined fix bug 28092.

svn path=/trunk/mcs/; revision=6808
2002-08-20 13:48:15 +00:00
Paolo Molaro d945b27f76 Tue Aug 20 15:42:15 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, gc.c: added mono_domain_finalize ().

svn path=/trunk/mono/; revision=6807
2002-08-20 13:43:36 +00:00
Paolo Molaro 0cca56c00a Tue Aug 20 15:15:52 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: patch by [email protected] (Daniel Resare)
	to error out if bison is missing.

svn path=/trunk/mono/; revision=6806
2002-08-20 13:17:31 +00:00
Paolo Molaro b931f5eb8a Patch by [email protected] (Daniel Resare) to allow running
mcs with any runtime.

svn path=/trunk/mcs/; revision=6805
2002-08-20 13:12:58 +00:00
Dietmar Maurer a770df5bbb removed TcpChannel
svn path=/trunk/mcs/; revision=6804
2002-08-20 12:57:06 +00:00
Martin Baulig 46509c3965 2002-08-20 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindMembers): Made this public.

svn path=/trunk/mcs/; revision=6803
2002-08-20 12:30:46 +00:00
Dick Porter 2644c65119 2002-08-20 Dick Porter <[email protected]>
* handles.c (_wapi_handle_scratch_store): Made stored byte lengths
	multiples of 4 bytes, to keep header structures aligned.  Needed
	for sparc, at least. (Patch from [email protected])

	* handles.c: Removed 'disable_shm' variable (we've defaulted to
	building with shm enabled for months now)

svn path=/trunk/mono/; revision=6802
2002-08-20 11:09:25 +00:00
Paolo Molaro d7d1bdeae6 Removed some crap and added more detailed responses in some cases.
svn path=/trunk/mono/; revision=6801
2002-08-20 10:44:08 +00:00
Dietmar Maurer a5d8bd1877 added missing file
svn path=/trunk/mcs/; revision=6800
2002-08-20 09:36:07 +00:00
Dietmar Maurer 3f86e025da added missing files
svn path=/trunk/mcs/; revision=6799
2002-08-20 09:29:52 +00:00
Dietmar Maurer 0c24279edc created an new assembly System.Runtime.Remoting
svn path=/trunk/mcs/; revision=6798
2002-08-20 09:19:57 +00:00
Gonzalo Paniagua Javier 1326fba1d3 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* delegate.cs: fixed build on windows.
	[FIXME:  Filed as bug #29150: MCS must report these errors.]

svn path=/trunk/mcs/; revision=6797
2002-08-20 05:37:48 +00:00
Tim Coleman e7c88b9637 2002-08-20 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Add ServiceDescription.ServiceDescriptionSerializer
                class.

svn path=/trunk/mcs/; revision=6796
2002-08-20 05:37:05 +00:00
Tim Coleman ca92430343 *** empty log message ***
svn path=/trunk/mcs/; revision=6795
2002-08-20 05:25:39 +00:00
Tim Coleman 22b62ac688 *** empty log message ***
svn path=/trunk/mcs/; revision=6794
2002-08-20 05:24:18 +00:00
Tim Coleman 791d861bfa Fix minor typo.
svn path=/trunk/mcs/; revision=6793
2002-08-20 05:22:59 +00:00
Tim Coleman 5bd928561f 2002-08-19 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                New stubs added.
        * XmlSerializationWriter.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6792
2002-08-20 05:19:02 +00:00
Tim Coleman 9a67faf73e 2002-08-19 Tim Coleman <[email protected]>
* list.unix:
                Add System.Xml.Serialization/XmlSerializationWriter.cs

svn path=/trunk/mcs/; revision=6791
2002-08-20 04:52:05 +00:00
Tim Coleman 4079d896fb 2002-08-19 Tim Coleman <[email protected]>
* XmlSerializationWriter.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6790
2002-08-20 04:50:57 +00:00
Tim Coleman bf52f76c24 2002-08-20 Tim Coleman <[email protected]>
* ServiceDescriptionFormatExtensionCollection.cs:
                Remove reference to "parent".

svn path=/trunk/mcs/; revision=6789
2002-08-20 03:59:33 +00:00
Jason Diamond afa895fbfd Added implementation of and tests for GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
svn path=/trunk/mcs/; revision=6788
2002-08-20 03:56:55 +00:00
Tim Coleman 0249778934 2002-08-19 Tim Coleman <[email protected]>
* DiscoveryClientProtocol.cs:
                Added ResolveAll () stub.
        * DiscoveryDocument.cs:
                Added XmlRoot attribute to class.
        * DiscoveryClientDocumentCollection.cs:
        * DiscoveryClientReferenceCollection.cs:
        * DiscoveryClientResultCollection.cs:
        * DiscoveryReferenceCollection.cs:
                Implementation of these classes.

svn path=/trunk/mcs/; revision=6787
2002-08-20 03:31:34 +00:00
Ravi Pratap M fc22b0d380 Update
svn path=/trunk/mcs/; revision=6786
2002-08-20 03:28:13 +00:00
Ravi Pratap M ed2785c27d 2002-08-19 Ravi Pratap <[email protected]>
* error-5.cs : New test.

svn path=/trunk/mcs/; revision=6785
2002-08-20 03:25:54 +00:00
Ravi Pratap M 272f39cdad 2002-08-19 Ravi Pratap <[email protected]>
* delegate.cs (DelegateInvocation.DoResolve): Ensure that
	we flag error 70 in the event an event is trying to be accessed
	directly from outside the declaring type.

svn path=/trunk/mcs/; revision=6784
2002-08-20 03:24:42 +00:00
Gonzalo Paniagua Javier 8265c6441f 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: use Assembly instead of Module.

svn path=/trunk/mcs/; revision=6783
2002-08-20 03:12:36 +00:00
Gonzalo Paniagua Javier f3a7ced97e 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: FullName now returns a proper string instead of
	something like 'file://...'.

	* AssemblyName.cs: added missing ToString method.

svn path=/trunk/mcs/; revision=6782
2002-08-20 03:07:28 +00:00
Gonzalo Paniagua Javier defe0dc9e5 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: securityInfo can be null in CreateDomain.

svn path=/trunk/mcs/; revision=6781
2002-08-20 03:04:18 +00:00
Gonzalo Paniagua Javier b520de41c5 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: added FormatterServicesTests.
	* FormatterServicesTests.cs: New file.

svn path=/trunk/mcs/; revision=6780
2002-08-20 03:01:57 +00:00
Tim Coleman 4415bf809e 2002-08-19 Tim Coleman <[email protected]>
* WebService.cs:
                Change the attribute on Application to Description
                instead of WebServicesDescription.2002-08-19  Tim Coleman

svn path=/trunk/mcs/; revision=6779
2002-08-20 02:54:59 +00:00
Gonzalo Paniagua Javier bd354cd2a0 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* FileNotFoundException.cs: use Message and InnerException from base
	class. Changed Message and ToString ().

svn path=/trunk/mcs/; revision=6778
2002-08-20 02:29:19 +00:00
Gonzalo Paniagua Javier 33b1284563 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_print_unhandled_exception): changed g_warning by g_printerr
	because g_log has a 1024 characters limit (yeah, i got a big stack
	trace). Don't print exception name, that should be in ToString
	returned string.

svn path=/trunk/mono/; revision=6777
2002-08-20 02:24:46 +00:00
Tim Coleman 1de41a28ca 002-08-19 Tim Coleman <[email protected]>
* BindingCollection.cs:
                Use base constructor, remove SetParent call
        * FaultBindingCollection.cs:
        * ImportCollection.cs:
        * MessageCollection.cs:
        * MessagePartCollection.cs:
        * OperationBindingCollection.cs:
        * OperationCollection.cs:
        * OperationFaultCollection.cs:
        * PortCollection.cs:
        * PortTypeCollection.cs:
        * ServiceCollection.cs:
        * ServiceDescriptionFormatExtensionCollection.cs:
                Use base constructor
        * ServiceDescriptionCollection.cs:
                Use base constructor, Remove SetParent method
        * ServiceDescriptionBaseCollection.cs:
                Make parent object private as according to
                class status page.
        * OperationMessageCollection.cs:
                Use base constructor
                Remove excess break's to avoid compiler warning
                Remove TODO attribute (confirmed default retval)

svn path=/trunk/mcs/; revision=6776
2002-08-20 01:07:48 +00:00
Rodrigo Moya 1b48801db8 2002-08-19 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.

svn path=/trunk/mcs/; revision=6775
2002-08-20 01:00:30 +00:00
Franklin Wise 1bdd1ab34b More validation. Mostly to the point now where I need to work on DataTable
to implement the actual constraints.

svn path=/trunk/mcs/; revision=6774
2002-08-20 00:51:09 +00:00
Ravi Pratap M f928cb0cda 2002-08-19 Ravi Pratap <[email protected]>
* error-4.cs : New test.

svn path=/trunk/mcs/; revision=6773
2002-08-20 00:10:52 +00:00
Ravi Pratap M 843eaac33a 2002-08-19 Ravi Pratap <[email protected]>
* ecore.cs (StandardConversionExists): Return a false
	if we are trying to convert the void type to anything else
	since that is not allowed.

svn path=/trunk/mcs/; revision=6772
2002-08-20 00:01:23 +00:00
Rodrigo Moya a110b9a863 Added info about new advances
svn path=/trunk/mono/; revision=6771
2002-08-19 23:14:24 +00:00
Martin Baulig 111ff55362 Make this work with events.
svn path=/trunk/mcs/; revision=6770
2002-08-19 22:55:09 +00:00
Martin Baulig 99527b60f7 2002-08-20 Martin Baulig <[email protected]>
* typemanager.cs, decl.cs: Moved MemberList, IMemberContainer and
	MemberCache from typemanager.cs to decl.cs.

svn path=/trunk/mcs/; revision=6769
2002-08-19 22:41:52 +00:00
Martin Baulig 9597e13153 Ooops, actually enable the cache.
svn path=/trunk/mcs/; revision=6768
2002-08-19 22:33:28 +00:00
Miguel de Icaza d434be130a Lock around critical data structures, patch from Jaroslaw Kowalski <[email protected]>
svn path=/trunk/mcs/; revision=6767
2002-08-19 22:07:20 +00:00
Martin Baulig 8b0455b109 2002-08-19 Martin Baulig <[email protected]>
* class.cs (TypeContainer): Implement IMemberContainer.
	(TypeContainer.DefineMembers): Create the MemberCache.
	(TypeContainer.FindMembers): Do better BindingFlags checking; only
	return public members if BindingFlags.Public was given, check
	whether members are static.

svn path=/trunk/mcs/; revision=6766
2002-08-19 22:00:34 +00:00
Martin Baulig 34885e320e Added some more documentation.
svn path=/trunk/mcs/; revision=6765
2002-08-19 21:55:30 +00:00
Martin Baulig d43ab974ad 2002-08-16 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.Define): Splitted this in Define and
	DefineMembers.  DefineMembers is called first and initializes the
	MemberCache.

	* rootcontext.cs (RootContext.DefineMembers): New function.  Calls
	DefineMembers() on all our DeclSpaces.

	* class.cs (TypeContainer.Define): Moved all code to DefineMembers(),
	but call DefineMembers() on all nested interfaces.  We call their
	Define() in our new Define() function.

	* interface.cs (Interface): Implement IMemberContainer.
	(Interface.Define): Moved all code except the attribute stuf to
	DefineMembers().
	(Interface.DefineMembers): Initialize the member cache.

	* typemanager.cs (IMemberFinder): Removed this interface, we don't
	need this anymore since we can use MemberCache.FindMembers directly.

svn path=/trunk/mcs/; revision=6764
2002-08-19 21:36:33 +00:00
Martin Baulig f47d7b306e 2002-08-19 Martin Baulig <[email protected]>
* typemanager.cs (MemberCache): When creating the cache for an
	interface type, add all inherited members.
	(TypeManager.MemberLookup_FindMembers): Changed `ref bool searching'
	to `out bool used_cache' and documented it.
	(TypeManager.MemberLookup): If we already used the cache in the first
	iteration, we don't need to do the interfaces check.

svn path=/trunk/mcs/; revision=6763
2002-08-19 20:39:38 +00:00
Jaime Anguiano Olarra ba2bf46a3e Web makefile updated (mono-beginning-windows erased)
svn path=/trunk/mono/; revision=6762
2002-08-19 20:10:20 +00:00
Jaime Anguiano Olarra 83021387c7 Fixed one link
svn path=/trunk/mono/; revision=6761
2002-08-19 20:08:11 +00:00
Jaime Anguiano Olarra 323cc1f9cd Updated links
svn path=/trunk/mono/; revision=6760
2002-08-19 20:01:25 +00:00
Miguel de Icaza 0e89fce591 remove debuging
svn path=/trunk/mono/; revision=6759
2002-08-19 19:49:38 +00:00
Dick Porter d1246cf607 2002-08-19 Dick Porter <[email protected]>
* daemon.c: Rewrote the poll() loop to use GIOChannels instead,
	for legacy NeXT-based systems.

svn path=/trunk/mono/; revision=6758
2002-08-19 17:34:06 +00:00
Martin Baulig a879634218 Added some more documentation.
svn path=/trunk/mcs/; revision=6757
2002-08-19 16:07:37 +00:00
Rodrigo Moya 06e8478883 Added new file
svn path=/trunk/mcs/; revision=6756
2002-08-19 15:55:42 +00:00
Rodrigo Moya dfe239bd47 2002-08-14 Rodrigo Moya <[email protected]>
* TcpChannel.cs: new classes.

svn path=/trunk/mcs/; revision=6755
2002-08-19 15:54:59 +00:00
Martin Baulig 1e1ee95270 2002-08-19 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindMembers): New abstract method.  Moved this
	here from IMemberFinder and don't implement this interface anymore.
	(DeclSpace.MemberCache): Moved here from IMemberFinder.

	* typemanager.cs (IMemberFinder): This interface is now only used by
	classes which actually support the member cache.
	(TypeManager.builder_to_member_finder): Renamed to builder_to_declspace
	since we only put DeclSpaces into this Hashtable.
	(MemberLookup_FindMembers): Use `builder_to_declspace' if the type is
	a dynamic type and TypeHandle.GetTypeHandle() otherwise.

svn path=/trunk/mcs/; revision=6754
2002-08-19 15:37:22 +00:00
Martin Baulig 591b660e93 2002-08-16 Martin Baulig <[email protected]>
* typemanager.cs (ICachingMemberFinder): Removed.
	(IMemberFinder.MemberCache): New property.
	(TypeManager.FindMembers): Merged this with RealFindMembers().
	This function will never be called from TypeManager.MemberLookup()
	so we can't use the cache here, just the IMemberFinder.
	(TypeManager.MemberLookup_FindMembers): Check whether the
	IMemberFinder has a MemberCache and call the cache's FindMembers
	function.
	(MemberCache): Rewrote larger parts of this yet another time and
	cleaned it up a bit.

svn path=/trunk/mcs/; revision=6753
2002-08-19 14:21:11 +00:00
Daniel Stodden 81991d6258 Delegate.Equals in insensitive w/ regards to the exact Type of the operand itself. just target types and methods count.
svn path=/trunk/mcs/; revision=6752
2002-08-19 13:27:58 +00:00
Daniel Stodden 82577871f3 fixed bug 28306: Delegate invocation works in reverse order
svn path=/trunk/mono/; revision=6751
2002-08-19 11:22:39 +00:00
Dick Porter f97ec68693 Missed one
svn path=/trunk/mcs/; revision=6750
2002-08-19 11:22:04 +00:00
Dick Porter 010cbb1bdf Optimisation suggested by Gonzalo, to avoid creating extra hashtable
provider and comparer objects.

svn path=/trunk/mcs/; revision=6749
2002-08-19 11:16:57 +00:00
Dick Porter 0a4551c1ae 2002-08-19 Dick Porter <[email protected]>
* MonoType.cs: Add a space before the Assembly name in
	AssemblyQualifiedName (needed for resource files so the MS runtime
	can load types)

2002-08-19  Dick Porter  <[email protected]>

	* BinaryWriter.cs: The length of a string is counted in bytes, not
	chars

2002-08-19  Dick Porter  <[email protected]>

	* ResourceWriter.cs: Implemented all methods

	* ResourceReader.cs: Cope with our ResourceSet class name, as well
	as theirs

svn path=/trunk/mcs/; revision=6748
2002-08-19 10:56:32 +00:00
Dick Porter 623e6fdae4 2002-08-19 Dick Porter <[email protected]>
* monoresgen.cs: Added ';' as a text format comment char

svn path=/trunk/mcs/; revision=6747
2002-08-19 10:52:45 +00:00
Gonzalo Paniagua Javier 1b55679695 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_FieldInfo_SetValueInternal.
	* object.c: added missing MONO_TYPE_ARRAY in mono_runtime_invoke_array.

svn path=/trunk/mono/; revision=6746
2002-08-19 10:51:40 +00:00
Gonzalo Paniagua Javier 465c49f4b8 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* FieldInfo.cs: implemented SetValue.

svn path=/trunk/mcs/; revision=6745
2002-08-19 10:50:31 +00:00
Gaurav Vaish d1ecd76eff 2002-08-19 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - AutoCreateColumns: Bug fixes.

svn path=/trunk/mcs/; revision=6744
2002-08-19 09:37:16 +00:00
Gaurav Vaish e47493d38f 2002-08-19 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - AutoCreateColumns: Bug fixes.

svn path=/trunk/mcs/; revision=6743
2002-08-19 09:29:48 +00:00
Nick Drochak 4e1d88e35e Comitted the wrong file before. Here's the correct one.
svn path=/trunk/mono/; revision=6742
2002-08-19 09:22:37 +00:00
Gaurav Vaish 55411e33a3 2002-08-19 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - AutoCreateColumns: completed, hopefully!

svn path=/trunk/mcs/; revision=6741
2002-08-19 09:02:56 +00:00
Nick Drochak de5ce47aa4 2002-08-19 Nick Drochak <[email protected]>
* x86.brg (mono_llmult_ovf): Simplified the code greatly by refactoring
	the algebraic form we are using.  This also eliminated a silly overflow
	of the intermediate result that was causing troubles.

svn path=/trunk/mono/; revision=6740
2002-08-19 08:20:31 +00:00
Gonzalo Paniagua Javier 9c40e08964 Added FormatterServices.cs
svn path=/trunk/mcs/; revision=6739
2002-08-19 07:50:00 +00:00
Gaurav Vaish 735fbb5130 2002-08-19 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - Working on the undocumented protected
            method CreateColumnSet. AutoCreateColumns method
            stubbed. Left CreateControlHierarchy for the time
            being, looks like I'm going insane. ;-)

svn path=/trunk/mcs/; revision=6738
2002-08-19 07:05:39 +00:00
Gaurav Vaish 6833db4028 2002-08-19 Gaurav Vaish <[email protected]>
* Button.cs                   - Steffen's OnCommand bug fix.

svn path=/trunk/mcs/; revision=6737
2002-08-19 05:06:24 +00:00
John Sohn 70988a3ad3 *** empty log message ***
svn path=/trunk/mcs/; revision=6736
2002-08-19 04:37:35 +00:00
John Sohn ffe328056b Fixed link from monostub WndProc to Appliation class
svn path=/trunk/mcs/; revision=6735
2002-08-19 04:35:18 +00:00
Gonzalo Paniagua Javier c2ac301c3b Updated list file
svn path=/trunk/mcs/; revision=6734
2002-08-19 04:22:41 +00:00
Gonzalo Paniagua Javier 57a7e40935 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_print_unhandled_exception): after previous commit, i realized
	that MS calls ToString on the exception. I changed this function to
	do that. This way we get stack_trace for free.

svn path=/trunk/mono/; revision=6733
2002-08-19 03:38:47 +00:00
Gonzalo Paniagua Javier e72146160f 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_print_unhandled_exception): invoke Message property instead of
	getting 'message' field from Exception. Don't allocate memory for
	'trace' and 'message' if not needed.

svn path=/trunk/mono/; revision=6732
2002-08-19 02:46:01 +00:00
Gonzalo Paniagua Javier 67008ec355 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: parameter name when throwing ArgumentNullException.

	* ArgumentException.cs: modified Message to do what MS does.

	* ArgumentNullException.cs: don't use {0} in message.

	* Exception.cs: use Message property in ToString ().

svn path=/trunk/mcs/; revision=6731
2002-08-19 02:40:35 +00:00
Gonzalo Paniagua Javier 9d79ec487d 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs: reformatted.
	* System.Web/HttpStaticObjectsCollection.cs: implemented GetEnumertor,
	CopyTo and the indexer.
	* System.Web.Compilation/PageCompiler.cs: fixed compilation.
	* System.Web.SessionState/HttpSessionState.cs: IsAbandoned is internal.
	* System.Web.SessionState/SessionDictionary.cs: scope fixes.
	* System.Web.SessionState/SessionStateModule.cs: added events.

svn path=/trunk/mcs/; revision=6730
2002-08-19 01:31:11 +00:00
Gonzalo Paniagua Javier 3023fcd88d 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* PageCompiler.cs: generate C# file using AspGenerator.

svn path=/trunk/mcs/; revision=6729
2002-08-19 00:43:59 +00:00
Gonzalo Paniagua Javier 802d88b3f7 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* CompiledTemplateBuilder.cs: InstantiateIn is virtual.
	* EmptyControlCollection.cs: throw correct exception.
	* LosFormatter.cs: stubbed out.
	* OutputCacheLocation.cs: little fix.

svn path=/trunk/mcs/; revision=6728
2002-08-19 00:18:18 +00:00
Gonzalo Paniagua Javier 405055fb7d Some updates to ASP.NET page
svn path=/trunk/mono/; revision=6727
2002-08-18 19:07:30 +00:00
Gonzalo Paniagua Javier 66d8f07ae4 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: LookupFoundry now returns bool.
	* AspGenerator.cs: New file.

svn path=/trunk/mcs/; revision=6726
2002-08-18 18:37:25 +00:00
Rodrigo Moya ab46838857 2002-08-18 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.

	* System.Data.OleDb/OleDbException.cs (OleDbException): added internal
	constructor.
	(ErrorCode, Message, Source, Errors): implemented.

	* System.Data.OleDb/OleDbError.cs: implemented the full class.

	* System.Data.OleDb/libgda.cs: added more libgda functions.

	* System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
	the opened connection.

svn path=/trunk/mcs/; revision=6725
2002-08-18 18:35:06 +00:00
Rodrigo Moya e35eb40d4e 2002-08-18 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.

svn path=/trunk/mcs/; revision=6724
2002-08-18 17:57:04 +00:00
John Sohn 7891402b56 Updates to better conform to Mono coding conventions
svn path=/trunk/mcs/; revision=6723
2002-08-18 17:33:07 +00:00
Rodrigo Moya 36253ba8b8 2002-08-18 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
	ArrayList after releasing the items.
	(GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
	 GetOrdinal, GetString): implemented.
	(GetDataTypeName): made it get the type from the data model, not from
	the current value, which could not have been retrieved yet.
	(GetValue): call the Get* method corresponding with the data type of
	the requested column.

	* System.Data.OleDb/libgda.cs: added more libgda functions.
	(GdaTimestamp, GdaDate, GdaTime): new marshalled structures.

	* System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
	titles via OleDbDataReader.GetName ().
	(TestOleDb): create temporary table with a date field.
	(InsertRow): set current date for the date field.

svn path=/trunk/mcs/; revision=6722
2002-08-18 15:54:49 +00:00
Rodrigo Moya 0624655c6e 2002-08-18 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
	GetValue, which will take care of all the work needed.
	(Close): implemented basic stuff.
	(~OleDbDataReader): implemented.

	* System.Data.OleDb/libgda.cs: added more needed functions.

svn path=/trunk/mcs/; revision=6721
2002-08-18 12:47:50 +00:00
Dick Porter 16d25f7466 2002-08-18 Dick Porter <[email protected]>
* ResourceReader.cs: Finished basic implementation.  Some
	optimisation in conjunction with ResourceSet still possible though

svn path=/trunk/mcs/; revision=6720
2002-08-18 11:18:03 +00:00
Dick Porter ac65c444d4 2002-08-18 Dick Porter <[email protected]>
* BinaryReader.cs: Fixed buffering

svn path=/trunk/mcs/; revision=6719
2002-08-18 11:17:22 +00:00
Dick Porter 0df658baf4 2002-08-18 Dick Porter <[email protected]>
* Encoding.cs: Make GetString() return a useful representation of
	the bytes, rather than "System.Char[]"

svn path=/trunk/mcs/; revision=6718
2002-08-18 11:15:44 +00:00
Dick Porter 20be524dd8 2002-08-18 Dick Porter <[email protected]>
* BinaryFormatter.cs: Stubbed out

svn path=/trunk/mcs/; revision=6717
2002-08-18 11:14:48 +00:00
Dick Porter 2ae8208e44 2002-08-18 Dick Porter <[email protected]>
* unicode.c: Fix asserts to match Encoder.cs checks

svn path=/trunk/mono/; revision=6716
2002-08-18 11:01:27 +00:00
Jason Diamond 5c59c1a2b1 Fixed matching on patterns that look like absolute XPath expressions.
svn path=/trunk/mcs/; revision=6715
2002-08-18 03:29:24 +00:00
Jason Diamond 4d87d2bf42 2002-08-17 Jason Diamond <[email protected]>
* XPathNavigator.cs: Added naive (but working) implementation of
	 Matches.

svn path=/trunk/mcs/; revision=6714
2002-08-17 21:34:21 +00:00
Gonzalo Paniagua Javier 624f147292 i'm dumb
svn path=/trunk/mcs/; revision=6711
2002-08-17 16:31:09 +00:00
Gonzalo Paniagua Javier 3cef05cec5 Removed double tests ?!
svn path=/trunk/mcs/; revision=6710
2002-08-17 16:29:54 +00:00
Gonzalo Paniagua Javier 0aca46a040 2002-08-17 Eduardo Garcia Cebollero <[email protected]>
* AllTests.cs: added BinaryReaderTest.Suite.
	* BinaryReaderTest.cs: New file.

svn path=/trunk/mcs/; revision=6709
2002-08-17 16:26:49 +00:00
Tim Coleman a9aba76378 2002-08-15 Tim Coleman <[email protected]>
* makefile.gnu:
		Add Microsoft.VisualBasic to linux build.

svn path=/trunk/mcs/; revision=6707
2002-08-17 07:47:00 +00:00
Tim Coleman 60e89612fa 2002-08-15 Tim Coleman <[email protected]>
* list:
        * makefile.gnu:
                Added files to allow build on linux.

svn path=/trunk/mcs/; revision=6706
2002-08-17 07:46:02 +00:00
Tim Coleman d63d755da1 2002-08-15 Tim Coleman <[email protected]>
* ChangeLog:
                Added a ChangeLog
        * Constants.cs:
                Make these actual constants so mcs will compile them.

svn path=/trunk/mcs/; revision=6705
2002-08-17 07:44:46 +00:00
Tim Coleman c60ac16378 2002-08-15 Tim Coleamn <[email protected]>
* CompareInfo.cs:
                Stubbed out some methods.

svn path=/trunk/mcs/; revision=6704
2002-08-17 07:43:15 +00:00
Tim Coleman d0cd3ef160 2002-08-15 Tim Coleman <[email protected]>
* makefile.gnu:
		Added System.Runtime.Serialization.Formatters.Soap to build

svn path=/trunk/mcs/; revision=6703
2002-08-17 06:56:35 +00:00
Tim Coleman b6b04ba966 2002-08-15 Tim Coleman <[email protected]>
* ChangeLog:
                New changelog added
        * list:
        * makefile.gnu:
                Added so we can build this assembly on linux now.

svn path=/trunk/mcs/; revision=6702
2002-08-17 06:49:45 +00:00
Tim Coleman 4881b16d89 2002-08-15 Tim Coleman <[email protected]>
* SoapFormatter.cs:
                That should be IRemotingFormatter, not IRemoteFormatter.
                Some stubs to make it compile on linux.
        * TODOAttribute.cs:
                Added this class to this assembly.

svn path=/trunk/mcs/; revision=6701
2002-08-17 06:48:29 +00:00
Tim Coleman bece72d5b5 2002-08-15 Tim Coleman <[email protected]>
* list.unix: Added System.IO files.

svn path=/trunk/mcs/; revision=6700
2002-08-17 06:31:12 +00:00
Tim Coleman 9915204379 Missed commit of this file previously.
svn path=/trunk/mcs/; revision=6699
2002-08-17 06:29:45 +00:00
Tim Coleman 8f708d9159 2002-08-15 Tim Coleman <[email protected]>
* ErrorEventArgs.cs:
        * ErrorEventHandler.cs:
        * FileSystemEventArgs.cs:
        * FileSystemEventHandler.cs:
        * FileSystemWatcher.cs:
        * InternalBufferOverflowException.cs:
        * IODescriptionAttribute.cs:
        * NotifyFilters.cs:
        * RenamedEventArgs.cs:
        * RenamedEventHandler.cs:
        * WaitForChangedResult.cs:
        * WatcherChangeTypes.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6698
2002-08-17 06:28:37 +00:00
Tim Coleman 1f42623354 2002-08-15 Tim Coleman <[email protected]>
* WebServicesDescriptionAttribute:
                Added Description property.  Should've known I spoke
                too soon about being complete. :-)

svn path=/trunk/mcs/; revision=6697
2002-08-17 04:59:12 +00:00
Tim Coleman 0df7d558ad 2002-08-15 Tim Coleman <[email protected]>
* ServerProtocol.cs:
        * SoapServerProtocol.cs:
                Some more implementation.

svn path=/trunk/mcs/; revision=6696
2002-08-17 04:53:53 +00:00
Tim Coleman cdc6e8121a 2002-08-15 Tim Coleman <[email protected]>
* unix.args:
                Add System.Globalization/TextInfo.cs
                Add System.Runtime.Serialization/FormatterConverter.cs

svn path=/trunk/mcs/; revision=6695
2002-08-17 04:31:06 +00:00
Jason Diamond 5a5f87e557 2002-08-16 Jason Diamond <[email protected]>
* XmlElement.cs: Fixed writing out qualified elements courtesy of
	Marcus B�rgel <[email protected]>.

svn path=/trunk/mcs/; revision=6694
2002-08-17 03:20:36 +00:00
Piers Haken cdd9ebc625 2002-08-13 Piers Haken <[email protected]>
* class/library.make: merge back original makefile.gnu behavior
	* */makefile.gnu: merge back original makefile.gnu behavior

svn path=/trunk/mcs/; revision=6693
2002-08-17 03:14:32 +00:00
Jason Diamond ca909bc565 2002-08-16 Jason Diamond <[email protected]>
* makefile.gnu: Added SOURCES_INCLUDE and SOURCES_EXCLUDE variables
	to get tests to build with the new build system.

svn path=/trunk/mcs/; revision=6692
2002-08-17 03:04:46 +00:00
Gonzalo Paniagua Javier 8cc436531a doh!
svn path=/trunk/mono/; revision=6691
2002-08-17 02:31:44 +00:00
Gonzalo Paniagua Javier e68f350007 2002-08-17 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't link against libdl on windoze.

svn path=/trunk/mono/; revision=6690
2002-08-17 02:29:46 +00:00
Gonzalo Paniagua Javier 4493c2f403 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: New file.
	* AspElements.cs: renamed Component to Aspcomponent.

svn path=/trunk/mcs/; revision=6689
2002-08-17 01:11:54 +00:00
Rodrigo Moya e5d383158e 2002-08-16 Rodrigo Moya <[email protected]>
* System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
	we create.
	(TestTransaction): added test for transactions.

svn path=/trunk/mcs/; revision=6688
2002-08-17 00:51:53 +00:00
Miguel de Icaza 398784cf63 1.3 -> 2.0
svn path=/trunk/mono/; revision=6687
2002-08-16 22:09:33 +00:00
Miguel de Icaza 04def0e093 Add -ldl when linking to -lgc
svn path=/trunk/mono/; revision=6686
2002-08-16 19:51:00 +00:00
Paolo Molaro e7cfe17f72 Fri Aug 16 21:42:57 CEST 2002 Paolo Molaro <[email protected]>
* marshal.c: fix unaligned store issue and a few wrong
	opcode argument types.

svn path=/trunk/mono/; revision=6685
2002-08-16 19:46:11 +00:00
Gonzalo Paniagua Javier f6d18264e8 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* FormatterServices.cs: implemented GetUninitializedObject.
	PopulateObjectMembers needs a working FieldInfo.SetValue (it's
	not implemented right now).

svn path=/trunk/mcs/; revision=6684
2002-08-16 19:23:57 +00:00
Gonzalo Paniagua Javier 26f10a5ef2 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added GetUninitializedObjectInternal internal call.

svn path=/trunk/mono/; revision=6683
2002-08-16 19:21:10 +00:00
Gonzalo Paniagua Javier 2db68a79ec Fix
svn path=/trunk/mcs/; revision=6681
2002-08-16 17:09:38 +00:00
Gonzalo Paniagua Javier 074dd116b5 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* FormatterServices.cs:a implemented GetSerializableMembers ().

svn path=/trunk/mcs/; revision=6679
2002-08-16 16:54:02 +00:00
Jaime Anguiano Olarra 39bf505fc8 Reordered. Updated. New links.
svn path=/trunk/mono/; revision=6678
2002-08-16 16:52:10 +00:00
Gonzalo Paniagua Javier 7fa479a7be 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* FormatterServices.cs: New file with some implementation.

svn path=/trunk/mcs/; revision=6677
2002-08-16 15:35:10 +00:00
Duncan Mak 0e72616dce Various serialization patches from Cesar.
2002-08-14  Cesar Octavio Lopez Nataren <[email protected]>

	* regex.cs: Added the ctr for ISerializable implementation and
	implemented the GetObjectData function.

2002-08-14  Cesar Octavio Lopez Nataren <[email protected]>

	* SoapFault.cs: Added the ctr for ISerializable implementation and
	implemented GetObjectData.

2002-08-14  Cesar Octavio Lopez Nataren <[email protected]>

	* WeakReference.cs: Changed the constructor and GetObjectData
	method needed for ISerializable implementation in order to be
	compatible with SOAP generated by MS.

svn path=/trunk/mcs/; revision=6676
2002-08-16 14:39:31 +00:00
Dietmar Maurer 62fe7b089e 2002-08-16 Dietmar Maurer <[email protected]>
* appdomain.c (mono_runtime_invoke_in_domain): transfer Exception
	to the right domain.

svn path=/trunk/mono/; revision=6674
2002-08-16 12:59:28 +00:00
Dietmar Maurer 8e26f9cfaa 2002-08-16 Dietmar Maurer <[email protected]>
* SerializationInfo.cs: special case for null values.
	use the converter everywhere.

svn path=/trunk/mcs/; revision=6673
2002-08-16 12:54:45 +00:00
Dietmar Maurer 50cf0a1d10 use Directory.GetCurrentDirectory () to make it work on windows
svn path=/trunk/mono/; revision=6672
2002-08-16 09:57:30 +00:00
Jaime Anguiano Olarra 633d211e5f Added the Mono Beginning Windows section to the web. Now going to add links
to the documents from mono-beginning.

svn path=/trunk/mono/; revision=6671
2002-08-16 09:40:49 +00:00
Dietmar Maurer 39fe36ae8c only added a comment
svn path=/trunk/mono/; revision=6670
2002-08-16 07:37:34 +00:00
John Sohn 567c035fb3 Initial version of code necessary to get the Form class operating under WINELib including Form (base classes up to and including Control class) and Application classes. Also including a mostly complete version of NativeWindow class which is being used to implement the Control class.
svn path=/trunk/mcs/; revision=6669
2002-08-16 06:55:53 +00:00
Gonzalo Paniagua Javier 922dfc4b3d 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspElements.cs:
	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/AspTokenizer.cs:
	* System.Web.Compilation/ChangeLog:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/TemplateFactory.cs:
	* System.Web.UI/ApplicationFileParser.cs:
	* System.Web.UI/BaseParser.cs:
	* System.Web.UI/PageParser.cs:
	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI/TemplateControlParser.cs:
	* System.Web.UI/TemplateParser.cs: first steps to move xsp into
	System.Web.

svn path=/trunk/mcs/; revision=6668
2002-08-16 05:36:06 +00:00
Nick Drochak 467d6874aa oops. here's the file
svn path=/trunk/mono/; revision=6666
2002-08-16 04:48:02 +00:00
Nick Drochak ed65e24aa2 2002-08-16 Nick Drochak <[email protected]>
* x86.brg (mono_llmult_ovf): Flip ALL the bits, dummy. Now negative
	numbers	work.

svn path=/trunk/mono/; revision=6665
2002-08-16 04:44:17 +00:00
Miguel de Icaza a0b63a3a2b Make it do what Arturo needs
svn path=/trunk/mcs/; revision=6664
2002-08-16 02:56:04 +00:00
Miguel de Icaza 2a71fad59b Add dist target
svn path=/trunk/mcs/; revision=6663
2002-08-16 02:41:38 +00:00
Rodrigo Moya 533db1f6d6 2002-08-16 Rodrigo Moya <[email protected]>
* System.Data.OleDb/libgda.cs: added new needed libgda functions.

	* System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
	when there are errors.
	(GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.

	* System.Data.OleDb/TestOleDb.cs: added more testing code for data
	readers.

svn path=/trunk/mcs/; revision=6662
2002-08-16 02:31:27 +00:00
Rodrigo Moya 9a9a2552ee 2002-08-15 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
	create an empty GdaParameterList.

	* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
	for NULL before passing them to Marshal.PtrToStructure, which issues
	an exception if the value is NULL.

svn path=/trunk/mcs/; revision=6661
2002-08-16 01:36:52 +00:00
Rodrigo Moya 6a793a7e4c 2002-08-15 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
	for NULL before passing them to Marshal.PtrToStructure, which issues
	an exception if the value is NULL.

svn path=/trunk/mcs/; revision=6660
2002-08-16 01:35:51 +00:00
Rodrigo Moya 58da214495 2002-08-15 Rodrigo Moya <[email protected]>
* System.Data/UniqueConstraint.cs (UniqueConstraint): commented
	unreachable code to avoid compiler warning.

	* System.Data.OleDb/libgda.cs (GdaList): added new internal class.

	* System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
	(OpenReader): removed internal method.

	* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
	the list of returned data models.

svn path=/trunk/mcs/; revision=6659
2002-08-16 01:19:29 +00:00
Miguel de Icaza 8a9d0d3a6f use the just built mcs
svn path=/trunk/mcs/; revision=6657
2002-08-16 00:18:12 +00:00
Miguel de Icaza 27429d34b2 2002-08-15 Miguel de Icaza <[email protected]>
* driver.cs (LoadArgs): Support quoting.

svn path=/trunk/mcs/; revision=6656
2002-08-16 00:12:28 +00:00
Miguel de Icaza 8a8571b55a make this the default. we need this for the snapshots
svn path=/trunk/mcs/; revision=6655
2002-08-15 23:41:41 +00:00
Miguel de Icaza 1665b5b5f9 2002-08-15 Miguel de Icaza <[email protected]>
* driver.cs: Show the CSC-like command line arguments.

	Improved a few error messages.

svn path=/trunk/mcs/; revision=6654
2002-08-15 22:57:39 +00:00
Franklin Wise 3ad554ae46 *** empty log message ***
svn path=/trunk/mcs/; revision=6653
2002-08-15 20:31:01 +00:00
Jaime Anguiano Olarra 8b400082cd Added more Q/A pairs, updated one as Jason Diamond suggested (read my reply
to mono-list and to him. Added a section: Mono and ADO.NET with two Q/A.

svn path=/trunk/mono/; revision=6652
2002-08-15 17:33:33 +00:00
Jaime Anguiano Olarra 05d0acdf9c Added Mono Beginning Windows (Another HOWTO)
svn path=/trunk/mono/; revision=6650
2002-08-15 15:18:07 +00:00
Tim Coleman d051a5f14c 2002-08-15 Tim Coleman <[email protected]>
* FaultBindingCollection.cs:
        * ImportCollection.cs:
        * MessageCollection.cs:
        * MessagePartCollection.cs:
        * OperationBindingCollection.cs:
        * OperationCollection.cs:
        * OperationFaultCollection.cs:
        * OperationMessageCollection.cs:
        * PortCollection.cs:
        * PortTypeCollection.cs:
        * ServiceCollection.cs:
        * ServiceDescriptionFormatExtensionCollection.cs:
                Use parent from ServiceDescriptionBaseCollection
        * ServiceDescriptionCollection.cs:
                Use parent from ServiceDescriptionBaseCollection
                Implement SetParent () method
        * ServiceDescriptionBaseCollection.cs:
                Add "parent" object.
                Add SetParent call to OnSet() and OnInsert ()

svn path=/trunk/mcs/; revision=6649
2002-08-15 14:45:16 +00:00
Martin Baulig 1c829a1da6 2002-08-15 Martin Baulig <[email protected]>
* typemanager.cs (IMemberContainer.Type): New property.
	(IMemberContainer.IsInterface): New property.

	The following changes are conditional to BROKEN_RUNTIME, which is
	defined at the top of the file.

	* typemanager.cs (MemberCache.MemberCache): Don't add the base
	class'es members, but add all members from TypeHandle.ObjectType
	if we're an interface.
	(MemberCache.AddMembers): Set the Declared flag if member.DeclaringType
	is the current type.
	(MemberCache.CacheEntry.Container): Removed this field.
	(TypeHandle.GetMembers): Include inherited members.

svn path=/trunk/mcs/; revision=6648
2002-08-15 14:07:16 +00:00
Martin Baulig 38486c66a7 Oooops .....
svn path=/trunk/mcs/; revision=6647
2002-08-15 13:02:54 +00:00
Daniel Morgan f6974a69f0 2002-08-14 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - implemented the following commands:
	    \f FILENAME to read a batch of Sql# commands/queries from file.");
		\o FILENAME to write out the result of Sql# commands executed to file.");
		\load FILENAME to load from file SQL commands into SQL buffer.");
		\save FILENAME to save SQL commands from SQL buffer to file.
		\print - show what's in the SQL buffer now.
	  - can save output of result to an html file or text
	  - entering command "\provider mysql" will dynamically load mysql provider
	    from its assembly Mono.Data.MySql.dll

svn path=/trunk/mcs/; revision=6646
2002-08-15 03:30:57 +00:00
Nick Drochak 054a55eb8a 2002/08/15 Nick Drochak <[email protected]>
* x86.brg (mono_llmult_ovf): Fix so it throws an overflow when result
	will not fit in 64 bits.  Fixes bug #27375.

svn path=/trunk/mono/; revision=6645
2002-08-15 03:00:14 +00:00
Gonzalo Paniagua Javier 64ccedaae1 2002-08-14 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixed compilation and added a comment on a field that
	is never used.

svn path=/trunk/mcs/; revision=6644
2002-08-15 01:43:26 +00:00
Martin Baulig f30a45aa81 2002-08-15 Martin Baulig <[email protected]>
* class.cs (ConstructorInitializer.Resolve): In the
	Expression.MemberLookup call, use the queried_type as
	invocation_type.

	* typemanager.cs (IMemberContainer.GetMembers): Removed the `bool
	declared' attribute, it's always true.
	(IMemberContainer.Parent, IMemberContainer.Name): New properties.
	(TypeManager.MemberLookup_FindMembers): [FIXME FIXME FIXME] Added
	temporary wrapper for FindMembers which tells MemberLookup whether
	members from the base classes are included in the return value.
	This will go away soon.
	(TypeManager.MemberLookup): Use this temporary hack here; once the
	new MemberCache is completed, we don't need to do the DeclaredOnly
	looping here anymore since the MemberCache will take care of this.
	(TypeManager.IsSubclassOrNestedChildOf): Allow `type == parent'.
	(MemberCache): When creating the MemberCache for a class, get
	members from the current class and all its base classes.
	(MemberCache.CacheEntry.Container): New field.  This is a
	temporary hack until the Mono runtime is fixed to distinguish
	between ReflectedType and DeclaringType.  It allows us to use MCS
	with both the MS runtime and the unfixed Mono runtime without
	problems and without accecting performance.
	(MemberCache.SearchMembers): The DeclaredOnly looping from
	TypeManager.MemberLookup is now done here.

svn path=/trunk/mcs/; revision=6643
2002-08-15 00:53:27 +00:00
Miguel de Icaza f87fdfe28b PPC updates from Carlos Valiente
svn path=/trunk/mono/; revision=6642
2002-08-14 20:09:40 +00:00
Miguel de Icaza 991dcf3052 PPC updates from Carlos Valiente
svn path=/trunk/mono/; revision=6641
2002-08-14 20:09:00 +00:00
Martin Baulig 7fe8800db6 2002-08-14 Martin Baulig <[email protected]>
* statement.cs (MyStructInfo.MyStructInfo): Don't call
	Type.GetFields on dynamic types but get the fields from the
	corresponding TypeContainer.
	(MyStructInfo.GetStructInfo): Added check for enum types.

	* typemanager.cs (MemberList.IsSynchronized): Implemented.
	(MemberList.SyncRoot): Implemented.
	(TypeManager.FilterWithClosure): No need to check permissions if
	closure_start_type == closure_invocation_type, don't crash if
	closure_invocation_type is null.

svn path=/trunk/mcs/; revision=6640
2002-08-14 18:18:01 +00:00
Dietmar Maurer c524434bdd *** empty log message ***
svn path=/trunk/mcs/; revision=6639
2002-08-14 16:11:16 +00:00
Dietmar Maurer 9499c0c0c8 2002-08-14 Dietmar Maurer <[email protected]>
* SerializationInfo.cs: added new function to support the runtime

svn path=/trunk/mcs/; revision=6638
2002-08-14 16:10:32 +00:00
Dietmar Maurer 61653dcf07 2002-08-14 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): unbox value types

	* class.c (class_compute_field_layout): set blittable to false for Strings

	* appdomain.c (mono_domain_transfer_object): added support for ISerializable

svn path=/trunk/mono/; revision=6637
2002-08-14 16:08:11 +00:00
Paolo Molaro 2692004c15 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <[email protected]>
* MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.

svn path=/trunk/mcs/; revision=6636
2002-08-14 15:42:41 +00:00
Paolo Molaro c63be4a417 Wed Aug 14 17:38:41 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: ReflectedType and CreateType fixes.

svn path=/trunk/mcs/; revision=6635
2002-08-14 15:41:38 +00:00
Paolo Molaro cee7cd6432 Wed Aug 14 17:31:37 CEST 2002 Paolo Molaro <[email protected]>
* exception.c: updates for API changes in metadata/.

svn path=/trunk/mono/; revision=6634
2002-08-14 15:40:33 +00:00
Paolo Molaro 389d8b96eb Wed Aug 14 17:26:27 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, reflection.c, icall.c, object.c, reflection.h:
	first chunk of code to create types at runtime. Code to
	handle ReflectedType/DeclaringType. Make reflection handles
	domain specific.

svn path=/trunk/mono/; revision=6633
2002-08-14 15:40:31 +00:00
Paolo Molaro d8e2cf5a68 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.

svn path=/trunk/mcs/; revision=6632
2002-08-14 15:40:23 +00:00
Paolo Molaro 22b8e0ef8f Wed Aug 14 17:24:21 CEST 2002 Paolo Molaro <[email protected]>
* class.c: set correct name in arrays.

svn path=/trunk/mono/; revision=6631
2002-08-14 15:26:33 +00:00
Tim Coleman c72c36abd3 2002-08-13 Tim Coleman <[email protected]>
* list: new files added to build

svn path=/trunk/mcs/; revision=6630
2002-08-14 13:40:01 +00:00
Tim Coleman faa9aa885a 2002-08-13 Tim Coleman <[email protected]>
* Clerk.cs:
        * Compensator.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6629
2002-08-14 13:39:25 +00:00
Dick Porter d5365829c9 Update source list
svn path=/trunk/mcs/; revision=6628
2002-08-14 13:29:59 +00:00
Dick Porter 9de46ebb4b 2002-08-14 Dick Porter <[email protected]>
* ResourceSet.cs: Throw the correct exceptions

	* ResourceManager.cs: Implemented all unfinished methods

svn path=/trunk/mcs/; revision=6627
2002-08-14 10:29:20 +00:00
Dick Porter b08ba63e3b 2002-08-14 Dick Porter <[email protected]>
* Assembly.cs: Stub out GetSatelliteAssembly

svn path=/trunk/mcs/; revision=6626
2002-08-14 10:28:02 +00:00
Dick Porter c3ef3b2ace 2002-08-14 Dick Porter <[email protected]>
* Thread.cs: Make CurrentUICulture act the same as CurrentCulture
	for now.

svn path=/trunk/mcs/; revision=6625
2002-08-14 10:06:49 +00:00
Dick Porter ce0b941981 2002-08-14 Dick Porter <[email protected]>
* CultureInfo.cs: Implement Name, stub out all the other missing
	methods.

	* TextInfo.cs: Stubbed out this class

svn path=/trunk/mcs/; revision=6624
2002-08-14 10:04:03 +00:00
Tim Coleman 06ef625369 2002-08-14 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                More reformatting of source code so I can
                better understand what it does.

svn path=/trunk/mcs/; revision=6623
2002-08-14 05:24:03 +00:00
Daniel Morgan e34de2a008 2002-08-13 Daniel Morgan <[email protected]>
* Test/SqlSharpCli.cs: modified
	  - removed dependency on Mono.Data.MySql assembly and classes
	    (if you still want to use Mono.Data.MySql, use \loadextprovider to load it).
	  - added use of provider System.Data.OleDb classes; however, you must
	    have a working libgda.
	  - added dynamic loading of .NET Data Provider's assembly and Connection class
	    which can be loaded via \loadextprovider
	  - renamed providers: postgresclient to postgresql, oracleclient to oracle
	  - add new command \exenonquery to execute non queries
	  - add new command \exescalar to execute and return one row/one column of data
	  - added beginnings of internal variables by adding new commands: \set, \unset, and
	  \variable
	  - add new command \r to reset (clear) the query buffer
	  - if quiting, need to close database connection if still open

svn path=/trunk/mcs/; revision=6622
2002-08-14 03:19:02 +00:00
Daniel Morgan d2ab69888d 2002-08-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlCommand.cs: modified
	rowsRetrieved should be rowsAffected in ExecuteNonQuery
	because the number is only to show the rows affected
	by an INSERT, UPDATE, or DELETE; anything else, the
	number is -1

	* Mono.Data.MySql/Test.cs: modified
	enable retrieving the results from a query.  even though
	this still does not work for some reason, i thought
	i would enable it so others could see the problem.

svn path=/trunk/mcs/; revision=6621
2002-08-14 02:53:49 +00:00
Tim Coleman b5443be6ef 2002-08-13 Tim Coleman <[email protected]>
* XmlTextWriter.cs:
                Partial implementation of WriteQualifiedName ().

svn path=/trunk/mcs/; revision=6620
2002-08-14 02:42:16 +00:00
Franklin Wise 9d3742f8a4 *** empty log message ***
svn path=/trunk/mcs/; revision=6619
2002-08-13 21:57:30 +00:00
Martin Baulig e17a1613a0 This indexer was supposed to be public.
svn path=/trunk/mcs/; revision=6618
2002-08-13 19:30:49 +00:00
Martin Baulig 93c137f414 [Conditional] is not valid on classes.
svn path=/trunk/mcs/; revision=6617
2002-08-13 19:29:07 +00:00
Miguel de Icaza a12f24d3c0 Update news
svn path=/trunk/mono/; revision=6616
2002-08-13 19:13:18 +00:00
Martin Baulig e0c104ea39 2002-08-13 Martin Baulig <[email protected]>
Rewrote TypeContainer.FindMembers to use a member cache.  This
	gives us a speed increase of about 35% for the self-hosting MCS
	build and of about 15-20% for the class libs (both on GNU/Linux).

	* report.cs (Timer): New class to get enhanced profiling.  This
	whole class is "TIMER" conditional since it remarkably slows down
	compilation speed.

	* class.cs (MemberList): New class.  This is an IList wrapper
	which we're now using instead of passing MemberInfo[]'s around to
	avoid copying this array unnecessarily.
	(IMemberFinder.FindMember): Return a MemberList, not a MemberInfo [].
	(ICachingMemberFinder, IMemberContainer): New interface.
	(TypeManager.FilterWithClosure): If `criteria' is null, the name
	has already been checked, otherwise use it for the name comparision.
	(TypeManager.FindMembers): Renamed to RealMemberFinder and
	provided wrapper which tries to use ICachingMemberFinder.FindMembers
	if possible.  Returns a MemberList, not a MemberInfo [].
	(TypeHandle): New class, implements IMemberContainer.  We create
	one instance of this class per type, it contains a MemberCache
	which is used to do the member lookups.
	(MemberCache): New class.  Each instance of this class contains
	all members of a type and a name-based hash table.
	(MemberCache.FindMembers): This is our new member lookup
	function.  First, it looks up all members of the requested name in
	the hash table.  Then, it walks this list and sorts out all
	applicable members and returns them.

svn path=/trunk/mcs/; revision=6615
2002-08-13 19:09:39 +00:00
Rodrigo Moya 759613b0ac Added more files
svn path=/trunk/mcs/; revision=6614
2002-08-13 16:14:09 +00:00
Rodrigo Moya 5c890a25c4 2002-08-13 Rodrigo Moya <[email protected]>
* SoapClientFormatterSink.cs:
	* SoapServerFormatterSinkProvider.cs:
	* SinkProviderData.cs: new classes.

svn path=/trunk/mcs/; revision=6613
2002-08-13 16:13:14 +00:00
Rodrigo Moya b23e7d5908 2002-08-13 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
	InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
	to avoid compiler warnings.

svn path=/trunk/mcs/; revision=6612
2002-08-13 15:48:49 +00:00
Rodrigo Moya 424c67c8bb 2002-08-12 Franklin Wise <[email protected]>
* System.Data/Constraint.cs: Implemented

	* System.Data/UniqueConstraint.cs: GetHashCode() &
	special case Ctor. Still need to be implemented. LAMESPEC tags
	added.

	* System.Data/ConstraintCollection.cs: Clear() &
	AddRange() need to be finished. Several LAMESPEC tags.

	* Allow Constraint collection to be created in DataTable.

	* System.Data/ForeignKeyConstraint: Added a couple of
	helper functions.

	* System.Data/DataColumnCollection New/Added DataColumns now have
	Table property set.

svn path=/trunk/mcs/; revision=6611
2002-08-13 15:42:01 +00:00
Dietmar Maurer 63e87414b7 2002-08-13 Dietmar Maurer <[email protected]>
* appdomain.c (mono_domain_transfer_object): make it work with
	valuetypes. bug fixes.

svn path=/trunk/mono/; revision=6609
2002-08-13 13:11:36 +00:00
Dietmar Maurer f44e10dcd8 2002-08-13 Dietmar Maurer <[email protected]>
* jit.c (mono_jit_init): use  ((gpointer)-1) as end_of_stack
	address for the main thread.

svn path=/trunk/mono/; revision=6608
2002-08-13 09:10:38 +00:00
Piers Haken 320677a3a6 2002-08-12 Piers Haken <[email protected]>
* class/library.make: use 'find' to specify source files, instead of static files
	* */makefile.gnu: specify include/exclude patterns for source files

svn path=/trunk/mcs/; revision=6607
2002-08-13 06:45:49 +00:00
Tim Coleman dce63b64e2 2002-08-12 Tim Coleman <[email protected]>
* Operation.cs:
                Fix ParameterOrderString in case ParameterOrder is
                null.

svn path=/trunk/mcs/; revision=6606
2002-08-13 02:11:02 +00:00
Tim Coleman 6869e30046 2002-08-12 Tim Coleman <[email protected]>
* MonoProperty.cs:
	                Allow multiple parameters for GetValue ()

svn path=/trunk/mcs/; revision=6605
2002-08-13 01:20:39 +00:00
Tim Coleman 5bc5019876 2002-08-12 Tim Coleman <[email protected]>
* BindingCollection.cs:
                Remove Table handling on insert/delete/indexer
                because it is handled in base class.

svn path=/trunk/mcs/; revision=6604
2002-08-13 00:54:54 +00:00
Tim Coleman ed209759fd 2002-08-12 Tim Coleman <[email protected]>
* ServiceDescriptionBaseCollection.cs:
                Only add an element to the hashtable if its GetKey ()
                method does not return null.

svn path=/trunk/mcs/; revision=6603
2002-08-13 00:53:03 +00:00
Martin Baulig 934b45908c 2002-08-13 Martin Baulig <[email protected]>
In addition to a nice code cleanup, this gives us a performance
	increase of about 1.4% on GNU/Linux - not much, but it's already
	half a second for the self-hosting MCS compilation.

	* typemanager.cs (IMemberFinder): New interface.  It is used by
	TypeManager.FindMembers to call FindMembers on a TypeContainer,
	Enum, Delegate or Interface.
	(TypeManager.finder_to_member_finder): New PtrHashtable.
	(TypeManager.finder_to_container): Removed.
	(TypeManager.finder_to_delegate): Removed.
	(TypeManager.finder_to_interface): Removed.
	(TypeManager.finder_to_enum): Removed.

	* interface.cs (Interface): Implement IMemberFinder.

	* delegate.cs (Delegate): Implement IMemberFinder.

	* enum.cs (Enum): Implement IMemberFinder.

	* class.cs (TypeContainer): Implement IMemberFinder.

svn path=/trunk/mcs/; revision=6602
2002-08-12 22:40:40 +00:00
Martin Baulig f3e6fb6faa 2002-08-12 Martin Baulig <[email protected]>
* ecore.cs (TypeExpr.DoResolveType): Mark this as virtual.

svn path=/trunk/mcs/; revision=6600
2002-08-12 18:57:15 +00:00
Martin Baulig cbf795e489 Ooops, fixed my last commit.
svn path=/trunk/mcs/; revision=6599
2002-08-12 17:26:18 +00:00
Martin Baulig 609e0fd746 2002-08-12 Martin Baulig <[email protected]>
* ecore.cs (ITypeExpression): New interface for expressions which
	resolve to a type.
	(TypeExpression): Renamed to TypeLookupExpression.
	(Expression.DoResolve): If we're doing a types-only lookup, the
	expression must implement the ITypeExpression interface and we
	call DoResolveType() on it.
	(SimpleName): Implement the new ITypeExpression interface.
	(SimpleName.SimpleNameResolve): Removed the ec.OnlyLookupTypes
	hack, the situation that we're only looking up types can't happen
	anymore when this method is called.  Moved the type lookup code to
	DoResolveType() and call it.
	(SimpleName.DoResolveType): This ITypeExpression interface method
	is now doing the types-only lookup.
	(TypeExpr, TypeLookupExpression): Implement ITypeExpression.
	(ResolveFlags): Added MaskExprClass.

	* expression.cs (MemberAccess): Implement the ITypeExpression
	interface.
	(MemberAccess.DoResolve): Added support for a types-only lookup
	when we're called via ITypeExpression.DoResolveType().
	(ComposedCast): Implement the ITypeExpression interface.

	* codegen.cs (EmitContext.OnlyLookupTypes): Removed.  Call
	Expression.Resolve() with ResolveFlags.Type instead.

svn path=/trunk/mcs/; revision=6598
2002-08-12 17:18:16 +00:00
Rodrigo Moya 791551a1fd 2002-08-11 Rodrigo Moya <[email protected]>
* System.Data.OleDb/libgda.cs: added some GdaValue functions.

	* System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
	internal method, since we don't need it.
	(ExecuteReader): call SetupGdaCommand before executing the command
	via libgda functions.
	(ExecuteScalar): implemented.

	* System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
	to OleDbCommand.OpenReader.
	(GetBoolean): implemented.

svn path=/trunk/mcs/; revision=6597
2002-08-12 15:43:20 +00:00
Dietmar Maurer 30919f6c89 Thread::Abort() support
svn path=/trunk/mono/; revision=6596
2002-08-12 15:43:18 +00:00
Dietmar Maurer e78fe12a71 2002-08-12 Dietmar Maurer <[email protected]>
* Exception.cs (ToString): changed the ouput format.

	* ThreadAbortException.cs: impl. ExceptionState property.

	* Thread.cs: moved all instance variables to the start of the
	class. added support for Thread::Abort()

svn path=/trunk/mcs/; revision=6595
2002-08-12 15:42:02 +00:00
Dick Porter 405da0cfc5 Give the patch author proper credit
svn path=/trunk/mono/; revision=6593
2002-08-12 13:54:09 +00:00
Dick Porter 35993fc816 2002-08-12 Dick Porter <[email protected]>
* atomic.h:
	* object.h: Rename some parameters to avoid c++ keywords

svn path=/trunk/mono/; revision=6592
2002-08-12 13:46:57 +00:00
Martin Baulig 7fb9b61d1c 2002-08-12 Martin Baulig <[email protected]>
* interface.cs (Interface.Define): Apply attributes.

	* attribute.cs (Attribute.ApplyAttributes): Added support for
	interface attributes.

svn path=/trunk/mcs/; revision=6591
2002-08-12 12:34:55 +00:00
Gaurav Vaish 82569adb9a 2002-08-12 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - Added protected method (skeleton)
				CreateColumnSet(PagedDataSource, bool)
				Still trying to know how will it be used
				and what for...

svn path=/trunk/mcs/; revision=6590
2002-08-12 11:59:47 +00:00
Paolo Molaro c8aa8adc77 Updated manpage.
svn path=/trunk/mono/; revision=6589
2002-08-12 11:05:06 +00:00
Dick Porter 2c8ed7e761 2002-08-12 Dick Porter <[email protected]>
* mono.pc.in: Add $includedir to Cflags

	* Don't link libtool convenience libs together before linking them
	  to other stuff (it breaks static builds)

svn path=/trunk/mono/; revision=6588
2002-08-12 10:05:51 +00:00
Martin Baulig cf3230844f 2002-08-11 Martin Baulig <[email protected]>
* error-3.cs: New test.

svn path=/trunk/mcs/; revision=6586
2002-08-11 19:36:12 +00:00
Martin Baulig 625275d351 2002-08-11 Martin Baulig <[email protected]>
* test-162.cs: New test.

svn path=/trunk/mcs/; revision=6585
2002-08-11 19:34:29 +00:00
Martin Baulig f7c08d45f1 2002-08-11 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Only check the "this" variable if we
	do not always throw an exception.

svn path=/trunk/mcs/; revision=6584
2002-08-11 19:32:20 +00:00
Martin Baulig 400a0fa7f4 2002-08-11 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.DoResolveLValue): Implemented, check
	whether the property has a set accessor.

svn path=/trunk/mcs/; revision=6583
2002-08-11 19:27:25 +00:00
Martin Baulig 019038fb65 2002-08-11 Martin Baulig <[email protected]>
Added control flow analysis support for structs.

	* ecore.cs (ResolveFlags): Added `DisableFlowAnalysis' to resolve
	with control flow analysis turned off.
	(IVariable): New interface.
	(SimpleName.SimpleNameResolve): If MemberAccess.ResolveMemberAccess
	returns an IMemberExpr, call DoResolve/DoResolveLValue on it.
	(FieldExpr.DoResolve): Resolve the instance expression with flow
	analysis turned off and do the definite assignment check after the
	resolving when we know what the expression will resolve to.

	* expression.cs (LocalVariableReference, ParameterReference):
	Implement the new IVariable interface, only call the flow analysis
	code if ec.DoFlowAnalysis is true.
	(This): Added constructor which takes a Block argument.  Implement
	the new IVariable interface.
	(MemberAccess.DoResolve, MemberAccess.DoResolveLValue): Call
	DoResolve/DoResolveLValue on the result of ResolveMemberLookup().
	This does the definite assignment checks for struct members.

	* class.cs (Constructor.Emit): If this is a non-static `struct'
	constructor which doesn't have any initializer, call
	Block.AddThisVariable() to tell the flow analysis code that all
	struct elements must be initialized before control returns from
	the constructor.

	* statement.cs (MyStructInfo): New public class.
	(UsageVector.this [VariableInfo vi]): Added `int field_idx'
	argument to this indexer.  If non-zero, check an individual struct
	member, not the whole struct.
	(FlowBranching.CheckOutParameters): Check struct members.
	(FlowBranching.IsVariableAssigned, SetVariableAssigned): Added
	overloaded versions of these methods which take an additional
	`int field_idx' argument to check struct members.
	(FlowBranching.IsParameterAssigned, SetParameterAssigned): Added
	overloaded versions of these methods which take an additional
	`string field_name' argument to check struct member.s
	(VariableInfo): Implement the IVariable interface.
	(VariableInfo.StructInfo): New public property.  Returns the
	MyStructInfo instance of the variable if it's a struct or null.
	(Block.AddThisVariable): New public method.  This is called from
	Constructor.Emit() for non-static `struct' constructor which do
	not have any initializer.  It creates a special variable for the
	"this" instance variable which will be checked by the flow
	analysis code to ensure that all of the struct's fields are
	initialized before control returns from the constructor.
	(UsageVector): Added support for struct members.  If a
	variable/parameter is a struct with N members, we reserve a slot
	in the usage vector for each member.  A struct is considered fully
	initialized if either the struct itself (slot 0) or all its
	members are initialized.

svn path=/trunk/mcs/; revision=6582
2002-08-11 19:08:30 +00:00
Rodrigo Moya 9e4b82f521 Added more files
svn path=/trunk/mcs/; revision=6581
2002-08-11 18:00:51 +00:00
Rodrigo Moya 29b4a0ff4a 2002-08-10 Rodrigo Moya <[email protected]>
* CommonTransportKeys.cs:
	* ServerChannelSinkStack.cs: new classes.

svn path=/trunk/mcs/; revision=6580
2002-08-11 18:00:17 +00:00
Jaime Anguiano Olarra b1ead8f0f2 Faq updated. Fixed the double "Oberon" in the first section. Fixed the Windows.Forms mention in the list of class libraries Mono will implement. (At least by the moment. Since I've noticed that this is causing confusion to some people). Added more Q/A pairs.
svn path=/trunk/mono/; revision=6579
2002-08-11 10:08:28 +00:00
Gonzalo Paniagua Javier d15008ab68 2002-08-10 Gonzalo Paniagua Javier <[email protected]>
* RegistrationHelper.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6575
2002-08-10 19:03:42 +00:00
Gonzalo Paniagua Javier 5db8a0e001 2002-08-10 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6574
2002-08-10 19:02:29 +00:00
Jason Diamond c47eee4306 * makefile.gnu: Added test target. Please start using it.
svn path=/trunk/mcs/; revision=6573
2002-08-10 18:37:44 +00:00
Jason Diamond d12ea80ba6 * makefile.gnu: Use relative path to NUnitConsole_mono.exe instead of
hardcoding it to /usr/local/bin. Default test suite to AllTests but
allow it to be overridden from the command line.

* XmlTextWriterTests.cs: Split TestWriteString into multiple tests.
Added encoding parameters to all the StreamReaders in
TestBaseConstructorsAndBaseStream. I think this is a bug in Mono's
StreamReader since these aren't required when testing against
Microsoft's.

svn path=/trunk/mcs/; revision=6572
2002-08-10 17:47:08 +00:00
Tim Coleman ea278b331e 2002-08-09 Tim Coleman <[email protected]>
* BindingCollection.cs:
        * ServiceDescriptionCollection.cs:
                Implement Set indexer
        * FaultBindingCollection.cs:
        * MessageCollection.cs:
        * MessagePartCollection.cs:
        * OperationFaultCollection.cs:
        * PortCollection.cs:
        * PortTypeCollection.cs:
        * ServiceCollection.cs:
                Implement Set indexer, code cleanup
        * Message.cs:
                Implement FindPartByName ()
        * OperationMessageCollection.cs:
                Alter OnSet () method
        * ServiceDescriptionBaseCollection.cs:
                Implement some methods.
        * ServiceDescriptionFormatExtensionCollection.cs:
                Implement Find (), FindAll (), OnValidate () methods

svn path=/trunk/mcs/; revision=6571
2002-08-10 08:05:47 +00:00
Peter Williams eccbfed148 2002-08-07 Peter Williams <[email protected]>
* class/library.make (.makefrag): Fix this rule a bit; was using
	$^ instead of $<

svn path=/trunk/mcs/; revision=6570
2002-08-09 19:31:10 +00:00
Tim Coleman 63a3913c54 2002-08-09 Tim Coleman <[email protected]>
* AllTests.cs:
                New test suites added.

svn path=/trunk/mcs/; revision=6568
2002-08-09 16:14:44 +00:00
Tim Coleman b519ef7ce6 2002-08-09 Tim Coleman <[email protected]>
* AllTests.cs:
        * ChangeLog:
        * ContractReferenceTest.cs:
                New files added for test suite.

svn path=/trunk/mcs/; revision=6567
2002-08-09 16:13:56 +00:00
Tim Coleman 519c2ff9d8 2002-08-09 Tim Coleman <[email protected]>
* AllTests.cs:
        * ChangeLog:
        * XmlFormatExtensionAttributeTest.cs:
                New files added for test suite.

svn path=/trunk/mcs/; revision=6566
2002-08-09 16:12:36 +00:00
Tim Coleman cabda218a6 2002-08-09 Tim Coleman <[email protected]>
* RegistrationHelperTx.cs:
                Commit the add of RegistrationHelperTx.cs

svn path=/trunk/mcs/; revision=6565
2002-08-09 16:09:53 +00:00
Nick Drochak 461571d604 2002-08-09 Nick Drochak <[email protected]>
* BinaryReader.cs: added virtual to Dispose(bool).

svn path=/trunk/mcs/; revision=6564
2002-08-09 14:46:08 +00:00
Miguel de Icaza 2f08aa2447 Fixed url
svn path=/trunk/mono/; revision=6563
2002-08-09 12:22:57 +00:00
Nick Drochak c00e025c5f 2002/08/09 Nick Drochak <[email protected]>
* DecimalTest.cs: Add try-catch block to find which one is throwing
	the Overflow.  Also started making each Assert using a unique message
	to differentiate those as well.

	* MulticastDelegate.cs: Disable tests checking the order that delegates
	are executed.  There's a bugzilla entry for this already because we do
	it in reverse order. See:
	http://bugzilla.ximian.com/show_bug.cgi?id=28306

svn path=/trunk/mcs/; revision=6562
2002-08-09 08:23:00 +00:00
Dietmar Maurer 70861f6802 2002-08-08 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): simply return and let the
	libpthread/kernel restore the context. This should work on recent
	versions of linuxthreads.

svn path=/trunk/mono/; revision=6561
2002-08-09 06:55:22 +00:00
Rodrigo Moya a43c7989ec 2002-08-08 Franklin Wise <[email protected]>
* System.Data.IDbComand.cs: IDbCommand now inherits IDisposable

	* System.Data.IDbConnection.cs: IDbConnection now inherits IDisposable

	* System.Data.SqlTypes.SqlCompareOptions.cs: Enum now set to correct
	values.

svn path=/trunk/mcs/; revision=6555
2002-08-08 23:19:06 +00:00
Martin Baulig 9b3b238e80 2002-08-08 Martin Baulig <[email protected]>
* driver.cs (Driver.MainDriver): Only report an error CS5001
	if there were no compilation errors.

	* codegen.cs (EmitContext.EmitContext): Use the DeclSpace's
	`UnsafeContext' property to determine whether the parent is in
	unsafe context rather than checking the parent's ModFlags:
	classes nested in an unsafe class are unsafe as well.

svn path=/trunk/mcs/; revision=6553
2002-08-08 20:26:50 +00:00
Martin Baulig eb1f7e44e4 Ooops, removed debugging stuff.
svn path=/trunk/mcs/; revision=6552
2002-08-08 20:24:52 +00:00
Martin Baulig b3729fc348 Added two more testcases to this test.
svn path=/trunk/mcs/; revision=6551
2002-08-08 20:05:37 +00:00
Martin Baulig bf80ac2e15 2002-08-08 Martin Baulig <[email protected]>
* statement.cs (UsageVector.MergeChildren): Distinguish between
	`Breaks' and `Returns' everywhere, don't set `Breaks' anymore if
	we return.  Added test17() and test18() to test-154.cs.

svn path=/trunk/mcs/; revision=6550
2002-08-08 20:03:33 +00:00
Tim Coleman 63a1712c15 2002-08-08 Tim Coleman <[email protected]>
* list: new files added to build.

svn path=/trunk/mcs/; revision=6549
2002-08-08 18:55:48 +00:00
Martin Baulig b30142248e 2002-08-08 Martin Baulig <[email protected]>
* cs1540.cs: New test.

svn path=/trunk/mcs/; revision=6545
2002-08-08 18:39:00 +00:00
Martin Baulig 71edd83a6b 2002-08-08 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.FilterWithClosure): If we have
	Family access, make sure the invoking type isn't a subclass of the
	queried type (that'd be a CS1540).

	* ecore.cs (Expression.MemberLookup): Added overloaded version of
	this method which takes an additional `Type invocation_type'.

	* expression.cs (BaseAccess.DoResolve): Use the base type as
	invocation and query type.
	(MemberAccess.DoResolve): If the lookup failed and we're about to
	report a CS0122, try a lookup with the ec.ContainerType - if this
	succeeds, we must report a CS1540.

svn path=/trunk/mcs/; revision=6544
2002-08-08 18:38:28 +00:00
Tim Coleman 7199ee1b4d 2002-08-08 Tim Coleman <[email protected]>
* ISecurityCallContext.cs:
        * ISecurityCallersColl.cs:
        * ISecurityIdentityColl.cs:
        * ISharedProperty.cs:
        * ISharedPropertyGroup.cs:
        * RegistrationHelperTx.cs:
        * ResourcePool.cs:
        * SecureMethodAttribute.cs:
        * SecurityCallContext.cs:
        * SecurityCallers.cs:
        * SecurityIdentity.cs:
        * SecurityRoleAttribute.cs:
        * ServicedComponentException.cs:
        * SharedProperty.cs:
        * SharedPropertyGroup.cs:
        * SharedPropertyGroupManager.cs:
        * SynchronizationAttribute.cs:
        * SynchronizationOption.cs:
        * TransactionAttribute.cs:
        * TransactionIsolationLevel.cs:
                New files added.
        * ContextUtil.cs:
                New internal constructor added, methods added.
        * IRemoteDispatch.cs:
                AutoComplete attributes added to methods
        * TODOAttribute.cs:
                Namespace adjusted.

svn path=/trunk/mcs/; revision=6543
2002-08-08 17:47:46 +00:00
Dick Porter d1e2aa5fdc Shut cvs up
svn path=/trunk/mcs/; revision=6541
2002-08-08 15:09:58 +00:00
Martin Baulig 8bc60e48ee 2002-08-08 Martin Baulig <[email protected]>
* ecore.cs (IMemberExpr): Added `bool IsInstance' property.
	(MethodGroupExpr): Implement the IMemberExpr interface.

	* expression (MemberAccess.ResolveMemberAccess): No need to have
	any special code for MethodGroupExprs anymore, they're now
	IMemberExprs.

svn path=/trunk/mcs/; revision=6540
2002-08-08 14:26:49 +00:00
Martin Baulig f48935593a 2002-08-08 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.FilterWithClosure): Check Assembly,
	Family, FamANDAssem and FamORAssem permissions.
	(TypeManager.IsSubclassOrNestedChildOf): New public method.

svn path=/trunk/mcs/; revision=6539
2002-08-08 14:04:28 +00:00
Martin Baulig 8e2f430fc2 2002-08-08 Martin Baulig <[email protected]>
* test-154.cs (test16): Added test for bug #28717.

svn path=/trunk/mcs/; revision=6538
2002-08-08 12:08:58 +00:00
Martin Baulig 6a93351136 2002-08-08 Martin Baulig <[email protected]>
* statement.cs (FlowBranchingType): Added LOOP_BLOCK.
	(UsageVector.MergeChildren): `break' breaks unless we're in a switch
	or loop block.

svn path=/trunk/mcs/; revision=6537
2002-08-08 11:57:12 +00:00
Gaurav Vaish cbb727d8dc 2002-08-08 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - Added private method
                                CreatePagedDataSource
                              - Started work on
                                CreateControlHierarchy(bool)
* PagedDataSource.cs          - Bug fixed.
                                CurrentPageIndex is writable.

svn path=/trunk/mcs/; revision=6536
2002-08-08 11:45:30 +00:00
Paolo Molaro 9a5092bbee Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented GetFile() and GetFiles().

svn path=/trunk/mcs/; revision=6535
2002-08-08 11:15:35 +00:00
Paolo Molaro 038e5f96d8 Thu Aug 8 13:04:18 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: added icall to implement Assembly.GetFile*.

svn path=/trunk/mono/; revision=6534
2002-08-08 11:05:28 +00:00
Dietmar Maurer d4be0148c3 2002-08-08 Dietmar Maurer <[email protected]>
* jit.c (mono_runtime_install_handlers): switch back to use
	sigaction from libpthreads. As long as this does not make problems
	we should use this instead of syscall.

svn path=/trunk/mono/; revision=6533
2002-08-08 10:46:52 +00:00
Dietmar Maurer e52326b762 added a comment about sigaction
svn path=/trunk/mono/; revision=6532
2002-08-08 09:18:59 +00:00
Paolo Molaro be4664bfd0 Thu Aug 8 10:28:07 CEST 2002 Paolo Molaro <[email protected]>
* driver.cs: implemented /resource option to embed managed resources.

svn path=/trunk/mcs/; revision=6531
2002-08-08 08:31:10 +00:00
Paolo Molaro f319403eeb Thu Aug 8 10:25:51 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: added API to embed managed resources.

svn path=/trunk/mcs/; revision=6530
2002-08-08 08:26:54 +00:00
Paolo Molaro afc3976ea8 Thu Aug 8 10:18:17 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: code to embed managed resources.

svn path=/trunk/mono/; revision=6529
2002-08-08 08:25:05 +00:00
Jason Diamond 458fefebb6 Added Kral's new test classes.
svn path=/trunk/mcs/; revision=6528
2002-08-08 07:14:50 +00:00
Kral Ferch 3c16ab8283 Added XmlDocument event firing code.
svn path=/trunk/mcs/; revision=6527
2002-08-08 06:33:43 +00:00
Dennis Hayes 9d016aac59 2002-8-7 DennisHayes <[email protected]>
Check in for  Remco de Jong <[email protected]>

* HorizontalAlignment.cs
* ProgressBar.cs
* ScrollBars.cs
* TextBox.cs
* TextBoxBase.cs
* added new files with some functinality

svn path=/trunk/mcs/; revision=6525
2002-08-08 01:53:30 +00:00
Dennis Hayes f84db0ed75 2002-8-4 DennisHayes <[email protected]>
Checked in for John Sohn <[email protected]

* build.sh
* changelog
* monostart.c
* monostub.c
* monostub.exe.dbg.c
* monostub.exe.spec.c
* Test.cs
* test.sh
* Experiment to get first form working using WINELIB

svn path=/trunk/mcs/; revision=6524
2002-08-08 01:44:56 +00:00
Martin Baulig 4c2f952e2a 2002-08-05 Martin Baulig <[email protected]>
* runtest.pl: This is a perl script which runs a testcase, parses the
	MCS output and checks whether all errors are reported.

	* error-1.cs, error-2.cs: Moved here from ../tests/.

	* README.tests: Added (empty) list of all test cases.

svn path=/trunk/mcs/; revision=6523
2002-08-07 23:06:06 +00:00
Martin Baulig 14f7406846 2002-08-08 Martin Baulig <[email protected]>
* test-161.cs: New test.

svn path=/trunk/mcs/; revision=6522
2002-08-07 23:05:42 +00:00
Martin Baulig 08f452120b 2002-08-07 Martin Baulig <[email protected]>
* class.cs (FieldBase.Initializer): Renamed to `init' and made private.
	(FieldBase.HasFieldInitializer): New public property.
	(FieldBase.GetInitializerExpression): New public method.  Resolves and
	returns the field initializer and makes sure it is only resolved once.
	(TypeContainer.EmitFieldInitializers): Call
	FieldBase.GetInitializerExpression to get the initializer, this ensures
	that it isn't resolved multiple times.

	* codegen.cs (EmitContext): Added `bool IsFieldInitialier'.  This tells
	the resolving process (SimpleName/MemberLookup) that we're currently
	emitting a field initializer (which must not access any instance members,
	this is an error CS0236).

	* ecore.cs (SimpleName.Error_ObjectRefRequired): Added EmitContext
	argument, if the `IsFieldInitializer' flag is set, we must report and
	error CS0236 and not an error CS0120.

svn path=/trunk/mcs/; revision=6521
2002-08-07 23:04:52 +00:00
Tim Coleman 195b057940 2002-08-07 Tim Coleman <[email protected]>
* list: new files added to build.

svn path=/trunk/mcs/; revision=6520
2002-08-07 21:13:04 +00:00
Tim Coleman b38a5247f3 2002-08-07 Tim Coleman <[email protected]>
* CompensatorOptions.cs:
        * LogRecordFlags.cs:
        * TransactionState.cs:
                Changed enum values to agree with .NET
        * LogRecord.cs:
                New stubs added

svn path=/trunk/mcs/; revision=6519
2002-08-07 19:51:13 +00:00
Martin Baulig 802e7403cf 2002-08-07 Martin Baulig <[email protected]>
* test-160.cs: New test for bug #28176.

svn path=/trunk/mcs/; revision=6518
2002-08-07 18:32:51 +00:00
Martin Baulig 468247ced6 Make this actually work.
svn path=/trunk/mcs/; revision=6517
2002-08-07 18:32:33 +00:00
Martin Baulig 274cd4eda7 Updated this a bit.
svn path=/trunk/mcs/; revision=6516
2002-08-07 18:25:55 +00:00
Martin Baulig 5d695895ac 2002-08-07 Martin Baulig <[email protected]>
* ecore.cs (IMemberExpr): New public interface.
	(FieldExpr, PropertyExpr, EventExpr): Implement IMemberExpr.
	(SimpleName.SimpleNameResolve): Call MemberAccess.ResolveMemberAccess
	if the expression is an IMemberExpr.

	* expression.cs (MemberAccess.ResolveMemberAccess): Allow `left'
	to be null, implicitly default to `this' if we're non-static in
	this case.  Simplified the code a lot by using the new IMemberExpr
	interface.  Also fixed bug #28176 here.

svn path=/trunk/mcs/; revision=6515
2002-08-07 18:24:00 +00:00
Tim Coleman 6cb20fa399 2002-08-07 Tim Coleman <[email protected]>
* list: new files added to build.

svn path=/trunk/mcs/; revision=6514
2002-08-07 17:34:43 +00:00
Tim Coleman f19df41f5e 2002-08-07 Tim Coleman <[email protected]>
* RegistrationErrorInfo.cs:
        * RegistrationException.cs:
        * RegistrationHelper.cs:
        * ServicedComponent.cs:
                New stubs added

svn path=/trunk/mcs/; revision=6513
2002-08-07 17:33:47 +00:00
Tim Coleman 367b81aaf4 2002-08-07 Tim Coleman <[email protected]>
* Add System.Web.Services to test and clean builds.

svn path=/trunk/mcs/; revision=6511
2002-08-07 16:41:53 +00:00
Tim Coleman 15a3e9c890 2002-08-07 Tim Coleman <[email protected]>
* System.Web.Services.build:
                Added "test" target to build.
                Added "clean" target to build.
        * Test:
                New test suites added.

svn path=/trunk/mcs/; revision=6510
2002-08-07 16:38:39 +00:00
Tim Coleman 7d92c99513 2002-08-07 Tim Coleman <[email protected]>
* WebMethodAttribute.cs:
                Remove FIXME and reorganize constructors to all
                call this () with the big constructor.
        * WebServiceAttribute.cs:
                Remove FIXME.
        * WebServiceBindingAttribute.cs:
                Remove FIXME, and change ns to be String.Empty by
                default (this is the MS implementation).  Reorganize
                constructors.
        * WebServicesDescriptionAttribute.cs:
                Code reformat.
        * TODOAttribute.cs:
                Changed namespace.

                *** This namespace should now be complete. ***

svn path=/trunk/mcs/; revision=6509
2002-08-07 16:37:52 +00:00
Tim Coleman c594f230cf 2002-08-07 Tim Coleman <[email protected]>
* AllTests.cs:
        * ChangeLog:
        * System.Web.Services:
        * System.Web.Services_test.build:
                New files and directories added for test suite.

svn path=/trunk/mcs/; revision=6508
2002-08-07 16:25:17 +00:00
Tim Coleman ca4f4a397b 2002-08-07 Tim Coleman <[email protected]>
* AllTests.cs:
        * ChangeLog:
        * WebMethodAttributeTest.cs:
        * WebServiceAttributeTest.cs:
                New files and directories added for test suite.

svn path=/trunk/mcs/; revision=6507
2002-08-07 16:24:53 +00:00
Dietmar Maurer b432805a27 (mono_analyze_stack): special case Array::Address()
svn path=/trunk/mono/; revision=6506
2002-08-07 15:57:20 +00:00
Paolo Molaro 018693ef40 Wed Aug 7 15:51:54 CEST 2002 Paolo Molaro <[email protected]>
* monoresgen.cs: added the Mono implementation of resgen.

svn path=/trunk/mcs/; revision=6505
2002-08-07 13:54:22 +00:00
Paolo Molaro b6894a1307 Moved to System.Windows.Forms.
svn path=/trunk/mcs/; revision=6504
2002-08-07 11:28:59 +00:00
Paolo Molaro 9aeafd95af Put in the correct assembly (well, correct as in the same ms uses,
because it makes no sense to have these classes here instead of
System or system.Xml).

svn path=/trunk/mcs/; revision=6503
2002-08-07 11:27:02 +00:00
Paolo Molaro ee06e135c8 Wed Aug 7 12:44:50 CEST 2002 Paolo Molaro <[email protected]>
* ResXResourceReader.cs, ResXResourceWriter.cs: added stubs.

svn path=/trunk/mcs/; revision=6502
2002-08-07 10:47:31 +00:00
Gonzalo Paniagua Javier a04c232b3e 2002-08-07 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed typo.
	* DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.

svn path=/trunk/mcs/; revision=6501
2002-08-07 10:40:36 +00:00
Dietmar Maurer 5d9b5d08bd removed TODO attribute
svn path=/trunk/mcs/; revision=6500
2002-08-07 09:55:52 +00:00
Gaurav Vaish c5f312e69f 2002-08-06 Gaurav Vaish <[email protected]>
* DataGridColumn.cs           - Added internal methods to get the
                            various styles (needed in DataGrid.cs)
* DataGrid.cs                 - Completed the method
                            PrepareControlHierarchy()

svn path=/trunk/mcs/; revision=6499
2002-08-07 09:31:59 +00:00
Dietmar Maurer e8f766b2d0 2002-08-07 Dietmar Maurer <[email protected]>
* jit.c: removed the createdelegate icall

svn path=/trunk/mono/; revision=6498
2002-08-07 09:27:38 +00:00
Dietmar Maurer 339c974710 2002-08-07 Dietmar Maurer <[email protected]>
* MonoType.cs: moved get_method icall to this class, we can
	remove it as soon someone provides a full featured GetMethodImpl.

	* Type.cs: use GetMethodImpl everywhere.

	* Delegate.cs: new CreateDelegate implementations.

svn path=/trunk/mcs/; revision=6497
2002-08-07 09:26:31 +00:00
Dennis Hayes 9acaf39177 2002-8-4 DennisHayes <[email protected]>
*  Started cheanglog

2002-8-4  DennisHayes <[email protected]>

* AnchorEditor.cs
* AxImporter.cs
* ComponentDocumentDesigner.cs
* ComponentEditorForm.cs
* Stubbed out

* ComponentTray.cs
* ControlDesigner.cs
* ComponentEditor.cs
* DocumentDesigner.cs
* EventsTab.cs
* FileNameEditor.cs
* IMenuEditorService.cs
* IUIService.cs
* IWindowsformsEditorService.cs
* MenusCommands.cs
* ParentControlDesigner.cs
* PropertyTab.cs
* ScrollableControlDesigner.cs
* SelectionRules.cs
* UITypeEditor.cs
* Class body defined only. No stubbs done.

* TODOAttribute.cs
* Used to mark unimplemented functions.

* System.Windows.Forms.Design.csproj
* System.Windows.Forms.Design.csproj.user
* AssemblyInfo.cs
* Needed for Visual Studio compile.

svn path=/trunk/mcs/; revision=6490
2002-08-07 02:35:00 +00:00
Dennis Hayes db46d9bb48 2002-8-6 DennisHayes <[email protected]>
* Checked in for Ginandrea Terzi ([email protected])

* MeasureItemEventArgs.cs
* PropertyValueChangedEventArgs.cs
* ScrollEventArgs.cs
* ScrollEventType.cs
* SelectionMode.cs
* Shortcut.cs
* TickStyle.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewAction.cs
* TriangleDirection.cs
* UICues.cs
* UICuesEventArgs.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* Fixed syntax errors and verifier errors

svn path=/trunk/mcs/; revision=6489
2002-08-07 02:28:06 +00:00
Tim Coleman caff4ab4f8 2002-08-06 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Add namespace definitions when serializing.
        * HttpBinding.cs:
                Change namespace definition (wsdl was spelt wsld)

svn path=/trunk/mcs/; revision=6488
2002-08-07 02:24:20 +00:00
Dennis Hayes d61d2446a4 2002-8-6 DennisHayes <[email protected]>
* PropertyTabChangedEventArgs.cs
* Minor sytax bug fixes.

* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* System.Windows.Forms.sln
* Added support for System.Windows.Forms.Design
* Builds two dlls instead of one.
* Allows compiling for now, but needs to be fixed

svn path=/trunk/mcs/; revision=6487
2002-08-07 02:23:22 +00:00
Tim Coleman 27666e78b5 2002-08-06 Tim Coleman <[email protected]>
* IRegistrationHelper.cs:
        * IRemoteDispatch.cs:
        * IServicedComponentInfo.cs:
        * ITransaction.cs:
                Comment out Guid attribute for now
                because it doesn't build with CSC unless
                you supply a valid Guid.

svn path=/trunk/mcs/; revision=6486
2002-08-07 01:15:49 +00:00
Martin Baulig 9a4aae931c 2002-08-07 Martin Baulig <[email protected]>
* test-158.cs: New test for bug #22119.

svn path=/trunk/mcs/; revision=6485
2002-08-06 22:12:19 +00:00
Martin Baulig 0c3d101ecd 2002-08-06 Martin Baulig <[email protected]>
* cs-parser.jay (SimpleLookup): Removed.  We need to create
	ParameterReferences during semantic analysis so that we can do a
	type-only search when resolving Cast, TypeOf and SizeOf.

	* class.cs (ConstructorInitializer): Added `Parameters parameters'
	argument to the constructor.
	(ConstructorInitializer.Resolve): Create a temporary implicit
	block with the parameters.

	* ecore.cs (SimpleName.SimpleNameResolve): Resolve parameter
	references here if we aren't doing a type-only search.

	* statement.cs (Block): Added constructor which takes a
	`Parameters parameters' argument.
	(Block.Parameters): New public property.

	* support.cs (InternalParameters.Parameters): Renamed `parameters'
	to `Parameters' and made it public readonly.

svn path=/trunk/mcs/; revision=6484
2002-08-06 22:07:42 +00:00
Tim Coleman 7bce180acd 2002-08-06 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Change the XmlElement name from "type" to "types" for
                the Types object

svn path=/trunk/mcs/; revision=6482
2002-08-06 21:23:42 +00:00
Tim Coleman 54ef5d26ba 2002-08-06 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                Some reformatting of code for readability.
                Modify to correctly serialize ICollection objects
                such as the BindingCollection of a ServiceDescription
                for example.

svn path=/trunk/mcs/; revision=6481
2002-08-06 21:15:39 +00:00
Tim Coleman 5bfe0eb17a 2002-08-06 Tim Coleman <[email protected]>
* list: new files added to build.
        * System.EnterpriseServices.CompensatingResourceManager:
                New directory added

svn path=/trunk/mcs/; revision=6477
2002-08-06 17:46:33 +00:00
Tim Coleman 12333d1f7f 2002-08-06 Tim Coleman <[email protected]>
* ChangeLog.cs:
        * CompensatorOptions.cs:
        * LogRecordFlags.cs:
        * TransactionState.cs:
                New stubs added

svn path=/trunk/mcs/; revision=6476
2002-08-06 17:45:53 +00:00
Tim Coleman c9bf6fa840 2002-08-06 Tim Coleman <[email protected]>
* DescriptionAttribute.cs:
        * EventClassAttribute.cs:
        * EventTrackingEnabledAttribute.cs:
        * ExceptionClassAttribute.cs:
        * IISIntrinsicsAttribute.cs:
        * IRegistrationHelper.cs:
        * IRemoteDispatch.cs:
        * IServicedComponentInfo.cs:
        * ITransaction.cs:
        * InstallationFlags.cs:
        * InterfaceQueuingAttribute.cs:
        * JustInTimeActivationAttribute.cs:
        * LoadBalancingSupportedAttribute.cs:
        * MustRunInClientContextAttribute.cs:
        * ObjectPoolingAttribute.cs:
        * PrivateComponentAttribute.cs:
        * PropertyLockMode.cs:
        * PropertyReleaseMode.cs:
        * XACTTRANSINFO.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6475
2002-08-06 17:32:16 +00:00
Dietmar Maurer 9bbc6450fc (arch_jit_compile_cfg): use a mempool to store native code. This
improves locality of code.

svn path=/trunk/mono/; revision=6474
2002-08-06 17:16:38 +00:00
Tim Coleman 23febb4ea2 2002-08-06 Tim Coleman <[email protected]>
* MonoType.cs:
                Fix bug #28582.  Now checks parameters for properties
                in GetPropertyImpl.

svn path=/trunk/mcs/; revision=6473
2002-08-06 16:59:01 +00:00
Dietmar Maurer bdbe31026b (arch_jit_compile_cfg): do not waste memory
svn path=/trunk/mono/; revision=6472
2002-08-06 16:31:35 +00:00
Duncan Mak c39d86416b Add missing file to compilation list.
svn path=/trunk/mcs/; revision=6471
2002-08-06 16:25:07 +00:00
Paolo Molaro 5b2bf58553 Tue Aug 6 17:59:44 CEST 2002 Paolo Molaro <[email protected]>
* class.c: move all the type size stuff into
	class_compute_field_layout().

svn path=/trunk/mono/; revision=6470
2002-08-06 16:01:18 +00:00
Dietmar Maurer fd80f4cdfc 2002-08-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): make the call to
	mono_get_lmf_addr relocatable.

svn path=/trunk/mono/; revision=6468
2002-08-06 15:59:12 +00:00
Martin Baulig 36eaf686cb 2002-08-06 Martin Baulig <[email protected]>
* ecore.cs (Expression.Warning): Made this public as well.

	* report.cs (Report.Debug): Print the contents of collections.

svn path=/trunk/mcs/; revision=6466
2002-08-06 15:41:48 +00:00
Martin Baulig a5cba8a3e3 Ooops, fix the location check in Error and Warning.
svn path=/trunk/mcs/; revision=6465
2002-08-06 15:11:40 +00:00
Martin Baulig c9bc4f563d 2002-08-06 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveFlags): New [Flags] enum.  This is
	used to tell Resolve() which kinds of expressions it may return.
	(Expression.Resolve): Added overloaded version of this method which
	takes a `ResolveFlags flags' argument.  This can be used to tell
	Resolve() which kinds of expressions it may return.  Reports a
	CS0118 on error.
	(Expression.ResolveWithSimpleName): Removed, use Resolve() with
	ResolveFlags.SimpleName.
	(Expression.Error118): Added overloaded version of this method which
	takes a `ResolveFlags flags' argument.  It uses the flags to determine
	which kinds of expressions are allowed.

	* expression.cs (Argument.ResolveMethodGroup): New public method.
	Resolves an argument, but allows a MethodGroup to be returned.
	This is used when invoking a delegate.

	* TODO: Updated a bit.

svn path=/trunk/mcs/; revision=6464
2002-08-06 14:16:30 +00:00
Rafael Teixeira 4ca77be3da 2002-08-06 Rafael Teixeira <[email protected]>
* added "test" target to makefile
	* merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
	  decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
	  pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=6463
2002-08-06 14:09:19 +00:00
Tim Coleman 5ef1e904fb 2002-08-06 Tim Coleman <[email protected]>
* ServerProtocol.cs:
                Add new class as implied by class statuc page.
                SoapServerProtocol is derived from this.
        * SoapServerProtocol.cs:
                Change base class to ServerProtocol.  Add some
                properties shown by class status page.
        * SoapClientMethod.cs:
                This class should not be sealed.  Add some
                fields shown by the class status page.

svn path=/trunk/mcs/; revision=6462
2002-08-06 13:51:12 +00:00
Gaurav Vaish b5e6a5d22e 2002-08-06 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - Wokring on PrepareControlHierarchy()
                              - Added private method
      	                     PrepareControlHierarchyForItem()

svn path=/trunk/mcs/; revision=6461
2002-08-06 12:43:43 +00:00
Paolo Molaro a36d71f207 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <[email protected]>
* main.c: use mono_image_get_entry_point ().

svn path=/trunk/mono/; revision=6460
2002-08-06 10:40:57 +00:00
Paolo Molaro 61c1751f80 Tue Aug 6 11:20:49 CEST 2002 Paolo Molaro <[email protected]>
* class.c: ensure enums have always the correct instance size.
	* unicode.c: remove wrong assert.

svn path=/trunk/mono/; revision=6459
2002-08-06 09:22:07 +00:00
Gonzalo Paniagua Javier 4de507decf 2002-08-06 Gonzalo Paniagua Javier <[email protected]>
Fixed compilation with csc.

	* ecore.cs: Expression.Error made public. Is this correct? Should
	Warning be made public too?

	* expression.cs: use ea.Location instead of ea.loc.

	[FIXME:  Filed as bug #28607: MCS must report these errors.]

svn path=/trunk/mcs/; revision=6456
2002-08-06 02:47:34 +00:00
Gonzalo Paniagua Javier 1369850277 flushed
svn path=/trunk/mcs/; revision=6454
2002-08-06 01:39:32 +00:00
Gonzalo Paniagua Javier e7f4a77902 2002-08-06 Gonzalo Paniagua Javier <[email protected]>
* OleDbConnection.cs: little fixes to make it work and don't show
	a warning in Open.

	* TestOleDb.cs: added Close.

svn path=/trunk/mcs/; revision=6453
2002-08-06 01:34:59 +00:00
Martin Baulig 625ea56d71 2002-08-06 Martin Baulig <[email protected]>
* ecore.cs (Expression.loc): Moved the location here instead of
	duplicating it in all derived classes.
	(Expression.Location): New public property.
	(Expression.Error, Expression.Warning): Made them non-static and
	removed the location argument.
	(Expression.Warning): Added overloaded version which takes an
	`int level' argument.
	(Expression.Error118): Make this non-static and removed the
	expression and location arguments.
	(TypeExpr): Added location argument to the constructor.

	* expression.cs (StaticCallExpr): Added location argument to
	the constructor.
	(Indirection, PointerArithmetic): Likewise.
	(CheckedExpr, UnCheckedExpr): Likewise.
	(ArrayAccess, IndexerAccess, UserCast, ArrayPtr): Likewise.
	(StringPtr): Likewise.

svn path=/trunk/mcs/; revision=6452
2002-08-06 01:20:36 +00:00
Rodrigo Moya 4e816d153a 2002-08-05 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (ConnectionString,
	ConnectionTimeout, ServerVersion, GdaConnection):
	corrected style.
	(OleDbConnection): call libgda.gda_init on constructor.

	* System.Data.OleDb/libgda.cs (libgda): removed static constructor,
	which wasn't been called.

	* System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
	make some tests.

svn path=/trunk/mcs/; revision=6450
2002-08-06 00:08:13 +00:00
Rodrigo Moya 29bf951a72 *** empty log message ***
svn path=/trunk/mcs/; revision=6449
2002-08-05 23:20:35 +00:00
Rodrigo Moya 0910896799 2002-08-04 Rodrigo Moya <[email protected]>
* list: added missing System.Data.OleDb and
	System.Data.Common files.

	* System.Data.OleDb/ChangeLog: removed and merged with
	System.Data's ChangeLog.

	* System.Data.OleDb/OleDbDataAdapter.cs:
	* System.Data.OleDb/OleDbPermission.cs: compilation fixes.

        * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
	make some tests.

svn path=/trunk/mcs/; revision=6448
2002-08-05 23:19:38 +00:00
Rodrigo Moya 168b76ca33 Added more files
svn path=/trunk/mcs/; revision=6446
2002-08-05 22:30:46 +00:00
Rodrigo Moya b5ccf16341 2002-08-05 Rodrigo Moya <[email protected]>
* ChannelServices.cs:
	* ChannelDataStore.cs:
	* ClientChannelSinkStack.cs: new classes with some implementation.

svn path=/trunk/mcs/; revision=6445
2002-08-05 22:30:17 +00:00
Martin Baulig 3b01111157 2002-08-05 Martin Baulig <[email protected]>
* expression.cs (BaseAccess.DoResolve): Actually report errors.

svn path=/trunk/mcs/; revision=6444
2002-08-05 20:44:26 +00:00
Martin Baulig 13fb783d5b 2002-08-05 Martin Baulig <[email protected]>
* assign.cs (Assign.DoResolve): Check whether the source
	expression is a value or variable.

	* statement.cs (Try.Resolve): Set ec.InTry/InCatch/InFinally
	while resolving the corresponding blocks.

	* interface.cs (Interface.GetInterfaceTypeByName): Actually report
	an error, don't silently return null.

	* statement.cs (Block.AddVariable): Do the error reporting here
	and distinguish between CS0128 and CS0136.
	(Block.DoResolve): Report all unused labels (warning CS0164).
	(LabeledStatement): Pass the location to the constructor.
	(LabeledStatement.HasBeenReferenced): New property.
	(LabeledStatement.Resolve): Set it to true here.

	* statement.cs (Return.Emit): Return success even after reporting
	a type mismatch error (CS0126 or CS0127), this is what csc does and
	it avoids confusing the users with any consecutive errors.

svn path=/trunk/mcs/; revision=6443
2002-08-05 20:31:19 +00:00
Martin Baulig c266c087a4 Make these tests actually work, they contained other syntax errors than the
ones they were supposed to produce.

svn path=/trunk/mcs/; revision=6442
2002-08-05 20:14:00 +00:00
Martin Baulig ea109a812e Ooops, make this actually work.
svn path=/trunk/mcs/; revision=6441
2002-08-05 20:11:44 +00:00
Martin Baulig 00f5a2eba0 2002-08-05 Martin Baulig <[email protected]>
* statement.cs (Block.AddVariable): Do the error reporting here
	and distinguish between CS0128 and CS0136.
	(Block.DoResolve): Report all unused labels (warning CS0164).
	(LabeledStatement): Pass the location to the constructor.
	(LabeledStatement.HasBeenReferenced): New property.
	(LabeledStatement.Resolve): Set it to true here.

	* statement.cs (Return.Emit): Return success even after reporting
	a type mismatch error (CS0126 or CS0127), this is what csc does and
	it avoids confusing the users with any consecutive errors.

svn path=/trunk/mcs/; revision=6440
2002-08-05 19:39:35 +00:00
Paolo Molaro cdd7bc786f Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented EntryPoint and a few
	resource related methods.

svn path=/trunk/mcs/; revision=6439
2002-08-05 19:21:10 +00:00
Paolo Molaro 3149727e48 Mon Aug 5 19:30:04 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: fix mem corruption issue.
	* image.h, image.c: added mono_image_get_resource () to access
	managed resources.
	* icall.c: implemented Assembly.EntryPoint property and some
	Managed Resources related internalcalls.

svn path=/trunk/mono/; revision=6438
2002-08-05 17:35:25 +00:00
Martin Baulig c33530bc3b 2002-08-05 Martin Baulig <[email protected]>
* statement.cs (Return.Emit): Return success even after reporting
	a type mismatch error (CS0126 or CS0127), this is what csc does and
	it avoids confusing the users with any consecutive errors.

svn path=/trunk/mcs/; revision=6437
2002-08-05 17:34:52 +00:00
Paolo Molaro 6e78aacf25 Mon Aug 5 19:21:19 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix random memory read in mono_create_method_pointer.

svn path=/trunk/mono/; revision=6436
2002-08-05 17:28:10 +00:00
Martin Baulig f9b6b80ab6 2002-08-05 Martin Baulig <[email protected]>
* enum.cs (Enum.LookupEnumValue): Catch circular definitions.

	* const.cs (Const.LookupConstantValue): Catch circular definitions.

	* expression.cs (MemberAccess.DoResolve): Silently return if an
	error has already been reported.

	* ecore.cs (Expression.MemberLookupFinal): Silently return if an
	error has already been reported.

svn path=/trunk/mcs/; revision=6435
2002-08-05 16:49:16 +00:00
Dietmar Maurer ef2bd985e5 new test
svn path=/trunk/mono/; revision=6434
2002-08-05 16:45:03 +00:00
Sergey Chaban 7696d1e767 x86-codegen.h: fixed bug in x86_memindex_emit, for basereg == EBP && disp == imm32;
svn path=/trunk/mono/; revision=6433
2002-08-05 16:43:06 +00:00
Paolo Molaro 81b702e529 Mon Aug 5 18:18:03 CEST 2002 Paolo Molaro <[email protected]>
* image.c, image.h: impemented mono_image_get_entry_point ().
	* appdomain.c: use mono_image_get_entry_point.

svn path=/trunk/mono/; revision=6432
2002-08-05 16:19:46 +00:00
Gonzalo Paniagua Javier 6b4b5ae9a5 changed CR/LF by CR and added GlobalizationConfiguration.cs
svn path=/trunk/mcs/; revision=6431
2002-08-05 16:14:41 +00:00
Gonzalo Paniagua Javier 4120192ea8 Fixed typo
svn path=/trunk/mcs/; revision=6430
2002-08-05 15:57:34 +00:00
Gonzalo Paniagua Javier 8f0e2b6836 2002-08-05 Gonzalo Paniagua Javier <[email protected]>
* AppDomainFactory.cs: implemented.
	* ApplicationHost.cs: implemented.
	* SimpleWorkerRequest.cs: a few little fixes and reformatted. It's now
	fully implemented.

svn path=/trunk/mcs/; revision=6429
2002-08-05 15:33:59 +00:00
Martin Baulig 04c71cf0d5 2002-08-05 Martin Baulig <[email protected]>
* test-157.cs: Formerly known as ../errors/cs-20.cs

svn path=/trunk/mcs/; revision=6428
2002-08-05 15:23:30 +00:00
Patrik Torstensson abbbbc7d11 Small fix... :-)
svn path=/trunk/mcs/; revision=6427
2002-08-05 15:22:41 +00:00
Patrik Torstensson 6b4ae03b74 2002-07-24 Tim Coleman <[email protected]>
* list:
		Add System.Web/ApplicationFactory.cs
		Add System.Web/HttpAsyncResult.cs
		Add System.Web.Configuration/GlobalizationConfiguration.cs
		Add System.Web.Configuration/HandlerFactoryConfiguration.cs
		Add System.Web.Configuration/HandlerFactoryProxy.cs
		Add System.Web.Configuration/HandlerItem.cs
		Add System.Web.Configuration/ModuleItem.cs
		Add System.Web.Configuration/ModulesConfiguration.cs

svn path=/trunk/mcs/; revision=6426
2002-08-05 15:16:56 +00:00
Patrik Torstensson 62bc89081e 2002-08-05 Patrik Torstensson <[email protected]>
* HttpApplication.cs: Implemented a state machine to allow handling of HttpModules
								 and HttpHandlers. Implementation of async handlers.

	* HttpApplicationFactory.cs: Factory for creating HttpApplication instances, including caching.

	* HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a application instance to
							 execute requests in and implementation of request execution (still no request queue).

	* HttpAsyncResult.cs: New file to handle async module results.

	* HttpRequest.cs: Change signature of Dispose
	* HttpResponse.cs: new internal method allowing filtering to happen during the request flow in the
					           state machine.

svn path=/trunk/mcs/; revision=6425
2002-08-05 15:15:31 +00:00
Martin Baulig 3eaa5c2d63 2002-08-05 Martin Baulig <[email protected]>
* error-1.cs, error-2.cs: Moved to ../errors.

svn path=/trunk/mcs/; revision=6424
2002-08-05 15:10:03 +00:00
Martin Baulig 1f157cb4ad 2002-08-05 Martin Baulig <[email protected]>
* runtest.pl: This is a perl script which runs a testcase, parses the
	MCS output and checks whether all errors are reported.

	* error-1.cs, error-2.cs: Moved here from ../tests/.

	* README.tests: Added (empty) list of all test cases.

svn path=/trunk/mcs/; revision=6423
2002-08-05 15:09:13 +00:00
Martin Baulig f75a384f70 2002-08-05 Martin Baulig <[email protected]>
* statement.cs (UsageVector): Only initialize the `parameters'
	vector if we actually have any "out" parameters.

svn path=/trunk/mcs/; revision=6422
2002-08-05 15:07:46 +00:00
Gonzalo Paniagua Javier 46d6dfb034 *** empty log message ***
svn path=/trunk/mcs/; revision=6421
2002-08-05 14:45:16 +00:00
Patrik Torstensson 1c2178293d head -8 ChangeLog
svn path=/trunk/mcs/; revision=6420
2002-08-05 14:34:31 +00:00
Patrik Torstensson cb4a85bc52 2002-08-05 Patrik Torstensson <[email protected]>
This is a simple test program for the new HttpRuntime execution system.

svn path=/trunk/mcs/; revision=6419
2002-08-05 14:31:22 +00:00
Paolo Molaro cf9da09578 missing.
svn path=/trunk/mono/; revision=6418
2002-08-05 13:42:32 +00:00
Martin Baulig 700a35e242 2002-08-05 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): When combining delegates,
	they must have the same type.

svn path=/trunk/mcs/; revision=6417
2002-08-05 13:40:32 +00:00
Rodrigo Moya db7b2aedae Added new files
svn path=/trunk/mcs/; revision=6416
2002-08-05 12:48:50 +00:00
Rodrigo Moya 3cd14aa403 2002-08-03 Rodrigo Moya <[email protected]>
* BinaryServerFormatterSinkProvider.cs:
	* BinaryClientFormatterSinkProvider.cs: new stubs.

svn path=/trunk/mcs/; revision=6415
2002-08-05 12:48:28 +00:00
Martin Baulig ec9fff9c16 2002-08-05 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetArgumentTypes): Don't call
	PropertyInfo.GetIndexParameters() on dynamic types, this doesn't
	work with the ms runtime and we also don't need it: if we're a
	PropertyBuilder and not in the `indexer_arguments' hash, then we
	are a property and not an indexer.

	* class.cs (TypeContainer.AsAccessible): Use Type.IsArray,
	Type.IsPointer and Type.IsByRef instead of Type.HasElementType
	since the latter one doesn't work with the ms runtime.

svn path=/trunk/mcs/; revision=6414
2002-08-05 12:45:56 +00:00
Martin Baulig e0c265bf13 Added documentation for the flow analysis code.
svn path=/trunk/mcs/; revision=6413
2002-08-05 12:11:47 +00:00
Dietmar Maurer 6066a833df 2002-08-05 Dietmar Maurer <[email protected]>
* threads.c: use fast spinlocks by default

svn path=/trunk/mono/; revision=6412
2002-08-05 11:25:03 +00:00
Paolo Molaro a45fb7d0dd Mon Aug 5 13:08:15 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: support the object type argument when loading
	custom attributes.

svn path=/trunk/mono/; revision=6411
2002-08-05 11:09:35 +00:00
Paolo Molaro 1c42fd434a New test.
svn path=/trunk/mono/; revision=6410
2002-08-05 11:08:07 +00:00
Gaurav Vaish 4859527992 2002-08-05 Gaurav Vaish <[email protected]>
* DataGrid.cs                 - Completed method
	                     OnBubbleEvent(object, EventArgs)

svn path=/trunk/mcs/; revision=6409
2002-08-05 10:21:36 +00:00
Dietmar Maurer b1de14e921 2002-08-05 Dietmar Maurer <[email protected]>
* x86/tramp.c (mono_create_trampoline): fixed stack_size bug

svn path=/trunk/mono/; revision=6408
2002-08-05 09:53:43 +00:00
Paolo Molaro 40ecc595bd Commit to fix compilation.
svn path=/trunk/mcs/; revision=6407
2002-08-05 08:59:42 +00:00
Dietmar Maurer 8812a5324c *** empty log message ***
svn path=/trunk/mono/; revision=6406
2002-08-05 08:45:47 +00:00
Dietmar Maurer 1ebf09aa60 2002-08-05 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): add suppport for
	String as return type.

svn path=/trunk/mono/; revision=6405
2002-08-05 08:19:51 +00:00
Dave Bettin 0286ebabeb o Added atributes and some basic implementation
svn path=/trunk/mcs/; revision=6404
2002-08-05 06:10:27 +00:00
Tim Coleman bf83c44486 2002-08-03 Tim Coleman <[email protected]>
* DiscoveryDocument.cs:
                Added XmlIgnore attribute to References property
        * DiscoveryDocumentReference.cs:
                Implemented Ref/Url properties and added XmlIgnore
                attributes.

svn path=/trunk/mcs/; revision=6403
2002-08-05 05:52:55 +00:00
Tim Coleman 4b65909094 2002-08-03 Tim Coleman <[email protected]>
* SoapProtocolReflector.cs:
                Removed SoapBinding property and made the class
                not sealed to agree with class reference page.

svn path=/trunk/mcs/; revision=6402
2002-08-05 05:40:55 +00:00
Tim Coleman eef3063430 2002-08-03 Tim Coleman <[email protected]>
* list: new files added to build list.

svn path=/trunk/mcs/; revision=6401
2002-08-05 05:19:50 +00:00
Tim Coleman df076b425e 2002-08-03 Tim Coleman <[email protected]>
* AccessChecksLevelOption.cs:
        * ActivationOption.cs:
        * ApplicationAccessControlAttribute.cs:
        * ApplicationActivationAttribute.cs:
        * ApplicationIDAttribute.cs:
        * ApplicationNameAttribute.cs:
        * ApplicationQueuingAttribute.cs:
        * AuthenticationOption.cs:
        * AutoCompleteAttribute.cs:
        * BOID.cs:
        * BYOT.cs:
        * COMTIIntrinsicsAttribute.cs:
        * ComponentAccessControlAttribute.cs:
        * ConstructionEnabledAttribute.cs:
        * ContextUtil.cs:
        * ImpersonationLevelOption.cs:
        * TransactionVote.cs:
                New stubs added

svn path=/trunk/mcs/; revision=6400
2002-08-05 05:18:54 +00:00
Gonzalo Paniagua Javier 38acb564e2 2002-08-04 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: make it use the freshly built mcs.

svn path=/trunk/mcs/; revision=6396
2002-08-04 14:58:25 +00:00
Duncan Mak dd293f9286 More fixes from new CorCompare output.
svn path=/trunk/mcs/; revision=6395
2002-08-04 08:08:02 +00:00
Jason Diamond 5183d6ce46 Return Encoding.Unicode from StringWriter.Encoding. XmlTextWriter relies on all writers having that property.
svn path=/trunk/mcs/; revision=6390
2002-08-04 01:32:03 +00:00
Nick Drochak 38a5aa982d 2002-08-04 Nick Drochak <[email protected]>
* Buffer.cs: Throw correct exception in GetByte() and SetByte().

svn path=/trunk/mcs/; revision=6389
2002-08-03 23:51:53 +00:00
Jason Diamond 1fba2759ab Fixed another bug to help get the System.XML tests running on Linux (no more assertions). Added a makefile to build the System.XML tests on Linux.
svn path=/trunk/mcs/; revision=6388
2002-08-03 22:32:10 +00:00
Tim Coleman 701e5820f5 2002-08-03 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                Changed Implements() to check based on name rather
                than FullName.  FullName was never working correctly.

svn path=/trunk/mcs/; revision=6386
2002-08-03 21:09:28 +00:00
Miguel de Icaza b7b157b35f Push
svn path=/trunk/mono/; revision=6385
2002-08-03 19:29:25 +00:00
Gonzalo Paniagua Javier 413ae473a2 2002-08-03 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: added IndexerName to indexer.

svn path=/trunk/mcs/; revision=6384
2002-08-03 18:25:22 +00:00
Martin Baulig 4952c2784e 2002-08-03 Martin Baulig <[email protected]>
Fixed bugs #27998 and #22735.

svn path=/trunk/mcs/; revision=6383
2002-08-03 18:09:01 +00:00
Martin Baulig d3eb53af10 Ooops, this file had duplicate methods in it.
svn path=/trunk/mcs/; revision=6382
2002-08-03 18:06:09 +00:00
Martin Baulig 0b75ca2f34 2002-08-03 Martin Baulig <[email protected]>
* class.cs (Method.IsOperator): New public field.
	(Method.CheckBase): Report CS0111 if there's already a method
	with the same parameters in the current class.  Report CS0508 when
	attempting to change the return type of an inherited method.
	(MethodData.Emit): Report CS0179 if a method doesn't have a body
	and it's not marked abstract or extern.
	(PropertyBase): New abstract base class for Property and Indexer.
	(PropertyBase.CheckBase): Moved here from Property and made it work
	for indexers.
	(PropertyBase.Emit): Moved here from Property.Emit, Indexer.Emit is
	the same so we can reuse it there.
	(Property, Indexer): Derive from PropertyBase.
	(MethodSignature.inheritable_property_signature_filter): New delegate
	to find properties and indexers.

	* decl.cs (MemberCore.CheckMethodAgainstBase): Added `string name'
	argument and improved error reporting.

	* parameter.cs (Parameters.GetEmptyReadOnlyParameters): Renamed to
	EmptyReadOnlyParameters and made it a property.

	* typemanager.cs (TypeManager.GetArgumentTypes): Added overloaded
	version of this method which takes a `PropertyInfo indexer'.
	(TypeManager.RegisterIndexer): New method.

	* class.cs: Added myself as author of this file :-)

svn path=/trunk/mcs/; revision=6381
2002-08-03 18:05:05 +00:00
Tim Coleman fc29499600 2002-08-03 Tim Coleman <[email protected]>
* ServiceDescriptionBaseCollection.cs:
                Removed some NotImplementedException()'s so that
                it runs.

svn path=/trunk/mcs/; revision=6380
2002-08-03 17:19:27 +00:00
Tim Coleman 46ba39cb3d 2002-08-03 Tim Coleman <[email protected]>
* XmlNamespaceManager.cs:
                .Net allows the empty namespace to be redefined
                at a later point, but the current implementation
                did not.  This fixes a hashtable conflict.

svn path=/trunk/mcs/; revision=6379
2002-08-03 17:17:05 +00:00
Gonzalo Paniagua Javier 8608fd450b 2002-08-03 Gonzalo Paniagua Javier <[email protected]>
* class.cs: fixed compilation on windoze.

svn path=/trunk/mcs/; revision=6378
2002-08-03 03:20:37 +00:00
Gonzalo Paniagua Javier 12c30fc7d0 2002-08-03 Gonzalo Paniagua Javier <[email protected]>
* ZoneIdentityPermission.cs: New file. Implemented.

svn path=/trunk/mcs/; revision=6377
2002-08-03 02:31:02 +00:00
Gonzalo Paniagua Javier d40bf981ff 2002-08-03 Gonzalo Paniagua Javier <[email protected]>
* IBuiltInEvidence.cs: New file.
	* Zone.cs: New file. Implemented.

svn path=/trunk/mcs/; revision=6376
2002-08-03 02:27:10 +00:00
Martin Baulig a5a71e6825 2002-08-03 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.DeclaringType): Implemented.

svn path=/trunk/mcs/; revision=6375
2002-08-03 02:23:22 +00:00
Martin Baulig ef3498561e 2002-08-03 Martin Baulig <[email protected]>
* test-156.cs, error-2.cs: New tests.

svn path=/trunk/mcs/; revision=6374
2002-08-03 02:22:17 +00:00
Martin Baulig 438589918c Improved error handling when the accessibility checks fail.
svn path=/trunk/mcs/; revision=6373
2002-08-03 02:19:04 +00:00
Martin Baulig f28bc624e2 2002-08-03 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Check whether base types
	are at least as accessible than the current type.
	(TypeContainer.AsAccessible): Implemented and made non-static.
	(MemberBase.CheckParameters): Report a CS0051 if
	TypeContainer.AsAccessible returns false.

	* delegate.cs (Delegate.Delegate): The default visibility is
	internal for top-level types and private for nested types.

	* enum.cs (Enum.Enum): The default visibility is internal for
	top-level types and private for nested types.
	(Enum.DefineType): Compute the correct visibility.

	* modifiers.cs (Modifiers.TypeAttr): Added a version of this
	function which takes a `bool is_toplevel' instead of a TypeContainer.

	* typemanager.cs (TypeManager.IsBuiltinType): `void' is also a
	builtin type.

svn path=/trunk/mcs/; revision=6372
2002-08-03 01:40:29 +00:00
Martin Baulig ade5563df2 Ooops.
svn path=/trunk/mcs/; revision=6371
2002-08-03 01:39:45 +00:00
Miguel de Icaza 713a3e3504 Update man page
svn path=/trunk/mono/; revision=6369
2002-08-02 21:21:10 +00:00
Miguel de Icaza 73cb06b006 Further updates
svn path=/trunk/mono/; revision=6368
2002-08-02 20:32:48 +00:00
Miguel de Icaza cd51bc0dcb Update TODO to reflect all the new improvements
svn path=/trunk/mcs/; revision=6367
2002-08-02 20:31:03 +00:00
Dennis Hayes f41c8f9902 2002-8-2 DennisHayes <[email protected]>
* Checked in for Ginandrea Terzi ([email protected])

* AssemblyInfo.cs
* ColumnClickEventArgs.cs
* ContentsResizedEventArgs.cs
* ControlEventArgs.cs
* ConvertEventArgs.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* GiveFeedbackEventArgs.cs
* HelpEventArgs.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabelLinkClickedEventArgs.cs
* logfile.txt
* MeasureItemEventArgs.cs
* MouseEventArgs.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* PaintEventArgs.cs
* PropertyTabChangedEventArgs.cs
* PropertyValueChangedEventArgs.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SplitterEventArgs.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewCancelEventArgs.cs
* UICuesEventArgs.cs
* UpDownEventArgs.cs
* Improved ToString functions
* Completed the rest of the *.args classes

svn path=/trunk/mcs/; revision=6366
2002-08-02 20:04:18 +00:00
Paolo Molaro cd2202a560 Fri Aug 2 21:15:42 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix encoding of named args for custom attrs to match
	the ms implementation. Read them back when instantiating custom
	attributes.

svn path=/trunk/mono/; revision=6365
2002-08-02 19:18:45 +00:00
Radek Doulik a895772503 separated .il and .cs tests
svn path=/trunk/mono/; revision=6364
2002-08-02 18:49:12 +00:00
Radek Doulik 1c5ba012dc more WIP
svn path=/trunk/mono/; revision=6363
2002-08-02 18:34:20 +00:00
Miguel de Icaza fade38c871 Flush web page
svn path=/trunk/mono/; revision=6362
2002-08-02 18:32:28 +00:00
Duncan Mak 04ea508bdc 2002-08-03 Duncan Mak <[email protected]>
* BinaryClientFormatterSink.cs:
	* IClientChannelSink.cs: Fixed signature for AsyncProcessResponse.

	* MethodCall.cs:
	* MethodResponse.cs: More visibility fixes. Hopefully this is the
	last of it.

svn path=/trunk/mcs/; revision=6361
2002-08-02 18:30:58 +00:00
Radek Doulik 28cb278275 more surgery
svn path=/trunk/mono/; revision=6360
2002-08-02 18:13:59 +00:00
Radek Doulik 7b58b1b3bb did quick surgery to update for Dietmar's new code
svn path=/trunk/mono/; revision=6359
2002-08-02 17:55:44 +00:00
Radek Doulik a44b234d20 2002-08-02 Radek Doulik <[email protected]>
* marshal.c (mono_mb_add_data): convert ret value to LE, suggested
	by Dietmar as quick fix
	(mono_marshal_get_delegate_begin_invoke): use sig->param_count +
	16 as stack size, used on more places as quick fix before Dietmar
	will fix it properly

svn path=/trunk/mono/; revision=6358
2002-08-02 17:55:17 +00:00
Dick Porter 8b0f7ee219 2002-08-02 Dick Porter <[email protected]>
* io.c (GetStdHandle): Add a handle reference when returning a
	duplicate console handle.  This fixes the unref_handle errors in
	NUnit.

svn path=/trunk/mono/; revision=6357
2002-08-02 16:28:09 +00:00
Paolo Molaro 9fee09ffac Fri Aug 2 17:48:17 CEST 2002 Paolo Molaro <[email protected]>
* object.h, object.c: added accessors for fields and properties.

svn path=/trunk/mono/; revision=6356
2002-08-02 15:49:32 +00:00
Paolo Molaro ee9154981d Fri Aug 2 17:45:15 CEST 2002 Paolo Molaro <[email protected]>
* class.c, class.h: made mono_class_get_field_from_name ()
	loop on parent types.
	Added mono_class_get_property_from_name ().

svn path=/trunk/mono/; revision=6355
2002-08-02 15:46:55 +00:00
Dietmar Maurer 3a33b3ba56 some docu about LDFLD/STFLD for transparent proxies
svn path=/trunk/mono/; revision=6354
2002-08-02 15:27:26 +00:00
Dietmar Maurer 1c3dd3b6df 2002-08-02 Dietmar Maurer <[email protected]>
* interp.c (get_virtual_method): support proxies
	(ves_exec_method): impl. LDFLD/STFLD for proxies.

svn path=/trunk/mono/; revision=6353
2002-08-02 14:16:21 +00:00
Paolo Molaro b765c01c73 Remove duplicate property.
svn path=/trunk/mcs/; revision=6352
2002-08-02 11:34:44 +00:00
Paolo Molaro 55d373bf50 Fri Aug 2 13:00:41 CEST 2002 Paolo Molaro <[email protected]>
* interp.c, interp.h: implemented exception trap for runtime_invoke
	and handle exceptions across managed/unmanaged boundaries.

svn path=/trunk/mono/; revision=6351
2002-08-02 11:02:35 +00:00
Paolo Molaro 0634bc55a0 Fri Aug 2 11:40:32 CEST 2002 Paolo Molaro <[email protected]>
* class.c, class.h: move the code to setup the type vtable in its own
	function so that it can be reused also for types created at runtime.
	Eliminate the "class" identifier from the header file.
	* reflection.c: setup the vtable for enums so that we can create
	objects for use in SetConstant ().

svn path=/trunk/mono/; revision=6350
2002-08-02 09:44:40 +00:00
Alvaro del Castillo f32be9e2a8 Fixes to the correct links in Mono Hispano - acs
svn path=/trunk/mono/; revision=6349
2002-08-02 08:08:13 +00:00
Dietmar Maurer 2333913863 2002-08-02 Dietmar Maurer <[email protected]>
* marshal.c (mono_delegate_to_ftnptr): pass delegate->target
	instead of the delegate itself as this pointer (bug #28383)

svn path=/trunk/mono/; revision=6348
2002-08-02 07:13:54 +00:00
Nick Drochak 095999edf6 2002/08/02 Nick Drochak <[email protected]>
* ConvertTest.cs (TestGetTypeCode): Find out which test is failing on
	linux.

svn path=/trunk/mcs/; revision=6347
2002-08-02 01:54:42 +00:00
Jason Diamond fcb53f7590 Use GetByteCount instead of GetMaxByteCount (which doesn't seem to be implemented correctly for UnicodeEncoding and doesn't make sense anyways--wouldn't you want your byte array to be the correct length?) when converting chars to bytes. This was causing the System.XML tests to crash with an assertion on Linux.
svn path=/trunk/mcs/; revision=6346
2002-08-02 01:05:20 +00:00
Martin Baulig c5c6a46391 2002-08-02 Martin Baulig <[email protected]>
* expression.cs (LocalVariableReferenc): Added constructor which
	takes additional `VariableInfo vi' and `bool is_readonly' arguments.
	(LocalVariableReference.IsReadOnly): New property.
	(LocalVariableReference.DoResolveLValue): Report a CS1604 if the
	variable is readonly, use our own readonly flag to do this; you can
	use the new constructor to get a writable reference to a read-only
	variable.

	* cs-parser.jay (foreach_statement, using_statement): Get a writable
	reference to the local variable.

svn path=/trunk/mcs/; revision=6345
2002-08-02 01:02:23 +00:00
Miguel de Icaza 4cd802dd52 2002-08-01 Miguel de Icaza <[email protected]>
* rootcontext.cs (ResolveCore): Also include System.Exception

svn path=/trunk/mcs/; revision=6344
2002-08-01 23:50:10 +00:00
Miguel de Icaza 3cb83f1d3d 2002-08-01 Miguel de Icaza <[email protected]>
* statement.cs
		(Catch.DoResolve, Throw.DoResolve): Throwing the System.Exception
	is also fine.


	* expression.cs: 	use brtrue/brfalse directly and avoid compares to null.

svn path=/trunk/mcs/; revision=6343
2002-08-01 23:37:24 +00:00
Miguel de Icaza b5f7580177 2002-08-01 Miguel de Icaza <[email protected]>
* statement.cs (Block.Emit): Do not emit the dead-code warnings if
	we reach an EmptyStatement.

svn path=/trunk/mcs/; revision=6342
2002-08-01 23:01:09 +00:00
Miguel de Icaza ac452caaf9 2002-08-01 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Check error result in
	two places.

svn path=/trunk/mcs/; revision=6341
2002-08-01 22:55:35 +00:00
Nick Drochak 26d07ded90 2002-08-02 Nick Drochak <[email protected]>
* BufferTest.cs (TestBlockCopy): BlockCopy uses the number of bytes,
	so hard-code some of that info into the test since sizeof() is a very
	unsafe thing to do.

svn path=/trunk/mcs/; revision=6340
2002-08-01 22:46:01 +00:00
Martin Baulig 6fffa82897 2002-08-02 Martin Baulig <[email protected]>
* cs0155.cs, cs0155-2.cs: New tests.

svn path=/trunk/mcs/; revision=6339
2002-08-01 22:32:59 +00:00
Martin Baulig 11e86809aa 2002-08-02 Martin Baulig <[email protected]>
* makefile: Moved test-66.cs to TEST_NOPASS since there's currently
	a bug in the runtime which makes this crash.

	* test-155.cs: New test.

svn path=/trunk/mcs/; revision=6338
2002-08-01 22:31:54 +00:00
Martin Baulig d2956e133a 2002-08-02 Martin Baulig <[email protected]>
* class.cs (TypeContainer.Define): Define all nested interfaces here.
	Fixes bug #28407, added test-155.cs.

svn path=/trunk/mcs/; revision=6337
2002-08-01 22:31:12 +00:00
Rodrigo Moya 8e1db7b828 2002-07-31 Rodrigo Moya <[email protected]>
* unix.args: added new files from System.Runtime.Remoting.Channels.

svn path=/trunk/mcs/; revision=6336
2002-08-01 22:18:54 +00:00
Rodrigo Moya 1a378c36c1 2002-08-01 Rodrigo Moya <[email protected]>
* BinaryClientFormatterSink.cs:
	* BaseChannelWithProperties.cs: new stubs.

svn path=/trunk/mcs/; revision=6335
2002-08-01 22:18:13 +00:00
Dennis Hayes 3679c2cccd 2002-8-1 DennisHayes <[email protected]>
* Checked in for Ginandrea Terzi ([email protected])

* KeyEventArgs.cs
* KeyPressEventArgs.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabelLinkClickedEventArgs.cs
* MeasureItemEventArgs.cs
* MouseEventArgs.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* PaintEventArgs.cs
* PropertyTabChangedEventArgs.cs
* PropertyValueChangedEventArgs.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SplitterEventArgs.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewCancelEventArgs.cs
* UICuesEventArgs.cs
* UpDownEventArgs.cs
* Corrected, cleaned up/ completed some *args.cs classes.
* May break build, but should be easy to fix, will verifiy
*   tonight and check in any needed fixes.

svn path=/trunk/mcs/; revision=6334
2002-08-01 20:11:29 +00:00
Dennis Hayes 32fb04e4db 2002-8-1 DennisHayes <[email protected]>
* MonthCalendar.cs
* ButtonBase.cs
* Form.cs
* MonthCalendar commented out, stubbs need work
* GTK references removed from Buttonbase and form, to make compile easier.
* Replace GTK references as soon as build works on Windows and Linux.
* With this, SWF should compile uder visual studio

svn path=/trunk/mcs/; revision=6333
2002-08-01 20:00:10 +00:00
Martin Baulig 882d73d1ef 2002-08-01 Martin Baulig <[email protected]>
* verify-3.cs: New test.

svn path=/trunk/mcs/; revision=6332
2002-08-01 19:53:56 +00:00
Martin Baulig 3c7955a400 2002-08-01 Martin Baulig <[email protected]>
* class.cs (Event.EmitDefaultMethod): Make this work with static
	events.  Fixes #28311, added verify-3.cs.

svn path=/trunk/mcs/; revision=6331
2002-08-01 19:51:35 +00:00
Dennis Hayes c985d1e78c 2002-8-1 DennisHayes <[email protected]>
* TODOAttribute.cs
* ComVisible.cs
* added so the namespace can compile, remove when replaced with mono equivalents.

svn path=/trunk/mcs/; revision=6330
2002-08-01 19:47:08 +00:00
Dennis Hayes 414efd30f5 2002-8-1 DennisHayes <[email protected]>
* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* System.Windows.Forms.sln
* AssemblyInfo.cs * Not sure if this file is needed. not a part of the namespace, just visual studio
* Added files to compile using visual Studio

svn path=/trunk/mcs/; revision=6329
2002-08-01 19:43:37 +00:00
Martin Baulig f156f9d2ea 2002-08-01 Martin Baulig <[email protected]>
* statement.cs (ForeachHelperMethods): Added `enumerator_type' and
	`is_disposable' fields.
	(Foreach.GetEnumeratorFilter): Set `hm.enumerator_type' and
	`hm.is_disposable' if we're using the collection pattern.
	(Foreach.EmitCollectionForeach): Use the correct type for the
	enumerator's local variable, only emit the try/finally block if
	necessary (fixes #27713).

svn path=/trunk/mcs/; revision=6328
2002-08-01 19:35:04 +00:00
Dennis Hayes 72352ee097 2002-8-1 DennisHayes <[email protected]>
* Getopt.cs
* removed, file contained only trash, not needed.

svn path=/trunk/mcs/; revision=6327
2002-08-01 19:35:01 +00:00
Martin Baulig 164b21a807 2002-08-01 Martin Baulig <[email protected]>
* ecore.cs (Expression.report118): Renamed to Error118 and made
	it public static.

	* statement.cs (Throw.Resolve): Check whether the expression is of
	the correct type (CS0118) and whether the type derives from
	System.Exception (CS0155).
	(Catch.Resolve): New method.  Do the type lookup here and check
	whether it derives from System.Exception (CS0155).
	(Catch.CatchType, Catch.IsGeneral): New public properties.

	* typemanager.cs (TypeManager.exception_type): Added.

svn path=/trunk/mcs/; revision=6326
2002-08-01 19:07:40 +00:00
Duncan Mak 765fac406a More visibility fixes, and revert my previous patch on ContextAttribute.
svn path=/trunk/mcs/; revision=6325
2002-08-01 18:28:49 +00:00
Duncan Mak 7c32d23891 More visibility fixes.
svn path=/trunk/mcs/; revision=6324
2002-08-01 18:20:26 +00:00
Duncan Mak 91bec20178 2002-08-02 Duncan Mak <[email protected]>
* MethodCall.cs:
	* MethodCallMessageWrapper.cs:
	* MethodReturnMessageWrapper.cs: Various visibility fixes.

	* RemotingSurrogateSelector.cs: Added, replaced RemoteSurrogateSelector.

	* ActivatedClientTypeEntry.cs:
	* ActivatedServiceTypeEntry.cs:
	* WellKnownClientTypeEntry.cs:
	* WellKnownServiceTypeEntry.cs: Various visibility fixes.

svn path=/trunk/mcs/; revision=6323
2002-08-01 18:06:30 +00:00
Duncan Mak dbf56967d4 Fix compilation issues.
svn path=/trunk/mcs/; revision=6321
2002-08-01 17:28:49 +00:00
Duncan Mak 9a98ae9f60 2002-08-02 Duncan Mak <[email protected]>
* IChannel.cs:
	* IChannelReceiver.cs:
	* IChannelReceiverHook.cs:
	* IClientChannelSink.cs:
	* IClientChannelSinkStack.cs:
	* IServerChannelSink.cs:
	* IServerChannelSinkProvider.cs:
	* IServerChannelSinkStack.cs: Fixed various typos, cut-n-paste
	errors.

svn path=/trunk/mcs/; revision=6320
2002-08-01 16:51:47 +00:00
Duncan Mak 1df5bfa6af Forgot to commit this for acs last night. sorry.
2002-08-01  Duncan Mak  <[email protected]>

	* IChannel.cs:
	(Parse): Added.

svn path=/trunk/mcs/; revision=6319
2002-08-01 16:15:13 +00:00
Miguel de Icaza dc0069d613 Add new file
svn path=/trunk/mono/; revision=6318
2002-08-01 16:10:58 +00:00
Miguel de Icaza d4230a9e74 Add embedded API document
svn path=/trunk/mono/; revision=6317
2002-08-01 16:07:04 +00:00
Paolo Molaro 8a345b1116 Mono Hackers Hall Of Fame.
svn path=/trunk/mono/; revision=6316
2002-08-01 15:59:54 +00:00
Dietmar Maurer f1b1f7e4ba removed some debugging output
svn path=/trunk/mono/; revision=6315
2002-08-01 15:54:32 +00:00
Dietmar Maurer 8caa7b8d52 2002-08-01 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. CEE_MONO_RETOBJ

svn path=/trunk/mono/; revision=6314
2002-08-01 15:31:45 +00:00
Miguel de Icaza cbb8889e88 update index
svn path=/trunk/mono/; revision=6313
2002-08-01 15:20:30 +00:00
Dietmar Maurer 5b63c14e0b bug fix
svn path=/trunk/mono/; revision=6312
2002-08-01 14:23:23 +00:00
Dietmar Maurer d5f372534b 2002-08-01 Dietmar Maurer <[email protected]>
* x86/tramp.c (mono_create_trampoline): also push the value type pointer for
	methods returning value types.
	(mono_create_method_pointer): support valuetype returns.

	* interp.c (ves_pinvoke_method): do not call stackval_from_data if the result
	is a value type.

svn path=/trunk/mono/; revision=6311
2002-08-01 14:17:18 +00:00
Dick Porter 1d4958553c 2002-08-01 Dick Porter <[email protected]>
* threads.c: Use atomic spinlocks in TLS functions

	* mono-spinlock.h:
	* Makefile.am: Added mono-spinlock.h

svn path=/trunk/mono/; revision=6310
2002-08-01 12:15:41 +00:00
Gonzalo Paniagua Javier b70d2281fe 2002-08-01 Gonzalo Paniagua Javier <[email protected]>
* String.cs:
	(FormatSpecifier): allow white space between the comman and the width
	specifier.

svn path=/trunk/mcs/; revision=6309
2002-08-01 10:50:32 +00:00
Dietmar Maurer bb6d29529d 2002-08-01 Dietmar Maurer <[email protected]>
* interp.c (stackval_from_data): add pinvoke argument
	(stackval_to_data): add pinvoke argument. We need consider the
	fact that unmanages structures may have different sizes.

	* x86/tramp.c (mono_create_method_pointer): allocate space for
	value types.

svn path=/trunk/mono/; revision=6308
2002-08-01 06:40:11 +00:00
Piers Haken 10173bda94 2002-07-31 Piers Haken <[email protected]>
* XPathDocument.cs: simple, XmlDocument-based implementation

svn path=/trunk/mcs/; revision=6307
2002-08-01 00:40:15 +00:00
Miguel de Icaza f9f59ce84d 2002-07-31 Miguel de Icaza <[email protected]>
* driver.cs: Updated About function.

svn path=/trunk/mcs/; revision=6306
2002-07-31 23:27:45 +00:00
Rodrigo Moya 58ddb1b9ba 2002-07-31 Rodrigo Moya <[email protected]>
* unix.args: added new files from System.Runtime.Remoting.Channels.

svn path=/trunk/mcs/; revision=6305
2002-07-31 22:56:49 +00:00
Rodrigo Moya 847ee2e84e 2002-07-31 Rodrigo Moya <[email protected]>
* BaseChannelSinkWithProperties.cs:
	* BaseChannelObjectWithProperties.cs: new stubs.

svn path=/trunk/mcs/; revision=6304
2002-07-31 22:56:29 +00:00
Rodrigo Moya 5425d7f449 2002-07-31 Rodrigo Moya <[email protected]>
* unix.args: added new files from System.Runtime.Remoting.Channels.

svn path=/trunk/mcs/; revision=6303
2002-07-31 22:49:36 +00:00
Rodrigo Moya b3635f858f 2002-07-31 Rodrigo Moya <[email protected]>
* BaseChannelObjectWithProperties.cs: new stubs.

svn path=/trunk/mcs/; revision=6302
2002-07-31 22:48:18 +00:00
Martin Baulig 92c42d3786 Added myself as author of this file :-)
svn path=/trunk/mcs/; revision=6301
2002-07-31 19:34:42 +00:00
Duncan Mak bdbbb0be53 Committing fix for Juli.
2002-07-30  Juli Mallett  <[email protected]>

	* regex.cs: Fixed bug where the expression would not be
	re-evaluated for grouping purposes when factory caches were
	used, resulting in no groups being recognised after one call
	with a given pattern and no change in options.

svn path=/trunk/mcs/; revision=6299
2002-07-31 16:41:39 +00:00
Duncan Mak 01f32373b8 2002-08-01 Duncan Mak <[email protected]>
* BinaryServerFormatterSink.cs:
	* SoapServerFormatterSink.cs: Fixed typo.

	* IServerChannelSink.cs:
	(ProcessMessage): Fixed definition.

svn path=/trunk/mcs/; revision=6298
2002-07-31 16:23:42 +00:00
Duncan Mak 9480735bae More compilation fixes, sigh.
svn path=/trunk/mcs/; revision=6297
2002-07-31 16:16:33 +00:00
Martin Baulig fd287fd437 Small fix.
svn path=/trunk/mcs/; revision=6296
2002-07-31 16:12:39 +00:00
Martin Baulig 7d9e544016 Make it compile with csc.
svn path=/trunk/mcs/; revision=6295
2002-07-31 16:10:29 +00:00
Duncan Mak cf4a4ffef3 Various compilation fixes.
svn path=/trunk/mcs/; revision=6294
2002-07-31 16:06:49 +00:00
Duncan Mak ba240dad7a 2002-07-31 Duncan Mak <[email protected]>
* BinaryServerFormatterSink.cs:
	* SoapServerFormatterSink.cs: Added.

svn path=/trunk/mcs/; revision=6293
2002-07-31 15:58:34 +00:00
Martin Baulig c8f29d7894 2002-07-31 Martin Baulig <[email protected]>
* test-154.cs: New test for the flow analysis code.

	* error-1.cs: Each method in this test must produce a compiler
	error message.

	* makefile (test-unsafe-mono): New target to compile and run all
	the --unsafe tests wich MCS and the Mono runtime.

svn path=/trunk/mcs/; revision=6292
2002-07-31 15:54:56 +00:00
Martin Baulig 460a3e16d5 2002-07-31 Martin Baulig <[email protected]>
Implemented Control Flow Analysis.

	* codegen.cs (EmitContext.DoFlowAnalysis): New public variable.
	(EmitContext.CurrentBranching): Added.
	(EmitContext.StartFlowBranching): Added.
	(EmitContext.EndFlowBranching): Added.
	(EmitContext.KillFlowBranching): Added.
	(EmitContext.IsVariableAssigned): Added.
	(EmitContext.SetVariableAssigned): Added.
	(EmitContext.IsParameterAssigned): Added.
	(EmitContext.SetParameterAssigned): Added.
	(EmitContext.EmitTopBlock): Added `InternalParameters ip' argument.
	Added control flow analysis stuff here.

	* expression.cs (Unary.DoResolve): If the operator is Oper.AddressOf,
	resolve the expression as lvalue.
	(LocalVariableReference.DoResolve): Check whether the variable has
	already been assigned.
	(ParameterReference.DoResolveLValue): Override lvalue resolve to mark
	the parameter as assigned here.
	(ParameterReference.DoResolve): Check whether the parameter has already
	been assigned.
	(Argument.Resolve): If it's a `ref' or `out' argument, resolve the
	expression as lvalue.

	* statement.cs (FlowBranching): New class for the flow analysis code.
	(Goto): Resolve the label in Resolve, not in Emit; added flow analysis.
	(LabeledStatement.IsDefined): New public property.
	(LabeledStatement.AddUsageVector): New public method to tell flow
	analyis that the label may be reached via a forward jump.
	(GotoCase): Lookup and resolve the label in Resolve, not in Emit; added
	flow analysis.
	(VariableInfo.Number): New public field.  This is used by flow analysis
	to number all locals of a block.
	(Block.CountVariables): New public property.  This is the number of
	local variables in this block (including the locals from all parent
	blocks).
	(Block.EmitMeta): Number all the variables.

	* statement.cs: Added flow analysis support to all classes.

svn path=/trunk/mcs/; revision=6291
2002-07-31 15:51:25 +00:00
Paolo Molaro fca8d10a1b Wed Jul 31 17:47:11 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: simplified some more branch code.

svn path=/trunk/mono/; revision=6290
2002-07-31 15:49:31 +00:00
Martin Baulig 87748c062d 2002-07-31 Martin Baulig <[email protected]>
* driver.cs: Added "--mcs-debug" argument if MCS_DEBUG is defined.
	To get debugging messages, compile mcs with /define:MCS_DEBUG and
	then use this argument.

	* report.cs (Report.Debug): Renamed to conditional to "MCS_DEBUG".

	* makefile.gnu (MCS_FLAGS): Include $(MCS_DEFINES), the user may
	use this to specify /define options.

svn path=/trunk/mcs/; revision=6289
2002-07-31 15:32:44 +00:00
Duncan Mak 5285cef890 2002-07-31 Duncan Mak <[email protected]>
* BinaryServerFormatterSink.Protocol.cs:
	* SoapServerFormatterSink.Protocol.cs: Added.

svn path=/trunk/mcs/; revision=6288
2002-07-31 15:13:50 +00:00
Paolo Molaro 3165e9439e Wed Jul 31 16:50:42 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fixed indentation, simplified some code.

svn path=/trunk/mono/; revision=6287
2002-07-31 14:53:29 +00:00
Paolo Molaro acf0ef2491 Wed Jul 31 16:49:29 CEST 2002 Paolo Molaro <[email protected]>
* loader.c: don't set the pinvoke bit on icalls.

svn path=/trunk/mono/; revision=6286
2002-07-31 14:51:36 +00:00
Duncan Mak bc76f237ce 2002-07-31 Duncan Mak <[email protected]>
* IChannelReceiverHook.cs:
	* IClientFormatterSink.cs: Various compilation fixes.

svn path=/trunk/mcs/; revision=6285
2002-07-31 14:28:54 +00:00
Duncan Mak 03ae846ed8 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added interfaces and enumerations from
	System.Runtime.Remoting.Channels.

	* *.cs: Added all the interfaces in this namespace.

	* ServerProcessing.cs: Added.

svn path=/trunk/mcs/; revision=6284
2002-07-31 14:23:55 +00:00
Paolo Molaro a84ce70f07 Wed Jul 31 14:29:43 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fix so that mint can at least get to executing Main().

svn path=/trunk/mono/; revision=6283
2002-07-31 12:32:39 +00:00
Duncan Mak 3dcdffa3d3 2002-07-31 Duncan Mak <[email protected]>
* MethodCallMessageWrapper.cs:
	* MethodReturnMessageWrapper.cs: Revert the last patch and made it
	work. Thanks to Gonzalo for reminding me to chain the constructors.

svn path=/trunk/mcs/; revision=6282
2002-07-31 11:58:25 +00:00
Dietmar Maurer 0f13b99cc8 *** empty log message ***
svn path=/trunk/mono/; revision=6281
2002-07-31 11:54:37 +00:00
Dietmar Maurer 6b456c265a 2002-07-31 Dietmar Maurer <[email protected]>
* x86/tramp.c: (mono_create_method_pointer): return method->addr for pinvoke methods

	* interp.c (ves_exec_method): bug fix - directly jump to handle_exception.

svn path=/trunk/mono/; revision=6280
2002-07-31 11:53:19 +00:00
Duncan Mak 9d55c814e2 2002-07-31 Duncan Mak <[email protected]>
* StreamReader.cs:
	(Dispose): Added and implmented.

	* StreamWriter.cs:
	(Dispose): Fixed visibility.
	(Initialize): Fixed visibility, made internal.

	* BinaryReader.cs:
	(Dispose): Fixed visibility.

svn path=/trunk/mcs/; revision=6279
2002-07-31 11:11:54 +00:00
Dietmar Maurer f1e7aca3bd 2002-07-31 Dietmar Maurer <[email protected]>
* interp.c: use the new marshaling code. better delegate/remoting
	support.

	* debug-helpers.c (mono_method_full_name): only print a number to
	indicate wrapper type (so that the output is more readable in traces).

	* x86/tramp.c: remove code to handle PInvoke because this is no
	longer needed.

svn path=/trunk/mono/; revision=6278
2002-07-31 11:00:53 +00:00
Duncan Mak 842d08d4cd 2002-07-31 Duncan Mak <[email protected]>
* MethodCallMessageWrapper.cs:
	* MethodReturnMessageWrapper.cs: Remove reference to
	InternalMessageWrapper. It's probably an MS private class, even
	though it's visible in the documentation.

svn path=/trunk/mcs/; revision=6277
2002-07-31 10:54:19 +00:00
Duncan Mak 1cb4839fba 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added new classes in
	System.Runtime.Remoting.Contexts.

	* InternalMessageWrapper.cs:
	* MessageSurrogateFilter.cs:
	* MethodCall.cs:
	* MethodCallMessageWrapper.cs:
	* MethodResponse.cs:
	* MethodReturnMessageWrapper.cs:
	* RemoteSurrogateSelector.cs: Added to CVS.

	* MonoMethodMessage.cs:
	* ReturnMessage.cs: Add set in the Uri property.

svn path=/trunk/mcs/; revision=6276
2002-07-31 10:40:33 +00:00
Duncan Mak 55cf73a721 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added new classes in
	System.Runtime.Remoting.Contexts.

	* SynchronizationAttribute.cs: Added more interfaces, it
	implements them (via CorCompare), but they're not listed in the docs.

	* ContextProperty.cs:
	* CrossContextDelegate.cs: Added to CVS.

	* ContextAttribute.cs: Added missing constructor.

svn path=/trunk/mcs/; revision=6274
2002-07-31 07:51:18 +00:00
Dennis Hayes fda2c0b177 *** empty log message ***
svn path=/trunk/mcs/; revision=6272
2002-07-31 02:02:28 +00:00
Dennis Hayes 7d0dc9454e 2002-7-22 DennisHayes <[email protected]>
* AccessibleNavigation.cs
* AccessibleObject.cs
* AccessibleSelection.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CaptionButton.cs
* CharacterCasing.cs
* CheckBox.cs
* CheckedListBox.cs
* CheckState.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventHandler.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlEventHandler.cs
* ControlPaint.cs
* ConvertEventHandler.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridCell.cs
* DataGridColumnStyle.cs
* DataGridParentRowsLabelStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DateTimePicker.cs
* DialogResult.cs
* DockStyle.cs
* DomainUpDown.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* DrawItemState.cs
* DrawMode.cs
* ErrorBlinkStyle.cs
* ErrorIconAlignment.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FlatStyle.cs
* FontDialog.cs
* Form.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* FrameStyle.cs
* GiveFeedbackEventHandler.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventHandler.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventHandler.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs
* KeyPressEventHandler.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkArea.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* logfile.txt
* MainMenu.cs
* MeasureItemEventHandler.cs
* Menu.cs
* MenuItem.cs
* Message.cs
* MessageBox.cs
* MethodInvoker.cs
* MonthCalendar.cs
* MouseEventHandler.cs
* NativeWindow.cs
* NavigateEventHandler.cs
* NodeLabelEditEventHandler.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* PaintEventHandler.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventHandler.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* SelectedGridItemChangedEventHandler.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolBarButtonClickEventHandler.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventHandler.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* UserControl.cs
* VScrollBar.cs
* Fixed errors reported by verify.exe, mostly attribute errors.
* Added my name to author's list to files I edited in the last two weeks

svn path=/trunk/mcs/; revision=6271
2002-07-31 02:01:05 +00:00
Gonzalo Paniagua Javier 3d5d039e2b 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: implemented document/transform load.

svn path=/trunk/mcs/; revision=6270
2002-07-31 00:08:15 +00:00
Rodrigo Moya b1b2f7650f 2002-07-30 Rodrigo Moya <[email protected]>
* OleDbDataReader.cs (FieldCount): implemented.
	(IsClosed, Item, RecordsAffected): implemented some properties.

	* libgda.cs: added GdaDataModel methods.

svn path=/trunk/mcs/; revision=6266
2002-07-30 23:21:29 +00:00
Gonzalo Paniagua Javier 17e4f87593 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: added myself to the list of authors.
	* DropDownList.cs: fixed a few properties.
	* ListControl.cs: fixed SelectedIndex.

svn path=/trunk/mcs/; revision=6265
2002-07-30 23:10:53 +00:00
Duncan Mak 6fc94963a6 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added new Exceptions, Interfaces and various
	TypeEntries from System.Runtime.Remoting.

	* TypeEntry.cs:
	* ActivatedClientTypeEntry.cs:
	* ActivatedServiceTypeEntry.cs:
	* WellKnownClientTypeEntry.cs:
	* WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.

	* RemotingException.cs:
	* RemotingTimeoutException.cs:
	* ServerException.cs: Added missing exceptions.

	* IChannelInfo.cs:
	* IEnvoyInfo.cs:
	* IRemotingTypeInfo.cs: Added missing interfaces.

svn path=/trunk/mcs/; revision=6263
2002-07-30 19:05:13 +00:00
Sergey Chaban d60339354e * x86.brg: LOCALLOC fix for Windows
svn path=/trunk/mono/; revision=6262
2002-07-30 17:55:12 +00:00
Dietmar Maurer 625ea07825 2002-07-30 Dietmar Maurer <[email protected]>
* class.c (mono_class_init): include method override patch from Paolo

svn path=/trunk/mono/; revision=6261
2002-07-30 17:38:51 +00:00
Nick Drochak eef9493170 2002-07-31 Nick Drochak <[email protected]>
* BufferTest.cs: Fixed noisy compiler warnings about unused vars.

svn path=/trunk/mcs/; revision=6260
2002-07-30 17:25:29 +00:00
Paolo Molaro ea20055173 Tue Jul 30 15:20:08 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: fixed GetTypeCode().

svn path=/trunk/mono/; revision=6259
2002-07-30 13:22:10 +00:00
Gonzalo Paniagua Javier daa29c8628 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: request to render postback script can be
	after form started rendering.

	* System.Web.UI.WebControls/Calendar.cs: lots of fixes. Render days.
	Still left to persist selected days when changing month.

	* System.Web.UI.WebControls/Unit.cs: fixed Percentage and Pixel.

	* System.Web.UI.WebControls/WebControl.cs: a few properties are now
	using ControlStyle instead of ViewState to persist.

svn path=/trunk/mcs/; revision=6258
2002-07-30 09:34:59 +00:00
Dave Bettin 69feb0bc36 o Added Discovery classes to list
o Added Mono.System.Web.Services Visual Studio Project
o Added .cvsignore file

svn path=/trunk/mcs/; revision=6257
2002-07-30 04:49:53 +00:00
Dave Bettin 3b35810755 o Added stubs for Discovery namespace
svn path=/trunk/mcs/; revision=6256
2002-07-30 04:45:27 +00:00
Gonzalo Paniagua Javier 377111edf3 2002-07-29 Gonzalo Paniagua Javier <[email protected]>
* list:
	* list.unix: added EnumConverter.cs

svn path=/trunk/mcs/; revision=6255
2002-07-29 20:12:52 +00:00
Gonzalo Paniagua Javier 8a0143f98d 2002-07-29 Gonzalo Paniagua Javier <[email protected]>
* EnumConverter.cs: new file.

	* TypeConverter.cs: implemented a few simple methods.

	* TypeDescriptor.cs:
	(GetConverter): initial support for converters of well-known types.

svn path=/trunk/mcs/; revision=6254
2002-07-29 20:11:17 +00:00
Martin Baulig 8fff972898 2002-07-29 Martin Baulig <[email protected]>
* statement.cs (Fixed): Moved all code that does variable lookups
	and resolvings from Emit to Resolve.

svn path=/trunk/mcs/; revision=6253
2002-07-29 18:49:26 +00:00
Martin Baulig dbee5b2084 2002-07-29 Martin Baulig <[email protected]>
* statement.cs (For): Moved all code that does variable lookups
	and resolvings from Emit to Resolve.

svn path=/trunk/mcs/; revision=6252
2002-07-29 18:31:16 +00:00
Martin Baulig 49c28c4b9d 2002-07-29 Martin Baulig <[email protected]>
* statement.cs (Using): Moved all code that does variable lookups
	and resolvings from Emit to Resolve.

svn path=/trunk/mcs/; revision=6251
2002-07-29 18:21:14 +00:00
Martin Baulig d0ff840f18 2002-07-29 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Resolve): Explicitly catch a
	System.NullReferenceException when creating the
	CustromAttributeBuilder and report a different warning message.

svn path=/trunk/mcs/; revision=6250
2002-07-29 17:53:45 +00:00
Martin Baulig 832b700015 2002-07-29 Martin Baulig <[email protected]>
* list: Removed, this isn't used anymore and people are already
	getting confused which file to use.

svn path=/trunk/mcs/; revision=6249
2002-07-29 17:28:28 +00:00
Duncan Mak 8deab983f8 2002-07-30 Duncan Mak <[email protected]>
* LeaseState.cs: Fixed namespace.

	* ITrackingHandler.cs: Added to CVS.

	* ServerFault.cs:
	* SoapFault.cs:
	* SoapMessage.cs: Added missing classes.

svn path=/trunk/mcs/; revision=6248
2002-07-29 17:26:43 +00:00
Martin Baulig 0557631ec0 Make this compile with csc.
svn path=/trunk/mcs/; revision=6247
2002-07-29 17:19:10 +00:00
Peter Williams cf61fe51ac 2002-07-29 Peter Williams <[email protected]>
* makefile.gnu: 'make install' wasn't actually working due to $@,
	fix it.

svn path=/trunk/mcs/; revision=6246
2002-07-29 16:40:15 +00:00
Martin Baulig c8ada60ec8 2002-07-29 Martin Baulig <[email protected]>
* support.cs (ParameterData.ParameterName): Added method to
	get the name of a parameter.

	* typemanager.cs (TypeManager.IsValueType): New public method.

svn path=/trunk/mcs/; revision=6245
2002-07-29 14:27:35 +00:00
Dietmar Maurer 8ee5e23537 2002-07-29 Dietmar Maurer <[email protected]>
* interp.c (main): install compile_method handler

svn path=/trunk/mono/; revision=6244
2002-07-29 14:19:37 +00:00
Martin Baulig 8e4f5881fe 2002-07-29 Martin Baulig <[email protected]>
* parameter.cs (Parameter.Modifier): Added `ISBYREF = 8'.  This
	is a flag which specifies that it's either ref or out.
	(Parameter.GetParameterInfo (DeclSpace, int, out bool)): Changed
	the out parameter to `out Parameter.Modifier mod', also set the
	Parameter.Modifier.ISBYREF flag on it if it's either ref or out.

	* support.cs (InternalParameters.ParameterModifier): Distinguish
	between Parameter.Modifier.OUT and Parameter.Modifier.REF, set the
	Parameter.Modifier.ISBYREF flag if it's either ref or out.

	* expression.cs (Argument.GetParameterModifier): Distinguish
	between Parameter.Modifier.OUT and Parameter.Modifier.REF, set the
	Parameter.Modifier.ISBYREF flag if it's either ref or out.

svn path=/trunk/mcs/; revision=6243
2002-07-29 12:58:07 +00:00
Martin Baulig ccc79b094e 2002-07-29 Martin Baulig <[email protected]>
* parameter.cs (Parameter.Modifier): Added `ISBYREF = OUT|REF'.
	(Parameter.GetParameterInfo (DeclSpace, int, out bool)): Changed
	the out parameter to `out Parameter.Modifier mod'.

svn path=/trunk/mcs/; revision=6242
2002-07-29 11:21:42 +00:00
Martin Baulig cff7fa205b *** empty log message ***
svn path=/trunk/mcs/; revision=6241
2002-07-29 11:21:27 +00:00
Martin Baulig 769a3265d6 Reverted this.
2002-07-27  Martin Baulig  <[email protected]>

	These two changes won't give us any performance or code-size
	improvements, but they make my control flow analyis much simpler.

	* statement.cs (While.Emit): Did some loop-inversion here; emit the
	test, then the body of the while and then a jump back to the test.
	(For.Emit): Did some loop-inversion here; emit the initialization,
	then the test, then the body, then the incrementation and then a jump
	back to the test.

svn path=/trunk/mcs/; revision=6240
2002-07-29 11:11:46 +00:00
Martin Baulig eb94ad4da8 2002-07-29 Martin Baulig <[email protected]>
* expression.cs (ParameterReference.ParameterReference): Added
	`Location loc' argument to the constructor.

	* cs-parser.jay: Pass location to ParameterReference.

svn path=/trunk/mcs/; revision=6239
2002-07-29 11:09:09 +00:00
Martin Baulig 4e47010b48 2002-07-29 Martin Baulig <[email protected]>
* makefile: Put back test-152.cs.

	* test-143.cs: Fixed a compilation error in this test.

svn path=/trunk/mcs/; revision=6238
2002-07-29 11:02:38 +00:00
Martin Baulig 0254c244a8 2002-07-29 Martin Baulig <[email protected]>
* makefile.gnu: Don't force people to install.  The default must also
	be `all' and not `install'.

svn path=/trunk/mcs/; revision=6237
2002-07-29 11:01:21 +00:00
Rodrigo Moya 11d169f36a 2002-07-29 Rodrigo Moya <[email protected]>
* OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
	a second argument (ArrayList results).
	(NextResult): implemented.

	* OleDbCommand.cs: don't store the ArrayList of results, since we'll
	pass that to the OleDbDataReader.
	(OleDbCommand constructor): don't create the ArrayList of results.
	(GdaResults): removed property.
	(ExecuteReader): create a temporary ArrayList and pass that to the
	OleDbDataReader constructor.

svn path=/trunk/mcs/; revision=6236
2002-07-29 10:12:21 +00:00
Dietmar Maurer 0b26f57d40 2002-07-29 Dietmar Maurer <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_Thread_internal):
	use real delegate invoke function to make it work with multicast
	delegates (fix bug# 28291).

svn path=/trunk/mono/; revision=6235
2002-07-29 10:06:42 +00:00
Duncan Mak 8bec3c50f3 * IContributeServerContentSink.cs: Removed.
* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

svn path=/trunk/mcs/; revision=6234
2002-07-29 03:38:28 +00:00
Miguel de Icaza ab2b985693 2002-07-28 Miguel de Icaza <[email protected]>
* statement.cs (Try): Initialize the location.

	* cs-parser.jay: pass location to Try.

	* expression.cs (Unary.Reduce): Change the prototype to return
	whether a constant fold could be performed or not.  The result is
	returned in an out parameters.  In the case of Indirection and
	AddressOf, we want to perform the full tests.

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

	* statement.cs (Statement.Emit): Flag dead code.

svn path=/trunk/mcs/; revision=6233
2002-07-29 01:53:47 +00:00
Rodrigo Moya 9e3aae2189 2002-07-28 Rodrigo Moya <[email protected]>
* OleDbCommand.cs (ExecuteReader):
	(CreateParameter): implemented IDbCommand methods.
	(CommandText): don't create many GdaCommand's, only one is needed.
	(ExecuteNonQuery): set up the internal GDA command object.
	(ExecuteReader): use correctly the unique GDA command object.

	* libgda.cs: added new libgda calls.

svn path=/trunk/mcs/; revision=6232
2002-07-28 23:28:55 +00:00
Rodrigo Moya 6d68675285 Wrong changelog
svn path=/trunk/mcs/; revision=6231
2002-07-28 23:27:26 +00:00
Rodrigo Moya 709cc26e5a 2002-07-27 Rodrigo Moya <[email protected]>
* OleDbConnection.cs (CreateCommand):
	(BeginTransaction): implemented IDbConnection methods.

svn path=/trunk/mcs/; revision=6230
2002-07-28 22:55:32 +00:00
Duncan Mak 7a05b14771 2002-07-29 Duncan Mak <[email protected]>
* IContributeServerContentSink.cs: Removed.
	* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

	* ILease.cs: Add the method part of the interface and renamed the
	CurrentState property to it proper name.

	* SoapAttribute.cs: Fixed typo, renamed ReflectionInfo to ReflectInfo.

	* SoapOption.cs: Fix the namespace.

svn path=/trunk/mcs/; revision=6229
2002-07-28 20:16:23 +00:00
Gonzalo Paniagua Javier 99db2d8223 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: events were not being initialized.

	* System.Web.Caching/CacheDefinitions.cs: fixed a couple of enums.

	* System.Web.Caching/CacheDependency.cs: the class is sealed.

	* System.Web.UI.WebControls/BaseValidator.cs: it works now.

	* System.Web.UI.WebControls/DataGridColumn.cs: added attribute and
	made it abstract.

	* System.Web.UI.WebControls/RequiredFieldValidator.cs: fixed return
	value in EvaluateIsValid.

svn path=/trunk/mcs/; revision=6225
2002-07-28 18:37:57 +00:00
Gonzalo Paniagua Javier 50f4a53efb 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* list:
	* list.unix: added DerivedPropertyDescriptor.cs

svn path=/trunk/mcs/; revision=6224
2002-07-28 18:37:31 +00:00
Gonzalo Paniagua Javier a57a294aa8 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* DerivedPropertyDescriptor.cs: New file.

	* PropertyDescriptorCollection.cs: almost fully implemented.

	* TypeDescriptor.cs: implemented a couple of GetProperties ().

svn path=/trunk/mcs/; revision=6223
2002-07-28 18:36:22 +00:00
Gonzalo Paniagua Javier 46efd171be 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* ColorTranslator.cs: use Color.Name.

svn path=/trunk/mcs/; revision=6222
2002-07-28 18:29:53 +00:00
Gonzalo Paniagua Javier 8830ff436a 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* File.cs:
	(Create): allow file names without path.

svn path=/trunk/mcs/; revision=6221
2002-07-28 05:19:09 +00:00
Alp Toker 3f0bdeb968 Force user to specify prefix
svn path=/trunk/mcs/; revision=6220
2002-07-28 04:24:00 +00:00
Miguel de Icaza 949cd9ebff Force user to specify prefix
svn path=/trunk/mcs/; revision=6219
2002-07-28 04:13:29 +00:00
Andrew Birkett 2c58bb85f8 2002-07-27 Andrew Birkett <[email protected]>
* expression.cs (Unary.Reduce): Handle AddressOf and Indirection.

svn path=/trunk/mcs/; revision=6218
2002-07-27 20:31:30 +00:00
Johannes Roith 717d7681b2 update download page
svn path=/trunk/mono/; revision=6217
2002-07-27 17:44:09 +00:00
Martin Baulig 5ab25f7d43 2002-07-27 Martin Baulig <[email protected]>
* class.cs (MethodData.Define): Put back call to
	TypeManager.AddMethod(), accidentally commented this out.

	* report.cs (Debug): New public method to print debugging information,
	this is `[Conditional ("DEBUG")]'.

svn path=/trunk/mcs/; revision=6216
2002-07-27 17:20:03 +00:00
Martin Baulig 4c19878420 Fixed and put back my switch patch:
2002-07-26  Martin Baulig  <[email protected]>

	* cs-parser.jay (CSharpParser): Added `Stack switch_stack'.
	(switch_statement): Push the current_block to the switch_stack and
	pop it again when we're done with the switch.
	(switch_section): The new block is a child of the current_block.
	Fixes bug #24007, added test-152.cs.

svn path=/trunk/mcs/; revision=6215
2002-07-27 17:13:23 +00:00
Martin Baulig 36bc87e690 2002-07-27 Martin Baulig <[email protected]>
These two changes won't give us any performance or code-size
	improvements, but they make my control flow analyis much simpler.

	* statement.cs (While.Emit): Did some loop-inversion here; emit the
	test, then the body of the while and then a jump back to the test.
	(For.Emit): Did some loop-inversion here; emit the initialization,
	then the test, then the body, then the incrementation and then a jump
	back to the test.

svn path=/trunk/mcs/; revision=6213
2002-07-27 14:37:07 +00:00
Martin Baulig 1720d4fdce 2002-07-27 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitArguments): When calling a varargs
	function with only its fixed arguments, we need to pass an empty
	array.

svn path=/trunk/mcs/; revision=6212
2002-07-27 13:50:38 +00:00
Martin Baulig ba723ab1b1 Added "Mono 0.13 has been released" message so we know later on what has
changed since this release.

svn path=/trunk/mcs/; revision=6211
2002-07-27 13:47:28 +00:00
Martin Baulig 7dee91aaf0 2002-07-27 Martin Baulig <[email protected]>
* test-153.cs.cs: New test.

svn path=/trunk/mcs/; revision=6210
2002-07-27 13:44:33 +00:00
Martin Baulig c5cb8b0cf2 2002-07-27 Martin Baulig <[email protected]>
* test-113.cs: Made this test actually work.

svn path=/trunk/mcs/; revision=6209
2002-07-27 13:39:06 +00:00
Dietmar Maurer eade2d863f update
svn path=/trunk/mono/; revision=6208
2002-07-27 11:12:32 +00:00
Dietmar Maurer c1f7631e75 2002-07-27 Dietmar Maurer <[email protected]>
* jit.c (mono_get_runtime_method): code cleanup

svn path=/trunk/mono/; revision=6207
2002-07-27 10:57:42 +00:00
Dietmar Maurer 0a86ce3801 2002-07-27 Dietmar Maurer <[email protected]>
* x86.brg: we do not need to save EAX/ECX/EDX in stmt:

svn path=/trunk/mono/; revision=6206
2002-07-27 10:50:52 +00:00
Duncan Mak 6a3a172fa9 Forgot about this interface
svn path=/trunk/mcs/; revision=6205
2002-07-27 03:54:47 +00:00
Miguel de Icaza 89b84291ca System.Web.Services/System.Web.Services.Description/ServiceDescription.cs
svn path=/trunk/mcs/; revision=6204
2002-07-26 22:04:55 +00:00
Miguel de Icaza 2bae10d749 0.13
svn path=/trunk/mono/; revision=6203
2002-07-26 21:47:15 +00:00
Miguel de Icaza 7354b2aeae Add missing #endregion
svn path=/trunk/mcs/; revision=6201
2002-07-26 19:32:52 +00:00
Tim Coleman 22893481b7 2002-07-26 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Changed the creation of the XmlSerializer after
                consulting the System.Xml.Serialization namespace
                and trying to serialize a document.  Now works somewhat!

svn path=/trunk/mcs/; revision=6200
2002-07-26 17:31:50 +00:00
Tim Coleman 6ae048fcc3 2002-07-26 Tim Coleman <[email protected]>
* XmlTextWriter.cs:
                When given a textwriter, check to see if it has a
                null encoding. This was being done for other inputs
                than a textwriter.

svn path=/trunk/mcs/; revision=6199
2002-07-26 17:29:39 +00:00
Tim Coleman 6728c63ca2 2002-07-26 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                The constructor now looks for an XmlRootAttribute attribute
                if one is not passed in.  Various changes to make it emit
                proper XML, such as handling an element without a namespace
                prefix, and using WriteEndDocument where it should be.

svn path=/trunk/mcs/; revision=6198
2002-07-26 17:27:45 +00:00
Alp Toker 87bcfc3b25 Wrote an INSTALL doc.
svn path=/trunk/mcs/; revision=6197
2002-07-26 16:40:43 +00:00
Tim Coleman 2a6dcbecd5 2002-07-25 Tim Coleman <[email protected]>
* list: add new classes

svn path=/trunk/mcs/; revision=6196
2002-07-26 14:32:33 +00:00
Tim Coleman d198f3f5a7 2002-07-25 Tim Coleman <[email protected]>
* SoapClientMethod.cs:
        * SoapServerProtocol.cs:
                Add new internal classes as discovered.
        * SoapClientMessage.cs:
        * SoapMessage.cs:
        * SoapServerMessage.cs:
        * WebClientAsyncResult.cs:
                Add internal constructor, as found on class
                status page; modify some properties.

svn path=/trunk/mcs/; revision=6195
2002-07-26 14:31:43 +00:00
Dietmar Maurer 328bafdbf9 emit CEE_RET at the end of end_invoke
svn path=/trunk/mono/; revision=6193
2002-07-26 14:15:45 +00:00
Paolo Molaro 977951a172 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <[email protected]>
* FileStream.cs: patch from [email protected] to add
	Name property support.

svn path=/trunk/mcs/; revision=6192
2002-07-26 13:47:28 +00:00
Martin Baulig 064b31b38d Reverted my switch patch for the moment until we've done the release.
svn path=/trunk/mcs/; revision=6191
2002-07-26 13:27:21 +00:00
Paolo Molaro 30379dc3db Fri Jul 26 11:58:22 CEST 2002 Paolo Molaro <[email protected]>
* object.c: load constant strings.

svn path=/trunk/mono/; revision=6190
2002-07-26 10:00:28 +00:00
Paolo Molaro e979da4d5c Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump.h, dump.c: output hash value in File table.
	Add dumper function for DeclSecurity table.

svn path=/trunk/mono/; revision=6189
2002-07-26 09:44:18 +00:00
Paolo Molaro 2c0742e922 Fri Jul 26 11:36:14 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: no magic numbers.
	* tabledefs.h: security action enum.

svn path=/trunk/mono/; revision=6188
2002-07-26 09:40:41 +00:00
Paolo Molaro acf0c77386 Fri Jul 26 11:22:52 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: fix possible memory corruption.

svn path=/trunk/mono/; revision=6187
2002-07-26 09:24:48 +00:00
Tim Coleman acc5457e89 2002-07-25 Tim Coleman <[email protected]>
* OperationMessageCollection.cs:
                Some implementation of this class after consulting a
                WSDL reference.  Now validates the inputs.

svn path=/trunk/mcs/; revision=6185
2002-07-26 05:55:50 +00:00
Dennis Hayes 6455422343 2002-7-22 DennisHayes <[email protected]>
* DateTimePickerFormat.cs
* Added values.
* The NAMESPACE NOW COMPILES under windows in Visual Studio using the Microsoft version of the classes.
* Verify.exe reports 600 errors.

svn path=/trunk/mcs/; revision=6184
2002-07-26 01:37:28 +00:00
Miguel de Icaza ae5acc0d17 Update man page
svn path=/trunk/mono/; revision=6183
2002-07-26 01:31:26 +00:00
Martin Baulig 8ffe6cc262 2002-07-26 Martin Baulig <[email protected]>
* test-152.cs: New test for bug #24007.

	* makefile: Disabled test-151.cs since it isn't fixed yet.

svn path=/trunk/mcs/; revision=6182
2002-07-25 23:09:05 +00:00
Martin Baulig 95f88c882f 2002-07-26 Martin Baulig <[email protected]>
* cs-parser.jay (CSharpParser): Added `Stack switch_stack'.
	(switch_statement): Push the current_block to the switch_stack and
	pop it again when we're done with the switch.
	(switch_section): The new block is an implicit child of the
	current_block.  Fixes bug #24007, added test-152.cs.

svn path=/trunk/mcs/; revision=6181
2002-07-25 23:06:29 +00:00
Piers Haken 28f14aa361 2002-07-25 Piers Haken <[email protected]>
* DefaultContext.cs: implement XPathFunctionName 'name()' function.

svn path=/trunk/mcs/; revision=6180
2002-07-25 21:32:51 +00:00
Miguel de Icaza 09baafe8f3 2002-07-25 Miguel de Icaza <[email protected]>
* driver.cs: Rename --resource to --linkres, because that is what
	we do currently, we dont support --resource yet.

	* cs-tokenizer.cs: Fix test for reporting endif mismatches.

svn path=/trunk/mcs/; revision=6179
2002-07-25 20:43:13 +00:00
Martin Baulig 7a2ee7403c Ooooops.
svn path=/trunk/mcs/; revision=6178
2002-07-25 20:04:06 +00:00
Martin Baulig 52625a6e8c 2002-07-25 Martin Baulig <[email protected]>
* class.cs (MethodData): New public class.  This is a `method builder'
	class for a method or one accessor of a Property/Indexer/Event.
	(MethodData.GetMethodFlags): Moved here from MemberBase.
	(MethodData.ApplyAttributes): Likewise.
	(MethodData.ApplyObsoleteAttribute): Likewise.
	(MethodData.ApplyConditionalAttribute): Likewise.
	(MethodData.ApplyDllImportAttribute): Likewise.
	(MethodData.CheckAbstractAndExternal): Likewise.
	(MethodData.Define): Formerly knows as MemberBase.DefineMethod().
	(MethodData.Emit): Formerly known as Method.Emit().
	(MemberBase): Moved everything which was specific to a single
	accessor/method to MethodData.
	(Method): Create a new MethodData and call Define() and Emit() on it.
	(Property, Indexer, Event): Create a new MethodData objects for each
	accessor and call Define() and Emit() on them.

svn path=/trunk/mcs/; revision=6177
2002-07-25 19:48:47 +00:00
Gonzalo Paniagua Javier 50b9519a1d 2002-07-25 Gonzalo Paniagua Javier <[email protected]>
* ProcessModelInfo.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6176
2002-07-25 15:44:27 +00:00
Martin Baulig cdbc6f12be 2002-07-25 Martin Baulig <[email protected]>
Made MethodCore derive from MemberBase to reuse the code from there.
	MemberBase now also checks for attributes.

	* class.cs (MethodCore): Derive from MemberBase, not MemberCore.
	(MemberBase.GetMethodFlags): Moved here from class Method and marked
	as virtual.
	(MemberBase.DefineAccessor): Renamed to DefineMethod(), added
	`CallingConventions cc' and `Attributes opt_attrs' arguments.
	(MemberBase.ApplyAttributes): New virtual method; applies the
	attributes to a method or accessor.
	(MemberBase.ApplyObsoleteAttribute): New protected virtual method.
	(MemberBase.ApplyConditionalAttribute): Likewise.
	(MemberBase.ApplyDllImportAttribute): Likewise.
	(MemberBase.CheckAbstractAndExternal): Likewise.
	(MethodCore.ParameterTypes): This is now a property instead of a
	method, it's initialized from DoDefineParameters().
	(MethodCore.ParameterInfo): Removed the set accessor.
	(MethodCore.DoDefineParameters): New protected virtual method to
	initialize ParameterTypes and ParameterInfo.
	(Method.GetReturnType): We can now simply return the MemberType.
	(Method.GetMethodFlags): Override the MemberBase version and add
	the conditional flags.
	(Method.CheckBase): Moved some code from Define() here, call
	DoDefineParameters() here.
	(Method.Define): Use DoDefine() and DefineMethod() from MemberBase
	here to avoid some larger code duplication.
	(Property.Emit, Indexer.Emit): Call CheckAbstractAndExternal() to
	ensure that abstract and external accessors don't declare a body.

	* attribute.cs (Attribute.GetValidPieces): Make this actually work:
	`System.Attribute.GetCustomAttributes (attr.Type)' does a recursive
	lookup in the attribute's parent classes, so we need to abort as soon
	as we found the first match.
	(Attribute.Obsolete_GetObsoleteMessage): Return the empty string if
	the attribute has no arguments.

	* typemanager.cs (TypeManager.AddMethod): Now takes a MemberBase instead
	of a Method.

svn path=/trunk/mcs/; revision=6175
2002-07-25 15:26:15 +00:00
Tim Coleman 1971aebdff 2002-07-25 Tim Coleman <[email protected]>
* ProcessModelInfo.cs:
                New class added
        * HttpParseException.cs:
        * HttpCompileException.cs:
        * HttpUnhandledException.cs:
                Internal constructors added to these

svn path=/trunk/mcs/; revision=6173
2002-07-25 14:09:36 +00:00
Martin Baulig 420916b4af "attribute.cs(571,17): error CS0177: The out parameter 'is_error' must
be assigned to before control leaves the current method."
[FIXME:  Filed as bug #28186: MCS must report this error.]

svn path=/trunk/mcs/; revision=6172
2002-07-25 12:04:32 +00:00
Paolo Molaro d8dfe2603e Thu Jul 25 13:58:38 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: added support for linking resources.
	* verify.c: check we have an updated corlib.

svn path=/trunk/mono/; revision=6171
2002-07-25 12:03:33 +00:00
Paolo Molaro 36bba0f9d4 Thu Jul 25 13:57:46 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: support linking external resources.

svn path=/trunk/mcs/; revision=6170
2002-07-25 12:03:25 +00:00
Paolo Molaro 14a5ade495 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <[email protected]>
* mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
	implementations.

svn path=/trunk/mono/; revision=6169
2002-07-25 12:02:04 +00:00
Dietmar Maurer a240866c42 (mono_marshal_get_managed_wrapper): print warning for arrays (not implemented)
svn path=/trunk/mono/; revision=6168
2002-07-25 11:52:29 +00:00
Paolo Molaro 709ab3e684 Fix build.
svn path=/trunk/mcs/; revision=6166
2002-07-25 11:06:50 +00:00
Dietmar Maurer 9dcb67418f 2002-07-25 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): correctly marshal
	string arrays.
	(mono_marshal_string_array): null terminate unmanaged string arrays.

svn path=/trunk/mono/; revision=6165
2002-07-25 11:01:59 +00:00
Gonzalo Paniagua Javier 5afbcec65b Reverted my previous patch
svn path=/trunk/mcs/; revision=6164
2002-07-25 04:41:47 +00:00
Gonzalo Paniagua Javier 426ed0456f 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* test-151.cs: New test. See bug #22119.
	* makefile: added new test.

svn path=/trunk/mcs/; revision=6163
2002-07-25 01:54:30 +00:00
Gonzalo Paniagua Javier 5bad792d12 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: fixed bug #22119.

svn path=/trunk/mcs/; revision=6162
2002-07-25 01:52:28 +00:00
Gonzalo Paniagua Javier f865f8738e 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* attribute.cs: fixed compilation. The error was:
	"attribute.cs(571,17): error CS0177: The out parameter 'is_error' must
	be assigned to before control leaves the current method."

svn path=/trunk/mcs/; revision=6161
2002-07-25 00:23:29 +00:00
Martin Baulig f7df60a4b0 2002-07-25 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Conditional_GetConditionName): New static
	method to pull the condition name ouf of a Conditional attribute.
	(Attribute.Obsolete_GetObsoleteMessage): New static method to pull
	the obsolete message and error flag out of an Obsolete attribute.

	* class.cs (Method.GetMethodFlags): New public method to get the
	TypeManager.MethodFlags for this method.
	(Method.ApplyConditionalAttribute, Method.ApplyObsoleteAttribute): New
	private methods.
	(Method.Define): Get and apply the Obsolete and Conditional attributes;
	if we're overriding a virtual function, set the new private variable
	`parent_method'; call the new TypeManager.AddMethod().

	* typemanager.cs (TypeManager.AddMethod): New static method.  Stores
	the MethodBuilder and the Method in a PtrHashtable.
	(TypeManager.builder_to_method): Added for this purpose.
	(TypeManager.MethodFlags): Added IsObsoleteError.
	(TypeManager.GetMethodFlags): Added `Location loc' argument.  Lookup
	Obsolete and Conditional arguments in MethodBuilders.  If we discover
	an Obsolete attribute, emit an appropriate warning 618 / error 619 with
	the message from the attribute.

svn path=/trunk/mcs/; revision=6160
2002-07-24 22:56:44 +00:00
Martin Baulig 0c3d9cb573 2002-07-24 Martin Baulig <[email protected]>
* cs-tokenizer.cs: Eat up trailing whitespaces and one-line comments in
	preprocessor directives, ensure that the argument to #define/#undef is
	exactly one identifier and that it's actually an identifier.

	Some weeks ago I did a `#define DEBUG 1' myself and wondered why this
	did not work ....

svn path=/trunk/mcs/; revision=6159
2002-07-24 20:08:31 +00:00
Tim Coleman c7823035ba 2002-07-24 Tim Coleman <[email protected]>
* list.unix:
                Add some more classes to this build list.

svn path=/trunk/mcs/; revision=6158
2002-07-24 19:53:19 +00:00
Tim Coleman 52a614cc31 2002-07-24 Tim Coleman <[email protected]>
* CodeIdentifier.cs:
        * IXmlSerializable.cs:
        * XmlSerializationCollectionFixupCallback.cs:
        * XmlSerializationFixupCallback.cs:
        * XmlSerializationReadCallback.cs:
        * XmlSerializationReader.cs:
        * XmlSerializationWriteCallback.cs:
                Add new classes.
        * XmlSchemas.cs
        * CodeIdentifiers.cs:
                Implement some of these classes
        * XmlCodeExporter.cs:
                Fix return type of a function

svn path=/trunk/mcs/; revision=6157
2002-07-24 19:52:33 +00:00
Martin Baulig e1acf0fa68 2002-07-24 Martin Baulig <[email protected]>
* statement.cs (Foreach.ForeachHelperMethods): Added `Type element_type',
	initialize it to TypeManager.object_type in the constructor.
	(Foreach.GetEnumeratorFilter): Set `hm.element_type' to the return type
	of the `hm.get_current' method if we're using the collection pattern.
	(Foreach.EmitCollectionForeach): Use `hm.element_type' as the source type
	for the explicit conversion to make it work when we're using the collection
	pattern and the `Current' property has a different return type than `object'.
	Fixes #27713.

svn path=/trunk/mcs/; revision=6153
2002-07-24 18:33:34 +00:00
Martin Baulig 170352e665 2002-07-24 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyMethod): Simply return null if the method
	does not match, but don't report any errors.  This method is called in
	order for all methods in a MethodGroupExpr until a matching method is
	found, so we don't want to bail out if the first method doesn't match.
	(NewDelegate.DoResolve): If none of the methods in the MethodGroupExpr
	matches, report the 123.  Fixes #28070.

svn path=/trunk/mcs/; revision=6147
2002-07-24 17:27:48 +00:00
Tim Coleman 1d782cc43d 2002-07-24 Tim Coleman <[email protected]>
* list:
                Added System.Web.Services.Description/SoapProtocolReflector.cs

svn path=/trunk/mcs/; revision=6146
2002-07-24 17:10:23 +00:00
Tim Coleman 79eac60b9a 2002-07-24 Tim Coleman <[email protected]>
* ProtocolImporter.cs:
        * ProtocolReflector.cs:
                Some implementation of these classes.  MonoTODO's begone!
        * SoapProtocolImporter.cs:
                Changed description to literal string "Soap"
        * SoapProtocolReflector.cs:
                Added a new class based on guesswork and conjecture.

svn path=/trunk/mcs/; revision=6145
2002-07-24 17:09:38 +00:00
Tim Coleman a98373c44a 2002-07-24 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Implement Read/Write methods for serialization/
                deserialization.

svn path=/trunk/mcs/; revision=6143
2002-07-24 16:20:46 +00:00
Tim Coleman 03e18229b4 2002-07-22 Tim Coleman <[email protected]>
* list.unix:
                Add System.Xml.Serialization/SoapReflectionImporter.cs to build
                list.

svn path=/trunk/mcs/; revision=6142
2002-07-24 16:19:57 +00:00
Tim Coleman 07c42ad314 2002-07-24 Tim Coleman <[email protected]>
* SoapReflectionImporter.cs:
                New class added to build
                System.Web.Services.Description.ServiceDescription.cs

svn path=/trunk/mcs/; revision=6141
2002-07-24 16:18:50 +00:00
Tim Coleman 32d4003e65 2002-07-24 Tim Coleman <[email protected]>
* list:
                Add System.Web/ProcessInfo.cs
                Add System.Web/HttpCompileException.cs
                Add System.Web/HttpParseException.cs
                Add System.Web/HttpUnhandledException.cs

svn path=/trunk/mcs/; revision=6140
2002-07-24 15:08:08 +00:00
Tim Coleman 304bb3e236 2002-07-24 Tim Coleman <[email protected]>
* ProcessInfo.cs:
                Fix constructor, reference to shutdownreason.

svn path=/trunk/mcs/; revision=6138
2002-07-24 15:05:39 +00:00
Dietmar Maurer 117f910a54 2002-07-24 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): added CEE_TAIL (but it is ignored)

svn path=/trunk/mono/; revision=6134
2002-07-24 13:54:31 +00:00
Tim Coleman 100fb3e831 2002-07-24 Tim Coleman <[email protected]>
* HttpCachePolicy.cs:
                Added stubbs to this class.
        * HttpCacheability.cs:
        * HttpCacheRevalidation.cs:
        * HttpValidationStatus.cs:
        * ProcessShutdownReason.cs:
        * ProcessStatus.cs:
        * TraceMode.cs:
                Reorder the enumerations (and in some cases make
                one-based) in order to agree with the .NET
                implementation, based on the class status page.
        * ProcessInfo.cs:
                Implementation of this class.

svn path=/trunk/mcs/; revision=6133
2002-07-24 13:53:50 +00:00
Dietmar Maurer d31db523cd 2002-07-24 Dietmar Maurer <[email protected]>
* marshal.c: added optimisations for blittable types

	* class.c (mono_array_class_get): do not set blittable attribute on arrays
	(mono_class_setup_mono_type): set blittable attribute for single
	and double.

svn path=/trunk/mono/; revision=6131
2002-07-24 13:19:24 +00:00
Dietmar Maurer 2886ad2c30 disabled a test which crashes gcc 2.96 on Redhat
svn path=/trunk/mono/; revision=6128
2002-07-24 11:38:33 +00:00
Paolo Molaro 69841c8683 Wed Jul 24 13:32:36 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: Type.GetType () can now return also types from the
	calling assembly.

svn path=/trunk/mono/; revision=6127
2002-07-24 11:34:51 +00:00
Paolo Molaro 4056a14ba1 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
* XmlTextReader.cs: rough line/column support.

svn path=/trunk/mcs/; revision=6126
2002-07-24 11:18:06 +00:00
Paolo Molaro 1e52fe68eb Wed Jul 24 13:14:30 CEST 2002 Paolo Molaro <[email protected]>
* Component.cs: don't die if Disposed is null.

svn path=/trunk/mcs/; revision=6125
2002-07-24 11:16:29 +00:00
Paolo Molaro e86e1e35a4 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <[email protected]>
* MethodBase.cs: implemented GetCurrentMethod.
	* Assembly.cs: implemented GetExecutingAssembly and
	GetCallingassembly.

svn path=/trunk/mcs/; revision=6124
2002-07-24 11:11:11 +00:00
Paolo Molaro 4b5364ee75 Wed Jul 24 13:02:50 CEST 2002 Paolo Molaro <[email protected]>
* jit.c, jit.h, exception.c: implemented stack walking function.

svn path=/trunk/mono/; revision=6123
2002-07-24 11:08:17 +00:00
Paolo Molaro 96c135a901 Wed Jul 24 13:02:12 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: implemented stack walking function.

svn path=/trunk/mono/; revision=6122
2002-07-24 11:07:52 +00:00
Paolo Molaro 74544de122 Wed Jul 24 13:04:05 CEST 2002 Paolo Molaro <[email protected]>
* loader.h, loader.c: stack walking support.
	* icall.c: implemented GetCurrentMethod, GetExecutingAssembly,
	GetCallingAssembly.

svn path=/trunk/mono/; revision=6121
2002-07-24 11:07:24 +00:00
Dietmar Maurer 147d31bb90 2002-07-24 Dietmar Maurer <[email protected]>
* x86.brg (ARG_OBJ): removed zero sized object warning

svn path=/trunk/mono/; revision=6120
2002-07-24 10:39:20 +00:00
Dietmar Maurer 33190343e9 2002-07-24 Dietmar Maurer <[email protected]>
* marshal.c (mono_string_utf8_to_builder): impl.
	(mono_string_builder_to_utf8): impl.
	(mono_marshal_get_native_wrapper): impl. StringBuilder marshaling

svn path=/trunk/mono/; revision=6118
2002-07-24 09:52:06 +00:00
Duncan Mak 6f7b1c8fe8 Fix build issues by reindenting? How strange....
svn path=/trunk/mcs/; revision=6117
2002-07-24 07:17:00 +00:00
Duncan Mak 02c38dc645 2002-07-24 Duncan Mak <[email protected]>
* corlib_linux_test.args: Add Cesar's BufferTest to the list.

svn path=/trunk/mcs/; revision=6116
2002-07-24 06:18:27 +00:00
Duncan Mak dc2c6d11ef Remove stupid crud.
svn path=/trunk/mcs/; revision=6115
2002-07-24 05:40:31 +00:00
Duncan Mak 7f5d3e98f5 Committing BufferTest for Cesar Octavio Lopez Nataren <[email protected]>.
2002-07-22  Cesar Octavio Lopez Nataren  <[email protected]>

	* BufferTest.cs: Added this file to test the System.Buffer class
	implementation.

2002-07-24  Duncan Mak  <[email protected]>

	* SynchronizationAttribute.cs: Added missing attributes.

svn path=/trunk/mcs/; revision=6114
2002-07-24 05:32:50 +00:00
Duncan Mak 4286c7eb7a Sigh, more build fixes.
svn path=/trunk/mcs/; revision=6113
2002-07-24 05:05:44 +00:00
Duncan Mak bb62ee58ee More minor tweaks, sigh
svn path=/trunk/mcs/; revision=6112
2002-07-24 05:03:42 +00:00
Duncan Mak b978a0b7a7 Minor tweaks.
svn path=/trunk/mcs/; revision=6111
2002-07-24 05:02:34 +00:00
Duncan Mak d118767491 2002-07-24 Duncan Mak <[email protected]>
* IContextPropertyActivator.cs:
	* IContributeClientContextSink.cs:
	* IContributeDynamicSink.cs:
	* IContributeEnvoySink.cs:
	* IContributeObjectSink.cs:
	* IContributeServerContentSink.cs: Added the missing interfaces.

svn path=/trunk/mcs/; revision=6110
2002-07-24 04:58:38 +00:00
Duncan Mak 44dd238add 2002-07-24 Duncan Mak <[email protected]>
* ProxyAttribute.cs: Revert the last commit.

svn path=/trunk/mcs/; revision=6109
2002-07-24 04:24:35 +00:00
Tim Coleman b023899636 2002-07-23 Tim Coleman <[email protected]>
* SoapException.cs: modified constructors to
                call base class correctly.
        * WebClientAsyncResult: some implementation

svn path=/trunk/mcs/; revision=6108
2002-07-24 04:19:39 +00:00
Duncan Mak eb94895b16 2002-07-24 Duncan Mak <[email protected]>
* unix.args: Added files from Remoting.Lifetime and
	Remoting.Metadata.

	* ChangeLog: Moved entries from System.Runtime.Remoting.Activation
	and System.Runtime.Remoting.Proxy to their own ChangeLog.

	* IsVolatile.cs: change visibility on the constructor.

	* LeaseState.cs: Moved here from System.Runtime.Remoting.

	* ClientSponsor.cs:
	* LifetimeServices.cs: Stubbed out

	* ILease.cs:
	* ISponsor.cs: Added to CVS.

	* OneWayAttribute.cs: Added to CVS.

	* SoapAttribute.cs:
	* SoapFieldAttribute.cs:
	* SoapMethodAttribute.cs:
	* SoapParameterAttribute.cs:
	* SoapTypeAttribute.cs: Stubbed out.

	* SoapOption.cs:
	* XmlFieldOrderOption.cs: Moved here from System.Runtime.Remoting

	* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
	implements IContextAttribute.

	* LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.

	* SoapMethodOption.cs:
	* SoapOption.cs: Removed and merged into System.Runtime.Remoting.Metadata.SoapOption.

svn path=/trunk/mcs/; revision=6107
2002-07-24 04:18:47 +00:00
Dennis Hayes f106899003 *** empty log message ***
svn path=/trunk/mcs/; revision=6106
2002-07-24 02:29:25 +00:00
Dennis Hayes d8abac013f 2002-7-21 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* BaseCollection.cs
* BindingsCollection.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* ComboBox.cs
* ContainerControl.cs
* ContextMenu.cs
* Control.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* DataGrid.cs
* DataGridColumnStyle.cs
* DataObject.cs
* DateTimePicker.cs
* DomainUpDown.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FontDialog.cs
* Form.cs
* GiveFeedbackEventArgs.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventArgs.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageCollection.cs
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkArea.cs
* LinkClickedEventArgs.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* MeasureItemEventArgs.cs
* Menu.cs
* MenuItem.cs
* Message.cs
* MessageBox.cs
* MouseEventArgs.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewDialog.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventArgs.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelCollection.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ToolBar.cs
* ToolBarButtonClickEventArgs.cs
* ToolTip.cs
* TrackBar.cs
* TreeNodeCollection.cs
* TreeView.cs
* UserControl.cs
* commented out inherited class that did not need to be stubbed.
* fixed bugs, added values to one enum. Stubbed interfaces.
* The NAMESPACE NOW COMPILES under windows in Visual Studio using the Microsoft version of the classes.
* Verify.exe reports 600 errors.

svn path=/trunk/mcs/; revision=6105
2002-07-24 02:28:42 +00:00
Alp Toker 6134dd17ce Remove the generated y.output file in the clean target.
svn path=/trunk/mcs/; revision=6104
2002-07-24 02:16:34 +00:00
Martin Baulig 63ee28b80b 2002-07-24 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): Moved the
	TypeManager.TypeToCoreType() to the top of the method so the
	following equality checks will work.  Fixes #28107.

svn path=/trunk/mcs/; revision=6103
2002-07-24 00:23:25 +00:00
Martin Baulig 72e1c99727 2002-07-24 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.DoConstantNumericPromotions): "If either
	operand is of type uint, and the other operand is of type sbyte,
	short or int, the operands are converted to type long." -
	Actually do what this comment already told us.  Fixes bug #28106,
	added test-150.cs.

svn path=/trunk/mcs/; revision=6102
2002-07-24 00:07:49 +00:00
Martin Baulig 4b9ece8774 2002-07-24 Martin Baulig <[email protected]>
* class.cs (MethodBase): New abstract class.  This is now a base
	class for Property, Indexer and Event to avoid some code duplication
	in their Define() and DefineMethods() methods.
	(MethodBase.DoDefine, MethodBase.DefineAccessor): Provide virtual
	generic methods for Define() and DefineMethods().
	(FieldBase): Derive from MemberBase, not MemberCore.
	(Property): Derive from MemberBase, not MemberCore.
	(Property.DefineMethod): Moved all the code from this method to the
	new MethodBase.DefineAccessor(), just call it with appropriate
	argumetnts.
	(Property.Define): Call the new Property.DoDefine(), this does some
	sanity checks and we don't need to duplicate the code everywhere.
	(Event): Derive from MemberBase, not MemberCore.
	(Event.Define): Use the new MethodBase.DefineAccessor() to define the
	accessors, this will also make them work with interface events.
	(Indexer): Derive from MemberBase, not MemberCore.
	(Indexer.DefineMethod): Removed, call MethodBase.DefineAccessor() insstead.
	(Indexer.Define): Use the new MethodBase functions.

	* interface.cs (InterfaceEvent.InterfaceEvent): Added `Location loc'
	argument to the constructor.
	(Interface.FindMembers): Added support for interface events.
	(Interface.PopluateEvent): Implemented.

	Added test-149.cs for this.  This also fixes bugs #26067 and #24256.

svn path=/trunk/mcs/; revision=6101
2002-07-24 00:06:59 +00:00
Martin Baulig 6c9f96c11a 2002-07-24 Martin Baulig <[email protected]>
* test-150.cs: New test.

	* test-149.cs: New test.

svn path=/trunk/mcs/; revision=6100
2002-07-24 00:02:27 +00:00
Martin Baulig 08e643d5b7 2002-07-24 Martin Baulig <[email protected]>
Added test-149.cs for this.  This also fixes bugs #26067 and #24256.

svn path=/trunk/mcs/; revision=6099
2002-07-23 23:33:33 +00:00
Martin Baulig a102b00699 2002-07-24 Martin Baulig <[email protected]>
* test-149.cs: New test.

	* test-95.cs: .... and finally, another bug in MCS is fixed and
	the syntax error in this test is caught.

svn path=/trunk/mcs/; revision=6098
2002-07-23 23:30:24 +00:00
Martin Baulig fcf53a4f77 2002-07-24 Martin Baulig <[email protected]>
* class.cs (MethodBase): New abstract class.  This is now a base
	class for Property, Indexer and Event to avoid some code duplication
	in their Define() and DefineMethods() methods.
	(MethodBase.DoDefine, MethodBase.DefineAccessor): Provide virtual
	generic methods for Define() and DefineMethods().
	(FieldBase): Derive from MemberBase, not MemberCore.
	(Property): Derive from MemberBase, not MemberCore.
	(Property.DefineMethod): Moved all the code from this method to the
	new MethodBase.DefineAccessor(), just call it with appropriate
	argumetnts.
	(Property.Define): Call the new Property.DoDefine(), this does some
	sanity checks and we don't need to duplicate the code everywhere.
	(Event): Derive from MemberBase, not MemberCore.
	(Event.Define): Use the new MethodBase.DefineAccessor() to define the
	accessors, this will also make them work with interface events.
	(Indexer): Derive from MemberBase, not MemberCore.
	(Indexer.DefineMethod): Removed, call MethodBase.DefineAccessor() insstead.
	(Indexer.Define): Use the new MethodBase functions.

	* interface.cs (InterfaceEvent.InterfaceEvent): Added `Location loc'
	argument to the constructor.
	(Interface.FindMembers): Added support for interface events.
	(Interface.PopluateEvent): Implemented.

svn path=/trunk/mcs/; revision=6097
2002-07-23 23:28:50 +00:00
Tim Coleman 63964af025 2002-07-23 Tim Coleman <[email protected]>
* HttpGetClientProtocol.cs:
        * HttpPostClientProtocol.cs
                Implemented the GetWebRequest method
        * HttpSimpleClientProtocol:
                Some implementation of the EndInvoke method
        * HttpWebClientProtocol.cs:
                Set the UserAgent string appropriately
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods
        * SoapHttpClientProtocol.cs:
                Removed unused fields
                Implemented the GetWebRequest method
        * SoapMessage.cs:
                Implemented the EnsureStage method
        * WebClientProtocol.cs:
                Added a static constructor to construct the cache
                Implemented the Abort method
                Implemented the AddToCache, GetFromCache methods
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods

svn path=/trunk/mcs/; revision=6095
2002-07-23 21:36:08 +00:00
Alp Toker 1de09d9c93 Added a makefile.gnu dist target.
svn path=/trunk/mcs/; revision=6094
2002-07-23 21:31:04 +00:00
Alp Toker 51daeda577 makefile.gnu: Added an install target (which sets permissions and respects
prefix) and fixed a few other makefile issues.

svn path=/trunk/mcs/; revision=6093
2002-07-23 18:27:41 +00:00
Dietmar Maurer 2d8cb5ecc2 2002-07-23 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): impl. byref types
	(mono_marshal_get_managed_wrapper): impl. byref types

svn path=/trunk/mono/; revision=6092
2002-07-23 17:49:23 +00:00
Tim Coleman 4b1c1c1e98 2002-07-23 Tim Coleman <[email protected]>
* WebService.cs:
                Change Description to WebServicesDescription
        * WebServicesDescriptionAttribute.cs:
                Add back constructor as MS build doesn't
                seem to like it missing.  Now calls base()
                with the string.  Also remove the sealed
                modifier and change the attribute targets.

svn path=/trunk/mcs/; revision=6091
2002-07-23 17:43:23 +00:00
Miguel de Icaza 0eb959bca1 Flush compile fixes
svn path=/trunk/mcs/; revision=6090
2002-07-23 17:29:11 +00:00
Duncan Mak 047a4f0d67 2002-07-24 Duncan Mak <[email protected]>
* System.Runtime.Remoting.Activation/UrlAttribute.cs: Add to CVS.

	* System.Runtime.Remoting.Activation/IConstructionCallMessage.cs:
	This implements IMessage, IMethodCallMessage and IMethodMessage.

svn path=/trunk/mcs/; revision=6089
2002-07-23 17:24:51 +00:00
Miguel de Icaza a48ef3f9e4 Fix compile
svn path=/trunk/mcs/; revision=6088
2002-07-23 17:19:09 +00:00
Tim Coleman 598b83e9a4 2002-07-23 Tim Coleman <[email protected]>
* LogicalMethodTypes.cs:
        * SoapHeaderDirection.cs:
        * SoapMessageStage.cs:
        * SoapParameterStyle.cs:
        * SoapServiceRoutingStyle.cs:
                Explicitly define values in enum to match
                .NET.
        * SoapMessage.cs:
                Removed constructor which should not be present.
        * SoapException.cs:
                Made protected fields private as they should
                be.
        * SoapHeaderException.cs:
                Modifications to constructors to propertly
                call base class constructor

svn path=/trunk/mcs/; revision=6087
2002-07-23 17:14:51 +00:00
Miguel de Icaza 93721d720c Flush
svn path=/trunk/mono/; revision=6086
2002-07-23 17:14:15 +00:00
Duncan Mak b1ae1ecaaa 2002-07-24 Duncan Mak <[email protected]>
* AccessedThroughPropertyAttribute.cs:
	* CompilationRelaxationsAttribute.cs:
	* CompilerGlobalScopeAttribute.cs:
	* DateTimeConstantAttribute.cs:
	* DecimalConstantAttribute.cs:
	* IDispatchConstantAttribute.cs:
	* IsVolatile.cs:
	* IUnknownConstantAttribute.cs:
	* RequiredAttributeAttribute.cs: Visibility changes.

svn path=/trunk/mcs/; revision=6085
2002-07-23 17:06:30 +00:00
Tim Coleman 35ee2f5129 2002-07-23 Tim Coleman <[email protected]>
* WebServicesDescriptionAttribute.cs:
                Removed the "guts" because they are defined in
                System.ComponentModel.DescriptionAttribute.
        * WebService.cs:
                Added attributes which were missing based on the
                class status page.  Also added an HttpApplication
                object and modified the properties to use that
                object.

svn path=/trunk/mcs/; revision=6084
2002-07-23 17:03:39 +00:00
Tim Coleman 1d7cfe4792 2002-07-23 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Add XmlIgnore attribute to ServiceDescriptions property
        * OperationFlow.cs:
        * ServiceDescriptionImportWarnings.cs:
                Explicitly set values in enumeration to match
                .NET.

svn path=/trunk/mcs/; revision=6083
2002-07-23 16:49:47 +00:00
Tim Coleman e34ae0b3f0 Forgot to commit ChangeLog on last change.
svn path=/trunk/mcs/; revision=6082
2002-07-23 16:21:41 +00:00
Tim Coleman ee460ab90f 2002-07-23 Tim Coleman <[email protected]>
* HttpCompileException.cs:
        * HttpParseException.cs:
        * HttpUnhandledException.cs:
                New stubbs created.
        * HttpApplication.cs:
        * HttpBrowserCapabilities.cs:
                Added missing methods stubbs and attributes based
                on the class status page.  Also reformatted some
                source for consistency.

svn path=/trunk/mcs/; revision=6081
2002-07-23 16:21:18 +00:00
Tim Coleman 33d2628ee4 2002-07-23 Tim Coleman <[email protected]>
* HttpUtility.cs: Moved entities hashtable into main
                class as a static object, so we don't instantiate
                a new one every time.  Also put the hashtable
                building into a lock block.

svn path=/trunk/mcs/; revision=6080
2002-07-23 13:53:45 +00:00
Dietmar Maurer e93b4c2b1c removed unnecessary files
svn path=/trunk/mono/; revision=6079
2002-07-23 11:13:16 +00:00
Duncan Mak 77220f09e3 Added missing brackets.
svn path=/trunk/mcs/; revision=6078
2002-07-23 10:57:56 +00:00
Duncan Mak e47dababcf 2002-07-23 Duncan Mak <[email protected]>
* SoapFormatter.cs: This implements IFormatter and IRemoteFormatter.

* XmlSchemaException.cs: Partiall implement the ISerializable
methods. It's not clear now SourceSchemaObject should be deserialized.

* XmlConvert.cs: Implement the ToDateTime method. ToDateTime
(string, string []) is particularly strange.

* XmlException.cs: Remember to call the base serialization
constructor.

* XmlNodeReader.cs: Keep a new variable to store the Depth.

svn path=/trunk/mcs/; revision=6077
2002-07-23 10:55:14 +00:00
Dietmar Maurer 248e81d4f1 2002-07-23 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): use arch_get_argument_info to get
	stack layout.

	* jit.c (mono_analyze_stack): use arch_get_argument_info to get
	stack layout.
	(mono_analyze_stack): removed unused code

	* emit-x86.c (arch_allocate_arg): impl.

svn path=/trunk/mono/; revision=6076
2002-07-23 09:34:58 +00:00
Paolo Molaro d236c6feec Fix build.
svn path=/trunk/mcs/; revision=6075
2002-07-23 08:49:29 +00:00
Tim Coleman 00b380f3b6 2002-07-22 Tim Coleman <[email protected]>
* Added System.Configuration.Install to unix build.

svn path=/trunk/mcs/; revision=6074
2002-07-23 05:58:55 +00:00
Tim Coleman 4c77feecda 2002-07-22 Tim Coleman <[email protected]>
* list.unix:
        * makefile.gnu:
                Files added to build this on linux.

svn path=/trunk/mcs/; revision=6073
2002-07-23 05:50:30 +00:00
Tim Coleman 1452dd3966 2002-07-22 Tim Coleman <[email protected]>
* UninstallAction.cs: Changed namespace to
                proper System.Configuration.Install;

svn path=/trunk/mcs/; revision=6072
2002-07-23 05:49:29 +00:00
Tim Coleman 1274ffa3c6 2002-07-22 Tim Coleman <[email protected]>
* Added System.Web and System.Web.Services to linux make.

svn path=/trunk/mcs/; revision=6071
2002-07-23 05:40:11 +00:00
Tim Coleman 00c04a4c51 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu:
        * list:
                Modifications to make this library buildable on
                linux.

svn path=/trunk/mcs/; revision=6070
2002-07-23 05:38:50 +00:00
Tim Coleman b730da0ddb 2002-07-22 Tim Coleman <[email protected]>
* list.unix: added new classes to build list.

svn path=/trunk/mcs/; revision=6069
2002-07-23 05:37:10 +00:00
Tim Coleman 22b3f2a7f1 2002-07-22 Tim Coleman <[email protected]>
* CodeIdentifiers.cs:
        * SoapCodeExporter.cs:
        * SoapSchemaExporter.cs:
        * XmlCodeExporter.cs:
        * XmlMemberMapping.cs:
        * XmlMembersMapping.cs:
        * XmlReflectionImporter.cs:
        * XmlReflectionMember.cs:
        * XmlSchemaExporter.cs:
        * XmlSchemaImporter.cs:
        * XmlSchemas.cs:
                New stubbs added to aid in the linux build of
                System.Web.Services.

svn path=/trunk/mcs/; revision=6068
2002-07-23 05:35:33 +00:00
Tim Coleman e5114fecb8 2002-07-22 Tim Coleman <[email protected]>
* list.unix: Added new file
                System.ComponentModel.RecommendedAsConfigurableAttribute.cs
                to build on unix.

svn path=/trunk/mcs/; revision=6067
2002-07-23 05:32:24 +00:00
Tim Coleman 37107271e7 2002-07-22 Tim Coleman <[email protected]>
* RecommendedAsConfigurableAttribute.cs: new file added
                for System.Web.Services build

svn path=/trunk/mcs/; revision=6066
2002-07-23 05:31:20 +00:00
Tim Coleman 6bcd063b7c 2002-07-22 Tim Coleman <[email protected]>
* XmlSchema.cs: Removed isCompiled which is defined as internal
                in XmlSchemaObject.

svn path=/trunk/mcs/; revision=6064
2002-07-23 04:35:29 +00:00
Gonzalo Paniagua Javier 6958545441 commented out attribute
svn path=/trunk/mcs/; revision=6063
2002-07-23 04:12:16 +00:00
Tim Coleman 5b14e29c9e 2002-07-22 Tim Coleman <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Added missing constructor
                which was breaking System.Web build on linux

svn path=/trunk/mcs/; revision=6062
2002-07-23 04:03:11 +00:00
Tim Coleman 6752b58d57 2002-07-22 Tim Coleman <[email protected]>
* ExpandableObjectConverter.cs: Fix error with constructor

svn path=/trunk/mcs/; revision=6061
2002-07-23 03:59:22 +00:00
Duncan Mak 7de3a6b82e 2002-07-23 Duncan Mak <[email protected]>
* list:
* unix.args: Added new Attributes in
System.Runtime.CompilerServices and System.Runtime.Remoting.Messaging.

* HeaderHandler.cs: Added.

svn path=/trunk/mcs/; revision=6060
2002-07-23 03:54:52 +00:00
Tim Coleman e261e042a4 2002-07-22 Tim Coleman <[email protected]>
* TypeConverter.cs: Fixed bad stubb function
	                GetConvertToException ()

svn path=/trunk/mcs/; revision=6059
2002-07-23 03:53:46 +00:00
Duncan Mak 02f9c5d847 Revert patches to ProxyAttribute (oops) and add them to
IRemotingFormatter instead

svn path=/trunk/mcs/; revision=6058
2002-07-23 03:49:01 +00:00
Tim Coleman d18f25741c 2002-07-22 Tim Coleman <[email protected]>
* NameObjectCollectionBase.cs: added iterator stubb to
                NameObjectCollectionBase.KeysCollection

svn path=/trunk/mcs/; revision=6057
2002-07-23 03:47:46 +00:00
Duncan Mak 299b759670 Added missing using statements.
svn path=/trunk/mcs/; revision=6056
2002-07-23 03:45:40 +00:00
Tim Coleman 9455258830 2002-07-22 Tim Coleman <[email protected]>
* ComponentCollection.cs: Added reference to
                ReadOnlyCollectionBase to make sure
                that we inherit the appropriate methods.
                Not sure why the Dispose() method is
                required, but left for now.

svn path=/trunk/mcs/; revision=6055
2002-07-23 03:41:57 +00:00
Duncan Mak 986e9b3d98 2002-07-23 Duncan Mak <[email protected]>
* AccessedThroughPropertyAttribute.cs:
	* CompilationRelaxationsAttribute.cs:
	* CompilerGlobalScopeAttribute.cs:
	* CustomConstantAttribute.cs:
	* DateTimeConstantAttribute.cs:
	* DecimalConstantAttribute.cs:
	* DiscardableAttribute.cs:
	* IDispatchConstantAttribute.cs:
	* IUnknownConstantAttribute.cs:
	* RequiredAttributeAttribute.cs: Added all the missing Attributes

	* IsVolatile.cs: Added to CVS.

	* MethodImplOptions.cs: Added the PreserveSig flag.

	* IRemotingFormatter.cs: Added to CVS.

	* IMethodMessage.cs: IMethodMessage inherits from IMessage.

	* list:
	* unix.args: Added new Attributes in System.Runtim.CompilerServices.

	* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.

svn path=/trunk/mcs/; revision=6054
2002-07-23 03:33:14 +00:00
Tim Coleman 9cfb41535a 2002-07-22 Tim Coleman <[email protected]>
* TypeConverter.cs: Added new stubbs
        * BindableAttribute.cs: Added
        * BindableSupport.cs: Added
        * NotifyParentPropertyAttribute.cs: Added
        * ExpandableObjectConverter.cs: Added

svn path=/trunk/mcs/; revision=6053
2002-07-23 03:20:22 +00:00
Tim Coleman bc6cf205a0 2002-07-22 Tim Coleman <[email protected]>
* list.unix: Added files to the build for linux
                System.ComponentModel.BindableAttribute.cs,
                System.ComponentModel.BindableSupport.cs,
                System.ComponentModel.ExpandableObjectConverter.cs,
                System.ComponentModel.NotifyParentPropertyAttribute.cs,
                System.ComponentModel.ToolboxItemAttribute.cs,

svn path=/trunk/mcs/; revision=6052
2002-07-23 03:18:36 +00:00
Tim Coleman ba0303ace6 2002-07-20 Tim Coleman <[email protected]>
* list.unix: Added System.ComponentModel/DefaultEventAttribute.cs
                and System.ComponentModel.DefaultProperty.cs to build

svn path=/trunk/mcs/; revision=6051
2002-07-23 02:37:40 +00:00
Tim Coleman 98900dedb2 2002-07-22 Tim Coleman <[email protected]>
* list:
        * unix.args:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

svn path=/trunk/mcs/; revision=6050
2002-07-23 02:31:05 +00:00
Tim Coleman 810a1b8d0e 2002-07-22 Tim Coleman <[email protected]>
* ReflectionPermission.cs:
	* EnvironmentPermission.cs:
		bad place for an override keyword :(

svn path=/trunk/mcs/; revision=6049
2002-07-23 02:30:28 +00:00
Tim Coleman 2c0237d667 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu: added instructions to build System.EnterpriseServices.dll
		on linux

svn path=/trunk/mcs/; revision=6048
2002-07-23 02:22:13 +00:00
Tim Coleman 4ed2a03c40 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu: added to build on linux

svn path=/trunk/mcs/; revision=6047
2002-07-23 02:20:16 +00:00
Tim Coleman 805ab1a26c 2002-07-22 Tim Coleman <[email protected]>
* list:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

svn path=/trunk/mcs/; revision=6046
2002-07-23 02:04:44 +00:00
Tim Coleman 84be09042c 2002-07-22 Tim Coleman <[email protected]>
* ReflectionPermission.cs:
        * EnvironmentPermission.cs:
                Stubbs added because these are referenced
                in System.Web.

svn path=/trunk/mcs/; revision=6045
2002-07-23 02:03:44 +00:00
Gonzalo Paniagua Javier cd5ed858d9 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: added more page events to invoke automagically if some
	methods are defined.

svn path=/trunk/mcs/; revision=6044
2002-07-23 01:17:39 +00:00
Gonzalo Paniagua Javier fbe3ccaa61 2002-07-23 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(search_method): don't display debug message.

svn path=/trunk/mono/; revision=6043
2002-07-23 01:04:32 +00:00
Tim Coleman 996db3aadf 2002-07-22 Tim Coleman <[email protected]>
* HttpUtility.cs: Cleanup of the code, implementation
		of HtmlDecode/HtmlEncode functions

svn path=/trunk/mcs/; revision=6042
2002-07-23 01:00:50 +00:00
Miguel de Icaza 3997f06226 2002-07-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddMethod): Adding methods do not use IsValid,
	but this is required to check for a method name being the same as
	the containing class.

	Handle this now.

svn path=/trunk/mcs/; revision=6040
2002-07-22 23:39:43 +00:00
Gonzalo Paniagua Javier a9d80b3b8f Added a missing ;
svn path=/trunk/mcs/; revision=6039
2002-07-22 23:33:43 +00:00
Gonzalo Paniagua Javier df00d91723 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* interface.cs: initialize variable.

svn path=/trunk/mcs/; revision=6038
2002-07-22 23:31:14 +00:00
Tim Coleman 773b0df19e 2002-07-22 Tim Coleman <[email protected]>
* WebServicesDescriptionAttribute.cs:
		Added for build in System.Web.Services.Protocols

svn path=/trunk/mcs/; revision=6037
2002-07-22 23:22:35 +00:00
Tim Coleman 59258a38f7 2002-07-22 Tim Coleman <[email protected]>
* SoapHeaderException.cs:
		Fixed name error in constructor
	* SoapUnknownHeader.cs:
		Added reference to System.Xml.Serialization

svn path=/trunk/mcs/; revision=6036
2002-07-22 23:19:46 +00:00
Tim Coleman ea1e19acf4 2002-07-22 Tim Coleman <[email protected]>
* SoapHeaderException.cs:
	                New file added

svn path=/trunk/mcs/; revision=6035
2002-07-22 22:53:25 +00:00
Tim Coleman db02562dea 2002-07-22 Tim Coleman <[email protected]>
* AnyReturnReader.cs:
	* HtmlFormParameterReader.cs :
	* HtmlFormParameterWriter.cs :
	* HttpGetClientProtocol.cs :
	* HttpMethodAttribute.cs :
	* HttpPostClientProtocol.cs :
	* HttpSimpleClientProtocol.cs :
	* HttpWebClientProtocol.cs :
	* LogicalMethodInfo.cs :
	* LogicalMethodTypes.cs :
	* MatchAttribute.cs :
	* MimeFormatter.cs :
	* MimeParameterReader.cs :
	* MimeParameterWriter.cs :
	* MimeReturnReader.cs :
	* NopReturnReader.cs :
	* PatternMatcher.cs :
	* SoapClientMessage.cs :
	* SoapDocumentMethodAttribute.cs :
	* SoapDocumentServiceAttribute.cs :
	* SoapException.cs :
	* SoapExtension.cs :
	* SoapExtensionAttribute.cs :
	* SoapHeader.cs :
	* SoapHeaderAttribute.cs :
	* SoapHeaderCollection.cs :
	* SoapHeaderDirection.cs :
	* SoapHttpClientProtocol.cs :
	* SoapMessage.cs :
	* SoapMessageStage.cs :
	* SoapParameterStyle.cs :
	* SoapRpcMethodAttribute.cs :
	* SoapRpcServiceAttribute.cs :
	* SoapServerMessage.cs :
	* SoapServiceRoutingStyle.cs :
	* SoapUnknownHeader.cs :
	* TextReturnReader.cs :
	* UrlEncodedParameterWriter.cs :
	* UrlParameterReader.cs :
	* UrlParameterWriter.cs :
	* ValueCollectionParameterReader.cs :
	* WebClientAsyncResult.cs :
	* WebClientProtocol.cs :
	* WebServiceHandlerFactory.cs :
	* XmlReturnReader.cs :
		Add missing methods and attributes to make as few missing
		things as possible in this namespace.  This is from the
		project status page.

svn path=/trunk/mcs/; revision=6034
2002-07-22 22:52:09 +00:00
Martin Baulig 80412b534e 2002-07-23 Martin Baulig <[email protected]>
Implemented the IndexerName attribute in interfaces.

	* class.cs (TypeContainer.DefineIndexers): Don't set the indexer
	name if this is an explicit interface implementation.
	(Indexer.InterfaceIndexerName): New public variable.  If we're
	implementing an interface indexer, this is the IndexerName in that
	interface.  Otherwise, it's the IndexerName.
	(Indexer.DefineMethod): If we're implementing interface indexer,
	set InterfaceIndexerName.  Use the new Pending.IsInterfaceIndexer
	and Pending.ImplementIndexer methods.
	(Indexer.Define): Also define the PropertyBuilder if we're
	implementing an interface indexer and this is neither an explicit
	interface implementation nor do the IndexerName match the one in
	the interface.

	* pending.cs (TypeAndMethods): Added `MethodInfo [] need_proxy'.
	If a method is defined here, then we always need to create a proxy
	for it.  This is used when implementing interface indexers.
	(Pending.IsInterfaceIndexer): New public method.
	(Pending.ImplementIndexer): New public method.
	(Pending.InterfaceMethod): Added `MethodInfo need_proxy' argument.
	This is used when implementing interface indexers to define a proxy
	if necessary.
	(Pending.VerifyPendingMethods): Look in the `need_proxy' array and
	define a proxy if necessary.

	* interface.cs (Interface.IndexerName): New public variable.
	(Interface.PopulateIndexer): Set the IndexerName.
	(Interface.DefineIndexers): New private method.  Populate all the
	indexers and make sure their IndexerNames match.

	* typemanager.cs (IndexerPropertyName): Added support for interface
	indexers.

svn path=/trunk/mcs/; revision=6033
2002-07-22 22:42:53 +00:00
Martin Baulig d78d8fcf48 2002-07-23 Martin Baulig <[email protected]>
* test-148.cs: New test.

svn path=/trunk/mcs/; revision=6032
2002-07-22 22:40:42 +00:00
Peter Williams efd63e1358 2002-07-22 Peter Williams <[email protected]>
* class/library.make: (clean): Robustify this rule a bit.

svn path=/trunk/mcs/; revision=6031
2002-07-22 22:20:19 +00:00
Peter Williams bdc53da32d 2002-07-22 Peter Williams <[email protected]>
* class/library.make: Oops, the deps weren't right -- touching a .cs
	file didn't cause the libraries to be rebuilt.

svn path=/trunk/mcs/; revision=6029
2002-07-22 21:30:12 +00:00
Dietmar Maurer 0c09746ffa 2002-07-22 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_allocate_var): fix alignment bug

	* x86.brg (X86_CALL_BEGIN): add argument padding before emitting a call

svn path=/trunk/mono/; revision=6027
2002-07-22 19:45:01 +00:00
Dietmar Maurer 714e405b0e * metadata.c (mono_type_stack_size): added temporary fix for new gcc
svn path=/trunk/mono/; revision=6026
2002-07-22 18:43:44 +00:00
Miguel de Icaza 643bb8be95 Link to the spanish mono list
svn path=/trunk/mono/; revision=6025
2002-07-22 17:51:57 +00:00
Tim Coleman 6810cc9ca8 2002-07-22 Tim Coleman <[email protected]>
* Binding.cs:
	* BindingCollection.cs:
	* DocumentableItem.cs:
	* FaultBinding.cs:
	* FaultBindingCollection.cs:
	* HttpAddressBinding.cs:
	* HttpBinding.cs:
	* HttpOperationBinding.cs:
	* HttpUrlEncodedBinding.cs:
	* HttpUrlReplacementBinding.cs:
	* Import.cs:
	* ImportCollection.cs:
	* InputBinding.cs:
	* Message.cs:
	* MessageBinding.cs:
	* MessageCollection.cs:
	* MessagePart.cs:
	* MessagePartCollection.cs:
	* MimeContentBinding.cs:
	* MimeMultipartRelatedBinding.cs:
	* MimePart.cs:
	* MimePartCollection.cs:
	* MimeTextBinding.cs:
	* MimeTextMatch.cs:
	* MimeTextMatchCollection.cs:
	* MimeXmlBinding.cs:
	* Operation.cs:
	* OperationBinding.cs:
	* OperationBindingCollection.cs:
	* OperationCollection.cs:
	* OperationFaultCollection.cs:
	* OperationFlow.cs:
	* OperationMessage.cs:
	* OperationMessageCollection.cs:
	* OutputBinding.cs:
	* Port.cs:
	* PortCollection.cs:
	* PortType.cs:
	* PortTypeCollection.cs:
	* ProtocolImporter.cs:
	* Service.cs:
	* ServiceCollection.cs:
	* ServiceDescription.cs:
	* ServiceDescriptionBaseCollection.cs:
	* ServiceDescriptionCollection.cs:
	* ServiceDescriptionFormatExtension.cs:
	* ServiceDescriptionFormatExtensionCollection.cs:
	* ServiceDescriptionImportWarnings.cs:
	* SoapAddressBinding.cs:
	* SoapBinding.cs:
	* SoapBindingStyle.cs:
	* SoapBindingUse.cs:
	* SoapBodyBinding.cs:
	* SoapExtensionImporter.cs:
	* SoapExtensionReflector.cs:
	* SoapFaultBinding.cs:
	* SoapHeaderBinding.cs:
	* SoapHeaderFaultBinding.cs:
	* SoapOperationBinding.cs:
	* SoapTransportImporter.cs:
	* Types.cs:
		1. Add missing attributes as determined by reflection
		2. Fix protection levels where appropriate
		3. Add missing items where appropriate
		Basically, this was a change to remove all the X's from
		the project status page for this namespace :)

svn path=/trunk/mcs/; revision=6024
2002-07-22 17:42:26 +00:00
Gonzalo Paniagua Javier 5cea83b9b5 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs: fixed bug #28050. May be a MS bug?

svn path=/trunk/mcs/; revision=6023
2002-07-22 17:34:46 +00:00
Dietmar Maurer b55418193b 2002-07-22 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): s/k/k + 1/

svn path=/trunk/mono/; revision=6022
2002-07-22 17:19:13 +00:00
Paolo Molaro a0c3b33f58 Mon Jul 22 18:17:05 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c: set the missing filename when throwing exception.

svn path=/trunk/mono/; revision=6019
2002-07-22 16:19:38 +00:00
Gonzalo Paniagua Javier c204d07d8c 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(SaveViewState): save state even when control is not visible.
	(SaveViewStateRecursive):
	(LoadViewStateRecursive): made internal.

svn path=/trunk/mcs/; revision=6017
2002-07-22 16:17:06 +00:00
Dietmar Maurer 98be9e0ec5 (mono_type_stack_size): removed some test code
svn path=/trunk/mono/; revision=6016
2002-07-22 15:42:50 +00:00
Dietmar Maurer c7a6d89a3d 2002-07-22 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_size): code cleanup

svn path=/trunk/mono/; revision=6015
2002-07-22 15:36:29 +00:00
Martin Baulig d65a37e55b 2002-07-22 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.HasReturnLabel): New public variable.
	(EmitContext.EmitTopBlock): Always mark the ReturnLabel and emit a
	ret if HasReturnLabel.
	(EmitContext.TryCatchLevel, LoopBeginTryCatchLevel): New public
	variables.

	* statement.cs (Do.Emit, While.Emit, For.Emit, Foreach.Emit): Save
	and set the ec.LoopBeginTryCatchLevel.
	(Try.Emit): Increment the ec.TryCatchLevel while emitting the block.
	(Continue.Emit): If the ec.LoopBeginTryCatchLevel is smaller than
	the current ec.TryCatchLevel, the branch goes out of an exception
	block.  In this case, we need to use Leave and not Br.

svn path=/trunk/mcs/; revision=6014
2002-07-22 13:40:37 +00:00
Martin Baulig f40d8ad329 2002-07-22 Martin Baulig <[email protected]>
* verify-2.cs: New test.

svn path=/trunk/mcs/; revision=6013
2002-07-22 13:36:36 +00:00
Dietmar Maurer de441eb675 2002-07-22 Dietmar Maurer <[email protected]>
* x86.brg (LOCALLOC): align to MONO_FRAME_ALIGNMENT

	* emit-x86.c (arch_get_argument_info): impl.

svn path=/trunk/mono/; revision=6012
2002-07-22 13:35:10 +00:00
Tim Coleman 6cdffc1b0b 2002-07-22 Tim Coleman <[email protected]>
* System.Web.Services.build:
		Added reference to new System.EnterpriseServices.dll
		which is required for System.Web.Services.WebMethodAttribute

svn path=/trunk/mcs/; revision=6011
2002-07-22 13:30:26 +00:00
Tim Coleman c1e85ab0f7 2002-07-22 Tim Coleman <[email protected]>
* WebMethodAttribute.cs:
		Remove comments around TransactionOption bits
		because I added that enum.
	* WebServiceAttribute.cs:
	* WebServiceBindingAttribute.cs:
		Added "sealed" to protection level, which I missed
		before.

svn path=/trunk/mcs/; revision=6010
2002-07-22 13:29:44 +00:00
Tim Coleman bdf615d7bd 2002-07-22 Tim Coleman <[email protected]>
* library.build: Add build for System.EnterpriseServices

svn path=/trunk/mcs/; revision=6009
2002-07-22 13:21:22 +00:00
Tim Coleman 122dd3aa04 2002-07-22 Tim Coleman <[email protected]>
* TransactionOption.cs: New enum added as
		required by System.Web.Services

svn path=/trunk/mcs/; revision=6008
2002-07-22 13:20:21 +00:00
Tim Coleman 21db10cde2 2002-07-22 Tim Coleman <[email protected]>
* System.EnterpriseServices: New namespace created
		to provide enum needed by Web Services
	* System.EnterpriseServices.build: New file
	* list: New file

svn path=/trunk/mcs/; revision=6007
2002-07-22 13:19:26 +00:00
Tim Coleman bb667b39c3 2002-07-22 Tim Coleman <[email protected]>
* list: Added new files from System.Web.Services.Protocols
		and System.Web.Services.Configuration

svn path=/trunk/mcs/; revision=6006
2002-07-22 13:17:20 +00:00
Martin Baulig 0546f18dad 2002-07-22 Martin Baulig <[email protected]>
* verify-1.cs: New test.  The verify-XXX.cs tests must be
	compiled and then verified - either with `pedump --verify code'
	or with PEverify.

svn path=/trunk/mcs/; revision=6005
2002-07-22 12:18:19 +00:00
Martin Baulig f67b013ccf 2002-07-22 Martin Baulig <[email protected]>
* statement.cs (Try.Emit): Emit an explicit ret after the end of the
	block unless the block does not always return or it is contained in
	another try { ... } catch { ... } block.  Fixes bug #26506.
	Added verify-1.cs to the test suite.

svn path=/trunk/mcs/; revision=6004
2002-07-22 12:16:24 +00:00
Miguel de Icaza 9b948b4fbd Flush
svn path=/trunk/mono/; revision=6003
2002-07-22 06:04:06 +00:00
Jeffrey Stedfast 1fb4c37c77 2002-07-21 Jeffrey Stedfast <[email protected]>
* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
	these are needed for sendmsg() and also for struct msghdr (at
	least on Solaris). Solaris still won't build because struct msghdr
	doesn't have msg_flags, msg_control, or msg_controllen members.
	(CMSG_SPACE): Define for systems that don't have it.
	(CMSG_LEN): Same.

svn path=/trunk/mono/; revision=6002
2002-07-22 03:46:51 +00:00
Miguel de Icaza 2a6a6293ed 2002-07-21 Miguel de Icaza <[email protected]>
* appdomain.c (ves_icall_System_Reflection_Assembly_LoadFrom): Use
	mono_get_exception_file_not_found now.

	* exception.c (mono_exception_from_name_two_strings): New version
	that will call a constructor with two string arguments.
	(mono_get_exception_file_not_found): New helper routine, used to
	report file-not-found errors.

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

	* exception.c (arch_handle_exception): Memory leak fix.

svn path=/trunk/mono/; revision=6001
2002-07-22 03:31:25 +00:00
Martin Baulig 5263b1b718 Reverted my latest workaround in these files. The corresponding bug in MCS
is now fixed.

svn path=/trunk/mcs/; revision=6000
2002-07-22 01:04:31 +00:00
Martin Baulig 24d3f9a889 2002-07-22 Martin Baulig <[email protected]>
* statement.cs (Switch.TableSwitchEmit): If we don't have a default,
	then we do not always return.  Fixes bug #24985.

svn path=/trunk/mcs/; revision=5999
2002-07-22 01:02:28 +00:00
Gonzalo Paniagua Javier b16f322b92 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: improved event raising to allow client postback for a wider
	variety of actions (clicking an hyperlink, ...).

svn path=/trunk/mcs/; revision=5997
2002-07-22 00:27:51 +00:00
Miguel de Icaza bd03a71ecc More updates asp-net
svn path=/trunk/mono/; revision=5996
2002-07-22 00:13:05 +00:00
Martin Baulig 6d41b97ed4 2002-07-22 Martin Baulig <[email protected]>
* makefile: test-29 now passes.

svn path=/trunk/mcs/; revision=5995
2002-07-22 00:08:28 +00:00
Martin Baulig 7fe845e2e4 2002-07-22 Martin Baulig <[email protected]>
* expression.cs (Invocation.OverloadedResolve): Do the BetterFunction()
	lookup on a per-class level; ie. walk up the class hierarchy until we
	found at least one applicable method, then choose the best among them.
	Fixes bug #24463 and test-29.cs.

svn path=/trunk/mcs/; revision=5994
2002-07-22 00:07:31 +00:00
Martin Baulig b69035dcfc 2002-07-22 Martin Baulig <[email protected]>
* test.147.cs: New test for the `new' modifier.

svn path=/trunk/mcs/; revision=5993
2002-07-21 23:12:02 +00:00
Martin Baulig 42da22f0d5 2002-07-22 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.ArrayContainsMethod): Don't check the
	return types of the methods.  The return type is not part of the
	signature and we must not check it to make the `new' modifier work.
	Fixes bug bug #27999, also added test-147.cs.
	(TypeManager.TypeToCoreType): Added TypeManager.type_type.

	* expression.cs (Invocation.DoResolve): Call TypeManager.TypeToCoreType()
	on the method's return type.

svn path=/trunk/mcs/; revision=5992
2002-07-21 23:10:40 +00:00
Miguel de Icaza 9d5bb24a74 More updates asp-net
svn path=/trunk/mono/; revision=5991
2002-07-21 23:06:40 +00:00
Miguel de Icaza a567b08ca0 sample fix
svn path=/trunk/mono/; revision=5990
2002-07-21 21:50:27 +00:00
Martin Baulig a5cb5e6877 2002-07-21 Martin Baulig <[email protected]>
* test-38.cs: Added a few more test cases to this test.

svn path=/trunk/mcs/; revision=5989
2002-07-21 21:38:35 +00:00
Martin Baulig 08802b5057 2002-07-21 Martin Baulig <[email protected]>
* makefile.gnu: Disable debugging, there's already the mcs-mono2.exe
	target in the makefile for this.  The makefile.gnu is primarily intended
	for end-users who don't want to debug the compiler.

svn path=/trunk/mcs/; revision=5988
2002-07-21 21:37:56 +00:00
Martin Baulig 810da7ea0f 2002-07-21 Martin Baulig <[email protected]>
* assign.cs: Make this work if the rightmost source is a constant and
	we need to do an implicit type conversion.  Also adding a few more tests
	to test-38.cs which should have caught this.

svn path=/trunk/mcs/; revision=5987
2002-07-21 21:37:35 +00:00
Gonzalo Paniagua Javier 082c1aba6e 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
* index: close the anchor for first link in Jul 17th.

svn path=/trunk/mono/; revision=5986
2002-07-21 20:07:10 +00:00
Tim Coleman 6aa22ff553 2002-07-21 Tim Coleman <[email protected]>
* ChangeLog:
	* XmlFormatExtensionAttribute.cs:
	* XmlFormatExtensionPointAttribute.cs:
	* XmlFormatExtensionPrefixAttribute.cs:
		New files added

svn path=/trunk/mcs/; revision=5984
2002-07-21 05:17:56 +00:00
Jeffrey Stedfast 2a42382449 2002-07-21 Jeffrey Stedfast <[email protected]>
* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
	these are needed for sendmsg() and also for struct msghdr (at
	least on Solaris). Solaris still won't build because struct msghdr
	doesn't have msg_flags, msg_control, or msg_controllen members.

svn path=/trunk/mono/; revision=5983
2002-07-21 04:38:33 +00:00
Tim Coleman 18e1abdf7a 2002-07-20 Tim Coleman <[email protected]>
* AnyReturnReader.cs:
	* HtmlFormParameterReader.cs:
	* HtmlFormParameterWriter.cs:
	* HttpGetClientProtocol.cs:
	* HttpMethodAttribute.cs:
	* HttpPostClientProtocol.cs:
	* HttpSimpleClientProtocol.cs:
	* HttpWebClientProtocol.cs:
	* MatchAttribute.cs:
	* MimeFormatter.cs:
	* MimeParameterReader.cs:
	* MimeParameterWriter.cs:
	* MimeReturnReader.cs:
	* NopReturnReader.cs:
	* PatternMatcher.cs:
	* SoapClientMessage.cs:
	* SoapDocumentMethodAttribute.cs:
	* SoapDocumentServiceAttribute.cs:
	* SoapException.cs:
	* SoapExtensionAttribute.cs:
	* SoapExtension.cs:
	* SoapHeaderAttribute.cs:
	* SoapHeaderCollection.cs:
	* SoapHeader.cs:
	* SoapHeaderDirection.cs:
	* SoapHttpClientProtocol.cs:
	* SoapMessage.cs:
	* SoapMessageStage.cs:
	* SoapParameterStyle.cs:
	* SoapRpcMethodAttribute.cs:
	* SoapRpcServiceAttribute.cs:
	* SoapServerMessage.cs:
	* SoapServiceRoutingStyle.cs:
	* SoapUnknownHeader.cs:
	* TextReturnReader.cs:
	* UrlEncodedParameterWriter.cs:
	* UrlParameterReader.cs:
	* UrlParameterWriter.cs:
	* ValueCollectionParameterReader.cs:
	* WebClientAsyncResult.cs:
	* WebClientProtocol.cs:
	* WebServiceHandlerFactory.cs:
	* XmlReturnReader.cs:
		Added new stubbs and some implementation
	* LogicalMethodTypes.cs:
		Added [Serializable] attribute which was missing.

svn path=/trunk/mcs/; revision=5982
2002-07-21 03:47:36 +00:00
Martin Baulig 1914ea8c9e 2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.

svn path=/trunk/mcs/; revision=5981
2002-07-21 01:27:40 +00:00
Martin Baulig 8130298d16 2002-07-20 Martin Baulig <[email protected]>
* test-38.cs: This test now passes with MCS.  Added a few more
	test cases to it.

	* test-52.cs: The order of the elements returned by
	`IDictionary.Keys' is unspecified.

	* makefile: The following tests fail under linux and have been
	moved to TEST_NOPASS: 45, 53, 91, 106, 107, 122, 132, 133.
	(test-compiler-mono): Compile all the TEST_NOPASS tests, but
	don't run them.

svn path=/trunk/mcs/; revision=5980
2002-07-21 01:26:20 +00:00
Martin Baulig d0a3d9441b 2002-07-21 Martin Baulig <[email protected]>
* assign.cs: Improved the Assign class so it can now handle embedded
	assignments (X = Y = Z = something).  As a side-effect this'll now also
	consume less local variables.  test-38.cs now passes with MCS, added
	a few new test cases to that test.

svn path=/trunk/mcs/; revision=5979
2002-07-21 01:24:37 +00:00
Miguel de Icaza 720974da5a Flush, include System.Web.Services
svn path=/trunk/mono/; revision=5978
2002-07-21 01:00:52 +00:00
Gonzalo Paniagua Javier 9a5f21719a 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: implemented Load/SaveViewState.

svn path=/trunk/mcs/; revision=5977
2002-07-21 00:23:52 +00:00
Miguel de Icaza 704c3cddab Update news
svn path=/trunk/mono/; revision=5975
2002-07-20 20:22:14 +00:00
Miguel de Icaza 68086439fd Add useful macros
svn path=/trunk/mcs/; revision=5974
2002-07-20 19:17:58 +00:00
Miguel de Icaza b834e96d83 Inlcude WebSerices in the status display
svn path=/trunk/mono/; revision=5973
2002-07-20 18:52:50 +00:00
Alp Toker 069a20adf7 Web: fixed the tutorial link (but didn't push the site)
svn path=/trunk/mono/; revision=5972
2002-07-20 18:00:21 +00:00
Alp Toker 506cf012db ChangeLog update.
svn path=/trunk/mcs/; revision=5971
2002-07-20 16:28:14 +00:00
Martin Baulig 5e0be35279 2002-07-20 Martin Baulig <[email protected]>
* README.tests: Added (empty) list of all the test cases.
	When you add any test cases, please add them to this file.

	* test-146.cs: Added test for bug #27977 which is now fixed.

svn path=/trunk/mcs/; revision=5969
2002-07-20 15:42:40 +00:00
Martin Baulig ced5f3e543 2002-07-20 Martin Baulig <[email protected]>
* expression.cs (Binary.EmitBranchable): Emit correct unsigned branch
	instructions.  Fixes bug #27977, also added test-146.cs.

svn path=/trunk/mcs/; revision=5968
2002-07-20 15:39:59 +00:00
Dietmar Maurer 9616bcfb63 impl. mono_method_get_last_managed ()
svn path=/trunk/mono/; revision=5966
2002-07-20 14:52:34 +00:00
Martin Baulig f4b68f9978 2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.

svn path=/trunk/mcs/; revision=5964
2002-07-20 13:55:59 +00:00
Martin Baulig 23e0b4ab27 2002-07-20 Martin Baulig <[email protected]>
* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.

	* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:

svn path=/trunk/mcs/; revision=5963
2002-07-20 13:41:36 +00:00
Martin Baulig f8dace48e5 *** empty log message ***
svn path=/trunk/mcs/; revision=5962
2002-07-20 13:09:57 +00:00
Dick Porter 1efda2a6a0 2002-07-20 Dick Porter <[email protected]>
* Process.cs: Implement file handle redirection

2002-07-20  Dick Porter  <[email protected]>

	* MonoIO.cs: Added icall to CreatePipe

2002-07-20  Dick Porter  <[email protected]>

	* MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
	can be used from the System assembly but still not be exposed to
	users.

svn path=/trunk/mcs/; revision=5961
2002-07-20 10:30:18 +00:00
Dick Porter b083768ef9 2002-07-20 Dick Porter <[email protected]>
* wapi-private.h:
	* io-private.h:
	* io.h:
	* io.c:
	* handles.c: Implemented pipe handles

	* handles.c:
	* daemon.c: Fixed bug in handle closing.

	* shared.c:
	* daemon.c: Forked processes now close all open file descriptors.

2002-07-20  Dick Porter  <[email protected]>

	* process.h:
	* process.c: Pass file handles to CreateProcess

	* icall.c:
	* file-io.h:
	* file-io.c: Implemented CreatePipe

svn path=/trunk/mono/; revision=5960
2002-07-20 10:19:39 +00:00
Dick Porter c0b41be4f6 Updated ignores for shared lib builds
svn path=/trunk/mono/; revision=5959
2002-07-20 10:10:27 +00:00
Paolo Molaro ba5115eddf Added missing files.
svn path=/trunk/mcs/; revision=5958
2002-07-20 09:01:48 +00:00
Gonzalo Paniagua Javier 05d404e535 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* MemberDescriptor.cs: implemented Attributes and Category.

	* PropertyDescriptor.cs: implemented Converter. Declared GetValue ().

	* PropertyDescriptorCollection.cs: fixed indexers declaration.

	* ReadOnlyAttribute.cs: GetHashCoder (), Equals (), IsDefault () and
	fixed value for Yes.

	* ToolboxItemAttribute.cs: fixed declaration of IsDefaultAttribute.

	* TypeConverter.cs: added SimplePropertyDescriptor class.

svn path=/trunk/mcs/; revision=5957
2002-07-20 08:39:12 +00:00
Gonzalo Paniagua Javier 55c864a5a4 Use Attributes in Style
svn path=/trunk/mcs/; revision=5956
2002-07-20 07:13:03 +00:00
Gonzalo Paniagua Javier 9ee5e0198a 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs:
	(Add): handle 'style' through styleCollection.

	* System.Web.UI/CssStyleCollection.cs:
	(fillStyle): renamed to FillStyle and made it internal.

	* System.Web.UI/Page.cs:
	(GetViewStateString): fixed, broken after other recent changes.
	(ProcessPostData): allow a second try for postback data after OnLoad.
	(ProcessRequest): clear controls collection, removed call to
	UnloadRecursive.

	* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
	ViewState as its StateBag, if not style values are lost between
	postbacks.

	* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
	(OnPreRender): don't save Text if there are no listeners on TextChanged.

svn path=/trunk/mcs/; revision=5954
2002-07-20 07:07:39 +00:00
Martin Baulig 105eb255ec 2002-07-19 Martin Baulig <[email protected]>
* test-145.cs: Added test for bug #25318 which is now fixed.

svn path=/trunk/mcs/; revision=5953
2002-07-19 21:26:49 +00:00
Martin Baulig b9a7cc3aac 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu: Added makefile for self-hosting compile on GNU/Linux.
	Don't add this to the top-level makefile.gnu, this must be run after
	everything is compiled.

svn path=/trunk/mcs/; revision=5952
2002-07-19 21:20:14 +00:00
Martin Baulig 6b941ad435 Create mcs first and then use the newly compiled mcs to compile the class libraries.
svn path=/trunk/mcs/; revision=5951
2002-07-19 21:17:26 +00:00
Alp Toker 5147863931 File is obsolete.
svn path=/trunk/mcs/; revision=5950
2002-07-19 19:40:34 +00:00
Alp Toker 49177cef96 It makes more sense to call mcs directly as wrapper shell scripts are soon to
be phased out anyway. NUnitConsole_mono.exe is now part of the build procedure
too. mcs-tool is gone.

svn path=/trunk/mcs/; revision=5949
2002-07-19 19:39:41 +00:00
Dietmar Maurer 211ac56000 2002-07-19 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): avoid recursive inlining

svn path=/trunk/mono/; revision=5948
2002-07-19 19:09:37 +00:00
Miguel de Icaza 0ed3f96021 Update man page
svn path=/trunk/mono/; revision=5947
2002-07-19 19:07:07 +00:00
Gonzalo Paniagua Javier bb699e5ad9 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: uncommented Dispose.

	* System.Web.UI/Page.cs:
	(DeterminePostBackMode): more checkings.
	(GetPostBackClientHyperLink): implemented.
	(GetPostBackEventReference): added some comments with the HTML that MS
	generates for that.
	(ProcessRequest): fixed processing order. The page is unloaded after
	a request and regenerated from view state on subsequents posts.

	* System.Web.UI.WebControls/DropDownList.cs:
	(ToolTip): fixed.

	* System.Web.UI.WebControls/ListItem.cs:
	(LoadViewState): fixed.

	* System.Web.UI.WebControls/ListItemCollection.cs:
	(TrackViewState): use items instead of 'this' in foreach.

	* System.Web.UI.WebControls/Style.cs:
	(LoadViewState): more checking of parameters.

	* System.Web.UI.WebControls/WebControl.cs: implemented LoadViewState
	and SaveViewState.

svn path=/trunk/mcs/; revision=5945
2002-07-19 18:55:14 +00:00
Miguel de Icaza 7966ccd8be Update man page
svn path=/trunk/mono/; revision=5944
2002-07-19 18:47:04 +00:00
Dietmar Maurer b63c5d9b3c *** empty log message ***
svn path=/trunk/mono/; revision=5943
2002-07-19 18:09:51 +00:00
Dietmar Maurer 56315683ed 2002-07-19 Dietmar Maurer <[email protected]>
* metadata.c (mono_get_param_info): set alignment for value types

svn path=/trunk/mono/; revision=5942
2002-07-19 18:06:42 +00:00
Dietmar Maurer aa8827f4aa fix bug from previous commit
svn path=/trunk/mono/; revision=5941
2002-07-19 17:52:24 +00:00
Alp Toker 7cab11d978 Make sure corlib is built _before_ mcs, and don't make unnecessary assumptions
about the C# compiler setup that's to be used.

svn path=/trunk/mcs/; revision=5940
2002-07-19 17:47:10 +00:00
Gonzalo Paniagua Javier 4d70392653 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs: fixed getHex ().

svn path=/trunk/mcs/; revision=5939
2002-07-19 17:36:16 +00:00
Paolo Molaro b51a4fac45 Mono embedding sample.
svn path=/trunk/mono/; revision=5938
2002-07-19 17:24:56 +00:00
Paolo Molaro 7d13d1ccc0 Fri Jul 19 18:38:38 CEST 2002 Paolo Molaro <[email protected]>
* configure.in, Makefile.am, mono.pc.in: add a mono.pc file for use
	with pkg-config.
	* */Makefile.am: makefile overhaul to create a shared libmono library.
	* */*.h: do not include config.h in headers that should be installed.

svn path=/trunk/mono/; revision=5937
2002-07-19 17:08:26 +00:00
Paolo Molaro e33dabf1a1 Fri Jul 19 19:05:19 CEST 2002 Paolo Molaro <[email protected]>
* sockets.h, io-layer.h, critical-sections.h: don't include config.h
	in header files.

svn path=/trunk/mono/; revision=5936
2002-07-19 17:07:42 +00:00
Alp Toker 40e7cd24c0 Directory for compiled libs to go into.
svn path=/trunk/mcs/; revision=5935
2002-07-19 17:07:16 +00:00
Tim Coleman e9a102f00b 2002-07-19 Tim Coleman <[email protected]>
* list: Added

svn path=/trunk/mcs/; revision=5934
2002-07-19 17:06:39 +00:00
Paolo Molaro 63094d36f4 Fri Jul 19 18:58:27 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, domain.c, threads-types.h: don't include config.h in headers.
	Constify mono_domain_assembly_open().
	* loader.c: handle null namespace in icalls.

svn path=/trunk/mono/; revision=5933
2002-07-19 17:03:40 +00:00
Tim Coleman cc186ea2a8 2002-07-19 Tim Coleman <[email protected]>
* library.build: Added System.Web.Services
		to the build.

svn path=/trunk/mcs/; revision=5932
2002-07-19 17:03:27 +00:00
Paolo Molaro 75a0da9098 Fri Jul 19 18:45:11 CEST 2002 Paolo Molaro <[email protected]>
* emit-x86.c: temporary workaround for gcc bug.
	* jit.h, jit.c, mono.c: move mono_jit_image to jit.c.
	Don't include config.h in headers.

svn path=/trunk/mono/; revision=5931
2002-07-19 17:03:05 +00:00
Tim Coleman f371254896 2002-07-19 Tim Coleman <[email protected]>
* ChangeLog:
	* LogicalMethodInfo.cs:
	* LogicalMethodTypes.cs:
		Add required classes to make System.Web.Services.Description
		buildable.

svn path=/trunk/mcs/; revision=5930
2002-07-19 16:58:22 +00:00
Dietmar Maurer a196b414bc 2002-07-19 Dietmar Maurer <[email protected]>
* x86.brg: correctly align valuetype arguments on the stack

	* jit.c (mono_analyze_stack): do not compute frame size here.

	* x86.brg: use macros to avoid code duplication for CALL opcodes,
	compute frame size in x86.brg

svn path=/trunk/mono/; revision=5929
2002-07-19 16:56:36 +00:00
Tim Coleman d20843d5e5 2002-07-19 Tim Coleman <[email protected]>
* Binding.cs:
	* BindingCollection.cs:
	* ChangeLog:
	* DocumentableItem.cs:
	* FaultBinding.cs:
	* FaultBindingCollection.cs:
	* HttpAddressBinding.cs:
	* HttpBinding.cs:
	* HttpOperationBinding.cs:
	* HttpUrlEncodedBinding.cs:
	* HttpUrlReplacementBinding.cs:
	* Import.cs:
	* ImportCollection.cs:
	* InputBinding.cs:
	* Message.cs:
	* MessageBinding.cs:
	* MessageCollection.cs:
	* MessagePart.cs:
	* MessagePartCollection.cs:
	* MimeContentBinding.cs:
	* MimeMultipartRelatedBinding.cs:
	* MimePart.cs:
	* MimePartCollection.cs:
	* MimeTextBinding.cs:
	* MimeTextMatch.cs:
	* MimeTextMatchCollection.cs:
	* MimeXmlBinding.cs:
	* Operation.cs:
	* OperationBinding.cs:
	* OperationBindingCollection.cs:
	* OperationCollection.cs:
	* OperationFault.cs:
	* OperationFaultCollection.cs:
	* OperationFlow.cs:
	* OperationInput.cs:
	* OperationMessage.cs:
	* OperationMessageCollection.cs:
	* OperationOutput.cs:
	* OutputBinding.cs:
	* Port.cs:
	* PortCollection.cs:
	* PortType.cs:
	* PortTypeCollection.cs:
	* ProtocolImporter.cs:
	* ProtocolReflector.cs:
	* Service.cs:
	* ServiceCollection.cs:
	* ServiceDescription.cs:
	* ServiceDescriptionBaseCollection.cs:
	* ServiceDescriptionCollection.cs:
	* ServiceDescriptionFormatExtension.cs:
	* ServiceDescriptionFormatExtensionCollection.cs:
	* ServiceDescriptionImportStyle.cs:
	* ServiceDescriptionImportWarnings.cs:
	* ServiceDescriptionImporter.cs:
	* ServiceDescriptionReflector.cs:
	* SoapAddressBinding.cs:
	* SoapBinding.cs:
	* SoapBindingStyle.cs:
	* SoapBindingUse.cs:
	* SoapBodyBinding.cs:
	* SoapExtensionImporter.cs:
	* SoapExtensionReflector.cs:
	* SoapFaultBinding.cs:
	* SoapHeaderBinding.cs:
	* SoapHeaderFaultBinding.cs:
	* SoapOperationBinding.cs:
	* SoapProtocolImporter.cs:
	* SoapTransportImporter.cs:
	* Types.cs:
		Initial implementation

svn path=/trunk/mcs/; revision=5928
2002-07-19 16:55:53 +00:00
Tim Coleman d4fea2ad8b 2002-07-19 Tim Coleman <[email protected]>
* ChangeLog:
	* TODOAttribute.cs:
	* WebMethodAttribute.cs:
	* WebService.cs:
	* WebServiceAttribute.cs:
	* WebServiceBindingAttribute.cs:
		Initial implementation

svn path=/trunk/mcs/; revision=5927
2002-07-19 16:53:19 +00:00
Tim Coleman b552627f9b 2002-07-19 Tim Coleman <[email protected]>
* System.Web.Services.build: added
        * System.Web.Services:
        * System.Web.Services.Configuration:
        * System.Web.Services.Description:
        * System.Web.Services.Discovery:
        * System.Web.Services.Protocols:
                New directories added

svn path=/trunk/mcs/; revision=5926
2002-07-19 16:52:05 +00:00
Martin Baulig a85f22295c Same like library.make, but for programs.
svn path=/trunk/mcs/; revision=5925
2002-07-19 16:41:34 +00:00
Martin Baulig 126bde7165 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu, list.unix: Added makefile.gnu for self-hosting
	GNU/Linux build.

	* src/NUnitConsole/makefile.gnu, src/NUnitConsole/list.unix: Likewise.

svn path=/trunk/mcs/; revision=5924
2002-07-19 16:41:10 +00:00
Martin Baulig 5428405525 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu (DIRS): Added nunit.

svn path=/trunk/mcs/; revision=5923
2002-07-19 16:21:38 +00:00
Martin Baulig 96382c69d8 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu, list.unix: Added makefile.gnu for self-hosting
	GNU/Linux build.

svn path=/trunk/mcs/; revision=5922
2002-07-19 16:21:01 +00:00
Martin Baulig 6e76bb9a06 Updated the makefiles, put all dlls into class/lib/, make them actually work.
svn path=/trunk/mcs/; revision=5921
2002-07-19 16:10:11 +00:00
Martin Baulig eebec713de 2002-07-19 Martin Baulig <[email protected]>
Added the super-cool set of makefiles from Peter Williams which run on
	GNU/Linux without NAnt.  I named them `makefile.gnu' and not `GNUmakefile'
	since this won't break the windows build.

	To compile stuff on GNU/Linux, just do a `make -f makefile.gnu'.

	* mcs-tool, */makefile.gnu, class/library.make: New files.

svn path=/trunk/mcs/; revision=5920
2002-07-19 15:48:49 +00:00
Martin Baulig 980ed6ee33 2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
	`make NANT=/usr/local/bin/NAnt.exe'.

svn path=/trunk/mcs/; revision=5919
2002-07-19 15:20:38 +00:00
Martin Baulig dd424c8fec 2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
	`make NANT=/usr/local/bin/NAnt.exe'.

svn path=/trunk/mcs/; revision=5918
2002-07-19 15:08:33 +00:00
Martin Baulig 95027296b9 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitParams): Use TypeManager.LookupType(),
	not Type.GetType() to lookup the array type.  This is needed when
	we're constructing an array of a user-defined type.
	(ArrayAccess.EmitDynamicInitializers): Only emit the Ldelema for
	single-dimensional arrays, but also for single-dimensial arrays of
	type decimal.

svn path=/trunk/mcs/; revision=5917
2002-07-19 14:28:45 +00:00
Martin Baulig 307cc0c1da 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (New.DoEmit): Create a new LocalTemporary each time
	this function is called, it's not allowed to share LocalBuilders
	among ILGenerators.

svn path=/trunk/mcs/; revision=5916
2002-07-19 13:32:57 +00:00
Dietmar Maurer e9af813033 2002-07-19 Dietmar Maurer <[email protected]>
* marshal.c (emit_ptr_to_str_conv): marshal object as structs
	(emit_str_to_ptr_conv): marshal object as structs

	* metadata.c (mono_type_to_unmanaged): marshal object as structs

svn path=/trunk/mono/; revision=5915
2002-07-19 13:29:27 +00:00
Martin Baulig fa8a352b57 2002-07-19 Martin Baulig <[email protected]>
* ILGenerator.cs (Emit (OpCode, LocalBuilder)): Throw an exception
	when trying to emit a local that was defined in a different ILGenerator.

	* LocalBuilder.cs (LocalBuilder): Added `ILGenetator' argument to
	the constructor.

svn path=/trunk/mcs/; revision=5914
2002-07-19 12:52:28 +00:00
Martin Baulig cf2c79351d 2002-07-19 Martin Baulig <[email protected]>
* threads.c (ExitThread): Call exit() if no threads has been
	created yet.

svn path=/trunk/mono/; revision=5913
2002-07-19 12:50:10 +00:00
Paolo Molaro ad25f24f21 Fri Jul 19 14:23:46 CEST 2002 Paolo Molaro <[email protected]>
* monograph.c: simple stats on opcode size.

svn path=/trunk/mono/; revision=5912
2002-07-19 12:25:53 +00:00
Paolo Molaro 0bcede51f3 Fri Jul 19 14:21:18 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fix float boxing on LE systems.

svn path=/trunk/mono/; revision=5911
2002-07-19 12:23:32 +00:00
Paolo Molaro 6830d9226e Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <[email protected]>
* main.c: handle null parent.

svn path=/trunk/mono/; revision=5910
2002-07-19 12:22:02 +00:00
Paolo Molaro c594e2c263 Fri Jul 19 14:18:36 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix float loads. Simple delegate marshaling fix.

svn path=/trunk/mono/; revision=5909
2002-07-19 12:21:01 +00:00
Dietmar Maurer 25cafac6c0 2002-07-19 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): support value types

svn path=/trunk/mono/; revision=5908
2002-07-19 10:52:43 +00:00
Martin Baulig bfb91b03b7 NO ARGS: System/ArrayTest.cs: (36)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (36)
NO ARGS:  System/ArrayTest.cs: (41)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (41)
NO ARGS:  System/ArrayTest.cs: (46)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (46)
NO ARGS:  System/ArrayTest.cs: (52)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (52)
NO ARGS:  System/ArrayTest.cs: (56)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (56)
NO ARGS:  System/ArrayTest.cs: (60)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (60)
NO ARGS:  System/ArrayTest.cs: (66)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (66)
ARGS: 1  System/ArrayTest.cs: (69)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (69)
ARGS: 2  System/ArrayTest.cs: (72)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (72)
ARGS: 1  System/ArrayTest.cs: (86)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (86)
NO ARGS:  System/ArrayTest.cs: (94)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (94)
NO ARGS:  System/ArrayTest.cs: (101)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (101)
NO ARGS:  System/ArrayTest.cs: (106)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (106)
ARGS: 1  System/ArrayTest.cs: (121)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (121)
NO ARGS:  System/ArrayTest.cs: (129)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (129)
NO ARGS:  System/ArrayTest.cs: (137)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (137)
NO ARGS:  System/ArrayTest.cs: (145)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (145)
NO ARGS:  System/ArrayTest.cs: (153)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (153)
NO ARGS:  System/ArrayTest.cs: (160)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (160)
NO ARGS:  System/ArrayTest.cs: (165)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (165)
NO ARGS:  System/ArrayTest.cs: (182)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (182)
NO ARGS:  System/ArrayTest.cs: (184)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (184)
NO ARGS:  System/ArrayTest.cs: (192)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (192)
NO ARGS:  System/ArrayTest.cs: (200)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (200)
NO ARGS:  System/ArrayTest.cs: (208)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (208)
NO ARGS:  System/ArrayTest.cs: (215)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ArrayTest.cs: (215)
NO ARGS:  System/ArrayTest.cs: (218)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ArrayTest.cs: (218)
NO ARGS:  System/ArrayTest.cs: (226)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (226)
NO ARGS:  System/ArrayTest.cs: (232)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (232)
NO ARGS:  System/ArrayTest.cs: (233)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (233)
NO ARGS:  System/ArrayTest.cs: (234)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (234)
NO ARGS:  System/ArrayTest.cs: (235)
LOOKUP: System.Char[][] System.Char[][] System.Char[][] 1 System.Char[] ||| System/ArrayTest.cs: (235)
NO ARGS:  System/ArrayTest.cs: (249)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (249)
NO ARGS:  System/ArrayTest.cs: (259)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (259)
ARGS: 0  System/ArrayTest.cs: (269)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (269)
ARGS: 1  System/ArrayTest.cs: (270)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (270)
ARGS: 0  System/ArrayTest.cs: (280)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (280)
ARGS: 0  System/ArrayTest.cs: (281)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (281)
ARGS: 0  System/ArrayTest.cs: (291)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (291)
ARGS: 0  System/ArrayTest.cs: (292)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (292)
ARGS: 0  System/ArrayTest.cs: (303)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (303)
ARGS: 0  System/ArrayTest.cs: (304)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (304)
ARGS: 0  System/ArrayTest.cs: (314)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (314)
ARGS: 0  System/ArrayTest.cs: (315)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (315)
ARGS: 0  System/ArrayTest.cs: (325)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (325)
ARGS: 0  System/ArrayTest.cs: (326)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (326)
NO ARGS:  System/ArrayTest.cs: (334)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (334)
ARGS: 0  System/ArrayTest.cs: (335)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (335)
ARGS: 0  System/ArrayTest.cs: (356)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (356)
ARGS: 0  System/ArrayTest.cs: (357)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (357)
ARGS: 0  System/ArrayTest.cs: (367)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (367)
ARGS: 0  System/ArrayTest.cs: (368)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (368)
NO ARGS:  System/ArrayTest.cs: (376)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (376)
ARGS: 0  System/ArrayTest.cs: (377)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (377)
ARGS: 0  System/ArrayTest.cs: (396)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (396)
ARGS: 0  System/ArrayTest.cs: (406)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (406)
ARGS: 1  System/ArrayTest.cs: (407)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (407)
ARGS: 1  System/ArrayTest.cs: (417)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (417)
ARGS: 0  System/ArrayTest.cs: (418)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (418)
ARGS: 1  System/ArrayTest.cs: (428)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (428)
ARGS: 0  System/ArrayTest.cs: (429)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (429)
ARGS: 0  System/ArrayTest.cs: (439)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (439)
ARGS: 0  System/ArrayTest.cs: (440)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (440)
ARGS: 0  System/ArrayTest.cs: (450)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (450)
ARGS: 0  System/ArrayTest.cs: (451)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (451)
ARGS: 0  System/ArrayTest.cs: (461)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (461)
ARGS: 0  System/ArrayTest.cs: (462)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (462)
NO ARGS:  System/ArrayTest.cs: (488)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (488)
ARGS: 0  System/ArrayTest.cs: (489)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (489)
ARGS: 0  System/ArrayTest.cs: (507)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (507)
ARGS: 0  System/ArrayTest.cs: (508)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (508)
ARGS: 0  System/ArrayTest.cs: (557)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (557)
ARGS: 0  System/ArrayTest.cs: (567)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (567)
ARGS: 0  System/ArrayTest.cs: (568)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (568)
NO ARGS:  System/ArrayTest.cs: (586)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (586)
NO ARGS:  System/ArrayTest.cs: (587)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (587)
NO ARGS:  System/ArrayTest.cs: (588)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (588)
NO ARGS:  System/ArrayTest.cs: (604)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (604)
NO ARGS:  System/ArrayTest.cs: (629)
LOOKUP: System.String[,] Mono.CSharp.TypeExpr String[,] 2 System.String ||| System/ArrayTest.cs: (629)
NO ARGS:  System/ArrayTest.cs: (647)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (647)
ARGS: 0  System/ArrayTest.cs: (655)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (655)
ARGS: 0  System/ArrayTest.cs: (656)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (656)
ARGS: 0  System/ArrayTest.cs: (661)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (661)
ARGS: 0  System/ArrayTest.cs: (682)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (682)
ARGS: 0  System/ArrayTest.cs: (683)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (683)
ARGS: 0  System/ArrayTest.cs: (701)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (701)
ARGS: 0  System/ArrayTest.cs: (702)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (702)
ARGS: 0  System/ArrayTest.cs: (720)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (720)
ARGS: 0  System/ArrayTest.cs: (721)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (721)
ARGS: 0  System/ArrayTest.cs: (739)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (739)
ARGS: 0  System/ArrayTest.cs: (740)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (740)
ARGS: 0  System/ArrayTest.cs: (758)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (758)
ARGS: 0  System/ArrayTest.cs: (759)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (759)
ARGS: 0  System/ArrayTest.cs: (768)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (768)
ARGS: 0  System/ArrayTest.cs: (782)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (782)
ARGS: 0  System/ArrayTest.cs: (783)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (783)
ARGS: 0  System/ArrayTest.cs: (792)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (792)
ARGS: 0  System/ArrayTest.cs: (806)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (806)
ARGS: 0  System/ArrayTest.cs: (807)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (807)
NO ARGS:  System/ArrayTest.cs: (817)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (817)
NO ARGS:  System/ArrayTest.cs: (827)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (827)
ARGS: 0  System/ArrayTest.cs: (835)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (835)
ARGS: 1  System/ArrayTest.cs: (839)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (839)
NO ARGS:  System/ArrayTest.cs: (850)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (850)
NO ARGS:  System/ArrayTest.cs: (860)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (860)
ARGS: 0  System/ArrayTest.cs: (868)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (868)
ARGS: 1  System/ArrayTest.cs: (872)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (872)
NO ARGS:  System/ArrayTest.cs: (883)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (883)
NO ARGS:  System/ArrayTest.cs: (893)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (893)
ARGS: 0  System/ArrayTest.cs: (901)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (901)
ARGS: 1  System/ArrayTest.cs: (905)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (905)
ARGS: 1  System/ArrayTest.cs: (916)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (916)
NO ARGS:  System/ArrayTest.cs: (926)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (926)
NO ARGS:  System/ArrayTest.cs: (936)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (936)
NO ARGS:  System/ArrayTest.cs: (944)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (944)
ARGS: 0  System/ArrayTest.cs: (953)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (953)
ARGS: 1  System/ArrayTest.cs: (963)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (963)
ARGS: 1  System/ArrayTest.cs: (973)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (973)
ARGS: 1  System/ArrayTest.cs: (981)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (981)
ARGS: 0  System/ArrayTest.cs: (998)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (998)
ARGS: 2  System/ArrayTest.cs: (1008)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1008)
ARGS: 2  System/ArrayTest.cs: (1018)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1018)
ARGS: 2  System/ArrayTest.cs: (1026)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1026)
ARGS: 0  System/ArrayTest.cs: (1047)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1047)
ARGS: 0  System/ArrayTest.cs: (1057)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1057)
NO ARGS:  System/ArrayTest.cs: (1058)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1058)
ARGS: 1  System/ArrayTest.cs: (1068)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1068)
NO ARGS:  System/ArrayTest.cs: (1069)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1069)
ARGS: 1  System/ArrayTest.cs: (1079)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1079)
NO ARGS:  System/ArrayTest.cs: (1080)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1080)
ARGS: 1  System/ArrayTest.cs: (1088)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1088)
NO ARGS:  System/ArrayTest.cs: (1096)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1096)
ARGS: 1  System/ArrayTest.cs: (1116)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1116)
NO ARGS:  System/ArrayTest.cs: (1124)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1124)
ARGS: 1  System/ArrayTest.cs: (1143)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1143)
ARGS: 0  System/ArrayTest.cs: (1153)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1153)
NO ARGS:  System/ArrayTest.cs: (1161)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1161)
ARGS: 1  System/ArrayTest.cs: (1181)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1181)
ARGS: 0  System/ArrayTest.cs: (1191)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1191)
ARGS: 0  System/ArrayTest.cs: (1201)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1201)
NO ARGS:  System/ArrayTest.cs: (1209)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1209)
ARGS: 1  System/ArrayTest.cs: (1231)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1231)
NO ARGS:  System/ArrayTest.cs: (1239)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1239)
ARGS: 1  System/ArrayTest.cs: (1259)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1259)
ARGS: 0  System/ArrayTest.cs: (1269)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1269)
NO ARGS:  System/ArrayTest.cs: (1277)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1277)
ARGS: 1  System/ArrayTest.cs: (1297)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1297)
ARGS: 0  System/ArrayTest.cs: (1307)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1307)
ARGS: 0  System/ArrayTest.cs: (1317)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1317)
NO ARGS:  System/ArrayTest.cs: (1325)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1325)
ARGS: 1  System/ArrayTest.cs: (1353)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1353)
NO ARGS:  System/ArrayTest.cs: (1361)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1361)
ARGS: 1  System/ArrayTest.cs: (1380)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1380)
NO ARGS:  System/ArrayTest.cs: (1408)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1408)
ARGS: 1  System/ArrayTest.cs: (1420)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1420)
NO ARGS:  System/ArrayTest.cs: (1430)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1430)
NO ARGS:  System/ArrayTest.cs: (1440)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1440)
NO ARGS:  System/ArrayTest.cs: (1448)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1448)
ARGS: 0  System/ArrayTest.cs: (1449)
LOOKUP: System.Char[] System.Char[] System.Char 1 System.Char ||[]| System/ArrayTest.cs: (1449)
NO ARGS:  System/ArrayTest.cs: (1457)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1457)
ARGS: 0  System/ArrayTest.cs: (1458)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1458)
ARGS: 0  System/ArrayTest.cs: (1466)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1466)
ARGS: 0  System/ArrayTest.cs: (1467)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1467)
ARGS: 0  System/ArrayTest.cs: (1480)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1480)
ARGS: 1  System/ArrayTest.cs: (1490)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1490)
ARGS: 1  System/ArrayTest.cs: (1500)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1500)
ARGS: 1  System/ArrayTest.cs: (1508)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1508)
ARGS: 1  System/ArrayTest.cs: (1509)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1509)
ARGS: 0  System/ArrayTest.cs: (1527)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1527)
ARGS: 2  System/ArrayTest.cs: (1537)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1537)
ARGS: 2  System/ArrayTest.cs: (1547)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1547)
ARGS: 2  System/ArrayTest.cs: (1555)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1555)
ARGS: 2  System/ArrayTest.cs: (1556)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1556)
ARGS: 0  System/ArrayTest.cs: (1578)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1578)
ARGS: 0  System/ArrayTest.cs: (1588)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1588)
NO ARGS:  System/ArrayTest.cs: (1589)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1589)
ARGS: 1  System/ArrayTest.cs: (1599)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1599)
NO ARGS:  System/ArrayTest.cs: (1600)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1600)
ARGS: 1  System/ArrayTest.cs: (1610)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1610)
NO ARGS:  System/ArrayTest.cs: (1611)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1611)
ARGS: 1  System/ArrayTest.cs: (1619)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1619)
ARGS: 1  System/ArrayTest.cs: (1620)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1620)
NO ARGS:  System/ArrayTest.cs: (1625)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1625)
NO ARGS:  System/ArrayTest.cs: (1638)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1638)
ARGS: 0  System/ArrayTest.cs: (1639)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1639)
NO ARGS:  System/ArrayTest.cs: (1650)
LOOKUP: System.Int64[] System.Int64[] System.Int64[] 1 System.Int64 ||| System/ArrayTest.cs: (1650)
ARGS: 0  System/ArrayTest.cs: (1651)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (1651)
NO ARGS:  System/ArrayTest.cs: (1661)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1661)
ARGS: 0  System/ArrayTest.cs: (1662)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1662)
ARGS: 0  System/ArrayTest.cs: (1671)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1671)
ARGS: 0  System/ArrayTest.cs: (1672)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1672)
ARGS: 0  System/ArrayTest.cs: (1682)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1682)
ARGS: 0  System/ArrayTest.cs: (1683)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1683)
NO ARGS:  System/ArrayTest.cs: (1692)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1692)
ARGS: 0  System/ArrayTest.cs: (1693)
LOOKUP: System.String[] System.String[] System.String 1 System.String ||[]| System/ArrayTest.cs: (1693)
NO ARGS:  System/ArrayTest.cs: (1700)
LOOKUP: System.Single[] Mono.CSharp.TypeExpr Single[] 1 System.Single ||| System/ArrayTest.cs: (1700)
ARGS: 0  System/ArrayTest.cs: (1701)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1701)
NO ARGS:  System/ArrayTest.cs: (1721)
LOOKUP: System.Type[] Mono.CSharp.TypeExpr Type[] 1 System.Type ||| System/ArrayTest.cs: (1721)
NO ARGS:  System/ArrayTest.cs: (1736)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr Object[] 1 System.Object ||| System/ArrayTest.cs: (1736)
NO ARGS:  System/ArrayTest.cs: (1738)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr Object[] 1 System.Object ||| System/ArrayTest.cs: (1738)
NO ARGS:  System/ArrayTest.cs: (1740)
LOOKUP: System.Object[][] Mono.CSharp.TypeExpr Object[][] 1 System.Object[] ||| System/ArrayTest.cs: (1740)
NO ARGS:  System/ArrayTest.cs: (1755)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1755)
ARGS: 0  System/ArrayTest.cs: (1780)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1780)
ARGS: 0  System/ArrayTest.cs: (1850)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1850)
ARGS: 0  System/ArrayTest.cs: (1866)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1866)
ARGS: 0  System/ArrayTest.cs: (1907)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1907)
ARGS: 0  System/ArrayTest.cs: (1917)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1917)
NO ARGS:  System/ArrayTest.cs: (1926)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1926)
NO ARGS:  System/ArrayTest.cs: (1927)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1927)
NO ARGS:  System/BitConverterTest.cs: (45)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (45)
NO ARGS:  System/BitConverterTest.cs: (87)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (87)
NO ARGS:  System/BitConverterTest.cs: (133)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (133)
NO ARGS:  System/BitConverterTest.cs: (174)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (174)
NO ARGS:  System/BitConverterTest.cs: (219)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (219)
NO ARGS:  System/BitConverterTest.cs: (263)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (263)
NO ARGS:  System/BitConverterTest.cs: (306)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (306)
NO ARGS:  System/BitConverterTest.cs: (350)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (350)
NO ARGS:  System/BitConverterTest.cs: (393)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (393)
NO ARGS:  System/BitConverterTest.cs: (437)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (437)
NO ARGS:  System/BitConverterTest.cs: (481)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (481)
NO ARGS:  System/ByteTest.cs: (24)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (24)
NO ARGS:  System/ByteTest.cs: (25)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (25)
NO ARGS:  System/ByteTest.cs: (28)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (28)
NO ARGS:  System/ByteTest.cs: (31)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (31)
NO ARGS:  System/ByteTest.cs: (34)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (34)
NO ARGS:  System/ByteTest.cs: (37)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (37)
NO ARGS:  System/ByteTest.cs: (24)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (24)
NO ARGS:  System/ByteTest.cs: (25)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (25)
NO ARGS:  System/ByteTest.cs: (28)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (28)
NO ARGS:  System/ByteTest.cs: (31)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (31)
NO ARGS:  System/ByteTest.cs: (34)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (34)
NO ARGS:  System/ByteTest.cs: (37)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (37)
NO ARGS:  System/ConsoleTest.cs: (225)
LOOKUP: System.Boolean[] Mono.CSharp.TypeExpr Boolean[] 1 System.Boolean ||| System/ConsoleTest.cs: (225)
NO ARGS:  System/ConsoleTest.cs: (234)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ConsoleTest.cs: (234)
NO ARGS:  System/ConsoleTest.cs: (267)
LOOKUP: System.Boolean[] Mono.CSharp.TypeExpr Boolean[] 1 System.Boolean ||| System/ConsoleTest.cs: (267)
NO ARGS:  System/ConsoleTest.cs: (276)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ConsoleTest.cs: (276)
NO ARGS:  System/DecimalTest.cs: (77)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (77)
NO ARGS:  System/DecimalTest.cs: (78)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (78)
NO ARGS:  System/DecimalTest.cs: (79)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (79)
NO ARGS:  System/DecimalTest.cs: (80)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (80)
NO ARGS:  System/DecimalTest.cs: (81)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (81)
NO ARGS:  System/DecimalTest.cs: (82)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (82)
NO ARGS:  System/DecimalTest.cs: (83)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (83)
NO ARGS:  System/DecimalTest.cs: (84)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (84)
NO ARGS:  System/DecimalTest.cs: (85)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (85)
NO ARGS:  System/DecimalTest.cs: (77)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (77)
NO ARGS:  System/DecimalTest.cs: (78)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (78)
NO ARGS:  System/DecimalTest.cs: (79)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (79)
NO ARGS:  System/DecimalTest.cs: (80)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (80)
NO ARGS:  System/DecimalTest.cs: (81)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (81)
NO ARGS:  System/DecimalTest.cs: (82)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (82)
NO ARGS:  System/DecimalTest.cs: (83)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (83)
NO ARGS:  System/DecimalTest.cs: (84)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (84)
NO ARGS:  System/DecimalTest.cs: (85)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (85)
NO ARGS:  System/DecimalTest.cs: (101)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (101)
NO ARGS:  System/DecimalTest.cs: (108)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (108)
NO ARGS:  System/DecimalTest.cs: (112)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (112)
NO ARGS:  System/DecimalTest.cs: (206)
LOOKUP: MonoTests.System.ToStringTest[] Mono.CSharp.TypeExpr ToStringTest[] 1 MonoTests.System.ToStringTest ||| System/DecimalTest.cs: (206)
ARGS: 0  System/DecimalTest.cs: (239)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (239)
ARGS: 0  System/DecimalTest.cs: (254)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (254)
ARGS: 0  System/DecimalTest.cs: (273)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (273)
ARGS: 0  System/DecimalTest.cs: (288)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (288)
ARGS: 0  System/DecimalTest.cs: (303)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (303)
NO ARGS:  System/DecimalTest.cs: (332)
LOOKUP: MonoTests.System.ParseTest[] Mono.CSharp.TypeExpr ParseTest[] 1 MonoTests.System.ParseTest ||| System/DecimalTest.cs: (332)
NO ARGS:  System/DecimalTest.cs: (401)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (401)
NO ARGS:  System/DecimalTest.cs: (402)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (402)
NO ARGS:  System/DecimalTest.cs: (432)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (432)
NO ARGS:  System/DecimalTest.cs: (433)
LOOKUP: System.UInt32[] System.UInt32[] System.UInt32[] 1 System.UInt32 ||| System/DecimalTest.cs: (433)
NO ARGS:  System/DecimalTest.cs: (463)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (463)
NO ARGS:  System/DecimalTest.cs: (464)
LOOKUP: System.Int64[] System.Int64[] System.Int64[] 1 System.Int64 ||| System/DecimalTest.cs: (464)
NO ARGS:  System/DecimalTest.cs: (494)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (494)
NO ARGS:  System/DecimalTest.cs: (495)
LOOKUP: System.UInt64[] System.UInt64[] System.UInt64[] 1 System.UInt64 ||| System/DecimalTest.cs: (495)
NO ARGS:  System/DecimalTest.cs: (828)
LOOKUP: System.Decimal[,] System.Decimal[,] System.Decimal[,] 2 System.Decimal ||| System/DecimalTest.cs: (828)
NO ARGS:  System/DecimalTest.cs: (857)
LOOKUP: System.Decimal[,] System.Decimal[,] System.Decimal[,] 2 System.Decimal ||| System/DecimalTest.cs: (857)
NO ARGS:  System/DecimalTest2.cs: (412)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal 1 System.Decimal |[]|[]| System/DecimalTest2.cs: (412)
NO ARGS:  System/DecimalTest2.cs: (1317)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (1317)
NO ARGS:  System/DecimalTest2.cs: (2222)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (2222)
NO ARGS:  System/DecimalTest2.cs: (3127)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (3127)
ARGS: 0 System.Decimal[] System/DecimalTest2.cs: (412)
LOOKUP: System.Decimal[][] System.Decimal[][] System.Decimal 1 System.Decimal[] |[]|[][]| System/DecimalTest2.cs: (412)
CONVERT: DecimalLiteral (0) System.Decimal[]
System/DecimalTest2.cs(412) error CS0029: Cannot convert implicitly from `decimal' to `decimal[]'

svn path=/trunk/mcs/; revision=5901
2002-07-18 23:17:25 +00:00
Martin Baulig 516d50e56a 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (Argument.Resolve): Report an error 118 when trying
	to pass a type as argument.

svn path=/trunk/mcs/; revision=5900
2002-07-18 23:08:18 +00:00
Martin Baulig c7f8884542 2002-07-18 Martin Baulig <[email protected]>
* ecore.cs (Expression.ImplicitNumericConversion): Don't emit a
	Conv_R_Un for the signed `long' type.

svn path=/trunk/mcs/; revision=5899
2002-07-18 21:55:53 +00:00
Martin Baulig 3c5d8b80ea Committing Miguel's type lookup patch.
2002-07-15  Miguel de Icaza  <[email protected]>

	* expression.cs (MemberAccess.DoResolve): Do not reuse the field
	`expr' for the temporary result, as that will fail if we do
	multiple resolves on the same expression.

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

	* ecore.cs (SimpleNameResolve): Use ec.DeclSpace instead of
	ec.TypeContainer for looking up aliases.

	* class.cs (TypeContainer): Remove LookupAlias from here.

	* decl.cs (DeclSpace); Move here.

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

	* class.cs (FindMembers): Only call filter if the constructor
	bulider is not null.

	Also handle delegates in `NestedTypes' now.  Now we will perform
	type lookups using the standard resolution process.  This also
	fixes a bug.

	* decl.cs (DeclSpace.ResolveType): New type resolution routine.
	This uses Expressions (the limited kind that can be parsed by the
	tree) instead of strings.

	* expression.cs (ComposedCast.ToString): Implement, used to flag
	errors since now we have to render expressions.

	(ArrayCreation): Kill FormElementType.  Use ComposedCasts in
	FormArrayType.

	* ecore.cs (SimpleName.ToString): ditto.

	* cs-parser.jay: Instead of using strings to assemble types, use
	Expressions to assemble the type (using SimpleName, ComposedCast,
	MemberAccess).  This should fix the type lookups in declarations,
	because we were using a different code path for this.

	* statement.cs (Block.Resolve): Continue processing statements
	even when there is an error.

svn path=/trunk/mcs/; revision=5898
2002-07-18 21:05:22 +00:00
Miguel de Icaza ea2c208d3c 2002-07-17 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Also remove the `remove' method from
	the list of pending items.

svn path=/trunk/mcs/; revision=5896
2002-07-18 17:06:09 +00:00
Dietmar Maurer cf5a8a4e10 2002-07-18 Dietmar Maurer <[email protected]>
* x86.brg (ARG_OBJ): allow zero sized ARG_OBJ

	* marshal.c (mono_marshal_get_native_wrapper): we an now return value types

svn path=/trunk/mono/; revision=5895
2002-07-18 16:34:46 +00:00
Gonzalo Paniagua Javier 9e135ddd49 Added SystemColor.cs
svn path=/trunk/mcs/; revision=5894
2002-07-18 14:17:19 +00:00
Gonzalo Paniagua Javier e01b1ec454 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
* FileInfo.cs: fixes buglet #27940

svn path=/trunk/mcs/; revision=5893
2002-07-18 14:04:36 +00:00
Dietmar Maurer 5043b920a1 2002-07-18 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): removed duplicated code,
	added support for exception filters

	* jit.c (mono_jit_compile_method): support exception filters

	* marshal.c (mono_marshal_get_runtime_invoke): use exception filters

svn path=/trunk/mono/; revision=5891
2002-07-18 13:42:21 +00:00
Paolo Molaro ec0b9b99d8 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: fix IsArrayImpl.

svn path=/trunk/mcs/; revision=5890
2002-07-18 12:48:55 +00:00
Gonzalo Paniagua Javier 560109f1eb 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
* Color.cs: implemented SystemColors and NamedColors properties that
	are used by ColorConverter, removed public constructor, use
	SystemColors, and misc. fixes to make it behave as MS (ToString,
	parsing names, FromKnownColor,...).

	* ColorConverter.cs: use NamedColors and SystemColors from Color when
	trying to get the color from its name.

	* SystemColors.cs: new file.

svn path=/trunk/mcs/; revision=5888
2002-07-18 10:49:54 +00:00
Miguel de Icaza 91d927ad89 2002-07-17 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Also remove the `remove' method from
	the list of pending items.

svn path=/trunk/mcs/; revision=5887
2002-07-18 03:26:52 +00:00
Miguel de Icaza a455c6efef Add these back
svn path=/trunk/mono/; revision=5886
2002-07-17 23:31:21 +00:00
Miguel de Icaza d79b5d964d Setup mono-tutorial, new news
svn path=/trunk/mono/; revision=5885
2002-07-17 23:11:08 +00:00
Miguel de Icaza 6642017c87 removed
svn path=/trunk/mono/; revision=5884
2002-07-17 23:06:09 +00:00
Miguel de Icaza eb8b92b927 Fix build
svn path=/trunk/mcs/; revision=5883
2002-07-17 21:13:41 +00:00
Miguel de Icaza 8b7b3a5005 2002-07-17 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference): Use ldarg.N (0..3) to
	generate more compact code.

svn path=/trunk/mcs/; revision=5882
2002-07-17 21:12:26 +00:00
Miguel de Icaza e000fd45db Update
svn path=/trunk/mono/; revision=5881
2002-07-17 21:11:53 +00:00
Martin Baulig 156a8b4a9b 2002-07-17 Martin Baulig <[email protected]>
* ConvertTest.cs: Commented out line 456 which contains a non-printable
	character which mcs does not like.  See also bug #27655.

svn path=/trunk/mcs/; revision=5880
2002-07-17 18:56:47 +00:00
Martin Baulig b1fa5dc472 2002-07-17 Martin Baulig <[email protected]>
* DecimalTest.cs, DecimanTest2.cs: Removed the `using S = System'.

svn path=/trunk/mcs/; revision=5876
2002-07-17 18:04:16 +00:00
Martin Baulig 5d449f00d7 2002-07-17 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Add support for constant
	`unchecked' and `checked' expressions.
	Also adding test case test-140.cs for this.

svn path=/trunk/mcs/; revision=5875
2002-07-17 18:00:05 +00:00
Martin Baulig 0454947a76 2002-07-17 Martin Baulig <[email protected]>
* test-144.cs: Added test for constant `unchecked' and `checked'
	expressions in a constant assignment.

svn path=/trunk/mcs/; revision=5874
2002-07-17 17:58:59 +00:00
Dick Porter 153bca0804 2002-07-17 Dick Porter <[email protected]>
* daemon-messages.c: Freebsd fixes from Andreas Kohn
	<[email protected]>

svn path=/trunk/mono/; revision=5873
2002-07-17 16:56:33 +00:00
Martin Baulig 93d963ac3c 2002-07-17 Martin Baulig <[email protected]>
* statement.cs (Foreach.GetEnumeratorFilter): When compiling corlib,
	check whether mi.ReturnType implements the IEnumerator interface; the
	`==' and the IsAssignableFrom() will fail in this situation.

svn path=/trunk/mcs/; revision=5872
2002-07-17 16:41:26 +00:00
Dietmar Maurer c0a676d97b new DestroyStructure icall
svn path=/trunk/mcs/; revision=5871
2002-07-17 16:38:22 +00:00
Dietmar Maurer 2193e38c1e (ves_icall_System_Runtime_InteropServices_Marshal_DestroyStructure): impl. + bug fixes
svn path=/trunk/mono/; revision=5870
2002-07-17 16:37:49 +00:00
Paolo Molaro 1c63cb23e1 Wed Jul 17 18:21:29 CEST 2002 Paolo Molaro <[email protected]>
* verify.c: more checks implemented.

svn path=/trunk/mono/; revision=5868
2002-07-17 16:23:12 +00:00
Gonzalo Paniagua Javier abc4da1355 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: removed unneeded line from GetExtension.

svn path=/trunk/mcs/; revision=5866
2002-07-17 16:08:50 +00:00
Gonzalo Paniagua Javier 7b1e42aaba 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* ListItem.cs: there was no code to unset the flags!!!

svn path=/trunk/mcs/; revision=5865
2002-07-17 16:08:28 +00:00
Gonzalo Paniagua Javier 2a93e6a46e 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputText.cs:
	* HtmlTextArea.cs: Initialize EventHandlerList indexer.

	* HtmlContainerControl.cs: almost rewritten to use a LiteralControl
	instead of maintaining some flags and strings. Implemented
	LoadViewState.

	* HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.

	* HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
	and Value.

svn path=/trunk/mcs/; revision=5864
2002-07-17 16:08:01 +00:00
Gonzalo Paniagua Javier d2e41bdda3 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed related to ViewState. Added RemovedControl.

	* ControlCollection.cs: notify owner of control removal.

	* CssStyleCollection.cs: almost rewritten to make it render the style
	attribute after changes to it.

	* Page.cs: follow the guidelines in 'Control execution lifecycle'.
	Removed Xml code.

	* StateBag.cs: don't use IDictionary.GetEnumerator on the
	HybridDictionary: it makes the program give an InvalidCastException at
	runtime. Why?

svn path=/trunk/mcs/; revision=5863
2002-07-17 16:07:33 +00:00
Jaime Anguiano Olarra 6474c2d013 Added Beginning
svn path=/trunk/mono/; revision=5861
2002-07-17 16:01:18 +00:00
Jaime Anguiano Olarra a2565a0e01 Added mono-beginning and mono-beginning-xml
svn path=/trunk/mono/; revision=5860
2002-07-17 16:00:43 +00:00
Jaime Anguiano Olarra 09aa966244 Replacement for mono-beginning.xml
svn path=/trunk/mono/; revision=5859
2002-07-17 15:59:29 +00:00
Jaime Anguiano Olarra b931770816 Updated.
svn path=/trunk/mono/; revision=5858
2002-07-17 15:58:44 +00:00
Dietmar Maurer 0c930a3911 (ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf): impl.
(ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi): impl.
	(ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni): impl.

svn path=/trunk/mono/; revision=5851
2002-07-17 13:27:12 +00:00
Dietmar Maurer 93446df5fc added more icalls
svn path=/trunk/mcs/; revision=5850
2002-07-17 13:25:32 +00:00
Piers Haken 2a157572bf 2002-07-17 Piers Haken <[email protected]>
* DefaultContext.cs: implement 'string-length()', 'normalize-space()'
	* Parser.jay: remove redundant production
	* Expression.cs: add switches for debugging under VS.NET

svn path=/trunk/mcs/; revision=5849
2002-07-17 13:02:13 +00:00
Dietmar Maurer d7bacdc21d added more icalls
svn path=/trunk/mcs/; revision=5848
2002-07-17 11:30:19 +00:00
Dietmar Maurer db3d4397bd (ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringXXX):
impl. PtrToStringXXX methods
	(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure_type): impl.

svn path=/trunk/mono/; revision=5847
2002-07-17 11:29:25 +00:00
Piers Haken 060f49d85e 2002-07-17 Piers Haken <[email protected]>
* Expression.cs: implement nodeset/nodeset comparisons (non-optimal)

svn path=/trunk/mcs/; revision=5846
2002-07-17 11:07:20 +00:00
Dietmar Maurer 9ac94efd00 (mono_marshal_get_native_wrapper): allow byref arguments
svn path=/trunk/mono/; revision=5845
2002-07-17 09:51:57 +00:00
Dietmar Maurer bc08e8eb26 fix wrong bug#
svn path=/trunk/mono/; revision=5844
2002-07-17 09:29:35 +00:00
Dietmar Maurer 4d94664ea1 2002-07-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack CEE_DIV): added fix from Zoltan Varga
	(bug #25360)

svn path=/trunk/mono/; revision=5843
2002-07-17 09:28:21 +00:00
Dietmar Maurer 2163f06f1f 2002-07-17 Dietmar Maurer <[email protected]>
* helpers.c (mono_map_ldind_type): added suggested changes from
	Zoltan Varga (support MONO_TYPE_U), variou 64bit fixes

svn path=/trunk/mono/; revision=5842
2002-07-17 09:17:01 +00:00
Dietmar Maurer 634d0f4026 2002-07-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): remove the vtype pointer from the
	stack (fix bug #27420)

svn path=/trunk/mono/; revision=5840
2002-07-17 08:56:16 +00:00
Dietmar Maurer 70f7cce027 2002-07-17 Dietmar Maurer <[email protected]>
* marshal.c (mono_delegate_to_ftnptr): invoke the right method
	(fix bug #27695)

svn path=/trunk/mono/; revision=5839
2002-07-17 08:00:30 +00:00
Nick Drochak 7d9a15ae6d 2002/07/17 Nick Drochak <[email protected]>
* .cvsignore: Ignore dll's and pdb's (yay! a contribution this week)

svn path=/trunk/mcs/; revision=5838
2002-07-17 05:19:31 +00:00
Ravi Pratap M d063864546 2002-07-16 Ravi Pratap <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve) : Apply Gonzalo's fix
	here too.

svn path=/trunk/mcs/; revision=5833
2002-07-16 22:20:48 +00:00
Miguel de Icaza 12f7517dca More
svn path=/trunk/mono/; revision=5832
2002-07-16 21:44:49 +00:00
Gonzalo Paniagua Javier f0283215ad 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Color.cs: changed static properties to use FromArgbNamed. Also
	modified the program included in comments that get the values for
	static properties.

	(FromArgbNamed): build named colors.
	(FromKnownColor): fixed.
	(FromName): use a hash to look up colors by name.
	(FillColorNames): create the hash of colors.
	(Equals): compare values and name.
	(ToString): improved.

	* ColorTranslator.cs: implemented ToHtml.

svn path=/trunk/mcs/; revision=5831
2002-07-16 19:54:02 +00:00
Paolo Molaro 57f1b19866 Tue Jul 16 19:32:08 CEST 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: stack size check fix.

svn path=/trunk/mcs/; revision=5830
2002-07-16 17:34:12 +00:00
Dietmar Maurer 14fe5f0f8f 2002-07-16 Dietmar Maurer <[email protected]>
* x86.brg (CONV_R_UN)  use reg2 instead of reg1 for the negative check /fix bug 27849.

svn path=/trunk/mono/; revision=5829
2002-07-16 17:15:22 +00:00
Paolo Molaro be559f46b3 Tue Jul 16 19:00:57 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix buglet in parsing an assembly name.

svn path=/trunk/mono/; revision=5828
2002-07-16 17:02:46 +00:00
Dietmar Maurer da471d6ef8 2002-07-16 Dietmar Maurer <[email protected]>
* x86.brg (CALL_VOID): fix bug #27751

	* marshal.c (emit_ptr_to_str_conv): first impl.

svn path=/trunk/mono/; revision=5827
2002-07-16 15:27:07 +00:00
Dietmar Maurer 4f47f3101d bug fix
svn path=/trunk/mono/; revision=5826
2002-07-16 15:04:25 +00:00
Paolo Molaro f9fe52232a Tue Jul 16 12:39:33 CEST 2002 Paolo Molaro <[email protected]>
* object.c, class.h: cache the vtable in the class as suggested by
	[email protected] (Zoltan Varga).

svn path=/trunk/mono/; revision=5825
2002-07-16 10:45:35 +00:00
Paolo Molaro c41bfc1720 Tue Jul 16 11:27:57 CEST 2002 Paolo Molaro <[email protected]>
* class.h, loader.c: added mono_field_from_token().
	* verify.c: first cut of type checking code.

svn path=/trunk/mono/; revision=5823
2002-07-16 09:30:10 +00:00
Dietmar Maurer 2d9273260e 2002-07-16 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): support valuetypes

	* jit.c (mono_analyze_stack): adjust valuetype size for pinvoke calls

svn path=/trunk/mono/; revision=5822
2002-07-16 08:18:51 +00:00
Gonzalo Paniagua Javier b9c3c00dbf 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Formatter.cs: added namespace.

svn path=/trunk/mcs/; revision=5821
2002-07-16 06:29:01 +00:00
Gonzalo Paniagua Javier c429415731 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fire Init and Load events for all children.

svn path=/trunk/mcs/; revision=5820
2002-07-16 04:02:01 +00:00
Gonzalo Paniagua Javier 9d2be58f75 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: fixed bug #27811.

svn path=/trunk/mcs/; revision=5818
2002-07-16 02:32:15 +00:00
Piers Haken 426fb68bbd 2002-07-15 Piers Haken <[email protected]>
* Iterator.cs:
		- rename UnionIterator to MergedIterator,
		- create new UnionIterator to implment uniqueness for '|' operator
		- fix position bug in ArrayListIterator.Clone()
	* Expression.cs: use new UnionIterator constructor syntax

svn path=/trunk/mcs/; revision=5817
2002-07-16 00:42:32 +00:00
Dick Porter ae7edc1cf3 2002-07-15 Dick Porter <[email protected]>
* io.c: Removed bogus console_flush() method, that was just cut
	and pasted from file_flush when I separated the two handle types.

svn path=/trunk/mono/; revision=5815
2002-07-15 10:50:55 +00:00
Dick Porter fa40d76398 Fixed spelling
svn path=/trunk/mono/; revision=5814
2002-07-15 10:41:33 +00:00
Dietmar Maurer 939a493691 (mono_marshal_get_delegate_begin_invoke):
(mono_marshal_get_delegate_end_invoke):
	(mono_marshal_get_delegate_invoke): generate a special name for
	those methods (including the signature) and associate them whith
	the delegate class.

svn path=/trunk/mono/; revision=5813
2002-07-15 10:00:15 +00:00
Dietmar Maurer 4682ba8e2f 2002-07-15 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): handle enum types
	(fix bug #27782)
	(mono_marshal_get_remoting_invoke): impl.
	(mono_delegate_begin_invoke): impl.
	(mono_mb_emit_save_args): impl.
	(mono_delegate_end_invoke): impl.

svn path=/trunk/mono/; revision=5812
2002-07-15 09:28:15 +00:00
Jaime Anguiano Olarra 7a972ee68e Removed the mono-common-problems as a new doc (mono-beginning) replaces this.
svn path=/trunk/mono/; revision=5811
2002-07-15 08:09:09 +00:00
Jaime Anguiano Olarra d5c387ca01 Added the mono-beginning.xml document from which you can generate the
Mono Beginning HOWTO.

svn path=/trunk/mono/; revision=5810
2002-07-15 08:08:03 +00:00
Jaime Anguiano Olarra d119e1efbc Added the mono-beginning page.
svn path=/trunk/mono/; revision=5809
2002-07-15 08:07:03 +00:00
Dietmar Maurer e7701e0f67 2002-07-15 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): handle enum types
	(fix bug #27782)

svn path=/trunk/mono/; revision=5808
2002-07-15 06:21:37 +00:00
Jason Diamond 450a73a6d5 Fixed MoveToParent issues with the navigator and attributes.
svn path=/trunk/mcs/; revision=5807
2002-07-15 02:58:29 +00:00
Gonzalo Paniagua Javier 069ced7dc3 Added UserControl.cs
svn path=/trunk/mcs/; revision=5806
2002-07-15 02:43:34 +00:00
Gonzalo Paniagua Javier ee1ec195a3 2002-07-15 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: New file.
	* System.Configuration.Install/AllTests.cs: New file.
	* System.Configuration.Install/ChangeLog: New file.
	* System.Configuration.Install_test.build: modified randomly until it
	works.

	Fixes 'make test'.

svn path=/trunk/mcs/; revision=5805
2002-07-15 02:30:27 +00:00
Miguel de Icaza a9de0bcd8d Add a MonoTODO
svn path=/trunk/mcs/; revision=5804
2002-07-15 01:03:05 +00:00
Miguel de Icaza 25173e61ec Add new test
svn path=/trunk/mcs/; revision=5803
2002-07-15 00:57:15 +00:00
Gonzalo Paniagua Javier 235993771c Crap, forgot to compile it. Fixed compilation
svn path=/trunk/mcs/; revision=5802
2002-07-15 00:56:02 +00:00
Miguel de Icaza e7ed573c21 2002-07-14 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.AddressOf): Patch from Paolo
	Molaro: when we are a ref, the value already contains a pointer
	value, do not take the address of it.

svn path=/trunk/mcs/; revision=5801
2002-07-15 00:55:34 +00:00
Gonzalo Paniagua Javier fce3e84773 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: New file.

svn path=/trunk/mcs/; revision=5800
2002-07-15 00:46:35 +00:00
Rafael Teixeira 05dd8db0d9 2002-07-14 Rafael Teixeira <[email protected]>
* merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5798
2002-07-14 14:39:43 +00:00
Rafael Teixeira 0ed717ebac 2002-07-09 Rafael Teixeira <[email protected]>
* merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5797
2002-07-14 14:38:56 +00:00
Rafael Teixeira 72e394aba8 removed mb-parser.jay and mb-tokenizer.cs
svn path=/trunk/mcs/; revision=5796
2002-07-14 14:34:00 +00:00
Gonzalo Paniagua Javier f9993d92ec 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: quick&dirty hack to make redirection work. Should
	be out of there once we have SimpleWorkerRequest.

svn path=/trunk/mcs/; revision=5794
2002-07-14 02:48:38 +00:00
Gonzalo Paniagua Javier beb9a30f4b MonoTODO in LoaderOptimization
svn path=/trunk/mcs/; revision=5791
2002-07-14 01:16:30 +00:00
Gonzalo Paniagua Javier 28ba73f899 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* FontUnit.cs: use a hashtable for mapping size name to value.
	* HyperLink.cs: fixed a bug and a typo.
	* Unit.cs: some fixes to internal constructor.

svn path=/trunk/mcs/; revision=5790
2002-07-14 01:13:50 +00:00
Gonzalo Paniagua Javier d2f0060efc 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: little typo, big headache.

svn path=/trunk/mcs/; revision=5789
2002-07-14 01:10:27 +00:00
Miguel de Icaza 9794ca0af3 Move files here
svn path=/trunk/mcs/; revision=5788
2002-07-14 00:30:50 +00:00
Miguel de Icaza 2171de772f Remove files from here
svn path=/trunk/mcs/; revision=5787
2002-07-14 00:30:15 +00:00
Miguel de Icaza d019ac0e5c More docs
svn path=/trunk/mcs/; revision=5786
2002-07-14 00:28:44 +00:00
Gonzalo Paniagua Javier 6ca2807e53 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed a couple of range checks.
	* WebControl.cs: MS lies! Not all WebControls must be rendered inside
	an HtmlForm (p.e., Label).

svn path=/trunk/mcs/; revision=5785
2002-07-13 23:07:22 +00:00
Gonzalo Paniagua Javier f91038300e Fixed compilation.
svn path=/trunk/mcs/; revision=5784
2002-07-13 22:32:37 +00:00
Gonzalo Paniagua Javier b0f8ebb334 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ToolboxItemAttribute.cs: New file.

svn path=/trunk/mcs/; revision=5783
2002-07-13 22:25:17 +00:00
Jonathan Pryor ad07c77f3e * ResourcePermissionBase.cs: Stubbed out
* ResourcePermissionBaseEntry.cs: Implemented.

svn path=/trunk/mcs/; revision=5781
2002-07-13 19:03:32 +00:00
Gonzalo Paniagua Javier d79b6bdd1f 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* reflection.[ch]:
	(mono_reflection_type_from_name): now it has a MonoImage parameter
	which is used as the default image to search the type in. If the image
	is NULL or getting the type from it fails, it defaults to corlib.

	* icall.c: changed 1 call to mono_reflection_type_from_name to match
	new parameter.

svn path=/trunk/mono/; revision=5780
2002-07-13 19:01:12 +00:00
Jonathan Pryor c35bfc2d86 Added new assembly to build, System.Configurations.Install.dll.
svn path=/trunk/mcs/; revision=5779
2002-07-13 18:59:33 +00:00
Jonathan Pryor 6adde675c7 Added new assembly (System.Configuration.Install.dll).
Currently the only class I've seen that belongs here is
System.Configuration.Install.UninstallAction, but there are sure to be more.

Set up NAnt build files to build System.Configuration.Install.Dll, Test cases.

svn path=/trunk/mcs/; revision=5778
2002-07-13 18:58:23 +00:00
Adam Treat dcdaf39b3d * Implemented Type.GetMethod (string) overload. This is a kludge until GetMethodImpl is working ;-)
svn path=/trunk/mcs/; revision=5777
2002-07-13 18:48:47 +00:00
Adam Treat a37e583ddb * Implemented CreateDelegate and stubbed out some overloads
* Fixed DynamicInvokeImpl

svn path=/trunk/mcs/; revision=5776
2002-07-13 18:47:48 +00:00
Adam Treat 4161e6d1e8 * Added a test case for System.Delegate.CreateDelegate()
svn path=/trunk/mono/; revision=5775
2002-07-13 18:46:16 +00:00
Adam Treat d2a3f49c31 * Created icall ves_delegate_createdelegate using ldftn opcode.
svn path=/trunk/mono/; revision=5774
2002-07-13 18:45:04 +00:00
Adam Treat dc49b8259d * Created icall ves_delegate_createdelegate using the ldftn opcode.
svn path=/trunk/mono/; revision=5773
2002-07-13 18:44:07 +00:00
Jonathan Pryor 432d284e9f * ChangeLog: Updated
* class.xml: Added classes added to System.Diagnostics

svn path=/trunk/mono/; revision=5772
2002-07-13 18:39:23 +00:00
Jonathan Pryor 680d791867 Updates.
svn path=/trunk/mcs/; revision=5771
2002-07-13 18:36:40 +00:00
Jonathan Pryor bce4656698 * CounterCreationData.cs: Implemented
* CounterCreationDataCollection.cs: Implemented
	* CounterSample.cs: Stubbed Out
	* CounterSampleCalculator.cs: Stubbed Out
	* InstanceData.cs: Implemented
	* InstanceDataCollection.cs: Implemented
	* InstanceDataCollectionCollection.cs: Implemented
	* MonitoringDescriptionAttribute.cs: Implemented
	* PerformanceCounter.cs: Stubbed Out
	* PerformanceCounterCategory.cs: Stubbed Out
	* PerformanceCounterInstaller.cs: Stubbed Out
	* PerformanceCounterManager.cs: Stubbed Out
	* PerformanceCounterPermission.cs: Stubbed Out
	* PerformanceCounterPermissionAccess.cs: Implemented
	* PerformanceCounterPermissionAttribute.cs: Stubbed Out
	* PerformanceCounterPermissionEntry.cs: Stubbed Out
	* PerformanceCounterPermissionEntryCollection.cs: Implemented
	* PerformanceCounterType.cs: Implemented

svn path=/trunk/mcs/; revision=5770
2002-07-13 18:36:20 +00:00
Rodrigo Moya c2ba7bd4d7 2002-07-12 Rodrigo Moya <[email protected]>
* list: added System.Data.OleDb files to file list.

svn path=/trunk/mcs/; revision=5769
2002-07-13 18:31:19 +00:00
Gonzalo Paniagua Javier 86c2d39c6a 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilderAttribute.cs: finished implementation.

svn path=/trunk/mcs/; revision=5768
2002-07-13 18:06:04 +00:00
Paolo Molaro 3ed5da593f Sat Jul 13 19:54:56 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: advance ip in conv.r.un.

svn path=/trunk/mono/; revision=5767
2002-07-13 17:56:35 +00:00
Paolo Molaro fa47146625 Sat Jul 13 19:38:03 CEST 2002 Paolo Molaro <[email protected]>
* expression.cs: check against the building corlib void type.

svn path=/trunk/mcs/; revision=5766
2002-07-13 17:39:59 +00:00
Paolo Molaro 8a641a2a5f Sat Jul 13 19:35:58 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: fix for valuetype static readonly fields: when
	initializing them, we need their address, not the address of a copy.

svn path=/trunk/mcs/; revision=5765
2002-07-13 17:38:52 +00:00
Paolo Molaro be141743bb Sat Jul 13 19:32:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: update the parameter table index.

svn path=/trunk/mono/; revision=5764
2002-07-13 17:34:10 +00:00
Paolo Molaro 951e9b6e04 Sat Jul 13 17:34:23 CEST 2002 Paolo Molaro <[email protected]>
* domain.c: don't include the mark byte in the string hash.

svn path=/trunk/mono/; revision=5763
2002-07-13 15:36:08 +00:00
Paolo Molaro cff0564126 Sat Jul 13 17:32:53 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: register also enum_type in corlib.

svn path=/trunk/mcs/; revision=5762
2002-07-13 15:34:52 +00:00
Paolo Molaro 5f0c9e94ba Sat Jul 13 17:30:51 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: add also the enum_type for compiling corlib.
	* TypeBuilder.cs: complete IsValueType.

svn path=/trunk/mcs/; revision=5761
2002-07-13 15:32:57 +00:00
Gonzalo Paniagua Javier c77ff1bc2f 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* String.cs: make ToLower (culture) and ToUpper (culture) use the
	default ToLower and ToUpper and don't throw NotImplemented.

svn path=/trunk/mcs/; revision=5760
2002-07-13 14:30:40 +00:00
Paolo Molaro 5f0e13a719 Sat Jul 13 15:59:47 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: allow calling this (but not base) initializers in structs.

svn path=/trunk/mcs/; revision=5759
2002-07-13 14:01:35 +00:00
Gonzalo Paniagua Javier 77373fceff 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* DefaultEventAttribute.cs: new file.

svn path=/trunk/mcs/; revision=5758
2002-07-13 13:39:39 +00:00
Paolo Molaro 3fcf230689 Sat Jul 13 15:12:06 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: make sure we compare against the building base types
	in GetTypeSize ().

svn path=/trunk/mcs/; revision=5757
2002-07-13 13:14:27 +00:00
Paolo Molaro f603229f0e Sat Jul 13 15:10:32 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: fix TypeToCoreType() to handle void and object
	(corlib gets no more typerefs after this change).

svn path=/trunk/mcs/; revision=5756
2002-07-13 13:12:56 +00:00
Paolo Molaro e1766fd6ea Sat Jul 13 15:08:12 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: better IsValueType.


Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <[email protected]>

	* Type.cs: make GettTypeCode an icall. Test implementation of
	GetMember().

svn path=/trunk/mcs/; revision=5755
2002-07-13 13:11:01 +00:00
Paolo Molaro cf5fc14797 Sat Jul 13 15:06:23 CEST 2002 Paolo Molaro <[email protected]>
* icall.cs: icall for Type.GetTypeCode ().
	* verify: a couple of fixes and disabled local initialization checks.

svn path=/trunk/mono/; revision=5754
2002-07-13 13:08:26 +00:00
Gonzalo Paniagua Javier 8772630a90 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* CustomAttributeBuilder.cs: removed compile warning.

svn path=/trunk/mcs/; revision=5753
2002-07-13 02:21:16 +00:00
Gonzalo Paniagua Javier cba87a8845 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: updated comments. MaxCapacity always returns
	Int32.MaxValue.

svn path=/trunk/mcs/; revision=5752
2002-07-13 02:19:31 +00:00
Gonzalo Paniagua Javier 2538b41a96 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: implemented LoaderOptimization.

svn path=/trunk/mcs/; revision=5751
2002-07-13 02:17:04 +00:00
Gonzalo Paniagua Javier 0d04c16030 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: fixlet.

svn path=/trunk/mcs/; revision=5750
2002-07-13 02:13:16 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Miguel de Icaza 3c336087b4 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.EmitArrayArguments): use
	Conv.Ovf.U4 for unsigned and Conv.Ovf.I4 for signed.

	(ArrayAccess.LoadArrayAndArguments): Use Conv_Ovf_I and
	Conv_Ovf_I_Un for the array arguments.  Even if C# allows longs as
	array indexes, the runtime actually forbids them.

	* ecore.cs (ExpressionToArrayArgument): Move the conversion code
	for array arguments here.

svn path=/trunk/mcs/; revision=5748
2002-07-12 23:05:54 +00:00
Jaime Anguiano Olarra 576e389549 Updated.
svn path=/trunk/mono/; revision=5746
2002-07-12 21:48:06 +00:00
Jaime Anguiano Olarra 27b4255c76 Added the C# Free (GFDL) Spanish tutorial link.
svn path=/trunk/mono/; revision=5745
2002-07-12 21:22:35 +00:00
Jaime Anguiano Olarra 48483fd6e7 Changed "This project would not have been possible with every contribution"
to: "This project would not have been possible without every contribution"

svn path=/trunk/mono/; revision=5744
2002-07-12 20:40:33 +00:00
Gonzalo Paniagua Javier 8f35dc38ed 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: removed some more excludes.

	* System.Web.Hosting/AppDomainFactory.cs:
	* System.Web.Hosting/IAppDomainFactory.cs:
	* System.Web.Hosting/IISAPIRuntime.cs:
	* System.Web.Hosting/ISAPIRuntime.cs: make them compile.

	* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.

	* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
	Hashtable. Added internal .ctor.

	* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
	Equals and GetHashCode.

	* System.Web.UI/DataBoundLiteralControl.cs:
	(LoadViewState):
	(SaveViewState): implemented.

	* System.Web.UI/Page.cs: FileDependencies is not public.

	* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
	(GetHashCode):
	(Equals):
	(IsDefaultAttribute): implemented.

svn path=/trunk/mcs/; revision=5743
2002-07-12 19:19:55 +00:00
Miguel de Icaza 2df5023307 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (EmitLoadOpcode): System.Char is a U2, use that
	instead of the default for ValueTypes.

svn path=/trunk/mcs/; revision=5742
2002-07-12 19:12:09 +00:00
Miguel de Icaza dcb96ccd2f 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (New.DoEmit): Use IsValueType instead of
	IsSubclassOf (value_type)
	(New.DoResolve): ditto.
	(Invocation.EmitCall): ditto.

	* assign.cs (Assign): ditto.

svn path=/trunk/mcs/; revision=5741
2002-07-12 18:52:29 +00:00
Dick Porter 2252cddec6 2002-07-12 Dick Porter <[email protected]>
* io.c (convert_from_flags): Fixed misunderstanding wrt fcntl
	flags.  Fixes bug 27633.

svn path=/trunk/mono/; revision=5739
2002-07-12 17:10:33 +00:00
Miguel de Icaza 0a21bbb563 2002-07-12 Miguel de Icaza <[email protected]>
* statement.cs (Unsafe): Ok, so I got the semantics wrong.
	Statements *are* currently doing part of their resolution during
	Emit.

	Expressions do always resolve during resolve, but statements are

svn path=/trunk/mcs/; revision=5738
2002-07-12 17:02:11 +00:00
Piers Haken 643a033d4c 2002-07-12 Piers Haken <[email protected]
* SelectNodesTests.cs: Added TestUnion (bug #27548)

svn path=/trunk/mcs/; revision=5735
2002-07-12 16:11:42 +00:00
Jason Diamond d666dfcf57 Ensure that an element's prefix and namespaceURI are String.Empty and not null.
svn path=/trunk/mcs/; revision=5734
2002-07-12 16:06:55 +00:00
Gonzalo Paniagua Javier 38c4946f7a 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs:
	(.ctor): call MonoIO.GetException with the file name.

svn path=/trunk/mcs/; revision=5733
2002-07-12 15:58:59 +00:00
Dick Porter c596c8cb79 2002-07-12 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Check the size of sockaddr_un.sun_path

2002-07-12  Dick Porter  <[email protected]>

	* wapi-private.h:
	* handles.c:
	* daemon.c: Use size of sockaddr_un.sun_path from config.h

svn path=/trunk/mono/; revision=5732
2002-07-12 14:53:31 +00:00
Dick Porter 3116694545 2002-07-12 Dick Porter <[email protected]>
* processes.c (CreateProcess): Send stdin, stdout and stderr
	handles if the startup info doesnt specify new ones

	* io.c (GetStdHandle): Return the same handle when the same
	standard handle is requested

	* handles.c: Pass file descriptors when forking

	* daemon.c: Use supplied file descriptors when forking a new
	process

	* daemon-messages.h:
	* daemon-messages.c: Pass stdin, stdout and stderr file
	descriptors to the daemon (used when forking)

svn path=/trunk/mono/; revision=5731
2002-07-12 13:49:56 +00:00
Jaime Anguiano Olarra 9e8a448d5e Updated the link to the mono-contribution-howto. Changed from
"mono-contribution-howto" to "mono-contribution-howto.html".

svn path=/trunk/mono/; revision=5730
2002-07-12 13:07:55 +00:00
Dietmar Maurer 505167be91 2002-07-12 Dietmar Maurer <[email protected]>
* marshal.c: better debugging support (DEBUG_RUNTIME_CODE)

svn path=/trunk/mono/; revision=5729
2002-07-12 12:30:38 +00:00
Dietmar Maurer f67c4ab138 small fix
svn path=/trunk/mono/; revision=5728
2002-07-12 12:00:48 +00:00
Dietmar Maurer c69bc9a00d better hash func (mono_signature_hash)
svn path=/trunk/mono/; revision=5727
2002-07-12 11:59:57 +00:00
Dietmar Maurer 3449714eb0 2002-07-12 Dietmar Maurer <[email protected]>
* debug-helpers.c (mono_method_full_name): print the type of the
	runtime wrapper

	* metadata.c (mono_signature_hash): better hash algorithm

svn path=/trunk/mono/; revision=5726
2002-07-12 11:52:24 +00:00
Jaime Anguiano Olarra ac32365a5c HTML-fied and nicely indented so it looks pretty in the web.
svn path=/trunk/mono/; revision=5725
2002-07-12 11:27:00 +00:00
Dietmar Maurer bc2f120c80 2002-07-12 Dietmar Maurer <[email protected]>
* metadata.c (mono_signature_hash): a hash function for signatures

	* marshal.c (mono_marshal_get_delegate_invoke): cache methods by signature

svn path=/trunk/mono/; revision=5724
2002-07-12 11:04:33 +00:00
Piers Haken ce5805bcb5 2002-07-12 Piers Haken <[email protected]>
* Iterator.cs: PredicateIterator: handle numeric predicates
	* Parser.jay: add some debugging support: yyparseDebug
	* Tokenizer.cs: cleanup, include '-' chars in identifier tokens

svn path=/trunk/mcs/; revision=5723
2002-07-12 10:52:30 +00:00
Piers Haken c004fb1899 2002-07-12 Piers Haken <[email protected]>
* XmlAttributeCollection.cs: implement some ItemOf indexers
	* XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
	* XmlNode.cs: SelectNodes: return empty XmlNodeList, not null

svn path=/trunk/mcs/; revision=5722
2002-07-12 10:52:08 +00:00
Dietmar Maurer a8815fd72c 2002-07-12 Dietmar Maurer <[email protected]>
* debug-helpers.c (mono_method_full_name): this can now generate
	method names with signatures

	* marshal.c (mono_marshal_get_managed_wrapper): bug fix: unmanaged
	method dont have this pointers.

svn path=/trunk/mono/; revision=5721
2002-07-12 10:23:37 +00:00
Paolo Molaro c592579716 Fri Jul 12 11:34:58 CEST 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: fixup typebuilder tokens as well.

svn path=/trunk/mcs/; revision=5720
2002-07-12 09:40:05 +00:00
Paolo Molaro 54d990bf33 Fri Jul 12 11:35:48 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fixup typebuilder tokens.
	* image.c: fix buglet.
	* marshal.h: remove whitespace.
	* metadata.h, metadata.c: reinstate code that was removed.
	* verify.c: handle catch directives and fix another couple of bugs.

svn path=/trunk/mono/; revision=5719
2002-07-12 09:39:51 +00:00
Jason Diamond c8ff860619 Added some tests for the SelectNodes method.
svn path=/trunk/mcs/; revision=5717
2002-07-12 04:07:15 +00:00
Miguel de Icaza 2f7666c877 Oops, fix
svn path=/trunk/mcs/; revision=5716
2002-07-12 02:48:30 +00:00
Miguel de Icaza 56e76064cc Also support CSC -options
svn path=/trunk/mcs/; revision=5715
2002-07-12 02:05:21 +00:00
Miguel de Icaza 7891aebda6 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs (CSCParseOption): Finish the /r: and /lib: support.

	(LoadAssembly): Do not add the dll if it is already specified

svn path=/trunk/mcs/; revision=5714
2002-07-12 01:56:52 +00:00
Miguel de Icaza baafc32ae7 2002-07-11 Miguel de Icaza <[email protected]>
* daemon.c (_wapi_daemon_main): Use sizeof
	(main_socket_address.sun_path) instead of hardcoded 108 value.

	* handles.c (shared_init): Use sizeof

svn path=/trunk/mono/; revision=5713
2002-07-12 01:49:04 +00:00
Miguel de Icaza 8eac101672 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs: Add the System directory to the link path at the end,
	after all the other -L arguments.

svn path=/trunk/mcs/; revision=5712
2002-07-11 23:50:12 +00:00
Miguel de Icaza 386240aa6d 2002-07-11 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitLoadOpcode): I was using the
	wrong opcode for loading bytes and bools (ldelem.i1 instead of
	ldelem.u1) and using the opposite for sbytes.

	This fixes Digger, and we can finally run it.

svn path=/trunk/mcs/; revision=5711
2002-07-11 22:29:43 +00:00
Miguel de Icaza eaa9787b0a update
svn path=/trunk/mono/; revision=5709
2002-07-11 18:54:29 +00:00
Rodrigo Moya c4c9cf94bc 2002-07-11 Rodrigo Moya <[email protected]>
* libgda.cs: added new libgda functions and some enumerations.

	* OleDbParameter.cs (IsNullable): removed explicit implementation
	of the set method for this property.

	* OleDbDataAdapter.cs (MissingMappingAction): implemented.
	(MissingSchemaAction): implemented.

svn path=/trunk/mcs/; revision=5707
2002-07-11 17:25:36 +00:00
Dietmar Maurer 22fb9b54a9 (mono_marshal_get_managed_wrapper): support more types
svn path=/trunk/mono/; revision=5706
2002-07-11 16:21:39 +00:00
Dietmar Maurer 06103462da 2002-07-11 Dietmar Maurer <[email protected]>
* x86.brg (freg): new rule freg: CALL_R8 (this, reg)

svn path=/trunk/mono/; revision=5705
2002-07-11 16:18:12 +00:00
Dietmar Maurer 38f676f703 (mono_marshal_get_native_wrapper): support boolean
svn path=/trunk/mono/; revision=5704
2002-07-11 16:04:18 +00:00
Dietmar Maurer f070fbdef8 (mono_marshal_get_native_wrapper): make it comp. with the old code
svn path=/trunk/mono/; revision=5703
2002-07-11 15:51:42 +00:00
Dietmar Maurer 6f469bb11f Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): support BOOLEAN

svn path=/trunk/mono/; revision=5702
2002-07-11 15:31:35 +00:00
Dietmar Maurer f58fc38d66 architecture independent marshaling code
svn path=/trunk/mono/; revision=5701
2002-07-11 14:41:42 +00:00
Dietmar Maurer 89101f692e added StructureToPtr/SizeOf/PtrToStructure internal calls
svn path=/trunk/mcs/; revision=5700
2002-07-11 14:31:42 +00:00
Piers Haken 1d00f5da17 2002-07-11 Piers Haken <[email protected]>
* XmlElementTests.cs: added TestCreateElement3WithNullNamespace

svn path=/trunk/mcs/; revision=5698
2002-07-11 13:16:28 +00:00
Nick Drochak 45f7296e07 2002-07-11 Nick Drochak <[email protected]>
* .cvsignore: Ignore temp files too.

svn path=/trunk/mcs/; revision=5697
2002-07-11 12:23:45 +00:00
Nick Drochak 24bec8ebf9 2002-07-11 Nick Drochak <[email protected]>
* ArrayTest.cs: Disable a test for now.  Bugzilla'd this one.
	* ConvertTest.cs: Make message unique for this mistaken duplicate.

svn path=/trunk/mcs/; revision=5696
2002-07-11 11:19:06 +00:00
Nick Drochak d7c79ad16d 2002-07-11 Nick Drochak <[email protected]>
* TestSuite.cs: Make sure fName is not null.

svn path=/trunk/mcs/; revision=5695
2002-07-11 11:06:54 +00:00
Miguel de Icaza bf1f26b4f6 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs (UnixParseOption): Move the option parsing here.
	(CSCParseOption): Implement CSC-like parsing of options.

	We now support both modes of operation, the old Unix way, and the
	new CSC-like way.  This should help those who wanted to make cross
	platform makefiles.

	The only thing broken is that /r:, /reference: and /lib: are not
	implemented, because I want to make those have the same semantics
	as the CSC compiler has, and kill once and for all the confussion
	around this.   Will be doing this tomorrow.

svn path=/trunk/mcs/; revision=5694
2002-07-11 05:47:03 +00:00
Miguel de Icaza 09c10aa0ab 2002-07-11 Miguel de Icaza <[email protected]>
* statement.cs (Unsafe.Resolve): The state is checked during
	resolve, not emit, so we have to set the flags for IsUnsfe here.

svn path=/trunk/mcs/; revision=5693
2002-07-11 04:51:24 +00:00
Gonzalo Paniagua Javier 29fe45e402 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.

svn path=/trunk/mcs/; revision=5692
2002-07-11 01:31:24 +00:00
Miguel de Icaza 2f3d823bbc 2002-07-10 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): Since we can
	not catch the Error_ObjectRefRequired in SimpleName (as it is
	possible to have a class/instance variable name that later gets
	deambiguated), we have to check this here.

svn path=/trunk/mcs/; revision=5690
2002-07-11 00:01:50 +00:00
Alp Toker 68da854a76 mktemp() is deprecated with gcc 3.1.1, use mkstemp() instead
svn path=/trunk/mcs/; revision=5689
2002-07-10 23:07:41 +00:00
Ravi Pratap M 27be51880c REmove debugging statements
svn path=/trunk/mcs/; revision=5688
2002-07-10 22:23:40 +00:00
Ravi Pratap M af101b7583 2002-07-10 Ravi Pratap <[email protected]>
* class.cs (TypeContainer.GetFieldFromEvent): Move away from here,
	make static and put into Expression.

	(Event.Define): Register the private field of the event with the
	TypeManager so that GetFieldFromEvent can get at it.

	(TypeManager.RegisterPrivateFieldOfEvent): Implement to
	keep track of the private field associated with an event which
	has no accessors.

	(TypeManager.GetPrivateFieldOfEvent): Implement to get at the
	private field.

	* ecore.cs (GetFieldFromEvent): RE-write to use the above methods.

svn path=/trunk/mcs/; revision=5687
2002-07-10 22:12:06 +00:00
Ravi Pratap M f040abf67c 2002-07-10 Ravi Pratap <[email protected]>
* test-142.cs : Add. This ensures events can be accessed
	correctly from subclasses etc.

svn path=/trunk/mcs/; revision=5686
2002-07-10 22:11:01 +00:00
Gonzalo Paniagua Javier 512c903f94 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: some more intermediate results checking in
	in CreateInstance and CreateInstanceFrom and use GetConstructor and
	Invoke only with Type [] until the other overloaded versions work.

svn path=/trunk/mcs/; revision=5685
2002-07-10 19:40:05 +00:00
Gonzalo Paniagua Javier 9affd0c1ed 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* list:
	* unix.args: added IObjectHandle.cs.

svn path=/trunk/mcs/; revision=5684
2002-07-10 18:33:47 +00:00
Dick Porter 8341073202 2002-07-10 Dennis Haney <[email protected]>
* shared.c:
	* handles.c:
	* daemon.c: Lots of documentation, some added error checking, and
	code readability improvements.

	* daemon-messages.h: Add the Error request type to improve error
	checking.

	* daemon-messages.c: Do a bit more error checking on send() and
	recv(), and log errors with a higher severity level.

svn path=/trunk/mono/; revision=5683
2002-07-10 12:50:12 +00:00
Nick Drochak 1d331d1b3c 2002/07/10 Nick Drochak <[email protected]>
* WindowsAccountType.cs:
	* WindowsBuiltInRole.cs:
		Make these enums public instead of internal.

svn path=/trunk/mcs/; revision=5682
2002-07-10 12:17:57 +00:00
Miguel de Icaza 85685fcd1b 2002-07-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.EmitBranchable): this routine emits the
	Binary expression in a branchable context.  This basically means:
	we need to branch somewhere, not just get the value on the stack.

	This works together with Statement.EmitBoolExpression.

	* statement.cs (Statement.EmitBoolExpression): Use
	EmitBranchable.

svn path=/trunk/mcs/; revision=5681
2002-07-10 06:25:57 +00:00
Miguel de Icaza 314c04002c 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (For): Reduce the number of jumps in loops.

svn path=/trunk/mcs/; revision=5680
2002-07-10 05:45:18 +00:00
Tim Coleman 1150f04cdd 2002-07-10 Tim Coleman <[email protected]>
* OleDbCommandBuilder.cs: Added new methods, properties
        * OleDbConnection.cs: Modified constructor
        * OleDbError.cs: Added stubbs
        * OleDbException.cs: Added stubbs
        * OleDbInfoMessageEventArgs.cs: Added stubbs
        * OleDbInfoMessageEventHandler.cs: style change
        * OleDbParameter.cs: Added conversion from type to OleDbType
        * OleDbPermission.cs: Added stubbs
        * OleDbSchemaGuid.cs: Added stubbs
        * OleDbTransaction.cs: New constructors, changes to methods to
                support transaction nesting
        * libgda.cs: Added my name to this file

svn path=/trunk/mcs/; revision=5679
2002-07-10 05:24:00 +00:00
Gonzalo Paniagua Javier 93c52652df 2002-07-09 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: reformatted. Implemented CreateInstance* methods
	that return ObjectHandle.

	* AppDomain.cs: implemented CreateInstance*AndUnwrap methods.

svn path=/trunk/mcs/; revision=5677
2002-07-10 01:37:47 +00:00
Gonzalo Paniagua Javier 6072d5f746 2002-07-09 Gonzalo Paniagua Javier <[email protected]>
* IObjectHandle.cs: New file.
	* ObjectHandle.cs: implemented constructor and Unwrap.

svn path=/trunk/mcs/; revision=5676
2002-07-09 23:36:02 +00:00
Miguel de Icaza 1f78d9aba9 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (For): Implement loop inversion for the For
	statement.

svn path=/trunk/mcs/; revision=5675
2002-07-09 23:10:26 +00:00
Rafael Teixeira a50498ce86 2002-07-09 Rafael Teixeira <[email protected]>
* merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5674
2002-07-09 21:04:02 +00:00
Jaime Anguiano Olarra d25d8611f9 Added some more Q/A pairs and updated some others.
svn path=/trunk/mono/; revision=5673
2002-07-09 20:28:40 +00:00
Miguel de Icaza 99693d4f42 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (Break): We can be breaking out of a Try/Catch
	controlled section (foreach might have an implicit try/catch
	clause), so we need to use Leave instead of Br.

svn path=/trunk/mcs/; revision=5672
2002-07-09 19:32:33 +00:00
Miguel de Icaza 98fc563c16 Bug 27549
2002-07-09  Miguel de Icaza  <[email protected]>

	* ecore.cs (FieldExpr.AddressOf): Fix for test-139 (augmented
	now).  If the instace expression supports IMemoryLocation, we use
	the AddressOf method from the IMemoryLocation to extract the
	address instead of emitting the instance.

	This showed up with `This', as we were emitting the instance
	always (Emit) instead of the Address of This.  Particularly
	interesting when This is a value type, as we dont want the Emit
	effect (which was to load the object).

svn path=/trunk/mcs/; revision=5671
2002-07-09 19:15:26 +00:00
Paolo Molaro ccd53a8268 Tue Jul 9 19:03:03 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: special case SerializarionAttribute.
	Tweaks to get correct code in corlib.

svn path=/trunk/mcs/; revision=5670
2002-07-09 17:05:19 +00:00
Tim Coleman 0d42476786 2002-07-09 Tim Coleman <[email protected]>
* System.Data.build: remove restriction on System.Data.OleDb build

svn path=/trunk/mcs/; revision=5669
2002-07-09 13:48:32 +00:00
Tim Coleman c95e199818 2002-07-09 Tim Coleman <[email protected]>
* OleDbCommand.cs: Style changes, added new methods
       * OleDbConnection.cs: Style changes, added new methods
       * OleDbDataAdapter.cs: Implementation
       * OleDbDataReader.cs: Added stubbs
       * OleDbErrorCollection.cs: Added stubbs, some implementation
       * OleDbParameter.cs: Style changes, added new methods
       * OleDbParameterCollection.cs: Style changes, added new methods
       * OleDbPermissionAttribute.cs: Style changes, added new methods
       * OleDbRowUpdatedEventArgs.cs: Added stubbs
       * OleDbRowUpdatingEventArgs.cs: Added stubbs
       * OleDbTransaction.cs: Style changes, added new methods
       * OleDbType.cs: Fixed two typos
       * libgda.cs: Style changes, added new methods

svn path=/trunk/mcs/; revision=5668
2002-07-09 13:47:54 +00:00
Dick Porter 59c39d5d4e 2002-07-09 Dick Porter <[email protected]>
* threads.c: Make the thread cleaning up cope with threads that
	call ExitThread()

svn path=/trunk/mono/; revision=5667
2002-07-09 11:40:53 +00:00
Miguel de Icaza c3992d30ac Update
svn path=/trunk/mono/; revision=5666
2002-07-09 06:07:40 +00:00
Gonzalo Paniagua Javier 86ef51272a 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: a couple of fiex and added attributes.
	* DataGrid.cs: little fixes.

svn path=/trunk/mcs/; revision=5664
2002-07-09 01:10:48 +00:00
Miguel de Icaza 0dcfa3fd3c 2002-07-08 Miguel de Icaza <[email protected]>
* attribute.cs: Pass the entry point to the DefinePInvokeMethod

svn path=/trunk/mcs/; revision=5663
2002-07-09 01:04:04 +00:00
Miguel de Icaza e5d585c676 2002-07-08 Miguel de Icaza <[email protected]>
* statement.cs (Checked): Set the CheckedState during the resolve
	process too, as the ConvCast operations track the checked state on
	the resolve process, and not emit.

	* cs-parser.jay (namespace_member_declaration): Flag that we have
	found a declaration when we do.  This is used to flag error 1529

svn path=/trunk/mcs/; revision=5662
2002-07-08 23:08:27 +00:00
Miguel de Icaza 721193d535 Add another test
svn path=/trunk/mcs/; revision=5661
2002-07-08 23:07:41 +00:00
Miguel de Icaza a5082af075 news
svn path=/trunk/mono/; revision=5660
2002-07-08 21:57:51 +00:00
Miguel de Icaza ffca691388 news
svn path=/trunk/mono/; revision=5659
2002-07-08 21:39:12 +00:00
Miguel de Icaza fab85bd5bb 2002-07-08 Miguel de Icaza <[email protected]>
* driver.cs: Report ok when we display the help only.

svn path=/trunk/mcs/; revision=5658
2002-07-08 21:35:47 +00:00
Radek Doulik 6bb9d638b7 updated
svn path=/trunk/mono/; revision=5657
2002-07-08 20:54:59 +00:00
Radek Doulik f049550861 2002-07-08 Radek Doulik <[email protected]>
* reflection.c (method_encode_code): use non-translated values to
	compute finally_start, this fixes exception handling on ppc, yay!

svn path=/trunk/mono/; revision=5656
2002-07-08 19:58:27 +00:00
Rachel Hestilow ac89b6cb01 Add Phonic news item.
-- Rachel

svn path=/trunk/mono/; revision=5655
2002-07-08 19:04:45 +00:00
Gonzalo Paniagua Javier d2b127ebfa 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed Visible property.
	* Page.cs: fixed GetViewStateString.

svn path=/trunk/mcs/; revision=5653
2002-07-08 18:02:45 +00:00
Radek Doulik 85637006de 2002-07-08 Radek Doulik <[email protected]>
* decimal.h (struct signscale): fix endianess

svn path=/trunk/mono/; revision=5652
2002-07-08 16:35:09 +00:00
Radek Doulik a1a710d7b6 2002-07-07 Radek Doulik <[email protected]>
* reflection.c: swap box_val and not val

svn path=/trunk/mono/; revision=5651
2002-07-08 16:14:44 +00:00
Radek Doulik 8ac9a466a0 2002-07-08 Radek Doulik <[email protected]>
* ppc/tramp.c: marshaling for SZARRAY

svn path=/trunk/mono/; revision=5650
2002-07-08 16:13:36 +00:00
Paolo Molaro e69a9c1252 Mon Jul 8 15:18:59 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: handle full assembly info in type name.
	Handle Type arguments when loading custom attributes.
	* icall.c: updated to use new mono_reflection_type_from_name () method.

svn path=/trunk/mono/; revision=5648
2002-07-08 13:24:08 +00:00
Dennis Hayes 3019c87e04 2002-7-7 DennisHayes <[email protected]>
* ToolBarButtonClickEventArgs.cs 
* UpDownEventArgs.cs 
* KeyPressEventHandler.cs
* Added new files.

svn path=/trunk/mcs/; revision=5647
2002-07-08 02:53:25 +00:00
Dennis Hayes d849171943 *** empty log message ***
svn path=/trunk/mcs/; revision=5646
2002-07-08 02:50:00 +00:00
Dennis Hayes 495dcdb047 *** empty log message ***
svn path=/trunk/mcs/; revision=5645
2002-07-08 02:44:47 +00:00
Dennis Hayes 59294fa3a7 2002-7-6 DennisHayes <[email protected]>
* AccessibleEvents.cs
* AccessibleNavigation.cs
* AccessibleObject.cs
* AccessibleRole.cs
* AccessibleSelection.cs
* AccessibleStates.cs
* AmbientProperties.cs
* AnchorStyles.cs
* Appearance.cs
* Application.cs
* ApplicationContext.cs
* ArrangeDirection.cs
* ArrangeStartingPosition.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* BootMode.cs
* Border3DSide.cs
* Border3DStyle.cs
* BorderStyle.cs
* BoundsSpecified.cs
* Button.cs
* ButtonBase.cs
* ButtonBorderStyle.cs
* ButtonState.cs
* CaptionButton.cs
* CharacterCasing.cs
* CheckBox.cs
* CheckedListBox.cs
* CheckState.cs
* Clipboard.cs
* ColorDepth.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ColumnHeaderStyle.cs
* ComboBox.cs
* ComboBoxStyle.cs
* CommonDialog.cs
* ComVisible.cs
* ContainerControl.cs
* ContentsResizedEventArgs.cs
* ContentsResizedEventHandler.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlEventHandler.cs
* ControlPaint.cs
* ControlStyles.cs
* ConvertEventArgs.cs
* ConvertEventHandler.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridCell.cs
* DataGridColumnStyle.cs
* DataGridLineStyle.cs
* DataGridParentRowsLabelStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DateTimePicker.cs
* DateTimePickerFormat.cs
* day.cs
* DialogResult.cs
* DockStyle.cs
* DomainUpDown.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* DrawItemState.cs
* DrawMode.cs
* ErrorBlinkStyle.cs
* ErrorIconAlignment.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FlatStyle.cs
* FontDialog.cs
* Form.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* FrameStyle.cs
* Getopt.cs
* GiveFeedbackEventArgs.cs
* GiveFeedbackEventHandler.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridItemType.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventArgs.cs
* HelpEventHandler.cs
* HelpNavigator.cs
* HelpProvider.cs
* HorizontalAlignment.cs
* HScrollBar.cs
* IButtonControl.cs
* ICommandExecutor.cs
* IComponentEditorPageSite.cs
* IContainerControl.cs
* IDataGridColumnStyleEditingNotificationService.cs
* IDataGridEditingService.cs
* IDataObject.cs
* IFeatureSupport.cs
* IFileReaderService.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* ImeMode.cs
* IMessageFilter.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventArgs.cs
* InvalidateEventHandler.cs
* ItemActivation.cs
* ItemBoundsPortion.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventArgs.cs
* ItemCheckEventHandler.cs
* ItemDragEventArgs.cs
* ItemDragEventHandler.cs
* IWin32Window.cs
* IWindowTarget.cs
* KeyEventArgs.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs
* KeyPressEventHandler.cs
* Keys.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LabelEditEventHandler.cs
* LayoutEventArgs.cs
* LayoutEventHandler.cs
* LeftRightAlignment.cs
* LinkArea.cs
* LinkBehavior.cs
* LinkClickedEventArgs.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* LinkState.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewAlignment.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* MdiLayout.cs
* MeasureItemEventArgs.cs
* MeasureItemEventHandler.cs
* Menu.cs
* MenuGlyph.cs
* MenuItem.cs
* MenuMerge.cs
* Message.cs
* MessageBox.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MethodInvoker.cs
* MonthCalendar.cs
* MouseButtons.cs
* MouseEventArgs.cs
* MouseEventHandler.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NavigateEventHandler.cs
* NodeLabelEditEventArgs.cs
* NodeLabelEditEventHandler.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* Orientation.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* PaintEventHandler.cs
* Panel.cs
* PictureBoxSizeMode.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertySort.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventArgs.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventArgs.cs
* QueryContinueDragEventHandler.cs
* RadioButton.cs
* RichTextBox.cs
* RichTextBoxFinds.cs
* RichTextBoxScrollBars.cs
* RichTextBoxSelectionAttribute.cs
* RichTextBoxSelectionTypes.cs
* RichTextBoxStreamType.cs
* RichTextBoxWordPunctuations.cs
* RightToLeft.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollBars.cs
* ScrollButton.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* ScrollEventType.cs
* SecurityIDType.cs
* SelectedGridItemChangedEventArgs.cs
* SelectedGridItemChangedEventHandler.cs
* SelectionMode.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Shortcut.cs
* SizeGripStyle.cs
* SortOrder.cs
* Splitter.cs
* SplitterEventArgs.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs
* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelCollection.cs
* StatusBarPanelStyle.cs
* StructFormat.cs
* SystemInformation.cs
* TabAlignment.cs
* TabAppearance.cs
* TabControl.cs
* TabDrawMode.cs
* TabPage.cs
* TabSizeMode.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* TickStyle.cs
* Timer.cs
* ToolBar.cs
* ToolBarAppearance.cs
* ToolBarButton.cs
* ToolBarButtonClickEventArgs.cs
* ToolBarButtonClickEventHandler.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewAction.cs
* TreeViewCancelEventArgs.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventArgs.cs
* TreeViewEventHandler.cs
* TreeViewImageIndexConverter.cs
* UICues.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownBase.cs
* UpDownEventArgs.cs
* UpDownEventHandler.cs
* UserControl.cs
* View.cs
* VScrollBar.cs
* Monostyled everything!

svn path=/trunk/mcs/; revision=5644
2002-07-08 02:41:08 +00:00
Dennis Hayes 939343634c 2002-7-7 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* ChangeLog
* CheckBox.cs
* CheckedListBox.cs
* ColorDialog.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContextMenu.cs
* ControlEventArgs.cs
* CurrencyManager.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridColumnStyle.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DateTimePickerFormat.cs
* ErrorProvider.cs
* FileDialog.cs
* FontDialog.cs
* Form.cs
* GroupBox.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageList.cs
* KeyPressEventHandler.cs
* Label.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* logfile.txt
* MainMenu.cs
* Menu.cs
* MenuItem.cs
* MonthCalendar.cs
* NotifyIcon.cs
* OpenFileDialog.cs
* PageSetupDialog.cs
* Panel.cs
* PrintDialog.cs
* PropertyManager.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* ScrollableControl.cs
* ScrollBar.cs
* Splitter.cs
* StatusBar.cs
* StatusBarPanel.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* TrackBar.cs
* TreeView.cs
* UpDownBase.cs
* VScrollBar.cs
* Uncommented stuff, re-commented stuff, adding usings, fixed minor syntax errors.

svn path=/trunk/mcs/; revision=5643
2002-07-08 02:38:08 +00:00
Gonzalo Paniagua Javier 91e5108757 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: forgot to add using System.ComponentModel.

	* BaseValidator.cs: use explicitly
	System.ComponentModel.AttributeCollection as there is another class
	with the same name under System.Web.UI.

svn path=/trunk/mcs/; revision=5642
2002-07-08 00:01:33 +00:00
Gonzalo Paniagua Javier ab86d24ae8 forgot...
svn path=/trunk/mcs/; revision=5641
2002-07-07 23:49:19 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +00:00
Gonzalo Paniagua Javier f9426746f8 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: finished implementation.
	* TypeDescriptor.cs: implemented GetAttributes (object).

svn path=/trunk/mcs/; revision=5639
2002-07-07 01:36:46 +00:00
Dennis Hayes 76d8160307 2002-7-6 DennisHayes <[email protected]>
* DragEventArgs.cs
* PropertyValueChangedEventArgs.cs
* InputLanguageChangedEventArgs.cs
* added files

svn path=/trunk/mcs/; revision=5638
2002-07-07 01:30:35 +00:00
Rafael Teixeira 180568d092 2002-07-06 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
	  modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
	* changed driver.cs to follow mcs lead on error/warning counting and reporting

svn path=/trunk/mcs/; revision=5637
2002-07-07 01:20:37 +00:00
Dennis Hayes b6928ae42a 2002-7-6 DennisHayes <[email protected]>
* InputLanguageChangeEventArgs.cs
* moved to InputLanguageChange"d"EventArgs.cs

svn path=/trunk/mcs/; revision=5636
2002-07-07 01:14:44 +00:00
Dennis Hayes 58f9cb65cf 2002-7-6 DennisHayes <[email protected]>
* Form.ControlCollection.cs
* ImageList.ImageCollection.cs
* LinkArea.LinkAreaConverter.cs
* deleted files. contents now in main class files

svn path=/trunk/mcs/; revision=5635
2002-07-07 01:07:53 +00:00
Gonzalo Paniagua Javier f148bf7d75 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* loader.c:
	(method_from_memberref): also print assembly name when method not found.

svn path=/trunk/mono/; revision=5634
2002-07-07 00:49:00 +00:00
Gonzalo Paniagua Javier 99751f953a 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: initialize member variables.

	* RefreshEventArgs.cs: implemented.
	* RefreshEventHandler.cs: New file.

	* TypeDescriptor.cs: fully stubbed out the remaining method.

svn path=/trunk/mcs/; revision=5633
2002-07-07 00:33:39 +00:00
Dennis Hayes 16fb5655cb *** empty log message ***
svn path=/trunk/mcs/; revision=5632
2002-07-07 00:13:38 +00:00
Dennis Hayes a7358e9dfc 2002-7-6 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingsCollection.cs
* CaptionButton.cs
* Clipboard.cs
* ColumnHeader.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlPaint.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateTimePicker.cs
* DomainUpDown.cs
* FeatureSupport.cs
* FontDialog.cs
* Form.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* Help.cs
* IButtonControl.cs
* IFileReaderService.cs
* ImageIndexConverter.cs
* ImageListStreamer.cs
* IMessageFilter.cs
* InputLanguage.cs
* InputLanguageChangeEventArgs.cs
* InputLanguageCollection.cs
* ItemChangedEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* logfile.txt
* MessageBox.cs
* NativeWindow.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OSFeature.cs
* PaintEventArgs.cs
* PrintControllerWithStatusDialog.cs
* PropertyGrid.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventArgs.cs
* Screen.cs
* ScrollEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* SplitterEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* ToolBarButtonClickEventArgs.cs
* ToolTip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeViewCancelEventArgs.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UpDownBase.cs
* UpDownEventArgs.cs
* UserControl.cs
* Added usings, corrected minor syntax errors, uncommented some stuff to flush out compile errors.

svn path=/trunk/mcs/; revision=5631
2002-07-07 00:09:07 +00:00
Gonzalo Paniagua Javier 00c13ec297 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_TypeGetProperties): fixed bug #27473.

svn path=/trunk/mono/; revision=5630
2002-07-06 22:43:07 +00:00
Gonzalo Paniagua Javier 5d6b27ccd8 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: display image name and token when cannot find the
	.ctor for an attribute.

svn path=/trunk/mono/; revision=5628
2002-07-06 18:04:08 +00:00
Gonzalo Paniagua Javier 21c3934525 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* DefaultPropertyAttribute.cs: New file.

svn path=/trunk/mcs/; revision=5627
2002-07-06 17:52:51 +00:00
Gonzalo Paniagua Javier 9bee803913 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* Table.cs:
	(AddAttributesToRender): correctly default to border=1.

svn path=/trunk/mcs/; revision=5625
2002-07-06 16:17:05 +00:00
Andrew Birkett 90c336dfc4 2002-07-06 Andrew Birkett <[email protected]>
* cs-tokenizer.cs (xtoken): Improve handling of string literals.

svn path=/trunk/mcs/; revision=5622
2002-07-06 16:08:53 +00:00
Andrew Birkett 33302f9038 2002-07-06 Andrew Birkett <[email protected]>
* test-74.cs: Added test for \n in verbatim string.

svn path=/trunk/mcs/; revision=5621
2002-07-06 16:06:24 +00:00
Andrew Birkett 0b889c3460 2002-07-06 Andrew Birkett <[email protected]>
* cs1039.cs, cs1033.cs, cs1010.cs: New tests.

svn path=/trunk/mcs/; revision=5620
2002-07-06 16:05:07 +00:00
Andrew Birkett 749d56effa 2002-07-06 Andrew Birkett <[email protected]>
* cs-tokenizer.cs (xtoken): Improve handling of string literals.

svn path=/trunk/mcs/; revision=5619
2002-07-06 16:03:26 +00:00
Ajay kumar Dwivedi f0372f89b0 2002-07-06 Ajay kumar Dwivedi <[email protected]>
* XmlTextWriter: Fixed Indentation. IndentationOverridden should
		not be set when inside a attribute.

svn path=/trunk/mcs/; revision=5618
2002-07-06 14:08:09 +00:00
Ajay kumar Dwivedi df14556dc1 2002-07-06 Ajay kumar Dwivedi <[email protected]>
* XmlTextWriter: In WriteStartElement, if namespace is null and
		prefix is null|empty do not write out xmlns=""

	* XmlWriter: WriteStartElement calls the virtual method with null
		argument instead of empty string.

svn path=/trunk/mcs/; revision=5617
2002-07-06 13:01:54 +00:00
Miguel de Icaza 813918c45f 2002-07-06 Miguel de Icaza <[email protected]>
* ILGenerator.cs (ILGenerator.Emit): For doubles and floats, swap
	the bytes on big endian systems.

svn path=/trunk/mcs/; revision=5615
2002-07-06 04:44:26 +00:00
Radek Doulik aa30ea4e09 2002-07-05 Radek Doulik <[email protected]>
* ppc/tramp.c: removed magic hack

svn path=/trunk/mono/; revision=5614
2002-07-06 01:41:14 +00:00
Martin Baulig adb7f5532c 2002-07-05 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): Fix a bug in the `begin_scope' and
	`end_scope' calculations when linear scan register allocation is disabled.

svn path=/trunk/mono/; revision=5612
2002-07-05 20:44:55 +00:00
Martin Baulig 91b781c221 2002-07-05 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5611
2002-07-05 20:43:27 +00:00
Martin Baulig a523b72ad8 2002-07-05 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Added support for types in referenced assemblies.

svn path=/trunk/mcs/; revision=5610
2002-07-05 20:43:06 +00:00
Sergey Chaban 6fd3c16bb4 SortedList entry.
svn path=/trunk/mcs/; revision=5608
2002-07-05 20:11:49 +00:00
Sergey Chaban 74d6e778f9 * SortedList: added thread-safe wrapper.
svn path=/trunk/mcs/; revision=5607
2002-07-05 20:09:29 +00:00
Gonzalo Paniagua Javier 7ea0661a5b slightly changed view_state generation to allow multiple calls getting the same value.
svn path=/trunk/mcs/; revision=5606
2002-07-05 18:47:38 +00:00
Gonzalo Paniagua Javier 11d553ce61 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(GetViewStateString): new function to give the server access to the
	generated view state string.
	(Validate): d'oh!

svn path=/trunk/mcs/; revision=5604
2002-07-05 18:12:14 +00:00
Gonzalo Paniagua Javier ba81961a6c 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* list: updated. Currently mcs cannot compile System.Web because it
	cannot find NameObjectCollectionBase.KeysCollection.

	* System.Web.build: don't display unused event nor always default value
	warnings by now.

	* System.Web.UI/Control.cs:
	(SaveViewstateRecursive): implemented.
	(SaveViewState): fixed.
	(IParserAccessor.AddParsedSubObject): don't use 'this'.

	* System.Web.UI/Page.cs: added code to save view state to an xml file.
	It's not being used right now.

	* System.Web.UI.WebControls/AdRotator.cs:
	(LoadAdFile): make the dictionary null after every iteration.

	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListControl.cs:
	* System.Web.UI.WebControls/ListItem.cs: fixed warnings.

svn path=/trunk/mcs/; revision=5603
2002-07-05 14:35:29 +00:00
Martin Baulig e7d4f4c441 2002-07-05 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5602
2002-07-05 14:06:39 +00:00
Martin Baulig 8c48501f63 2002-07-05 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Added support for arrays.

	* gdb-csharp-support.patch: Updated.

svn path=/trunk/mcs/; revision=5601
2002-07-05 14:05:15 +00:00
Gonzalo Paniagua Javier 86709d74f2 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: implemented .ctor (Stream).

svn path=/trunk/mcs/; revision=5600
2002-07-05 14:00:34 +00:00
Gonzalo Paniagua Javier 05add8da92 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: don't render action attribute.

svn path=/trunk/mcs/; revision=5599
2002-07-05 13:13:37 +00:00
Gonzalo Paniagua Javier 6b0bd13fed 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* HybridDictionary.cs:
	(Remove): fixed. The value is either in the list or in the hash.

svn path=/trunk/mcs/; revision=5598
2002-07-05 11:44:23 +00:00
Miguel de Icaza 99ae181aae Flush
svn path=/trunk/mcs/; revision=5596
2002-07-04 20:48:42 +00:00
Gonzalo Paniagua Javier 87ea4f635d 2002-07-04 Gonzalo Paniagua Javier <[email protected]>
* HtmlContainerControl.cs:
	(CreateControlCollection): added. All containers must have a non-empty
	control collection.

svn path=/trunk/mcs/; revision=5595
2002-07-04 20:29:22 +00:00
Miguel de Icaza face270c06 Flush
svn path=/trunk/mono/; revision=5594
2002-07-04 20:28:02 +00:00
Miguel de Icaza f714f60559 2002-06-24 Andrew Birkett <[email protected]>
* BitVector32.cs: Implemented 'set' section indexer.  Check for
	overly large sections.	Factored out some helper methods.

svn path=/trunk/mcs/; revision=5593
2002-07-04 20:27:32 +00:00
Miguel de Icaza 9e8c02ef95 Update
svn path=/trunk/mono/; revision=5591
2002-07-04 19:21:56 +00:00
Dick Porter 15e22fd534 2002-07-04 Dick Porter <[email protected]>
* daemon.c (process_process_fork): Fix argument handling, due to
	buggy understanding of g_strsplit() behaviour.

svn path=/trunk/mono/; revision=5590
2002-07-04 19:04:20 +00:00
Ajay kumar Dwivedi b0102fd031 2002-07-05 Ajay kumar Dwivedi <[email protected]>
* XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.

	* XmlSerializerNamespaces: Reverted to use of a single Hashtable.

svn path=/trunk/mcs/; revision=5589
2002-07-04 18:46:35 +00:00
Miguel de Icaza edac290a6f 2002-07-04 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (define): We also have to track locally the
	defines.  AllDefines is just used for the Conditional Attribute,
	but we also need the local defines for the current source code.

svn path=/trunk/mcs/; revision=5588
2002-07-04 18:20:10 +00:00
Ajay kumar Dwivedi ed0070bf88 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
* XmlSchema: Started work on Validate methods

svn path=/trunk/mcs/; revision=5587
2002-07-04 17:40:38 +00:00
Dick Porter 7a9d30fd31 2002-07-04 Dick Porter <[email protected]>
* threads.c (mono_thread_cleanup): Nasty kludge to get this to
	compile on mingw.  This will cause mingw builds to not wait for
	subthreads to terminate after the main thread does.  I've lodged a
	bug with the mingw developers for them to wrap OpenThread().

svn path=/trunk/mono/; revision=5586
2002-07-04 16:01:52 +00:00
Nick Drochak 08a758fcb1 2002-07-04 Nick Drochak <[email protected]>
* DateTimeTest.cs: Made tests pass on ms.net.  Well, they pass in
	timezone JST.  Need to test in others.  Maybe I'll fly over to GMT
	and see how they work.  Supposed to be eaiser there.

svn path=/trunk/mcs/; revision=5585
2002-07-04 14:58:33 +00:00
Dennis Hayes b38f74748a 2002-7-3 DennisHayes <[email protected]>
* AccessibleObject.cs
* Application.cs
* AxHost.cs
* Button.cs
* Control.cs
* Form.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* ImageIndexConverter.cs
* ImageListStreamer.cs
* InputLanguageChangingEventArgs.cs
* KeysConverter.cs
* Label.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBox.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* Menu.cs
* NumericUpDown.cs
* ScrollableControl.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelCollection.cs
* TabControl.cs
* TrackBar.cs
* TreeNodeCollection.cs
* added usings, minor syntax corrections.

svn path=/trunk/mcs/; revision=5584
2002-07-03 22:03:56 +00:00
Miguel de Icaza e29849f38f 2002-07-03 Miguel de Icaza <[email protected]>
* statement.cs (While, For, Do): These loops can exit through a
	Break statement, use this information to tell whether the
	statement is the last piece of code.

	(Break): Flag that we break.

	* codegen.cs (EmitContexts): New `Breaks' state variable.

svn path=/trunk/mcs/; revision=5583
2002-07-03 21:47:08 +00:00
Miguel de Icaza 2ec4ad4ed7 Add new test
svn path=/trunk/mcs/; revision=5582
2002-07-03 21:46:25 +00:00
Dennis Hayes 844f8cc5ad 2002-7-3 DennisHayes <[email protected]>
* checked in for Jaak Simm ([email protected])
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertyTabChangedEventArgs.cs
* new files added

svn path=/trunk/mcs/; revision=5581
2002-07-03 21:30:26 +00:00
Dick Porter 4425617dca 2002-07-03 Dick Porter <[email protected]>
* threads.c: Store thread IDs instead of handles, because
	GetCurrentThread() returns a pseudohandle and therefore stores
	useless values.  mono_thread_cleanup() continues checking the
	array of threads until it is empty, to cope with subthreads
	spawning new threads after the main thread has finished.

	* profiler.h:
	* profiler.c:
	* profiler-private.h: Pass the thread ID to thread profiler
	functions, instead of a handle

2002-07-03  Dick Porter  <[email protected]>

	* threads.h:
	* threads.c: Implement OpenThread().  Define access-control values
	for thread handles.

	* wapi.h:
	* processes.h:
	* access.h:
	* Makefile.am: Added access.h, to hold shared access-control
	definitions

svn path=/trunk/mono/; revision=5578
2002-07-03 18:11:44 +00:00
Paolo Molaro 68043132f6 Wed Jul 3 17:43:52 CEST 2002 Paolo Molaro <[email protected]>
* verify.c: fixes to make it more usable.
	* pedump.c: added --verify code to verify IL code in an assembly.

svn path=/trunk/mono/; revision=5577
2002-07-03 15:49:46 +00:00
Nick Drochak a0f1a87a2b 2002-07-04 Nick Drochak <[email protected]>
* ConvertTest.cs: Make the test generate the overflow exceptions on
	mono on Linux.
	* DecimalTest2.cs: Report exception thrown during subtraction.

svn path=/trunk/mcs/; revision=5576
2002-07-03 15:21:02 +00:00
Nick Drochak e9489e0a57 2002-07-03 Nick Drochak <[email protected]>
* Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
	the divisor is not) and avoid the icall, which seems to have a bug.

svn path=/trunk/mcs/; revision=5575
2002-07-03 15:00:23 +00:00
Adam Treat 8c947a8708 * Added a link to qt#
svn path=/trunk/mono/; revision=5574
2002-07-03 14:42:35 +00:00
Martin Baulig 07fd75b332 2002-07-03 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (corlib_object_type, corlib_value_type): Moved
	these fields up after the last entry in MonoReflectionAssemblyBuilder
	in reflection.h.

	* TypeBuilder.cs (IsValueTypeImpl): Use the AssemblyBuilder's
	`corlib_value_type' instead of `typeof (System.ValueType)'.
	(DefineNestedType): Use the AssemblyBuilder's `corlib_object_type'
	instead of `typeof (object)'.

svn path=/trunk/mcs/; revision=5573
2002-07-03 12:22:22 +00:00
Nick Drochak 2ef31f05b0 2002-07-03 Nick Drochak <[email protected]>
* Double.cs (CompareTo): Correctly handle the case where the instance
	is NaN. Also return 0 if the values are equal.

svn path=/trunk/mcs/; revision=5572
2002-07-03 11:51:46 +00:00
Nick Drochak 98e291f28a 2002-07-03 Nick Drochak <[email protected]>
* DoubleTest.cs: Fix some Assert/AssertEquals usage.

svn path=/trunk/mcs/; revision=5571
2002-07-03 11:49:37 +00:00
Martin Baulig c002b81e10 2002-07-03 Martin Baulig <[email protected]>
* class.cs (TypeContainer.MethodModifiersValid): Allow override
	modifiers in method declarations in structs.  Otherwise, you won't
	be able to override things like Object.Equals().

svn path=/trunk/mcs/; revision=5570
2002-07-03 11:47:38 +00:00
Nick Drochak 946a332518 2002/07/03 Nick Drochak <[email protected]>
* MissingMethodException: Add missing Message property
	* MissingMemberException: Add missing Message property

svn path=/trunk/mcs/; revision=5569
2002-07-03 04:00:05 +00:00
Dennis Hayes 5be830f1de 2002-7-2 DennisHayes <[email protected]>
* Application.cs
* ControlEventArgs.cs
* Form.cs
* merged changes made by miguel and hestilow in gkt# to system.windows.forms

svn path=/trunk/mcs/; revision=5568
2002-07-03 02:36:43 +00:00
Miguel de Icaza 9c811142a1 Flush:
svn path=/trunk/mono/; revision=5567
2002-07-03 02:28:42 +00:00
Dennis Hayes 74b584ab28 2002-7-2 DennisHayes <[email protected]>
* Button.cs
* ButtonBase.cs
* ContainerControl.cs
* Label.cs
* ScrollableControl.cs
* Copied changes made by miguel and hestilow in gkt# to system.windows.forms

svn path=/trunk/mcs/; revision=5566
2002-07-03 02:10:26 +00:00
Dennis Hayes 96c06b2de1 2002-7-2 DennisHayes <[email protected]>
*  Checked in for Richard Baumann ([email protected])
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateTimePicker.cs
* DomainUpDown.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* added new files

svn path=/trunk/mcs/; revision=5565
2002-07-03 01:37:04 +00:00
Miguel de Icaza ef94557498 2002-07-02 Miguel de Icaza <[email protected]>
* class.cs (Method, Property, Indexer): Do not allow the public
	modifier to be used in explicit interface implementations.

	(TypeContainer.MethodModifiersValid): Catch virtual, abstract and
	override modifiers in method declarations in structs

2002-07-02   Andrew Birkett <[email protected]>

	* cs-tokenizer.cs (adjust_int, adjust_real): Do not abort on
	integer or real overflow, report an error

svn path=/trunk/mcs/; revision=5564
2002-07-03 01:31:33 +00:00
Miguel de Icaza ce71f4631c Add new tests from Andrew
svn path=/trunk/mcs/; revision=5563
2002-07-03 01:30:48 +00:00
Dennis Hayes 4e59f39f00 2002-7-1 DennisHayes <[email protected]>
* checked in for Jaak Simm ([email protected])
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridColumnStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* new classes added

svn path=/trunk/mcs/; revision=5562
2002-07-03 01:23:58 +00:00
Dennis Hayes 602f764a59 2002-7-1 DennisHayes <[email protected]>
*  Checked in for Richard Baumann ([email protected])
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* SystemInformation.cs
* Minor changes by Rich B

svn path=/trunk/mcs/; revision=5561
2002-07-03 01:17:33 +00:00
Mike Kestner a1282a284c 2002-07-02 Mike Kestner <[email protected]>
* StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.

svn path=/trunk/mcs/; revision=5560
2002-07-03 00:45:41 +00:00
Mike Kestner b6e95be946 2002-07-02 Mike Kestner <[email protected]>
* StreamReader.cs: Revert the last Peek change and fix the ReadLine
	end of line detection code instead.

svn path=/trunk/mcs/; revision=5559
2002-07-03 00:18:22 +00:00
Miguel de Icaza 66e3276ea1 Add new error
svn path=/trunk/mcs/; revision=5558
2002-07-02 21:15:19 +00:00
Miguel de Icaza d8429897e1 2002-07-02 Miguel de Icaza <[email protected]>
* class.cs (Method, Property, Indexer): Do not allow the public
	modifier to be used in explicit interface implementations.

svn path=/trunk/mcs/; revision=5557
2002-07-02 21:14:19 +00:00
Martin Baulig d92c9ee9ef 2002-07-02 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.InitCoreTypes): When compiling
	corlib, dynamically call AssemblyBuilder.SetCorlibTypeBuilders()
	to tell the runtime about our newly created System.Object and
	System.ValueType types.

svn path=/trunk/mcs/; revision=5556
2002-07-02 20:04:28 +00:00
Martin Baulig db84a073b2 2002-07-02 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (corlib_object_type, corlib_value_type): New
	internal fields.  When compiling corlib, they point to the newly
	created System.Object and System.ValueType types.
	(SetCorlibTypeBuilders): New public function.  This will be
	dynamically called from MCS when compiling corlib.

	* TypeBuilder.cs (DefineInitializedData): Use the AssemblyBuilder's
	`corlib_value_type' as parent type instead of `typeof (System.ValueType)'
	to make it work when compiling corlib.

	* ModuleBuilder.cs (assemblyb): Made this field internal, not private.

svn path=/trunk/mcs/; revision=5555
2002-07-02 20:02:47 +00:00
Miguel de Icaza ce8ced4e55 Add new test
svn path=/trunk/mcs/; revision=5554
2002-07-02 19:28:50 +00:00
Martin Baulig 2bee64eb49 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (Indirection.Indirection): Call
	TypeManager.TypeToCoreType() on `expr.Type.GetElementType ()'.

svn path=/trunk/mcs/; revision=5553
2002-07-02 18:56:42 +00:00
Miguel de Icaza 9d67011b3b 2002-07-02 Miguel de Icaza <[email protected]>
* expression.cs (This): Use Stobj/Ldobj when we are a member of a
	struct instead of Ldarg/Starg.

svn path=/trunk/mcs/; revision=5552
2002-07-02 18:47:30 +00:00
Martin Baulig b341bce1c9 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): If the type is a
	ValueType, call TypeManager.TypeToCoreType() on it.
	(Invocations.EmitParams): Call TypeManager.TypeToCoreType() on
	the OpCodes.Newarr argument.

svn path=/trunk/mcs/; revision=5551
2002-07-02 18:44:54 +00:00
Paolo Molaro 5ad57cb453 Tue Jul 2 20:40:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: turn errors into warnings to allow compiling corlib.

svn path=/trunk/mono/; revision=5550
2002-07-02 18:42:24 +00:00
Gonzalo Paniagua Javier 9cd689ad52 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs:
	(Peek): no need to have seek capabilitites.

svn path=/trunk/mcs/; revision=5549
2002-07-02 18:17:53 +00:00
Martin Baulig 2327b43b50 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): When compiling corlib,
	replace all calls to the system's System.Array type to calls to
	the newly created one.

	* typemanager.cs (TypeManager.InitCodeHelpers): Added a few more
	System.Array methods.
	(TypeManager.InitCoreTypes): When compiling corlib, get the methods
	from the system's System.Array type which must be replaced.

svn path=/trunk/mcs/; revision=5548
2002-07-02 18:17:48 +00:00
Paolo Molaro fb88fb24f7 Tue Jul 2 19:33:20 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: add special cases to compile corlib.

svn path=/trunk/mono/; revision=5547
2002-07-02 17:35:33 +00:00
Martin Baulig 4f8542e16b 2002-07-02 Martin Baulig <[email protected]>
* get.c (dis_stringify_object_with_class): New static function to
	stringify an object when we already have its class.
	(dis_stringify_object): Get the class and call dis_stringify_object().
	(get_method): Call dis_stringify_object_with_class() since we already
	have the object's class.

svn path=/trunk/mono/; revision=5546
2002-07-02 17:34:48 +00:00
Paolo Molaro 9f5d5cc3b2 Tue Jul 2 19:05:05 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: load unverifiable_code_ctor so we can build
	corlib using the correct type. Avoid using GetTypeCode() with
	TypeBuilders.
	* rootcontext.cs: uses TypeManager.unverifiable_code_ctor and
	TypeManager.object_type to allow building corlib.

svn path=/trunk/mcs/; revision=5545
2002-07-02 17:11:57 +00:00
Paolo Molaro c1cc550c39 Tue Jul 2 19:03:19 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: handle System.Enum separately in LoadFromPtr().

svn path=/trunk/mcs/; revision=5544
2002-07-02 17:05:18 +00:00
Paolo Molaro 58202fd3f7 Tue Jul 2 18:34:49 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: implemented AssemblyQualifiedName.
	* MethodBuilder.cs, ConstructorBuilder.cs: special case custom attr.

svn path=/trunk/mcs/; revision=5543
2002-07-02 16:36:33 +00:00
Gonzalo Paniagua Javier 75d5b5a7bc 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
* mono.c: removed the "RESULT: X" message.

svn path=/trunk/mono/; revision=5541
2002-07-02 15:50:35 +00:00
Nick Drochak 766d740733 2002-07-03 Nick Drochak <[email protected]>
* ArrayTest.cs: Re-enable some tests.  Let's see what's broken still.

svn path=/trunk/mcs/; revision=5540
2002-07-02 15:28:58 +00:00
Ajay kumar Dwivedi 011f05764f 2002-07-02 Ajay kumar Dwivedi <[email protected]>
* XmlSeriailizer: Updated Serialize() method.

svn path=/trunk/mcs/; revision=5539
2002-07-02 15:11:48 +00:00
Nick Drochak d364765903 2002-07-02 Nick Drochak <[email protected]>
* SortedList.cs: Constructors should use the capacity given regardless
	how small. After a Clear() the Capacit should be 16. Since a Dictionary
	might be used in the constructor, make sure we trap exceptions thrown
	by the Comparer, like in Add().

svn path=/trunk/mcs/; revision=5538
2002-07-02 14:51:34 +00:00
Nick Drochak 767c1b9056 2002-07-02 Nick Drochak <[email protected]>
* SortedListTest.cs: Fix some expected/actual value parameters for
	AssertEquals().

svn path=/trunk/mcs/; revision=5537
2002-07-02 14:50:15 +00:00
Dick Porter 5c59f7431f 2002-07-02 Dick Porter <[email protected]>
* wapi-private.h (_WAPI_HANDLE_VERSION): New protocol version

svn path=/trunk/mono/; revision=5536
2002-07-02 14:34:44 +00:00
Dick Porter 63753a2486 2002-07-02 Dick Porter <[email protected]>
* handles.c (shared_init): Make a second attempt to contact the
	daemon if the shared memory attach succeeds, but the connect()
	fails. (This copes with the daemon crashing without cleaning up
	the shared memory.)

	* Makefile.am:
	* daemon-private.h:
	* daemon.c:
	* shared.c (_wapi_shm_attach): Don't exec() anything when we fork
	the daemon, it's now built into the library.

svn path=/trunk/mono/; revision=5535
2002-07-02 14:32:54 +00:00
Miguel de Icaza 3b9d8a10cf Further updates to the makefile
svn path=/trunk/mcs/; revision=5534
2002-07-02 03:56:07 +00:00
Miguel de Icaza 65b228757e flush
svn path=/trunk/mcs/; revision=5532
2002-07-02 02:02:15 +00:00
Miguel de Icaza 91a1ece6f3 Put my tests back, this is used by the compiler people in their day to
day work.

svn path=/trunk/mcs/; revision=5531
2002-07-02 01:58:09 +00:00
Dennis Hayes c42bab05ef 2002-7-1 DennisHayes <[email protected]>
* changelog
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventArgs.cs
* TreeViewEventArgs.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UserControl.cs
* VScrollBar.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5529
2002-07-01 18:51:35 +00:00
Dennis Hayes 659f675bb5 2002-7-1 DennisHayes <[email protected]>
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventArgs.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5528
2002-07-01 18:51:09 +00:00
Dennis Hayes 89e43e95b6 2002-7-1 DennisHayes <[email protected]>
* MeasureItemEventArgs.cs
* Menu.cs MenuItem.cs
* Message.cs
* MessageBox.cs
* MonthCalendar.cs
* MouseEventArgs.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* RadioButton.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5527
2002-07-01 18:50:38 +00:00
Dennis Hayes 5e999f7a52 2002-7-1 DennisHayes <[email protected]>
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* IWin32Window.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LabelEditEventHandler.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5526
2002-07-01 18:50:17 +00:00
Dennis Hayes 0043912f16 2002-7-1 DennisHayes <[email protected]>
* ErrorProvider.cs 
* FeatureSupport.cs
* FileDialog.cs
* Form.cs
* GiveFeedbackEventArgs.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs 
* HelpEventArgs.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageCollection.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5525
2002-07-01 18:48:36 +00:00
Dennis Hayes 4186e01125 2002-7-1 DennisHayes <[email protected]>
* ContentsResizedEventArgs.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5524
2002-07-01 18:47:46 +00:00
Dennis Hayes 7d16379857 2002-7-1 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* ArrangeDirection.cs
* AxHost.cs BaseCollection.cs
* Binding.cs BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ComVisible.cs
* ContainerControl.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5523
2002-07-01 18:47:14 +00:00
Dennis Hayes 1ceef4a7d7 2002-7-1 DennisHayes <[email protected]>
* changelog
* reversed order, putting most recent entries at the top

svn path=/trunk/mcs/; revision=5522
2002-07-01 18:40:27 +00:00
Paolo Molaro bc7e3329e1 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <[email protected]>
* MonoProperty.cs: handle properties with only a set method.

svn path=/trunk/mcs/; revision=5521
2002-07-01 16:02:45 +00:00
Paolo Molaro 0c016b6a26 Mon Jul 1 18:00:40 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle properties with only a set method.

svn path=/trunk/mono/; revision=5520
2002-07-01 16:02:12 +00:00
Martin Baulig 6a2ef23967 2002-07-01 Martin Baulig <[email protected]>
* class.cs: Make the last change actually work, we need to check
	whether `ifaces != null' to avoid a crash.

svn path=/trunk/mcs/; revision=5519
2002-07-01 15:23:44 +00:00
Paolo Molaro 9c4dfe1423 Mon Jul 1 17:11:11 CEST 2002 Paolo Molaro <[email protected]>
* opcodes.h: add enum with opcodes in opval order.

svn path=/trunk/mono/; revision=5518
2002-07-01 15:12:34 +00:00
Paolo Molaro f72dc52e7c New test.
svn path=/trunk/mcs/; revision=5517
2002-07-01 14:56:16 +00:00
Paolo Molaro 23a705be7e Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <[email protected]>
* Style.cs, TableRow.cs, DataListItem.cs: fix compilation.

svn path=/trunk/mcs/; revision=5516
2002-07-01 14:34:26 +00:00
Paolo Molaro 9c3768154d Mon Jul 1 16:17:29 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: implemented AddInterfaceImplementation().

svn path=/trunk/mcs/; revision=5515
2002-07-01 14:18:33 +00:00
Paolo Molaro d87a46d631 Mon Jul 1 16:15:03 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: when we build structs without fields that implement
	interfaces, we need to add the interfaces separately, since there is
	no API to both set the size and add the interfaces at type creation
	time.

svn path=/trunk/mcs/; revision=5514
2002-07-01 14:17:33 +00:00
Dietmar Maurer 8901557819 2002-07-01 Dietmar Maurer <[email protected]>
* exception.c (arch_get_call_finally): restore caller saved
	register used by global reg. allocation when calling finally
	handlers (fixes bug #24943).

svn path=/trunk/mono/; revision=5513
2002-07-01 13:22:41 +00:00
Paolo Molaro 033eb60626 Mon Jul 1 14:50:47 CEST 2002 Paolo Molaro <[email protected]>
* expression.cs: the dimension arguments to the array constructors
	need to be converted if they are a long.

svn path=/trunk/mcs/; revision=5512
2002-07-01 13:00:42 +00:00
Dick Porter 145df12aef 2002-07-01 Dick Porter <[email protected]>
* object.h:
	* object.c (mono_runtime_run_main): Removed unneeded argument

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

	* interp.c (ves_exec): Removed unneeded argument to
	mono_runtime_run_main()

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

	* jit.c (mono_jit_exec): Removed unneeded argument to
	mono_runtime_run_main()

svn path=/trunk/mono/; revision=5511
2002-07-01 12:11:06 +00:00
Dietmar Maurer e018440fe8 remove useless init code
svn path=/trunk/mono/; revision=5510
2002-07-01 11:45:50 +00:00
Paolo Molaro ed81b1c29f Mon Jul 1 12:26:12 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: don't emit ldarg.0 if there is no parent constructor
	(fixes showstopper for corlib).

svn path=/trunk/mcs/; revision=5509
2002-07-01 10:28:40 +00:00
Gonzalo Paniagua Javier 47418d0455 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
	* DataGridPagerStyle.cs:
	* DataList.cs:
	* DataListItem.cs:
	* Image.cs:
	* LinkButton.cs:
	* ListControl.cs:
	* ListItem.cs:
	* ListItemCollection.cs:
	* Repeater.cs:
	* ServerValidateEventArgs.cs:
	* Style.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: more class status page based changes.

svn path=/trunk/mcs/; revision=5508
2002-06-30 23:24:53 +00:00
Rachel Hestilow a6875fd9d3 2002-06-30 Rachel Hestilow <[email protected]>
* Button.cs, ButtonBase.cs, ControlEventArgs.cs,
	ControlEventHandler.cs, DialogResult.cs,
	IButtonControl.cs, IContainerControl.cs:
	Copied over from stubs directory. Preliminary implementation.

	* Control.cs: Implement ControlCollection, TextChanged,
	Controls, CreateControlsInstance, ControlAdded, ControlRemoved,
	ControlLocationChanged, OnControlAdded, OnControlRemoved,
	Location, LocationChanged, OnLocationChanged, Click, OnClick,
	and Anchor.
	(Show): s/EmitShow/Show
	(CreateWidget): Create a Gtk.Layout.
	(Text): Call OnTextChanged.

	* Form.cs (CreateWidget): Add base class contents to window.
	(Text): Remove, move to OnTextChanged where it's supposed to be.
	(OnTextChanged): Added.

	* demo.cs: Test new features (Button, Label).

svn path=/trunk/mcs/; revision=5507
2002-06-30 21:21:55 +00:00
Gonzalo Paniagua Javier 129ad6efaa 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponse.cs:
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.UI/LiteralControl.cs:
	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	* System.Web.UI.HtmlControls/HtmlButton.cs:
	* System.Web.UI.HtmlControls/HtmlControl.cs:
	* System.Web.UI.HtmlControls/HtmlForm.cs:
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
	* System.Web.UI.HtmlControls/HtmlInputControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
	* System.Web.UI.HtmlControls/HtmlInputImage.cs:
	* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputText.cs:
	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	* System.Web.UI.HtmlControls/HtmlTable.cs:
	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	* System.Web.UI.HtmlControls/HtmlTextArea.cs:

	Fixes based on class status page:

		- Add attributes (DefaultEvent, ParseChildren).
		- Fix declarations.
		- Explicitly implement some interfaces (IPostBackDataHandler
		and IPostBackEventHandler).
		- Implemented some missing methods.

svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Nick Drochak 246dc289a8 2002-06-30 Nick Drochak <[email protected]>
* SortedListTest.cs: Fix some expected/actual value parameters in the
	Assert()'s. Disable a part of test until the class is finished.

svn path=/trunk/mcs/; revision=5505
2002-06-30 14:36:34 +00:00
Nick Drochak 6a57e507f5 2002-06-30 Nick Drochak <[email protected]>
* SortedList.cs: Many fixed. A lot of checking for null and throwing
	exceptions.  A few logic bugs fixed as well

svn path=/trunk/mcs/; revision=5504
2002-06-30 14:35:57 +00:00
Nick Drochak f9c4b2ce49 2002-06-30 Nick Drochak <[email protected]>
* Double.cs (CompareTo): Just see which is bigger.  Don't use the
	subtraction trick, it doesn't work when the values have a diference of
	less than one.

	* Single.cs (CompareTo): same

svn path=/trunk/mcs/; revision=5503
2002-06-30 14:35:21 +00:00
Piers Haken b795373f90 2002-06-29 Piers Haken <[email protected]>
* Expression.cs:
		- remove dead code
		- NodeTest uses XPathResultType instead of internal NodeTestTypes enum
		- remove NodeTestTypes enum
		- remove NodeTestTypeAny (functionality provided by base now)
		- fix ExprStep to handle wildcard QNames

	* Parser.jay:
		- moved to Mono.Xml.XPath namespace
		- use XPathResultType
		- handle wildcard QNames

	* Tokenizer.cs: moved to Mono.Xml.XPath namespace

	* XPathNavigator.cs: implement
		- IsDescendant
		- SelectAncestors
		- SelectDescendants
		- SelectChildren

	* XPathResultType.cs: fix enum values

svn path=/trunk/mcs/; revision=5502
2002-06-29 20:21:13 +00:00
Martin Baulig 5ada643516 2002-06-29 Martin Baulig <[email protected]>
MCS now compiles corlib on GNU/Linux :-)

	* attribute.cs (Attribute.ApplyAttributes): Treat Accessors like Method,
	ie. check for MethodImplOptions.InternalCall.

	* class.cs (TypeContainer.DefineType): When compiling corlib, both parent
	and TypeManager.attribute_type are null, so we must explicitly check
	whether parent is not null to find out whether it's an attribute type.
	(Property.Emit): Always call Attribute.ApplyAttributes() on the GetBuilder
	and SetBuilder, not only if the property is neither abstract nor external.
	This is necessary to set the MethodImplOptions on the accessor methods.
	(Indexer.Emit): Call Attribute.ApplyAttributes() on the GetBuilder and
	SetBuilder, see Property.Emit().

	* rootcontext.cs (RootContext.PopulateTypes): When compiling corlib, don't
	populate "System.Object", "System.ValueType" and "System.Attribute" since
	they've already been populated from BootCorlib_PopulateCoreTypes().

svn path=/trunk/mcs/; revision=5501
2002-06-29 18:17:32 +00:00
Gonzalo Paniagua Javier a524bd67b5 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs:
	(Session): return null instead of throwing an exception.

	* System.Web/HttpRequest.cs:
	(HttpMethod): return RequestType if not set.
	(GetRawContent): return QueryString if we don't have a
	HttpWorkerRequest.

	* System.Web/HttpUtility.cs: fixed Decode and Encode.

	* System.Web.UI/Control.cs: reimplemented FindControls.

	* System.Web.UI/Page.cs:
	(.ctor): set the page for this control.
	(IsPostBack): return valid value.
	(DeterminePostBackMode): finished.
	(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
	(ProcessPostData): implemented. Raises change and postback events.
	(ProcessRequest): changed to support reuse of the instance.
	(RegisterRequiresPostBack): implemented.

	* System.Web.UI/ValidatorCollection.cs: implemented all methods.

	* System.Web.UI.WebControls/Button.cs:
	(.ctor): fixed to render the correct tag.
	(IPostBAckEventHandler.RaisePostBackEvent): fixed.

svn path=/trunk/mcs/; revision=5499
2002-06-29 16:27:54 +00:00
Martin Baulig fb53523db8 2002-06-29 Martin Baulig <[email protected]>
* AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.

	* *.cs (Create (string)): Don't call the non-args version of Create(),
	duplicate their contents here.  [FIXME: I was too lazy to hunt this bug down
	in mcs and it was the last one which prevented us from compiling corlib.]

svn path=/trunk/mcs/; revision=5498
2002-06-29 03:36:15 +00:00
Martin Baulig 6a2255bf98 2002-06-29 Martin Baulig <[email protected]>
* ecore.cs (Expression.ImplicitReferenceConversionExists): If expr
	is the NullLiteral, we also need to make sure that target_type is not
	an enum type.

svn path=/trunk/mcs/; revision=5497
2002-06-29 03:21:05 +00:00
Martin Baulig a0ad09563a 2002-06-29 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.ResolveCore): We must initialize
	`TypeManager.multicast_delegate_type' and `TypeManager.delegate_type'
	before calling BootstrapCorlib_ResolveDelegate ().

svn path=/trunk/mcs/; revision=5496
2002-06-29 02:14:07 +00:00
Dennis Hayes 622f22afea 2002-6-28 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* Tooltip.cs
* new class

svn path=/trunk/mcs/; revision=5495
2002-06-29 02:01:29 +00:00
Martin Baulig 9a1c4f7293 2002-06-29 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.

svn path=/trunk/mcs/; revision=5494
2002-06-29 01:00:23 +00:00
Martin Baulig 24dab91082 2002-06-29 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
	corresponding struct/class declarations.

svn path=/trunk/mcs/; revision=5493
2002-06-28 23:41:35 +00:00
Martin Baulig 496a632391 2002-06-28 Martin Baulig <[email protected]>
* debug.c (debug_generate_method_lines, mono_debug_add_method): Make methods
	start on the nop instruction to make single-stepping into an already-JITed
	method work.

svn path=/trunk/mono/; revision=5492
2002-06-28 21:15:16 +00:00
Martin Baulig d35f565566 2002-06-28 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5491
2002-06-28 21:13:38 +00:00
Martin Baulig 93ba208e13 2002-06-28 Martin Baulig <[email protected]>
* gdb-csharp-support.patch: Updated.

svn path=/trunk/mcs/; revision=5490
2002-06-28 21:12:35 +00:00
Martin Baulig b52669cb34 2002-06-28 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Use a TAG_string_type when we're using GNU extensions.
	Make static struct/class fields actually work.  Provide a TAG_typedef for struct's
	and classes.

svn path=/trunk/mcs/; revision=5489
2002-06-28 21:07:49 +00:00
Martin Baulig a105777207 2002-06-28 Martin Baulig <[email protected]>
* MethodBuilder.cs (GetParameters): Return all parameters, not all
	but the last one.

svn path=/trunk/mcs/; revision=5488
2002-06-28 21:05:32 +00:00
Gonzalo Paniagua Javier f91cca27ba Removed backup file. Thanks Juli!
svn path=/trunk/mcs/; revision=5487
2002-06-28 16:27:23 +00:00
Dietmar Maurer 8c699e48b3 marshal tests
svn path=/trunk/mono/; revision=5486
2002-06-28 08:24:15 +00:00
Gonzalo Paniagua Javier 3d2b54f23f 2002-06-27 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: fixed build-breaker. All tests passed ok.

svn path=/trunk/mcs/; revision=5485
2002-06-27 19:46:13 +00:00
Duncan Mak afd74cae6e Merged in patches from Jesus Suarez ([email protected]).
svn path=/trunk/mcs/; revision=5484
2002-06-27 19:21:51 +00:00
Martin Baulig 49de146404 2002-06-27 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.VerifyUnManaged): Added explicit check
	for System.Decimal when compiling corlib.

svn path=/trunk/mcs/; revision=5483
2002-06-27 18:14:19 +00:00
Martin Baulig 76ee2a7363 2002-06-27 Martin Baulig <[email protected]>
* statement.cs (Switch.TableSwitchEmit): Make this work with empty
	switch blocks which contain nothing but a default clause.

svn path=/trunk/mcs/; revision=5482
2002-06-27 18:07:30 +00:00
Martin Baulig 944b0cdf48 2002-06-27 Martin Baulig <[email protected]>
* ConstructorBuilder.cs (GetParameters): Implemented.

svn path=/trunk/mcs/; revision=5481
2002-06-27 17:14:16 +00:00
Ravi Pratap M 6d4a4bbcb5 Apply patches from Andrew
svn path=/trunk/mcs/; revision=5480
2002-06-27 16:37:52 +00:00
Dick Porter 9deb8e37ab 2002-06-27 Dick Porter <[email protected]>
* threads.c: Store the handle in both the parent thread and in the
	subthread, to minimise the time between starting a new thread and
	storing its ID.

svn path=/trunk/mono/; revision=5479
2002-06-27 16:04:34 +00:00
Ajay kumar Dwivedi 3a5acc4f4c 2002-06-27 Ajay kumar Dwivedi <[email protected]>
* XmlSerializer: Serialize() method Partially Implemented.

svn path=/trunk/mcs/; revision=5478
2002-06-27 10:36:28 +00:00
John Barnette 70c85b729e Further adventures in XML serialization. W00t!
svn path=/trunk/mcs/; revision=5477
2002-06-27 01:08:04 +00:00
Martin Baulig 3775fc8d49 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.PropertyExpr): Call
	TypeManager.TypeToCoreType() on the `pi.PropertyType'.

	* typemanager.cs (TypeManager.TypeToCoreType): Return if the type
	is already a TypeBuilder.

svn path=/trunk/mcs/; revision=5476
2002-06-26 20:26:38 +00:00
Martin Baulig bca8446bb4 2002-06-27 Martin Baulig <[email protected]>
* makefile (test-compiler-mono): New target to compile and run
	the tests with mcs and the mono jit.

svn path=/trunk/mcs/; revision=5475
2002-06-26 20:22:12 +00:00
Martin Baulig abb6fdf310 2002-06-27 Martin Baulig <[email protected]>
* UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
	constructor argument.  [FIXME: The implicit conversion to an
	unsigned integer doesn't work with mcs.]

svn path=/trunk/mcs/; revision=5474
2002-06-26 20:20:05 +00:00
Martin Baulig 92caceea59 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
	non-static PropertyExpr, set its InstanceExpression.  This makes
	the `ICollection.Count' property work in System/Array.cs.

svn path=/trunk/mcs/; revision=5473
2002-06-26 18:56:27 +00:00
Martin Baulig 07e1deb86b 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
	non-static PropertyExpr, set its InstanceExpression.  This makes
	the `ICollection.Count' property work in System/Array.cs.

svn path=/trunk/mcs/; revision=5472
2002-06-26 18:26:00 +00:00
Dick Porter d1cd1a27bf 2002-06-26 Dick Porter <[email protected]>
* appdomain.c (mono_runtime_cleanup): Close the socket library
	after all the threads have finished, not before

svn path=/trunk/mono/; revision=5471
2002-06-26 18:23:56 +00:00
Martin Baulig 2ce998e2e1 Ooops, forgot a NULL check in my last commit.
svn path=/trunk/mono/; revision=5470
2002-06-26 17:46:19 +00:00
Martin Baulig 8818022ee4 2002-06-26 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Added
	`guint32 *line_number' argument.  If it's not NULL, store the line number
	there and return the file name without the line number.

	* exception.c (ves_icall_get_trace): Fill in `sf->filename' and `sf->line'.
	(ves_icall_get_frame_info): Likewise.

svn path=/trunk/mono/; revision=5469
2002-06-26 17:37:39 +00:00
Martin Baulig e2cb193ef2 2002-06-26 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_find_source_location): Added
	`guint32 *line_number' argument.  If it's not NULL, store the line number
	there and return the file name without the line number.

svn path=/trunk/mono/; revision=5468
2002-06-26 17:36:46 +00:00
Martin Baulig 87d5584af0 2002-06-26 Martin Baulig <[email protected]>
* DecimalFormatter.cs: Removed MSTEST stuff, use `System',
	not `S = System'.  This file now compiles with mcs.

	* String.cs: Removed the already ifdef-outed __arglist Concat function
	to make it compile with mcs.

svn path=/trunk/mcs/; revision=5466
2002-06-26 13:20:14 +00:00
Miguel de Icaza 49a60e2633 Add manual page for mono configuration
svn path=/trunk/mono/; revision=5464
2002-06-26 12:20:55 +00:00
Miguel de Icaza fc7aec7bc0 Updated
svn path=/trunk/mono/; revision=5463
2002-06-26 12:20:41 +00:00
Duncan Mak 55906fa7f2 2002-06-26 Duncan Mak <[email protected]>
* XmlNodeReader.cs: Implementation of most of the properties, and
	some of the related methods.

svn path=/trunk/mcs/; revision=5460
2002-06-26 01:13:05 +00:00
John Barnette 74b7235182 The raw beginnings of XML serialization of Monodoc XML.
svn path=/trunk/mcs/; revision=5457
2002-06-25 22:37:15 +00:00
Gonzalo Paniagua Javier 0b02144e55 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs:
	* System.Web/HttpContext.cs: added System.Web.SessionState namespace.

	* System.Web/HttpSessionState.cs: removed. It is under
	System.Web.SessionState.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs: first attemp to save view state.

	* System.Web.UI.HtmlControls/HtmlForm.cs: don't render Action.

svn path=/trunk/mcs/; revision=5455
2002-06-25 20:54:16 +00:00
Ravi Pratap M 36175eaadb Apply patch from Andrew
svn path=/trunk/mcs/; revision=5453
2002-06-25 19:23:48 +00:00
Ravi Pratap M c8264f5263 Apply patches from Andrew
svn path=/trunk/mcs/; revision=5452
2002-06-25 19:23:14 +00:00
Dick Porter cf615313b4 2002-06-25 Dick Porter <[email protected]>
* Process.cs: Process forking and waiting, and some support functions

	* ProcessStartInfo.cs: Implemented the bits needed for basic
	Process forking

	* ProcessModule.cs: Implemented

	* ProcessModuleCollection.cs: Mostly implemented

	* FileVersionInfo.cs: Implemented

svn path=/trunk/mcs/; revision=5451
2002-06-25 13:00:25 +00:00
Dick Porter 1e130c53fa 2002-06-25 Dick Porter <[email protected]>
* handles.c:
	* handles-private.h:
	* daemon-messages.h:
	* daemon.c: Process forking and handle data management

	* processes.h:
	* process-private.h:
	* processes.c: Process forking and other support functions

2002-06-25  Dick Porter  <[email protected]>

	* icall.c:
	* process.h:
	* process.c: Process forking and other support functions

svn path=/trunk/mono/; revision=5450
2002-06-25 12:39:19 +00:00
Dick Porter d7961b8491 2002-06-25 Dick Porter <[email protected]>
* versioninfo.h: PE resource decoding

	* unicode.c (_wapi_unicode_to_utf8): g_utf16_to_utf8 doesnt need
	to be told the string length

	* io.c: Removed the ACTUALLY_DO_UNICODE option.  Fixed some leaks.
	Moved _wapi_time_t_to_filetime and the WapiFileTime typedef to
	timefuncs.c

2002-06-25  Dick Porter  <[email protected]>

	* image.c (do_mono_image_open): Set ref_count to 1, so that bad
	things dont happen when the image is closed.
	(mono_image_lookup_resource): Walk the resource section looking
	for a particular entry

	* cil-coff.h: PE resource section decoding

svn path=/trunk/mono/; revision=5449
2002-06-25 12:29:33 +00:00
Dick Porter 0493a81527 *** empty log message ***
svn path=/trunk/mono/; revision=5448
2002-06-25 12:28:50 +00:00
Jaime Anguiano Olarra 59e0005065 Added several questions/answers and a new "Mono and ASP.NET" section.
svn path=/trunk/mono/; revision=5447
2002-06-25 12:10:23 +00:00
Dick Porter cf2b756d65 2002-06-25 Dick Porter <[email protected]>
* assembly.h:
	* assembly.c:
	(mono_assembly_foreach): Accessor functions to walk the list of
	loaded assemblies
	(mono_assembly_set_main):
	(mono_assembly_get_main): Process methods need to know which
	assembly is the "main" one

	* object.c (mono_runtime_run_main): Record the main assembly

	* debug-helpers.c: Fix typo

2002-06-25  Dick Porter  <[email protected]>

	* interp.c (ves_exec): Pass the assembly to mono_runtime_run_main

2002-06-25  Dick Porter  <[email protected]>

	* jit.c (mono_jit_exec): Pass the assembly to mono_runtime_run_main

svn path=/trunk/mono/; revision=5446
2002-06-25 12:09:31 +00:00
Nick Drochak 22182b99a1 2002-06-25 Nick Drochak <[email protected]>
* QueueTest.cs: Trap some unexpected exceptions and add a bit of
	verbosity to some assert messages.

svn path=/trunk/mcs/; revision=5445
2002-06-25 10:54:34 +00:00
Nick Drochak 5eea95dbf3 2002-06-25 Nick Drochak <[email protected]>
* Queue.cs (CopyTo): Fix logic for copying the circular array.
	(Enqueue): Use actual length of array to determine when to grow
	(QueueEnumerator) Fixed Current to use array length, not capacity, and
	fixed off-by-one errror in MoveNext().

svn path=/trunk/mcs/; revision=5444
2002-06-25 10:52:25 +00:00
Duncan Mak 157371eced Add news item for gtk# sample apps.
svn path=/trunk/mono/; revision=5441
2002-06-24 23:47:50 +00:00
Jason Diamond c4eb1e7e02 Removed my incomplete XPathScanner code.
svn path=/trunk/mcs/; revision=5439
2002-06-24 22:52:29 +00:00
Dennis Hayes c94a7d0a2b 2002-6-24 DennisHayes <[email protected]>
* BindingMemberInfo.cs
* CaptionButton.cs
* DataGridCell.cs
* Message.cs
* MessageBox.cs
* Fixed bugs preventing compile

svn path=/trunk/mcs/; revision=5436
2002-06-24 21:54:00 +00:00
Dennis Hayes 9d746fa1be 2002-6-18 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

svn path=/trunk/mcs/; revision=5435
2002-06-24 21:50:07 +00:00
Gonzalo Paniagua Javier 75426b4397 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: implemented more properties using information
	we already have in Context.
	(OnFormRender):
	(OnFormPostRender):
	(VerifyRenderingInServerForm): implemented.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderChildren): use OnFormRender and OnFormPostRender.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
	WebControl derived classes should be rendered inside a HtmlForm.

svn path=/trunk/mcs/; revision=5434
2002-06-24 20:59:53 +00:00
Gonzalo Paniagua Javier beef1d0ec1 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* IntegerFormatter.cs:
	(FormatParse.FormatNumber): fixed custom format for negative numbers.

svn path=/trunk/mcs/; revision=5432
2002-06-24 15:14:30 +00:00
Dietmar Maurer a6687be669 2002-06-24 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged): impl.
	(ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged): impl.

svn path=/trunk/mono/; revision=5431
2002-06-24 12:47:06 +00:00
Dietmar Maurer 7c7b330925 * Marshal.cs: impl. Copy()
svn path=/trunk/mcs/; revision=5430
2002-06-24 12:42:22 +00:00
Gonzalo Paniagua Javier 5d82fee5c1 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: New file to make 'make test' work.
	* ChangeLog: New file.

svn path=/trunk/mcs/; revision=5429
2002-06-24 11:34:14 +00:00
Dick Porter 4aed3ef820 2002-06-24 Dick Porter <[email protected]>
* XmlCaseOrder.cs: Fix namespace

svn path=/trunk/mcs/; revision=5428
2002-06-24 10:55:37 +00:00
Dick Porter 8fca1a368c 2002-06-24 Dick Porter <[email protected]>
* Socket.cs: Make SetSocketOption cope with boolean values (they
	are passed as objects, not the ints the runtime was expecting)

svn path=/trunk/mcs/; revision=5427
2002-06-24 09:41:09 +00:00
Piers Haken 2dfdf317d6 2002-06-23 Piers Haken <[email protected]>
* DefaultContext.cs: implemented XPathFUnctionId
	* Iterator.cs: new ArrayListIterator for id() support

svn path=/trunk/mcs/; revision=5426
2002-06-24 01:26:23 +00:00
Gonzalo Paniagua Javier cc3b68b94f 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
* TypeConverter.cs: flushed local changes.

svn path=/trunk/mcs/; revision=5425
2002-06-23 21:23:25 +00:00
Gonzalo Paniagua Javier 90f90287e0 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: implemented more methods/properties.
	* SessionDictionary.cs: New file.

svn path=/trunk/mcs/; revision=5424
2002-06-23 20:58:48 +00:00
Rafael Teixeira c93b0ddf64 2002-06-23 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
	* makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)

svn path=/trunk/mcs/; revision=5422
2002-06-23 18:41:23 +00:00
Piers Haken 8d73a2306c 2002-06-23 Piers Haken <[email protected]>
System.Xml:

    * XmlDocumentNavigator.cs: implement Clone()
    * XmlElement.cs: remove bogus unimplemented override of InnerText
    * XmlNode.cs: implment SelectNodes/SelectSingleNode
    * XmlNodeArrayList.cs: new support class for SelectNodes

System.Xml.Xsl:

    * XsltContext.cs: added 'PreserveWhitespace' abstract method

System.Xml.XPath:

    * XPathNavigator.cs: implement:
        - Compile
        - Evaluate
        - Clone
        - Select
        - ToString
        - some forwarding methods

    * XPathNodeIterator: implement caching Count

    * Tokenizer.cs: new XPath tokenizer
    * Parser.jay: new XPath grammar
    * Parser.cs: new precompiled XPath grammar
    * Expression.cs: new XPath expression objects
    * Iterator.cs: new XPath result/context objects
    * DefaultContext.cs: new XPath function binding context

svn path=/trunk/mcs/; revision=5421
2002-06-23 16:52:58 +00:00
Miguel de Icaza 7ec8739ed0 Another test
svn path=/trunk/mcs/; revision=5419
2002-06-22 23:13:55 +00:00
Miguel de Icaza 9434ec9537 Remove debugging value
svn path=/trunk/mcs/; revision=5417
2002-06-22 19:47:13 +00:00
Miguel de Icaza 09635f1cea 2002-06-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddMethod, TypeContainer.AddIndexer,
	TypeContainer.AddOperator): At the front of the list put the
	explicit implementations, so they get resolved/defined first.

svn path=/trunk/mcs/; revision=5416
2002-06-22 19:36:33 +00:00
Miguel de Icaza 144ff83b56 New test
svn path=/trunk/mcs/; revision=5415
2002-06-22 19:35:29 +00:00
Gonzalo Paniagua Javier 33e2f0ce33 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
	out runtime. Renamed Page_Init and Page_Load.

	After this, we can load a dll and render HTML in linux.

svn path=/trunk/mcs/; revision=5414
2002-06-22 15:06:08 +00:00
Chris J. Breisch bfa9ef2538 Added DateAndTime tests
svn path=/trunk/mcs/; revision=5412
2002-06-22 10:15:34 +00:00
Chris J. Breisch 7f0c79e2e3 First real version
svn path=/trunk/mcs/; revision=5411
2002-06-22 10:13:20 +00:00
Paolo Molaro ecf8151c07 Test for bug#26264.
svn path=/trunk/mcs/; revision=5410
2002-06-22 06:14:13 +00:00
Paolo Molaro 007bd31a0c Comment out debug message.
svn path=/trunk/mcs/; revision=5409
2002-06-22 05:55:44 +00:00
Paolo Molaro 4ac33ce211 Sat Jun 22 11:37:25 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: fix off-by-one in Assembly.GetTypes() reported by [email protected].

svn path=/trunk/mono/; revision=5408
2002-06-22 05:52:41 +00:00
Miguel de Icaza 04ba7b39e2 2002-06-21 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.VerifyImplements): Verifies that a given
	interface type is implemented by this TypeContainer.  Used during
	explicit interface implementation.

	(Property.Define, Indexer.Define, Method.Define): Validate that
	the given interface in the explicit implementation is one of the
	base classes for the containing type.

	Also if we are explicitly implementing an interface, but there is
	no match in the pending implementation table, report an error.

svn path=/trunk/mcs/; revision=5407
2002-06-22 01:22:09 +00:00
Gonzalo Paniagua Javier 38e1afcf1a Fixed typo.
svn path=/trunk/mcs/; revision=5406
2002-06-21 22:42:12 +00:00
Miguel de Icaza 58aa2caa03 New errors handled
svn path=/trunk/mcs/; revision=5405
2002-06-21 21:41:42 +00:00
Miguel de Icaza 9cb1c53fa7 2002-06-21 Miguel de Icaza <[email protected]>
* class.cs (Property.Define): Only define the property if we are
	not explicitly implementing a property from an interface.  Use the
	correct name also for those properties (the same CSC uses,
	although that is really not needed).

	(Property.Emit): Do not emit attributes for explicitly implemented
	properties, as there is no TypeBuilder.

	(Indexer.Emit): ditto.

	Hiding then means that we do not really *implement* a pending
	implementation, which makes code fail.

svn path=/trunk/mcs/; revision=5403
2002-06-21 20:57:57 +00:00
Miguel de Icaza 52857cd1bd 2002-06-21 Miguel de Icaza <[email protected]>
* image.c (do_mono_image_open): Initialize reference count,
	otherwise we leak the MonoImage.

svn path=/trunk/mono/; revision=5399
2002-06-21 19:48:04 +00:00
Martin Baulig 33c1c4edd1 2002-06-22 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Small fix, an
	unsigned number can never be smaller than zero, make that check
	actually work.

svn path=/trunk/mono/; revision=5398
2002-06-21 19:01:14 +00:00
Martin Baulig dcb457b8b3 2002-06-22 Martin Baulig <[email protected]>
* ecore.cs (Expression.Constantify): Call TypeManager.TypeToCoreType() on
	the return value of Object.GetType().  [FIXME: we need to do this whenever
	we get a type back from the reflection library].

svn path=/trunk/mcs/; revision=5397
2002-06-21 19:00:28 +00:00
Martin Baulig 038c2af66b 2002-06-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.EnumToUnderlying): It's now safe to call this function
	on System.Enum.

svn path=/trunk/mcs/; revision=5396
2002-06-21 18:59:56 +00:00
Miguel de Icaza 3db47ebad9 Implement set for the BitVector
svn path=/trunk/mcs/; revision=5395
2002-06-21 18:12:03 +00:00
Paolo Molaro 6a2bf97827 Fri Jun 21 19:16:47 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: small tweak to handle self-hosting.

svn path=/trunk/mono/; revision=5393
2002-06-21 13:31:17 +00:00
Ajay kumar Dwivedi 21689da521 2002-06-21 Ajay kumar Dwivedi <[email protected]>
* XmlQualifiedName: Name and Namespaces are never null. If null is passed
		to the constructor, set them to empty strings.
		Fixed the Operators.

svn path=/trunk/mcs/; revision=5392
2002-06-21 12:58:58 +00:00
Paolo Molaro f4d6e1c034 Added System.Xml.Serialization/*.
svn path=/trunk/mcs/; revision=5390
2002-06-21 11:04:59 +00:00
Paolo Molaro 66556f3a2d Added TypeConverterattribute.cs.
svn path=/trunk/mcs/; revision=5389
2002-06-21 11:03:26 +00:00
Gonzalo Paniagua Javier d999271e76 2002-06-21 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: implemented AppendFormat methods using
	String.Format. Thanks Paolo!

	This makes xsp generate correct C# output in linux :-). I still need
	to do more testing, though.

svn path=/trunk/mcs/; revision=5388
2002-06-21 10:02:24 +00:00
Paolo Molaro 2f54278dba Response file to use with mcs.
svn path=/trunk/mcs/; revision=5387
2002-06-21 08:37:00 +00:00
Paolo Molaro 8b1195be51 Fri Jun 21 13:37:57 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: make ExpandInterfaces() slip duplicated interfaces.

svn path=/trunk/mcs/; revision=5386
2002-06-21 07:53:27 +00:00
Rafael Teixeira b2855011eb 2002-06-21 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
	  modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
	* added pending.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5384
2002-06-21 00:09:31 +00:00
Miguel de Icaza afa59c411b 2002-06-20 Miguel de Icaza <[email protected]>
* attribute.cs: Return null if we can not look up the type.

svn path=/trunk/mcs/; revision=5383
2002-06-20 21:00:54 +00:00
Miguel de Icaza 2240650e61 Add new test
svn path=/trunk/mcs/; revision=5382
2002-06-20 20:56:34 +00:00
Miguel de Icaza cfa2f984ce 2002-06-20 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): Use ExpandInterfaces on
	the interface types found.

	* interface.cs (Interface.GetInterfaceBases): Use ExpandInterfaces on the
	interface types found.

	* typemanager.cs (GetInterfaces): Make this routine returns alll
	the interfaces and work around the lame differences between
	System.Type and System.Reflection.Emit.TypeBuilder in the results
	result for GetInterfaces.

	(ExpandInterfaces): Given an array of interface types, expand and
	eliminate repeated ocurrences of an interface.  This expands in
	context like: IA; IB : IA; IC : IA, IB; the interface "IC" to
	be IA, IB, IC.

svn path=/trunk/mcs/; revision=5381
2002-06-20 20:56:24 +00:00
Martin Baulig 74fa5d8a7e Ooops, I forgot TypeCode.String in my last commit.
svn path=/trunk/mcs/; revision=5380
2002-06-20 19:15:42 +00:00
Martin Baulig 8aadeefd7a 2002-06-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.TypeToCoreType): New function.  When compiling corlib
	and called with one of the core types, return the corresponding typebuilder for
	that type.

	* expression.cs (ArrayAccess.DoResolve): Call TypeManager.TypeToCoreType() on the
	element type.

svn path=/trunk/mcs/; revision=5379
2002-06-20 19:10:52 +00:00
Martin Baulig 9e9755854e 2002-06-21 Martin Baulig <[email protected]>
* Double.cs: Replace the private `enum State' with constants since this
	will avoid some bigger headaches in mcs.

svn path=/trunk/mcs/; revision=5378
2002-06-20 18:51:00 +00:00
Martin Baulig 3f05d20dd8 2002-06-21 Martin Baulig <[email protected]>
* ecore.cs (Expression.ExplicitReferenceConversionExists): Use
	`target_type.IsArray' instead of `target_type.IsSubclassOf (TypeManager.array_type)'.
	(Expression.ConvertReferenceExplicit): Likewise.

	* expression.cs (ElementAccess.DoResolve): Likewise.
	(ElementAccess.DoResolveLValue): Likewise.

svn path=/trunk/mcs/; revision=5377
2002-06-20 18:50:01 +00:00
Paolo Molaro 1733c72b50 Thu Jun 20 23:28:13 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix type name parse code.

svn path=/trunk/mono/; revision=5376
2002-06-20 17:49:28 +00:00
Gonzalo Paniagua Javier 1168140dd3 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* StringConverter.cs: stubbed out.
	* TypeConverter.cs: stubbed the rest out and added some implementation.

	Five errors left when compiling System.Web in linux.

svn path=/trunk/mcs/; revision=5375
2002-06-20 16:04:05 +00:00
Gonzalo Paniagua Javier 76eaa0eddd 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* list: updated and reformatted.

svn path=/trunk/mcs/; revision=5374
2002-06-20 16:01:23 +00:00
Martin Baulig d6673cd4b0 2002-06-20 Martin Baulig <[email protected]>
* unix.args: New file.  This is a mcs response file to compile
	corlib on GNU/Linux (which doesn't work yet).

svn path=/trunk/mcs/; revision=5373
2002-06-20 15:46:40 +00:00
Martin Baulig 69d29e6632 2002-06-10 Martin Baulig <[email protected]>
* interface.cs (Interface.PopulateIndexer): When creating the setter, we need to
	add the "value" parameter to the parameter list.

	* statement.cs (Fixed.Emit): Pass the return value of the child block's Emit()
	to our caller.

svn path=/trunk/mcs/; revision=5372
2002-06-20 15:45:20 +00:00
Gonzalo Paniagua Javier 5fc47ced57 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System/System.build: removed System.Drawing.dll dependency.

	* System/System.ComponentModel/TypeConverterAttribute.cs: attribute
	sued by TypeDescriptor.Getconverter ().

	* System/System.ComponentModel/TypeDescriptor.cs:  implemented
	GetConverter in the right way.

	* System.Drawing/ChangeLog: new file.

	* System.Drawing/System.Drawing.build: added System.dll dependency

	* System.Drawing/System.Drawing/Color.cs: added TypeConverter attribute.

	* System.Drawing/System.Drawing/ColorConverter.cs: added constructor.

svn path=/trunk/mcs/; revision=5371
2002-06-20 14:32:08 +00:00
Paolo Molaro f96fffb0ae Thu Jun 20 19:24:32 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: break out of the loop.
	* image.c: special case corlib.

svn path=/trunk/mono/; revision=5370
2002-06-20 13:41:50 +00:00
Miguel de Icaza 713147a86d Flush
svn path=/trunk/mono/; revision=5369
2002-06-20 13:27:42 +00:00
Miguel de Icaza 2e9861aa99 Flush
svn path=/trunk/mono/; revision=5368
2002-06-20 13:10:26 +00:00
Johannes Roith ccacdeb031 cosmetically change - name prints out the path before "mono" on windows
svn path=/trunk/mono/; revision=5367
2002-06-20 13:05:03 +00:00
Miguel de Icaza ee61e83428 2002-06-19 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.ExpressionToArrayArgument): Convert
	the argument to an int, uint, long or ulong, per the spec.  Also
	catch negative constants in array creation.

svn path=/trunk/mcs/; revision=5366
2002-06-20 12:21:43 +00:00
Paolo Molaro 6e9c549290 Test error case.
svn path=/trunk/mcs/; revision=5365
2002-06-20 12:12:07 +00:00
Paolo Molaro 78abb8b217 Thu Jun 20 17:56:48 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: do not allow the same interface to appear twice in
	the definition list.

svn path=/trunk/mcs/; revision=5364
2002-06-20 12:11:30 +00:00
Ajay kumar Dwivedi fec80ebd01 2002-06-20 Ajay kumar Dwivedi <[email protected]>
* System.Xml.Serialization: Added to build target

2002-05-24  Miguel de Icaza  <[email protected]>

svn path=/trunk/mcs/; revision=5363
2002-06-20 12:11:11 +00:00
Paolo Molaro 5a388a0c80 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <[email protected]>
* TimeSpan.cs: do not pollute the namespace with the
	System.Parser name.

svn path=/trunk/mcs/; revision=5362
2002-06-20 12:06:21 +00:00
Paolo Molaro 6d3bf1d327 Thu Jun 20 16:43:29 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: add all the custom attrs at the end to ensure the
	ctors have been properly initialized when the attributes are defined
	in the current assembly.

svn path=/trunk/mono/; revision=5361
2002-06-20 10:58:29 +00:00
Nick Drochak 14be91b1ff 2002-06-20 Nick Drochak <[email protected]>
* All changes: Make tests pass against ms.net.

svn path=/trunk/mcs/; revision=5360
2002-06-20 09:32:27 +00:00
Paolo Molaro 363f96c804 Thu Jun 20 13:46:40 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle correctly multiple-nested types.

svn path=/trunk/mono/; revision=5358
2002-06-20 08:01:08 +00:00
Gonzalo Paniagua Javier 087e90c0ff 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs:
	(AddedControl): new function that is called whenever a control is
	added to a collection of controls in a container. It sets the defaults
	except for Page.

	* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.

	* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
	Text, Render, SetStaticString and SetDataBoundString.

	* System.Web.UI/Page.cs: removed SetDefaults.

	* System.Web.UI.WebControls/Repeater.cs: implemented
	CreateControlHierarchy. Fixed some event processing methods.

svn path=/trunk/mcs/; revision=5357
2002-06-20 07:59:53 +00:00
Ajay kumar Dwivedi 55785e37e3 2002-06-20 Ajay kumar Dwivedi <[email protected]>
* Soap & XmlOverrides: Implemented using TypeMember as key with
	  suggestions from Rafael.

svn path=/trunk/mcs/; revision=5356
2002-06-20 06:26:07 +00:00
Paolo Molaro f8d285d4a1 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump.c, dump.h: code to dump the MethodImpl table.

svn path=/trunk/mono/; revision=5355
2002-06-20 06:05:39 +00:00
Paolo Molaro 6e12f242b3 Thu Jun 20 11:49:00 CEST 2002 Paolo Molaro <[email protected]>
* row-indexes.h: fix typos.
	* reflection.c: adjust for typos and fix method_def_or_ref
	encoding in MethodImpl table.

svn path=/trunk/mono/; revision=5354
2002-06-20 06:04:02 +00:00
Miguel de Icaza 1d67b1196d New error
svn path=/trunk/mcs/; revision=5353
2002-06-20 02:11:59 +00:00
Miguel de Icaza c2624707b3 update readme
svn path=/trunk/mcs/; revision=5352
2002-06-20 02:11:27 +00:00
Paolo Molaro 53cf66292e Wed Jun 19 22:33:37 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: don't use ldlen with System.Array.

svn path=/trunk/mcs/; revision=5349
2002-06-19 16:49:41 +00:00
Paolo Molaro 0368d06b2c Wed Jun 19 21:57:30 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix entry point patching (thanks Serge!).

svn path=/trunk/mono/; revision=5348
2002-06-19 16:18:14 +00:00
Paolo Molaro ffb26065d2 Test for indirect stores on structs and enums.
svn path=/trunk/mcs/; revision=5347
2002-06-19 15:18:05 +00:00
Paolo Molaro 505b1f422a Wed Jun 19 20:57:40 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: stobj requires a type argument. Handle indirect stores on enums.

svn path=/trunk/mcs/; revision=5346
2002-06-19 15:16:55 +00:00
Gonzalo Paniagua Javier 865ba07b1a 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/CompiledTemplateBuilder.cs: new file. Used in the
	code generated by xsp.

	* System.Web.UI/Control.cs:
	(BindingContainer): implemented.
	(EnsureChildControls): avoid stack overflow.

	* System.Web.UI/DataBinder.cs: implemented Eval and PropertyValue.

	* System.Web.UI.WebControls/Repeater.cs:
	(Controls):
	(OnDataBinding): fixed stack overflow.

	Still need more work in Repeater.cs to make it render.

svn path=/trunk/mcs/; revision=5345
2002-06-19 14:49:12 +00:00
Paolo Molaro 033f081926 Test for protected internal fields.
svn path=/trunk/mcs/; revision=5344
2002-06-19 14:43:18 +00:00
Duncan Mak 438957ee66 Add frontpage links to various download sites with Mono packages.
svn path=/trunk/mono/; revision=5343
2002-06-19 14:41:56 +00:00
Paolo Molaro 4017f80f36 Wed Jun 19 20:17:59 CEST 2002 Paolo Molaro <[email protected]>
* modifiers.cs: produce correct field attributes for protected
	internal. Easy fix so miguel can work on ther harder stuff:-)

svn path=/trunk/mcs/; revision=5342
2002-06-19 14:41:33 +00:00
Paolo Molaro 527780089d Wed Jun 19 17:01:37 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: un-broke after stack trace changes.

svn path=/trunk/mono/; revision=5341
2002-06-19 11:19:38 +00:00
Paolo Molaro 208e6b7e72 Files to build with the mono runtime.
svn path=/trunk/mcs/; revision=5340
2002-06-19 08:32:53 +00:00
Paolo Molaro 6ce92d2c45 Files to build the assembly with the mono runtime.
svn path=/trunk/mcs/; revision=5339
2002-06-19 08:31:36 +00:00
Dietmar Maurer 94faa65b9f 2002-06-19 Dietmar Maurer <[email protected]>
* StackTrace.cs: impl. remaining constructors.

svn path=/trunk/mcs/; revision=5338
2002-06-19 03:46:56 +00:00
Dietmar Maurer f4d7567369 2002-06-18 Dietmar Maurer <[email protected]>
* verify.c: add check for System.Exception

	* exception.c (ves_icall_get_trace): new method to get the stack
	trace from a Exception.

	* jit.c (check_inlining): do not inline functions containing
	calls to stack query functions

svn path=/trunk/mono/; revision=5337
2002-06-19 03:15:55 +00:00
Dietmar Maurer 381d9e954b 2002-06-18 Dietmar Maurer <[email protected]>
* StackTrace.cs: use new internal call for constructors, use MS like
	trace format.

svn path=/trunk/mcs/; revision=5336
2002-06-19 03:11:40 +00:00
Gonzalo Paniagua Javier 0ece19ea9f 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
	* RepeatInfo.cs: implemented DoHorizontalRendering.

svn path=/trunk/mcs/; revision=5334
2002-06-19 01:46:50 +00:00
Dennis Hayes 7c82d5960d 2002-6-18 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

svn path=/trunk/mcs/; revision=5333
2002-06-18 22:22:35 +00:00
Dennis Hayes b14347a941 2002-6-18 DennisHayes <[email protected]>
* checked in  for Stefan Warnke ([email protected])
* UICuesEventArgs.cs
* UpDownBase.cs
* Better comments and formatting

svn path=/trunk/mcs/; revision=5332
2002-06-18 22:01:06 +00:00
Miguel de Icaza 22624653ff 2002-06-18 Miguel de Icaza <[email protected]>
* pending.cs: New file.  Move the code from class.cs here.
	Support clearning the pending flag for all methods (when not doing
	explicit interface implementation).

svn path=/trunk/mcs/; revision=5331
2002-06-18 17:22:00 +00:00
Gonzalo Paniagua Javier 14dcbdc7a4 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs:
	(CopyBaseAttributes): copy Attributes and don't throw exception.

svn path=/trunk/mcs/; revision=5329
2002-06-18 17:14:34 +00:00
Ajay kumar Dwivedi 64b053b6aa 2002-06-18 Ajay kumar Dwivedi <[email protected]>
* XmlTextReader.cs: HasLineInfo returns false instead of throwing an
	Exception.

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

svn path=/trunk/mcs/; revision=5328
2002-06-18 12:22:41 +00:00
Nick Drochak df0519e526 2002-06-19 Nick Drochak <[email protected]>
* Added in a bunch of missing tests.  Need to fix some of these
	since we get more failures against ms.net. But let's not be shy.

svn path=/trunk/mcs/; revision=5327
2002-06-18 11:47:17 +00:00
Gonzalo Paniagua Javier 57907c2dce 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
	(almost the same bug as in regular attributes).

	* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
	(AddAttributesToRender): also call parent class method.

svn path=/trunk/mcs/; revision=5326
2002-06-18 11:44:39 +00:00
Nick Drochak 1cb8f7a815 2002-06-18 Nick Drochak <[email protected]>
* Ignore dll's

svn path=/trunk/mcs/; revision=5324
2002-06-18 10:56:25 +00:00
Nick Drochak cba7f27939 2002-06-18 Nick Drochak <[email protected]>
* ArgumentException.cs: Use the message given in the constructor when
	accessing the Message property.  Thanks to Dietmar for the help with
	"base".

svn path=/trunk/mcs/; revision=5323
2002-06-18 10:50:37 +00:00
Ajay kumar Dwivedi b0729d1659 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
* XmlSchema: The Read and Write methods are no more [MonoTODO] :)

	* XmlSchemaAppInfo: Xml Markup is now being read.

	* XmlSchemaDocumentation: Xml Markup is now being read.

	* All: Unhandled attributes are being handled properly.

	* All: Reordered the properties in all cs files to match with MS
	       Implementation. This was required since the order is importatnt
	       for the XmlSerializer.

svn path=/trunk/mcs/; revision=5322
2002-06-18 10:47:40 +00:00
Nick Drochak 158afc3031 2002-06-18 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: Use Unix paths if it looks like we are not
	running the tests on Windows. Need to expand this when we run the
	tests on Mac OS's (and others I suppose).  Also consolidated some
	redundant code.

svn path=/trunk/mcs/; revision=5321
2002-06-18 10:46:34 +00:00
Dietmar Maurer 53e04f2833 small fix
svn path=/trunk/mono/; revision=5320
2002-06-18 08:00:40 +00:00
Dietmar Maurer eca19bb8db 2002-06-18 Dietmar Maurer <[email protected]>
* exception.c (ves_icall_get_frame_info): impl.

svn path=/trunk/mono/; revision=5319
2002-06-18 07:50:06 +00:00
Dietmar Maurer 6eb220837c 2002-06-18 Dietmar Maurer <[email protected]>
* StackFrame.cs: impl. constructors using a new internal call.

svn path=/trunk/mcs/; revision=5318
2002-06-18 07:46:15 +00:00
Paolo Molaro 8364ba2a62 Tue Jun 18 10:36:22 CEST 2002 Paolo Molaro <[email protected]>
* rootcontext.cs: added a couple more types needed to bootstrap.

svn path=/trunk/mcs/; revision=5317
2002-06-18 04:50:46 +00:00
Paolo Molaro 63f68b5ab6 Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: marshal simple arrays correctly.

svn path=/trunk/mono/; revision=5316
2002-06-18 04:38:23 +00:00
Paolo Molaro 8340208b0a Tue Jun 18 10:21:19 CEST 2002 Paolo Molaro <[email protected]>
* invoke.c: marshal simple arrays correctly.

svn path=/trunk/mono/; revision=5315
2002-06-18 04:36:29 +00:00
Miguel de Icaza cd998c1ed7 2002-06-17 Miguel de Icaza <[email protected]>
* typemanager.cs (GetConstructor): Use DeclaredOnly to look the
	constructor in the type, instead of any constructor in the type
	hierarchy.  Thanks to Paolo for finding this bug (it showed up as
	a bug in the Mono runtime when applying the params attribute).

svn path=/trunk/mcs/; revision=5314
2002-06-17 17:39:25 +00:00
Paolo Molaro 1f381788f0 Mon Jun 17 20:23:23 CEST 2002 Paolo Molaro <[email protected]>
* image.c, class.c: minifix for code just c&p'ed.
	* reflection.c: warning fix.
	* object.h, loader.h, domain.c: load also StringBuilder.

svn path=/trunk/mono/; revision=5313
2002-06-17 14:42:45 +00:00
Dietmar Maurer cdf8985448 2002-06-17 Dietmar Maurer <[email protected]>
* x86.brg: added inlined versions of Math.Sin, Math.Cos, Math.Sqrt

svn path=/trunk/mono/; revision=5312
2002-06-17 13:54:05 +00:00
Dietmar Maurer 787f9a9131 2002-06-17 Dietmar Maurer <[email protected]>
* Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)

svn path=/trunk/mcs/; revision=5311
2002-06-17 12:36:07 +00:00
Paolo Molaro 71525e41c5 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <[email protected]>
* get.h, get.c: get_marshal_info() to get a marshal descriptor.
	* main.c, dump.h, dump.c: added code to dump the FieldMarshl table.

svn path=/trunk/mono/; revision=5310
2002-06-17 11:46:31 +00:00
Paolo Molaro 5e47407100 Mon Jun 17 17:29:40 CEST 2002 Paolo Molaro <[email protected]>
* marshal.h, marshal.c: some support code to handle complex marshaling.

svn path=/trunk/mono/; revision=5309
2002-06-17 11:44:35 +00:00
Gonzalo Paniagua Javier 0e138b26f1 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented PreventAutoID.

	* System.Web.UI/Page.cs:
	(SetDefaults): don't set ID automatically if Control.PreventAutoID has
	been called.

	* System.Web.UI.WebControls/Style.cs: fixed IsEmpty and Width.

	* System.Web.UI.WebControls/Table.cs: mono-stylized.
	(TableRowControlCollection.AddAt): fixed.
	(AddAttributesToRender): fixed.

	* System.Web.UI.WebControls/TableCell.cs: mono-stylized.
	(.ctor): use PreventAutoID.
	(AddAttributesToRender): fixed.
	(AddParsedSubObject): fixed.

	* System.Web.UI.WebControls/TableRow.cs: mono-stylized. Added
	ParseChildren attribute.

	* System.Web.UI.WebControls/TableStyle.cs:
	(get_GridLine): fixed.

svn path=/trunk/mcs/; revision=5307
2002-06-17 11:10:08 +00:00
Paolo Molaro 11c7eafb36 Forgot to commit this fix a while ago...
Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <[email protected]>

	* strtod.c: make __bsd_dtoa() always return malloc()ed memory.

svn path=/trunk/mono/; revision=5306
2002-06-17 10:50:11 +00:00
Paolo Molaro dcbc8a6d65 Mon Jun 17 16:32:56 CEST 2002 Paolo Molaro <[email protected]>
* class.h, class.c, reflection.c: handle ignorecase in GetType ().
	Better signatures with vtable error dump.

svn path=/trunk/mono/; revision=5305
2002-06-17 10:48:49 +00:00
Paolo Molaro d3d45ab398 Mon Jun 17 16:13:35 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, reflection.h, icall.c: fixes for multiple-nested types.

svn path=/trunk/mono/; revision=5304
2002-06-17 10:28:10 +00:00
Paolo Molaro 5d7c02e3b6 2002-06-17 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_Type_GetField): impl.

svn path=/trunk/mono/; revision=5303
2002-06-17 10:25:55 +00:00
Dietmar Maurer 17da073664 2002-06-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. STARG
	(mono_analyze_stack): impl. LDARGA

	* icall.c (ves_icall_Type_GetField): impl.

svn path=/trunk/mono/; revision=5302
2002-06-17 10:17:24 +00:00
Dietmar Maurer 28fb0468eb 2002-06-17 Dietmar Maurer <[email protected]>
* MonoType.cs: GetField is now a InternalCall

	* File.cs (Delete): only call Directory.Exists() if DirName != ""

svn path=/trunk/mcs/; revision=5301
2002-06-17 10:13:49 +00:00
Paolo Molaro 485937847f Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <[email protected]>
* Uri.cs: workaround for mcs bug.

svn path=/trunk/mcs/; revision=5300
2002-06-17 09:19:26 +00:00
Paolo Molaro bb6602320a Mon Jun 17 14:55:43 CEST 2002 Paolo Molaro <[email protected]>
* ModuleBuilder.cs, TypeBuilder.cs: fixes for nested types handling.

svn path=/trunk/mcs/; revision=5299
2002-06-17 09:14:37 +00:00
Paolo Molaro c14614cac2 Mon Jun 17 14:57:03 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: change order of nested type emission
	to avoid table corruption. The NestedTypes table is sorted.
	* icall.c: change order of GetConstructor results to workaround mcs bug.

svn path=/trunk/mono/; revision=5298
2002-06-17 09:14:36 +00:00
Dietmar Maurer 60d22a098f 2002-06-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. STARG

svn path=/trunk/mono/; revision=5297
2002-06-17 08:55:21 +00:00
Jonathan Pryor 0fc6ef8177 * TraceTest.cs: Added additional test cases.
svn path=/trunk/mcs/; revision=5296
2002-06-17 06:52:13 +00:00
Dietmar Maurer 659263171d 2002-06-17 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): correctly restore register
	values when unwinding the stack (fixes bug 25698)

svn path=/trunk/mono/; revision=5295
2002-06-17 06:01:04 +00:00
Gonzalo Paniagua Javier 4e0798e081 2002-06-16 Gonzalo Paniagua Javier <[email protected]>
* Panel.cs: fixed stack overflow.
	* Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
	and SingleConverter.

svn path=/trunk/mcs/; revision=5293
2002-06-16 21:29:48 +00:00
Jonathan Pryor 55032cd142 D'oh! I forgot to save `ChangeLog' before committing it....
svn path=/trunk/mcs/; revision=5292
2002-06-16 19:51:16 +00:00
Jonathan Pryor 609c2de3e6 * ICollectData.cs: Implemented
* TraceImpl.cs: Setting IndentLevel, IndentSize should change the
    corresponding properties on all current TraceListeners.
    Also, to answer the FIXME message: Yes, the properties in TraceListener
    need to be [ThreadStatic] as well.
  * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
    should have its properties set to the current TraceImpl property values.
  * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].

svn path=/trunk/mcs/; revision=5291
2002-06-16 19:49:45 +00:00
Rafael Teixeira 9a16ca4210 Very start. Sorry no NANT or make support yet
svn path=/trunk/mcs/; revision=5290
2002-06-16 15:27:20 +00:00
Jaime Anguiano Olarra 54732b0e03 A first version of mono-common-problems added.
svn path=/trunk/mono/; revision=5289
2002-06-16 14:57:33 +00:00
Rafael Teixeira 09512c973e 2002-06-16 Rafael Teixeira <[email protected]>
* changed namespace.cs to use "GenericParser.error(...)" instead of "CSharpParser.error(...)"

svn path=/trunk/mcs/; revision=5288
2002-06-15 23:35:04 +00:00
Rafael Teixeira d751e5f1a5 2002-06-15 Rafael Teixeira <[email protected]>
* merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
	* namespace.cs needed some fixing, because CSharpParser isn�t available

svn path=/trunk/mcs/; revision=5287
2002-06-15 23:27:15 +00:00
Rafael Teixeira e832fd5066 2002-06-15 Rafael Teixeira <[email protected]>
* merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues

svn path=/trunk/mcs/; revision=5286
2002-06-15 23:15:14 +00:00
Rafael Teixeira 1917a90329 2002-06-15 Rafael Teixeira <[email protected]>
* oops merged expression.cs from mcs/mcs is breaking my make
	* driver.cs, assemblyinfo.cs wasn�t ready for prime time (offending lines were commented out)

svn path=/trunk/mcs/; revision=5285
2002-06-15 22:56:17 +00:00
Rafael Teixeira bfb0019ffe 2002-06-15 Rafael Teixeira <[email protected]>
* merged expression.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5284
2002-06-15 22:48:08 +00:00
Gonzalo Paniagua Javier fcb27dc3cd 2002-06-15 Gonzalo Paniagua Javier <[email protected]>
* System/System.build: referenced System.Drawing.dll.

	* System/System.ComponentModel/TypeConverter.cs:
	* System/System.ComponentModel/ITypeDescriptorContext.cs:
	* System/System.ComponentModel/TypeDescriptor.cs:
	* System.Drawing/System.Drawing/ColorConverter.cs: implemented minimal
	set of features needed by xsp, which uses ColorConverter.

svn path=/trunk/mcs/; revision=5283
2002-06-15 14:04:59 +00:00
Rachel Hestilow af4f8e83e3 2002-06-14 Rachel Hestilow <[email protected]>
* expression.cs (Unary.ResolveOperator): Use TypeManager
	to resolve the type.

svn path=/trunk/mcs/; revision=5282
2002-06-15 13:37:31 +00:00
Ajay kumar Dwivedi d22745d614 2002-06-14 Dwivedi, Ajay kumar <[email protected]>
* General: Fixed a few more Bugs

svn path=/trunk/mcs/; revision=5280
2002-06-14 10:42:02 +00:00
Paolo Molaro e5dc7ce3d3 Fri Jun 14 16:24:30 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: handle field and param marshal
	information.

svn path=/trunk/mono/; revision=5279
2002-06-14 10:39:25 +00:00
Paolo Molaro a8d9b96cc5 Fri Jun 14 16:21:54 CEST 2002 Paolo Molaro <[email protected]>
* CustomAttributeBuilder.cs: added custom attribute related internal
	helper methods.
	* FieldBuilder.cs, ParameterBuilder.cs: handle MarshalAs attribute.
	* UnmanagedMarshal.cs: implemented.

svn path=/trunk/mcs/; revision=5278
2002-06-14 10:39:20 +00:00
Paolo Molaro 252cd7405c Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <[email protected]>
* UnmanagedType.cs, Marshal.cs: minor fixes.

svn path=/trunk/mcs/; revision=5277
2002-06-14 10:34:33 +00:00
Rafael Teixeira 4f29936e53 Housekeeping
svn path=/trunk/mcs/; revision=5276
2002-06-14 10:12:11 +00:00
Duncan Mak 0aeb35899e 2002-06-14 Duncan Mak <[email protected]>
* XmlConvert.cs: Added CLSCompliant attributes to methods.

svn path=/trunk/mcs/; revision=5275
2002-06-14 02:37:52 +00:00
Nick Drochak fbd0afaee0 2002/06/14 Nick Drochak <[email protected]>
* AllTests.cs: Disable ResourceReaderTest for now.  The class is not
	ready yet.

svn path=/trunk/mcs/; revision=5274
2002-06-13 22:05:33 +00:00
Nick Drochak c3523f8a26 2002/06/14 Nick Drochak <[email protected]>
* Int64Test.cs: Make currency symbol test more culturally sensitive.

svn path=/trunk/mcs/; revision=5273
2002-06-13 21:32:10 +00:00
Miguel de Icaza 70e6d336f9 Typo fix
svn path=/trunk/mono/; revision=5272
2002-06-13 15:23:21 +00:00
Ravi Pratap M 41df831c14 2002-06-13 Ravi Pratap <[email protected]>
* cs-parser.jay (enum_member_declaration): Pass in the attributes
	attached.

	* enum.cs (AddEnumMember): Add support to store the attributes associated
	with each member too.

	* attribute.cs (CheckAttribute, ApplyAttributes): Update to handle
	field builders too - this takes care of the enum member case.

svn path=/trunk/mcs/; revision=5271
2002-06-13 13:09:18 +00:00
Ravi Pratap M b027e6cc76 2002-06-13 Ravi Pratap <[email protected]>
* test-131.cs : Add to test enum member attribute application.

svn path=/trunk/mcs/; revision=5270
2002-06-13 13:07:53 +00:00
Nick Drochak af6b5f0897 2002-06-14 Nick Drochak <[email protected]>
* DateTimeTest.cs: Make some of the tests a bit more timezone neutral.

svn path=/trunk/mcs/; revision=5269
2002-06-13 11:22:17 +00:00
Nick Drochak a071050037 2002-06-13 Nick Drochak <[email protected]>
* DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
	sortable format(s), e.g. "2002-02-25"

svn path=/trunk/mcs/; revision=5268
2002-06-13 09:57:48 +00:00
Piers Haken a06c445e69 fix index.rss dependancy
svn path=/trunk/mono/; revision=5267
2002-06-13 01:04:08 +00:00
Miguel de Icaza 097da90e62 Ooops. No wonder people complained I never fixed this, I never flushed
this patch in the first place ;-)

	* typemanager.cs (MethodFlags): returns the method flags
	(Obsolete/ShouldIgnore) that control warning emission and whether
	the invocation should be made, or ignored.

	* expression.cs (Invocation.Emit): Remove previous hack, we should
	not do this on matching a base type, we should do this based on an attribute

	Only emit calls to System.Diagnostics.Debug and
	System.Diagnostics.Trace if the TRACE and DEBUG defines are passed
	on the command line.

svn path=/trunk/mcs/; revision=5266
2002-06-13 00:16:03 +00:00
Miguel de Icaza ad520aa2cc Add new test
svn path=/trunk/mcs/; revision=5265
2002-06-12 23:44:34 +00:00
Gonzalo Paniagua Javier 5624c5cc9a 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* RadioButton.cs: mono-stylized and some little fixes.

	* TextBox.cs: mono-stylized.
	(MaxLength): fixed typo.

	(AddAttributesToRender): don't render the text between the tags for
	SingleLine, use value attribute for it. Don't render the text for
	Password.

	(OnPreRender): don't throw exception and call base.OnPreRender.

	(Render): for MultiLine, render the text between the opening and
	closing tags encoded as HTML.

svn path=/trunk/mcs/; revision=5263
2002-06-12 20:59:37 +00:00
Rafael Teixeira a3624eb536 2002-06-12 Rafael Teixeira <[email protected]>
* corrected Module.TypeAttr property getter in module.cs

svn path=/trunk/mcs/; revision=5262
2002-06-12 20:31:50 +00:00
Miguel de Icaza 6ce4757a28 Doc updates
svn path=/trunk/mono/; revision=5261
2002-06-12 20:21:16 +00:00
Gonzalo Paniagua Javier f201bc89ed 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* ImageButton.cs:
	(AddAttributesToRender): fixer another stack overflow.

	* WebControl.cs:
	(TagName): modified to use TagKey instead of tagKey as the property
	can be overriden.

svn path=/trunk/mcs/; revision=5258
2002-06-12 16:34:14 +00:00
Gonzalo Paniagua Javier 54758e896f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(Validators): if the collection is null, create one.
	(GetPostBackEventReference 2): don't throw exception.
	(GetPostBackClientEvent): return a string with containing the method
	name, the control name and the argument.

	* System.Web.UI.WebControls/LinkButton.cs: mono-stylized.
	(AddParsedSubObject):
	(RenderControls): little fixes.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): fixed usage of IEnumerator.

svn path=/trunk/mcs/; revision=5256
2002-06-12 15:45:07 +00:00
Dick Porter dd5d1f32a7 2002-06-12 Dick Porter <[email protected]>
* daemon.c:
	* daemon-messages.c: Handle SIGPIPE in a non-stupid way in the
	daemon, if MSG_NOSIGNAL isn't available.  Thanks to Jaroslaw
	Kowalski <[email protected]> for pointing out the bogosity.

svn path=/trunk/mono/; revision=5255
2002-06-12 15:25:18 +00:00
Rafael Teixeira a8498989b9 2002-06-12 Rafael Teixeira <[email protected]>
* merged typemanager.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5254
2002-06-12 13:41:45 +00:00
Gonzalo Paniagua Javier 04a9b1a6d3 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: SetPage is now called SetDefaults and also
	sets a default ID for controls that don't have one yet.

	* System.Web.UI.WebControls/Literal.cs: beautified.

svn path=/trunk/mcs/; revision=5252
2002-06-12 13:02:52 +00:00
Dick Porter 94bdb39d78 2002-06-10 Jaroslaw Kowalski <[email protected]>
* configure.in: added checks for MSG_NOSIGNAL


2002-06-10  Jaroslaw Kowalski <[email protected]>

	* sockets.c, daemon-messages.c: Prevent SIGPIPE from being raised
	when writing to a closed socket.

svn path=/trunk/mono/; revision=5251
2002-06-12 12:29:57 +00:00
Gonzalo Paniagua Javier 1c20689cf8 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Label.cs: beautified and fixed a couple of 'classic' bugs.

	* WebControl.cs: use Span as default tag when no other provided in
	constructor. That is what MS renders.

svn path=/trunk/mcs/; revision=5249
2002-06-12 12:10:40 +00:00
Nick Drochak fc5fb587b1 2002-06-12 Nick Drochak <[email protected]>
* ConvertTest.cs: Punt bug in DateTime.Parse() over to that test.
	* DateTimeTest.cs: Add test for date format of yyyy-mm-dd which mono
	doesn't handle automagically like ms.net does.  This smells like a
	LAMESPEC, however.

svn path=/trunk/mcs/; revision=5248
2002-06-12 11:05:59 +00:00
Nick Drochak 731d82c5e0 2002-06-12 Nick Drochak <[email protected]>
* DateTimeFormatInfo.cs: Reformat.

svn path=/trunk/mcs/; revision=5247
2002-06-12 11:02:53 +00:00
Paolo Molaro 84df8ceac9 Missing file from previous commit.
svn path=/trunk/mcs/; revision=5246
2002-06-12 10:49:21 +00:00
Paolo Molaro 125c6d2728 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <[email protected]>
* Marshal.c: stubbed out all the methods and filled in some
	implementation.
	* BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
	EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
	UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.

svn path=/trunk/mcs/; revision=5245
2002-06-12 10:48:30 +00:00
Paolo Molaro 87ba68cda1 Wed Jun 12 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, marshal.c marshal.h: more Marshal class implementation.

svn path=/trunk/mono/; revision=5244
2002-06-12 10:48:27 +00:00
Johannes Roith 532264c602 change version number from 0.11 to 0.12
svn path=/trunk/mono/; revision=5243
2002-06-12 10:48:14 +00:00
Duncan Mak fe337d9e1d 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException in the
	set block if the node is read-only.

svn path=/trunk/mcs/; revision=5242
2002-06-12 01:37:47 +00:00
Duncan Mak f107fa2fca 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException if the
	node is read-only.

svn path=/trunk/mcs/; revision=5241
2002-06-12 01:26:40 +00:00
Gonzalo Paniagua Javier 1c82e6f86f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(GetPostBackClient):
	(RegisterRequiresPostBack): don't throw NotImplementedException to
	keep going.
	(ProcessRequest): set the current page as the Page property for *all*
	the controls, not just the direct children of the page.

	* System.Web.UI.WebControls/Button.cs:
	(AddAttributesToRender): fixed (classic) stack overflow.

	* System.Web.UI.WebControls/CheckBox.cs: mono-stylized.
	(AutoPostBack): fixed stack overflow.
	(Render): fixed alignment issues. Also set the For attribute always
	for the label.

svn path=/trunk/mcs/; revision=5239
2002-06-12 00:17:16 +00:00
Nick Drochak fcd0c91b8d 2002/06/12 Nick Drochak <[email protected]>
* Random.cs (Next): Fix math error.  Return a number within the range.

svn path=/trunk/mcs/; revision=5238
2002-06-11 22:21:49 +00:00
Nick Drochak 3da2ad1f54 2002/06/12 Nick Drochak <[email protected]>
* RandomTest.cs: Exercise Next(min,max) a little more, especially
	boundary conditions.

svn path=/trunk/mcs/; revision=5237
2002-06-11 22:19:51 +00:00
Dennis Hayes 2137a27d63 2002-6-5 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* ToolBarButton.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventArgs.cs
* TreeViewEventArgs.cs
* TreeViewImageIndexConverter.cs
* Just stubbs
* New files added, work in progress cleanup and mono style needed.

svn path=/trunk/mcs/; revision=5236
2002-06-11 21:58:54 +00:00
Dennis Hayes 649e909cdc 2002-6-5 DennisHayes <[email protected]>
* checked in  for Stefan Warnke ([email protected])
* UICuesEventArgs.cs
* UpDownBase.cs
* Just stubbs
* New files, work in progress, needs cleanup and mono style

svn path=/trunk/mcs/; revision=5235
2002-06-11 21:57:12 +00:00
Gonzalo Paniagua Javier c8102b6740 Updated to reflect current status, roadmap and how to help
svn path=/trunk/mono/; revision=5234
2002-06-11 21:50:37 +00:00
Gonzalo Paniagua Javier 2ac80bf156 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: fixed bug #26133 and also test if the directory exist
	before performing the search.

svn path=/trunk/mcs/; revision=5233
2002-06-11 20:51:32 +00:00
Gonzalo Paniagua Javier b79e2220a3 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
	don't throw NotImplementedException in constructors.

	* System.Web.UI/Control.cs:
	(MapPathSecure): until security is implemented, return the same path
	received as argument.
	(RenderControl): call OnPreRender before rendering the control. So
	AdRotator can read its configuration file.Is there any other place
	where this should be done?

	* System.Web.UI/HtmlTextWriter.cs:
	(AddAttribute): fixed. Now it really stores attributes.
	(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).

	* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
	should, but now it returns useful data (only the first ad in the file).
	Set the NavigateUrl property in the hyperlink if available.

	* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
	couple of stack overflows.

	* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
	stack overflow.

	* System.Web.UI.WebControls/WebControl.cs:
	(RenderBeginTag): fixed.
	(TagName): don't call Enum.IsDefined twice.

svn path=/trunk/mcs/; revision=5230
2002-06-11 19:37:03 +00:00
Rachel Hestilow aaf683011a 2002-06-10 Rachel Hestilow <[email protected]>
* typemanager.cs (TypeManager.VerifyUnManaged): Allow
	address-of operator on both value types and pointers.

svn path=/trunk/mcs/; revision=5229
2002-06-11 15:54:23 +00:00
Paolo Molaro 8ab529cfb7 Tue Jun 11 17:29:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix call convention.

svn path=/trunk/mono/; revision=5228
2002-06-11 11:44:17 +00:00
Nick Drochak 65195def7e 2002-06-12 Nick Drochak <[email protected]>
* StringReaderTest.cs: Regression test for a bug that we had were
	ReadLine() was not returning null when the string ended with newline.

svn path=/trunk/mcs/; revision=5227
2002-06-11 11:25:44 +00:00
Nick Drochak d4a0f20e0c 2002-06-11 Nick Drochak <[email protected]>
* StringTest.cs: Check for "end of string" conditions for IndexOf() and
	Substring().

svn path=/trunk/mcs/; revision=5226
2002-06-11 11:23:36 +00:00
Nick Drochak 146e148140 2002-06-12 Nick Drochak <[email protected]>
* StringReader.cs (ReadLine): Return null when we get to end of the
	string.

svn path=/trunk/mcs/; revision=5225
2002-06-11 11:20:03 +00:00
Nick Drochak df96be0c46 2002-06-12 Nick Drochak <[email protected]>
* String.cs (IndexOf): Return -1 if start index is equal to string
	length.

svn path=/trunk/mcs/; revision=5224
2002-06-11 11:18:21 +00:00
Paolo Molaro 8cbac22975 Tue Jun 11 16:52:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: mono_image_get_memberref_token()
	takes a type instead of a class, now. Added
	mono_image_get_array_token() to create tokens for the special
	multi-dim array methods.

svn path=/trunk/mono/; revision=5223
2002-06-11 11:07:34 +00:00
Nick Drochak 62a844421e 2002-06-11 Nick Drochak <[email protected]>
* DoubleTest.cs: Add some more detail to failure message.
	* Int64Test.cs: Add some details, and fix a copy-paste error.
	* UInt32Test.cs: Fix currency symbol/culture issues
	* UInt64Test.cs: Fix currency symbol/culture issues

svn path=/trunk/mcs/; revision=5222
2002-06-11 10:17:43 +00:00
Paolo Molaro f06c868227 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <[email protected]>
* get.c: handle modulerefs.
	* main.c: fix --mscorlib argument handling.

svn path=/trunk/mono/; revision=5221
2002-06-11 08:25:42 +00:00
Paolo Molaro 9d030e7795 Tue Jun 11 13:21:51 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: handle modules (no assembly table). Split
	loading references in its own function.
	* class.c: handle moduleref resolution scope.
	* image.c, image.h: cache module name in image.

svn path=/trunk/mono/; revision=5220
2002-06-11 08:24:16 +00:00
Duncan Mak 76d541d96c 2002-06-10 Duncan Mak <[email protected]>
* HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.

svn path=/trunk/mcs/; revision=5219
2002-06-11 00:38:28 +00:00
Nick Drochak decf8f6863 2002/06/11 Nick Drochak <[email protected]>
* DateTimeTest.cs: Remove RunTest override and put culture manipulation
	in SetUp and TearDown like the other tests.
	* TimeZoneTest.cs: Same.

svn path=/trunk/mcs/; revision=5218
2002-06-10 22:10:32 +00:00
Duncan Mak ef301af15f 2002-06-10 Duncan Mak <[email protected]>
* IMembershipCondition.cs (Equals): Add missing methods.

svn path=/trunk/mcs/; revision=5217
2002-06-10 21:45:23 +00:00
Duncan Mak 80fe0ee47e 2002-06-10 Duncan Mak <[email protected]>
* IEvidenceFactory.cs (Evidence): Added missing method.

svn path=/trunk/mcs/; revision=5216
2002-06-10 21:30:43 +00:00
Duncan Mak f7f2941b90 2002-06-10 Duncan Mak <[email protected]>
* IEvidenceFactory.cs (Evidence): Added missing method.

	* SuppressUnmanagedCodeSecurityAttribute.cs:
	* UnverifiableCodeAttribute.cs: Added missing
	AttributeUsage attribute.

svn path=/trunk/mcs/; revision=5215
2002-06-10 21:24:40 +00:00
Dennis Hayes 55f8036a34 2002-6-5 DennisHayes <[email protected]>
* removed, code moved to main class files, Form.cs, ImageList.cs, LinkLabel.cs,
*   ListBox.cs, ListView.cs, ListViewItem.cs, Menu.cs, MonthCalendar.cs, ScrollableControl.cs
* Form.ControlCollectison.cs
* ImageList.ImageCollection.c
* LinkLabel.LinkCollection.cs
* ListBox.ObjectCollection.cs
* ListBox.SelectedIndexCollection.cs
* ListBox.SelectedObjectCollection.cs
* ListView.CheckedListViewItemCollection.cs
* ListView.CheckedIndexCollection.cs
* ListView.ColumnHeaderCollection.cs
* ListView.ListViewItemCollection.cs
* ListView.SelectedIndexCollection.cs
* ListView.SelectedListViewItemCollection.cs
* ListViewItem.ListViewSubItem.cs
* ListViewItem.ListViewSubItemCollection.cs
* Menu.MenuItemCollection.cs
* MonthCalendar.HitTestInfo.cs
* ScrollableControl.DockPaddingEdges.cs

svn path=/trunk/mcs/; revision=5214
2002-06-10 21:24:07 +00:00
Duncan Mak 7b1fcee0d0 2002-06-10 Duncan Mak <[email protected]>
* Formatter.cs: Addd to CVS.

	* FormatterConverter.cs: Added to CVS.

	* SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.

svn path=/trunk/mcs/; revision=5213
2002-06-10 19:30:48 +00:00
Rodrigo Moya affd31b140 Some fixes, thanks to duncan
svn path=/trunk/mcs/; revision=5212
2002-06-10 19:21:12 +00:00
Duncan Mak 39572df113 2002-06-10 Duncan Mak <[email protected]>
* Convert.cs (ToType): Added null field in conversionTable to avoid
	IndexOutOfRangeException. Changed what exceptions we throw to match
	the spec.

svn path=/trunk/mcs/; revision=5211
2002-06-10 15:53:12 +00:00
Rafael Teixeira 0b4bebdd28 2002-06-10 Rafael Teixeira <[email protected]>
* merged expression.cs and interface.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5210
2002-06-10 14:40:43 +00:00
Duncan Mak fb8a34995d 2002-06-10 Duncan Mak <[email protected]>
* Convert.cs (ToDouble): Remove rounding in ToDouble (float).

svn path=/trunk/mcs/; revision=5209
2002-06-10 13:20:06 +00:00
Paolo Molaro 1dcfeae373 Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro <[email protected]>
* PropertyBuilder.cs: implemented ReflectedType and DeclaringType
	properties.

svn path=/trunk/mcs/; revision=5208
2002-06-10 13:12:50 +00:00
Nick Drochak a30606066e 2002-06-11 Nick Drochak <[email protected]>
* Int64.cs (Parse): Added unique strings to the messages where we throw
	a FormatException. Needed these to debug, so just left them in since
	they might be useful later. Fixed Currency parsing where we weren't
	looking at CurrencyDecimalSeparator, etc.

svn path=/trunk/mcs/; revision=5204
2002-06-10 12:32:35 +00:00
Nick Drochak 524dcdbc17 2002-06-11 Nick Drochak <[email protected]>
* SecurityElementTest.cs: Catch and report unexpected exceptions.

svn path=/trunk/mcs/; revision=5203
2002-06-10 11:35:18 +00:00
Nick Drochak 912c5f728d 2002-06-11 Nick Drochak <[email protected]>
* Int64Test.cs: Set the culture to en-US for testing.
	* MathTest.cs: mono is more precise in Log2, so change test to compare
	values within a slightly larger margin of error.

svn path=/trunk/mcs/; revision=5202
2002-06-10 11:34:07 +00:00
Nick Drochak 82882d2bc1 2002-06-11 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor

svn path=/trunk/mcs/; revision=5201
2002-06-10 11:28:58 +00:00
Ajay kumar Dwivedi 74f114a665 2002-06-10 Dwivedi, Ajay kumar <[email protected]>
* XmlSchemaReader: A Wrapper class around XmlReader with customized
	  methods to suit reading a schema.
	* General: Implemented Read() method for the schema. There are only
	  a few minor bugs remaining.

svn path=/trunk/mcs/; revision=5200
2002-06-10 08:36:16 +00:00
Martin Baulig 20d450c94a 2002-06-10 Martin Baulig <[email protected]>
* interface.cs (Interface.PopulateIndexer): Add the indexer's
	PropertyBuilder to the `property_builders' list.

	* expression.cs (Indexers.GetIndexersForTypeOrInterface): New private method.
	(Indexers.GetIndexersForType): Call GetIndexersForTypeOrInterface() on the
	`lookup_type' and all its interfaces.  Unfortunately, Type.FindMembers() won't
	find any indexers which are inherited from an interface.

svn path=/trunk/mcs/; revision=5199
2002-06-10 08:34:32 +00:00
Ajay kumar Dwivedi 93040683dc 2002-06-10 Ajay kumar Dwivedi <[email protected]>
* XmlConstruct.cs : New Internal class with Helper methods for
	Checking XmlConstructs
	* XmlConvert.cs: Implemented most of the methods

svn path=/trunk/mcs/; revision=5198
2002-06-10 02:20:46 +00:00
Nick Drochak 2d3defb2b4 2002/06/10 Nick Drochak <[email protected]>
* DecimalTest.cs: More culture indepenence. Fixes the problems we were
	having with tests failing against MS.NET.
	* Int64Test.cs: Same plus some formatting fixes.
	* RandomTest.cs: Split Assert into two to figure out which one part is
	failing.

svn path=/trunk/mcs/; revision=5197
2002-06-10 01:39:21 +00:00
Rafael Teixeira e8cbbc809a 2002-06-07 Rafael Teixeira <[email protected]>
* merged const.cs, enum.cs, expression.cs and  typemanager.cs from mcs/mcs
      * comments on module.cs

svn path=/trunk/mcs/; revision=5195
2002-06-09 19:46:29 +00:00
Gonzalo Paniagua Javier 343b0a1d2b 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/ControlCollection.cs:
	(AddAt): if index is -1 behave as a plain Add.

	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	(RenderAttributes): new -> override and fixes stack overflow.
	(RenderChildren): only 1 option can be selected at any given time
	except when Multiple property is true.
	(Multiple): the attribute value is either "true" or "false", not
	"multiple".

	* System.Web.UI.HtmlControls/HtmlTable.cs:
	(Add):
	(AddAt): allow HtmlTableRow as children, not HtmlTableCell.

	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	(RenderEndTag): new -> override.

	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	(RenderChildren): fixed another stack overflow.
	(RenderEndTag): new -> override.

	* System.Web.UI.HtmlControls/HtmlTextArea.cs:
	(RenderAttributes): new -> override.

svn path=/trunk/mcs/; revision=5193
2002-06-09 19:28:27 +00:00
Jonathan Pryor 856ab374d0 * class.xml: Added entries for the following classes from System.Diagnostics:
- EntryWrittenEventArgs
    - EntryWrittenEventHandler
    - EventLog
    - EventLogEntryCollection
    - EventLogEntry
    - EventLogEntryType
    - EventLogInstaller
    - EventLogPermissionAccess
    - EventLogPermissionAttribute
    - EventLogPermission
    - EventLogPermissionEntryCollection
    - EventLogPermissionEntry
    - EventLogTraceListener

svn path=/trunk/mono/; revision=5192
2002-06-09 18:11:16 +00:00
Jonathan Pryor f7a8fc051b * EntryWrittenEventArgs.cs: Implemented
* EntryWrittenEventHandler.cs: Implemented
  * EventLog.cs: Stubbed out
  * EventLogEntry.cs: Stubbed out
  * EventLogEntryCOllection.cs: Implemented.
  * EventLogEntryType.cs: Implemented
  * EventLogInstaller.cs: Stubbed out
  * EventLogPermission.cs: Stubbed out
  * EventLogPermissionAccess.cs: Implemented
  * EventLogPermissionAttribute.cs: Stubbed out
  * EventLogPermissionEntry.cs: Stubbed out
  * EventLogPermissionEntryCollection.cs: Stubbed out
  * EventLogTraceListener.cs: Stubbed out

svn path=/trunk/mcs/; revision=5191
2002-06-09 18:06:07 +00:00
Martin Baulig d505910c8d 2002-06-09 Martin Baulig <[email protected]>
* debug.c (mono_debug_open_image): For MONO_DEBUG_FORMAT_DWARF2_PLUS,
	the `%s-debug.s' file is in the same directory than its assembly.

svn path=/trunk/mono/; revision=5190
2002-06-09 15:55:51 +00:00
Martin Baulig 76fa33b7ea 2002-06-09 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Convert `Expr' to a literal of
	the same type as the constant if necessary.  There's also a test-130.cs
	for this.

	* enum.cs (Enum.ChangeEnumType): Moved to typemanager.cs and made public.

	* typemanager.cs (TypeManager.ChangeType): Previously known as
	Enum.ChangeEnumType().

svn path=/trunk/mcs/; revision=5189
2002-06-09 15:17:57 +00:00
Martin Baulig cca67ab78c 2002-06-09 Martin Baulig <[email protected]>
* test-130.cs: New test for constants and casts.

svn path=/trunk/mcs/; revision=5188
2002-06-09 15:14:34 +00:00
Martin Baulig 6415ca79e7 2002-06-09 Martin Baulig <[email protected]>
* expression.cs (Cast.TryReduce): Added support for consts.

svn path=/trunk/mcs/; revision=5185
2002-06-09 12:32:06 +00:00
Martin Baulig 7d7dc18170 2002-06-09 Martin Baulig <[email protected]>
* test-129.cs: New test for unary minus.

svn path=/trunk/mcs/; revision=5184
2002-06-09 10:31:54 +00:00
Lawrence Pit 9e3d332ce7 * DateTime.cs: fixes to pass tests M0 to M6:
if yy pattern then year values >= 30 are in 20th century
		rfc1123 pattern is always in GMT, therefor useutc must be false
	made GetNow() internal static so it can be called from TimeZone.

svn path=/trunk/mcs/; revision=5183
2002-06-09 08:03:04 +00:00
Lawrence Pit 1d17fc59ce * TimeZone.cs: removed dependency on year 2002 from initialization of
current timezone.
	* DateTimeTest.cs: Making tests culture independent

svn path=/trunk/mcs/; revision=5182
2002-06-09 05:54:24 +00:00
Duncan Mak e7980ea978 2002-06-09 Duncan Mak <[email protected]>
* Convert.cs (ToType): Rearranged what Exceptions we throw to
	match MS behavior.

svn path=/trunk/mcs/; revision=5181
2002-06-09 03:50:49 +00:00
Duncan Mak 2e22dca527 2002-06-08 Duncan Mak <[email protected]>
* XmlDocument.cs (Load):
	Added bits to Load (string) for BaseURI support.

	* XmlAttribute.cs (BaseURI):
	* XmlDocument.cs (BaseURI):
	* XmlEntity.cs (BaseURI):
	* XmlNode.cs (BaseURI): Implemented.

svn path=/trunk/mcs/; revision=5180
2002-06-08 21:52:08 +00:00
Duncan Mak b6e129d491 2002-06-08 Duncan Mak <[email protected]>
* Decimal.cs: Added support for the IConvertible interface.

svn path=/trunk/mcs/; revision=5179
2002-06-08 20:58:48 +00:00
Rafael Teixeira d531d0ba28 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs, attribute.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5178
2002-06-08 18:57:58 +00:00
Jeffrey Stedfast 12e84038d6 2002-06-08 Jeffrey Stedfast <[email protected]>
* mono-mutex.c (mono_once): New convenience function for my
	previous fix.

	* handles.c:
	* error.c:
	* critical-sections.c:
	* threads.c:
	* sockets.c:
	* semaphores.c:
	* processes.c:
	* mutexes.c:
	* io.c:
	* events.c:
	* atomic.c: Use mono_once() rather than pthread_once().

2002-06-06  Jeffrey Stedfast  <[email protected]>

	* handles.c (_wapi_handle_new): pthread_once() is not atomic, so
	if multiple threads all try to call _wapi_handle_new() before the
	shared data has been initialized, it is possible that we could get
	into a condition where shared_init() is being executed and later
	threads will pass by pthread_once() due to the fact that it has
	already been called and so therefor will attempt to use the shared
	data before it has been completely initialized. If we instead use
	a standard mutex locking mechanism around shared_init(), we can
	avoid the situation entirely. By wrapping the mutex locking in a
	check to see if we've already initialized the data, we can even
	avoid wasting resources by having to lock/unlock the mutex in any
	later calls (the only time we'd have to worry about
	locking/unlocking is the initial race to call shared_init() at
	startup).

svn path=/trunk/mono/; revision=5177
2002-06-08 17:57:49 +00:00
Ravi Pratap M 81cd691acb 2002-06-08 Ravi Pratap <[email protected]>
* class.cs (Accessor): Hold attributes information so we can pass
	it along.

	* cs-parser.jay (get_accessor_declaration, set_accessor_declaration):
	Modify to pass in attributes attached to the methods.

	(add_accessor_declaration, remove_accessor_declaration): Ditto.

	* attribute.cs (ApplyAttributes, CheckAttribute): Update accordingly
	to handle the Accessor kind :-)

	* class.cs (Property.Emit, Event.Emit): Apply attributes to the accessors

svn path=/trunk/mcs/; revision=5176
2002-06-08 17:29:47 +00:00
Ravi Pratap M dfc1d386fa 2002-06-08 Ravi Pratap <[email protected]>
* test-128.cs : Add. This ensures we apply attributes to accessors
	of events and properties.

svn path=/trunk/mcs/; revision=5175
2002-06-08 17:27:07 +00:00
Rafael Teixeira 6f0b3df4fe 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
	* added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
	* added System.XML and Microsoft.VisualBasic to the default config (driver.cs)

svn path=/trunk/mcs/; revision=5174
2002-06-08 15:34:46 +00:00
Martin Baulig 816bc04604 2002-06-08 Martin Baulig <[email protected]>
* expression.cs (Unary.TryReduceNegative): Added support for
	ULongConstants.

svn path=/trunk/mcs/; revision=5173
2002-06-08 13:39:30 +00:00
Martin Baulig d4da4eae70 2002-06-08 Martin Baulig <[email protected]>
* enum.cs (Enum.LookupEnumValue): Don't report an error if the
	name can't be found in the `defined_names' - the caller will do a
	MemberLookup in this case and thus find methods in System.Enum
	such as Enum.IsDefined().

svn path=/trunk/mcs/; revision=5172
2002-06-08 13:37:53 +00:00
Martin Baulig c8c967a789 2002-06-08 Martin Baulig <[email protected]>
* test-127.cs: New test for Enum.IsDefined().

svn path=/trunk/mcs/; revision=5171
2002-06-08 12:47:02 +00:00
Martin Baulig b90e18b9b5 2002-06-08 Martin Baulig <[email protected]>
* Enum.cs (IsDefined): `value' may be of the enum's type itself, it
	doesn't necessarily need to be of the enum's underlying type.

svn path=/trunk/mcs/; revision=5170
2002-06-08 12:41:54 +00:00
Martin Baulig 58ad4da00a 2002-06-08 Martin Baulig <[email protected]>
* enum.cs (Enum.ChangeEnumType): This is a custom version of
	Convert.ChangeType() which works with TypeBuilder created types.
	(Enum.LookupEnumValue, Enum.Define): Use it here.

	* class.cs (TypeContainer.RegisterRequiredImplementations): Added
	`TypeBuilder.BaseType != null' check.
	(TypeContainer.FindMembers): Only lookup parent members if we
	actually have a parent.
	(Method.EmitDestructor): Added `ec.ContainerType.BaseType != null' check.
	(ConstructorInitializer.Resolve): Likewise.

	* interface.cs (Interface.FindMembers): Added
	`TypeBuilder.BaseType != null' check.

	* rootcontext.cs (RootContext.ResolveCore): Added
	"System.Runtime.CompilerServices.IndexerNameAttribute" to
	classes_second_stage.

	* typemanager.cs (TypeManager.InitCoreTypes): Don't initialize
	debug_type and trace_type when compiling with --nostdlib.

svn path=/trunk/mcs/; revision=5169
2002-06-08 11:55:32 +00:00
Adam Treat 77766f3b35 * MoveToAttribute should stop on the requested attribute and return true,
otherwise return false.

svn path=/trunk/mcs/; revision=5168
2002-06-08 02:00:46 +00:00
Gonzalo Paniagua Javier 83eb4b25df Fixed link to CVS browsing
svn path=/trunk/mono/; revision=5167
2002-06-07 21:30:18 +00:00
Rafael Teixeira 406c29267f 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs and ecore.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5166
2002-06-07 20:47:29 +00:00
Dennis Hayes 2e1224f82b 2002-6-5 DennisHayes <[email protected]>
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* added new files for Richard Baumann ([email protected])

svn path=/trunk/mcs/; revision=5165
2002-06-07 20:41:12 +00:00
Dennis Hayes ee6c568cc4 2002-6-5 DennisHayes <[email protected]>
* ErrorProvider.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* added new files for paul

svn path=/trunk/mcs/; revision=5164
2002-06-07 20:38:02 +00:00
Dennis Hayes 7d03b6edea 2002-6-5 DennisHayes <[email protected]>
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* added new files for Jackson Harper ([email protected])

svn path=/trunk/mcs/; revision=5163
2002-06-07 20:35:11 +00:00
Martin Baulig faa67aa078 2002-06-07 Martin Baulig <[email protected]>
* class.cs (TypeContainer): Added `have_nonstatic_fields' field.
	(AddField): Set it to true when adding a non-static field.
	(DefineType): Use `have_nonstatic_fields' to find out whether we
	have non-static fields, not `Fields != null'.

svn path=/trunk/mcs/; revision=5162
2002-06-07 16:58:59 +00:00
Martin Baulig 893decafb7 2002-06-07 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_type_info): Only add a class layout entry
	if we actually have a `tb->class_size' (ie. it's not UnspecifiedTypeSize).

svn path=/trunk/mono/; revision=5161
2002-06-07 16:53:09 +00:00
Martin Baulig fac61b26e5 2002-06-07 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder): Added `PackingSize packing_size' and
	`int type_size' fields to the constructor.
	(DefineNestedType): Pass packing_size and type_size to the constructor.

	* ModuleBuilder.cs (DefineType): Pass the packing_size and type_size
	fields to the TypeBuilder's constructor.

svn path=/trunk/mcs/; revision=5160
2002-06-07 16:50:36 +00:00
Paolo Molaro efff5abbcb Fri Jun 7 22:07:25 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: more signature fixes that used uint instead of int.

svn path=/trunk/mono/; revision=5159
2002-06-07 16:23:23 +00:00
Martin Baulig e9a8c5cf45 2002-06-07 Martin Baulig <[email protected]>
* TypeBuilder.cs (DefineNestedType): There is no overload for this
	method which takes 5 args in the specs, removed it.

svn path=/trunk/mcs/; revision=5158
2002-06-07 15:41:42 +00:00
Miguel de Icaza 93986018bd 2002-06-02 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleNameResolve): Removed simple bug (we were
	dereferencing a null on the static-field code path)

svn path=/trunk/mcs/; revision=5157
2002-06-07 15:29:38 +00:00
Gonzalo Paniagua Javier 422b632e91 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputHidden.cs: fixed constructor.

	* HtmlInputRadioButton.cs:
	(RenderAttributes): fixed stack overflow.

	(Name):
	(RenderedName): new -> override.

	(Value): new property.

	* HtmlInputText.cs:
	(RenderAttributes): fixed the same kind of stack overflow and make
	string comparison case insensitive.

svn path=/trunk/mcs/; revision=5155
2002-06-07 15:24:00 +00:00
Paolo Molaro 93be482083 Fri Jun 7 20:41:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fixed signature of field refs.

svn path=/trunk/mono/; revision=5154
2002-06-07 14:56:05 +00:00
Paolo Molaro 2bf92f9d86 Fri Jun 7 19:41:14 CEST 2002 Paolo Molaro <[email protected]>
* class.c, reflection.c: handle typerefs of nested types
	(both on read and when writing files).

svn path=/trunk/mono/; revision=5153
2002-06-07 13:55:50 +00:00
Paolo Molaro 4d9a2706bf Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <[email protected]>
* get.c: handle typerefs of nested types. Don't print "."
	with an empty namespace.

svn path=/trunk/mono/; revision=5152
2002-06-07 13:54:04 +00:00
Paolo Molaro 5cafd082c5 Fri Jun 7 17:46:50 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: fix method signatures that tried to workaround the previous
	typo, d'oh!

svn path=/trunk/mono/; revision=5151
2002-06-07 12:01:08 +00:00
Paolo Molaro ac53fa35d7 Fri Jun 7 17:36:33 CEST 2002 Paolo Molaro <[email protected]>
* debug-helpers.c: fix typo.

svn path=/trunk/mono/; revision=5150
2002-06-07 11:50:27 +00:00
Paolo Molaro e84fc77c09 Fri Jun 7 17:04:06 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: updates for PE/COFF rewrite.

svn path=/trunk/mcs/; revision=5149
2002-06-07 11:18:06 +00:00
Paolo Molaro ac91f362d1 Fri Jun 7 17:00:04 CEST 2002 Paolo Molaro <[email protected]>
* cil-coff.h, icall.c, image.c, reflection.c, reflection.h:
	rewrote the PE/COFF writing code (our programs are understood by the
	ms runtime, now).

svn path=/trunk/mono/; revision=5148
2002-06-07 11:18:05 +00:00
Gonzalo Paniagua Javier ba2f475939 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: fixed name of Enctype property and render enctype
	enctype attribute.

	* HtmlInputControl.cs: tag type is "input", not "type".

svn path=/trunk/mcs/; revision=5145
2002-06-06 23:38:26 +00:00
Nick Drochak 4472b85353 2002/06/07 Nick Drochak <[email protected]>
* String.cs: Add [Serializable] to class
	* SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads

svn path=/trunk/mcs/; revision=5141
2002-06-06 22:30:58 +00:00
Nick Drochak 70ea1389b1 2002-06-07 Nick Drochak <[email protected]>
* DecimalTest.cs: Catch unexpected exception and report it.

svn path=/trunk/mcs/; revision=5140
2002-06-06 18:26:02 +00:00
Nick Drochak b6567ed194 2002-06-07 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1

svn path=/trunk/mcs/; revision=5139
2002-06-06 18:24:10 +00:00
Jeffrey Stedfast b34ac0edb0 made some spelling corrections
svn path=/trunk/mono/; revision=5138
2002-06-06 17:55:06 +00:00
Gonzalo Paniagua Javier 99f37626e5 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: for each child control to render, assign
	Control.Page. Probably also needed in HtmlContainerControl derived
	classes.

	* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
	new RenderBeginTag method, defined in MS docs.

	* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
	browser.

	* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
	without arguments. Xsp used it, though now it always use the other
	.ctor.

	* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
	implemented set_Name.

svn path=/trunk/mcs/; revision=5135
2002-06-06 11:38:30 +00:00
Rodrigo Moya edd9d283a8 2002-06-06 Rodrigo Moya <[email protected]>
* list: added missing PostgresTypes.cs file.

svn path=/trunk/mcs/; revision=5134
2002-06-06 08:53:57 +00:00
Gonzalo Paniagua Javier 62aeab6dc1 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
	now works fine and takes care of the details.

	* System.Web.UI/Control.cs: added HasChildren property.

	* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.

	* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
	override, not new.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
	Render method in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
	render the tag and its attributes. Works for container and
	non-containers.

	* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
	to be new. Implemented Height property.

svn path=/trunk/mcs/; revision=5130
2002-06-05 15:58:32 +00:00
Gonzalo Paniagua Javier a6e91ebb09 Changed May 31st news
svn path=/trunk/mono/; revision=5129
2002-06-05 12:46:56 +00:00
Miguel de Icaza 03846e09c1 push index
svn path=/trunk/mono/; revision=5128
2002-06-05 12:41:24 +00:00
Gonzalo Paniagua Javier 3165dc992d 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added /debug flag. I wanna see line numbers in
	exceptions thrown.

	* System.Web.UI/Page.cs: run OnInit, OnLoad y PreRender before
	rendering the page. Invoke Page_Init and/or Page_Load if the user
	supplied them (though this should depend on AutoEventWireUp attribute
	of Page directive)

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: some formatting
	and use HttpUtility.Encode instead of Page.Server to encode InnerText.

svn path=/trunk/mcs/; revision=5126
2002-06-04 23:09:33 +00:00
Dennis Hayes 8a0c20c884 2002-5-31 DennisHayes <[email protected]>
* ItemChangedEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* added new files

svn path=/trunk/mcs/; revision=5125
2002-06-04 22:27:47 +00:00
Dennis Hayes 7422644621 2002-5-31 DennisHayes <[email protected]>
* ColumnClickEventArgs.cs
* Fully implmented.

svn path=/trunk/mcs/; revision=5124
2002-06-04 22:19:54 +00:00
Dennis Hayes 60704133df 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5123
2002-06-04 22:08:50 +00:00
Dennis Hayes 313141a5e5 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5122
2002-06-04 21:57:43 +00:00
Jonathan Pryor aa99ca9b2c Update `class.xml' to include all of the classes currently in
`/mcs/class/System/System.Diagnostics'.

I didn't know all the information for all the classes (e.g. % complete,
current maintainer), so this list isn't complete, but it should be easier to
update this information now that it's present.

svn path=/trunk/mono/; revision=5121
2002-06-04 21:48:53 +00:00
Dennis Hayes be14205f25 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5120
2002-06-04 21:42:10 +00:00
Rafael Teixeira cbac8fe826 2002-06-02 Rafael Teixeira <[email protected]>
* copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
	  where they are inherited by mb-parser.jay/cs
	* put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
	  if I jump over the entry-point check code, while debugging

svn path=/trunk/mcs/; revision=5119
2002-06-04 21:15:14 +00:00
Gonzalo Paniagua Javier f1b29831f9 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: don't throw exception in ControlID. By now,
	it returns ID.

	* System.Web.UI/Page.cs:
	(ProcessRequest): implemented.

	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	(RenderAttributes): new -> override and fixed little bug that made
	it cause an stack overflow.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: reformatted and
	added tag and its attributes rendering.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: removed TagName,
	which is already in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlTable.cs:
	(RenderEndTag): new -> override.

svn path=/trunk/mcs/; revision=5117
2002-06-04 16:49:33 +00:00
Gonzalo Paniagua Javier 22f23b9995 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: implemented Browser property.

	* System.Web.UI/Page.cs: finished stubbing out. Implemented some
	methods.

	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.SessionState/SessionStateModule.cs: new files with some
	implementation and the rest stubbed.

svn path=/trunk/mcs/; revision=5116
2002-06-04 13:27:21 +00:00
Paolo Molaro 54c4d92f83 Fixed make distcheck.
svn path=/trunk/mono/; revision=5115
2002-06-04 13:03:39 +00:00
Paolo Molaro cc42dbca88 Tue Jun 4 18:10:47 CEST 2002 Paolo Molaro <[email protected]>
* gc.c, gc.h, icall.c: weakreference support.

svn path=/trunk/mono/; revision=5114
2002-06-04 12:24:55 +00:00
Paolo Molaro 54572e3d18 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <[email protected]>
* GCHandle.cs: changed to fit spec and implementation needs.

svn path=/trunk/mcs/; revision=5113
2002-06-04 12:24:45 +00:00
Paolo Molaro 024b221868 Forgot in the last commit.
svn path=/trunk/mono/; revision=5112
2002-06-04 11:42:50 +00:00
Nick Drochak 76b6102010 2002-06-05 Nick Drochak <[email protected]>
* SecurityElement.cs: Fixed couple of hard to spot typos which were
	causing valid names and keys to be rejected.

svn path=/trunk/mcs/; revision=5111
2002-06-04 11:32:53 +00:00
Rodrigo Moya 72d4627833 2002-06-03 Rodrigo Moya <[email protected]>
* OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
	IsSynchronized): implemented.

svn path=/trunk/mcs/; revision=5110
2002-06-04 11:14:51 +00:00
Nick Drochak e5a96922fe 2002-06-04 Nick Drochak <[email protected]>
* Double.cs (Parse): Recognize the group separator string, but still we
	don't check the format for the proper number of digits between
	separators. Also throw OverflowException when we get Pos or Neg
	Infinity from runtime.

svn path=/trunk/mcs/; revision=5109
2002-06-04 11:01:09 +00:00
Paolo Molaro e02101a1e6 Tue Jun 4 16:06:19 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am, mono-config.c: use $(sysconfdir).

svn path=/trunk/mono/; revision=5108
2002-06-04 10:20:34 +00:00
Paolo Molaro 6916f6ce1f Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <[email protected]>
* ArrayList.cs: fixed RemoveAt() implementation.

svn path=/trunk/mcs/; revision=5107
2002-06-04 07:23:21 +00:00
Duncan Mak aa93bef4fb 2002-06-03 Duncan Mak <[email protected]>
* Convert.cs (ToDouble): Fixed ToDouble (byte value).

svn path=/trunk/mcs/; revision=5106
2002-06-03 23:57:25 +00:00
Nick Drochak 0fd0c1bdbb 2002/06/04 Nick Drochak <[email protected]>
* ByteTest.cs: Fix currency constant that we use for the expected
	value.  Try to be more culture-diverse.

svn path=/trunk/mcs/; revision=5105
2002-06-03 23:21:16 +00:00
Gonzalo Paniagua Javier b90100aed8 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: stubbed out.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.

	* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.

	* System.Web.SessionState/IReadOnlySessionState.cs: New file.

	* System.Web.SessionState/IRequiresSessionState.cs: New file.

	* System.Web.SessionState/SessionStateMode.cs: New file.

	* System.Web.UI/Page.cs:
	(FileDependencies): now is public public.
	(EnableViewStateMAC): uncommented and made protected.
	(GetTypeHashCode): added method.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderAttributes): changed new by override.
	(Name): allow setting the property.

	* System.Web.UI.WebControls/WebControl.cs: added attributes
	PersistChildrenAttribute and ParseChildrenAttribute.

	* System.Web.Configuration/ChangeLog:
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Security/ChangeLog:
	* System.Web.Security/DefaultAuthenticationEventArgs.cs:
	* System.Web.SessionState/ChangeLog:
	* System.Web.SessionState/IReadOnlySessionState.cs:
	* System.Web.SessionState/IRequiresSessionState.cs:
	* System.Web.SessionState/SessionStateMode.cs: new files.

	Now we are able to compile some files generated by xsp with our
	System.Web classes.

svn path=/trunk/mcs/; revision=5102
2002-06-03 20:41:49 +00:00
Paolo Molaro f6c317aa34 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monobitset.h: documentation and fixes from
	Dennis Haney.

svn path=/trunk/mono/; revision=5099
2002-06-03 09:56:48 +00:00
Paolo Molaro 44d7d4c876 Mon Jun 3 13:13:32 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: changed default precision of Double.ToString() to 15.
	Fixed memory leak. Unified with Single.ToString.

svn path=/trunk/mono/; revision=5098
2002-06-03 07:29:10 +00:00
Paolo Molaro af3d63bd05 Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <[email protected]>
* ASCIIEncoding.cs: fixed handling of 0 bytecount.

svn path=/trunk/mcs/; revision=5097
2002-06-03 07:12:26 +00:00
Paolo Molaro 8cd9141e16 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <[email protected]>
* Type.cs: fixed GetTypeCode.

svn path=/trunk/mcs/; revision=5096
2002-06-03 06:32:01 +00:00
Nick Drochak 46440f3ba2 2002/06/03 Nick Drochak <[email protected]>
* DecimalTest.cs: Fix some errors that were showing up when run against
	ms.net.

svn path=/trunk/mcs/; revision=5093
2002-06-02 23:45:30 +00:00
Rodrigo Moya 595f3b7a5c 2002-06-02 Francisco Jr. <[email protected]>
* System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
	methods.

svn path=/trunk/mcs/; revision=5092
2002-06-02 14:46:11 +00:00
Rodrigo Moya 4856bf9df7 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Dispose): added missing method.

	* OleDbCommand.cs (Clone): added missing methods.
	(Parameters, Transaction, Connection): made these overload
	IDbCommand's ones.

	* OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
	call m_list methods, not own ones.

	* OleDbParameter.cs: more implementation.

svn path=/trunk/mcs/; revision=5091
2002-06-02 14:41:11 +00:00
Rodrigo Moya 1f103f507d 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Connection, IsolationLevel, Begin,
	Commit, Rollback): implemented.
	(GdaConnection): added new internal property.

	* OleDbParameter.cs:
	* OleDbParameterCollection.cs: implemented some methods and
	properties.

	* libgda.cs: added yet more libgda API functions.

svn path=/trunk/mcs/; revision=5090
2002-06-02 13:47:04 +00:00
Duncan Mak ca648cef4b 2002-06-02 Duncan Mak <[email protected]>
* Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
	cast from an int so that we throw OverFlowException correctly.

	(ToInt64): Use a new 64bit version of ConvertToBase.

	(ConvertToBase): Add checks for overflow (checks Int32.MinValue
	and Int32.MaxValue).

	(ConvertFromBase64): New 64-bit version of ConvertFromBase.

svn path=/trunk/mcs/; revision=5089
2002-06-02 12:10:47 +00:00
Nick Drochak f7e327ff65 More try-catch blocks to find the bugs.
svn path=/trunk/mcs/; revision=5088
2002-06-02 10:24:04 +00:00
Nick Drochak 219b8d1bd5 2002-06-02 Nick Drochak <[email protected]>
* Convert.cs (ToSByte): Check for special value.
	* Single.cs (Parse):
	* UInt16.cs (Parse):
	* UInt32.cs (Parse): Throw OverflowException if negative

svn path=/trunk/mcs/; revision=5087
2002-06-02 10:20:16 +00:00
Duncan Mak 35a5f9cbb7 2002-06-02 Duncan Mak <[email protected]>
* Convert.cs (DBNull): Point it to DBNull.Value.
	(IsDBNull): Instead of checking typecodes, just check to see if
	it's the same as the DBNull field.

svn path=/trunk/mcs/; revision=5086
2002-06-02 01:58:04 +00:00
Nick Drochak 299ac9b95f 2002-06-02 Nick Drochak <[email protected]>
* ConvertTest.cs: Use en-US culture since that's all we support in our
	corlib right now. Change constants accordingly.  Also added a bunch of
	try-catch blocks to show which Assert is failing.

svn path=/trunk/mcs/; revision=5085
2002-06-02 01:09:56 +00:00
Nick Drochak 42f2cacb3d 2002-06-02 Nick Drochak <[email protected]>
* Convert.cs (ConvertFromBase): Detect bad digits correctly.

svn path=/trunk/mcs/; revision=5084
2002-06-02 01:03:58 +00:00
Duncan Mak 449a2f4dd9 2002-06-02 Duncan Mak <[email protected]>
Char.cs (Parse): Simplify the Exception handling.

	* Convert.cs (ToDecimal): Remove call to Math.Round () when
	converting from a float.

svn path=/trunk/mcs/; revision=5083
2002-06-02 00:55:12 +00:00
Duncan Mak 58b1fcc78d 2002-06-02 Duncan Mak <[email protected]>
* ConvertTest.cs (TestToDecimal): Fixed typo in case #H11.

svn path=/trunk/mcs/; revision=5082
2002-06-02 00:38:05 +00:00
Rodrigo Moya 63f8641786 2002-06-01 Rodrigo Moya <[email protected]>
* libgda.cs: added new libgda API functions.

	* OleDbConnection.cs (Provider): implemented.
	(BeginTransaction): made it overload IDbConnection methods.
	(ChangeDatabase): new stub, needs some work on libgda for being
	implemented.
	(Clone): new stub.
	(Close): implemented.
	(CreateCommand): implemented.
	(GetOleDbSchemaTable): new stub, until I understand what to do here.
	(Open): implemented basic stuff, which is just supporting connection
	strings that represent a GDA data source name. More to come.
	(InfoMessage, StateChange): added events.

	* TestOleDb.cs: test program for System.Data.OleDb.

svn path=/trunk/mcs/; revision=5081
2002-06-01 21:32:56 +00:00
Nick Drochak d28c74540f 2002-06-01 Nick Drochak <[email protected]>
* corlib_test.build: Change the order of the builds.  Just makes it a
	bit faster for my testing since I need the linux dll.

svn path=/trunk/mcs/; revision=5080
2002-06-01 10:11:28 +00:00
Nick Drochak a53297eaac 2002-06-01 Nick Drochak <[email protected]>
* BugTest.cs: Remove, bug fixed.  Yay!
	* AllTests.cs: Remove BugTest from suite.

svn path=/trunk/mcs/; revision=5079
2002-06-01 10:03:08 +00:00
Paolo Molaro 0fd0e0119a Sat Jun 1 14:26:45 CEST 2002 Paolo Molaro <[email protected]>
* sysmath.c: workaround systems missing NAN and/or HUGE_VAL.

svn path=/trunk/mono/; revision=5078
2002-06-01 08:40:37 +00:00
Paolo Molaro dca15b9b6c Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c: fix my screwup pointed out by Lawrence Pit
	([email protected]).

svn path=/trunk/mono/; revision=5077
2002-06-01 08:27:27 +00:00
Paolo Molaro 5d86f61161 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <[email protected]>
* main.c: print byte values correctly.

svn path=/trunk/mono/; revision=5076
2002-06-01 08:12:22 +00:00
Paolo Molaro 3476e11bf5 Kill warning.
svn path=/trunk/mono/; revision=5075
2002-06-01 08:08:34 +00:00
Paolo Molaro df8c1750d6 Sat Jun 1 13:54:29 CEST 2002 Paolo Molaro <[email protected]>
* shmdel.c: use return instead of exit in main().

svn path=/trunk/mono/; revision=5074
2002-06-01 08:08:03 +00:00
Paolo Molaro cdfef7f3bd Sat Jun 1 13:46:54 CEST 2002 Paolo Molaro <[email protected]>
* pedump.c, appdomain.c, appdomain.h, assembly.c, domain.c,
	gc.c, icall.c, image.c, mono-config.c, reflection.c: killed
	warnings and compilation fixes from Dennis Haney ([email protected])
	and myself.

svn path=/trunk/mono/; revision=5073
2002-06-01 08:04:04 +00:00
Paolo Molaro 0158bd45eb Sat Jun 1 13:27:11 CEST 2002 Paolo Molaro <[email protected]>
* atomic.h: inline asm fixes from Dennis Haney ([email protected]).

svn path=/trunk/mono/; revision=5072
2002-06-01 07:41:08 +00:00
Paolo Molaro e3b8826af4 Sat Jun 1 13:24:01 CEST 2002 Paolo Molaro <[email protected]>
* message.c, emit-x86.c: kill warnings.

svn path=/trunk/mono/; revision=5071
2002-06-01 07:37:43 +00:00
Miguel de Icaza 2ca084f263 Fix NullRef
svn path=/trunk/mcs/; revision=5070
2002-05-31 21:20:11 +00:00
Dennis Hayes e5e0a26282 2002-5-31 DennisHayes <[email protected]>
* ColumnClickEventArgs.cs
* Fully implmented.

svn path=/trunk/mcs/; revision=5069
2002-05-31 21:02:11 +00:00
Dennis Hayes f54bc90deb 2002-5-31 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* MonthCalendar.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Removed trash byte

svn path=/trunk/mcs/; revision=5068
2002-05-31 20:58:10 +00:00
Dennis Hayes 50d440e7fd 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* Panel.cs
* New class, Stubbed and commented out

svn path=/trunk/mcs/; revision=5067
2002-05-31 20:52:45 +00:00
Miguel de Icaza 4021f29562 Report line where the new fails
svn path=/trunk/mcs/; revision=5066
2002-05-31 20:38:49 +00:00
Rafael Teixeira 19b44d0cb6 2002-05-31 Rafael Teixeira <[email protected]>
* class Mono.MonoBASIC.Tokenizer now handles
		- all valid line-terminators (CR, LF, CRLF, LS and PS)
		- escaped identifiers (like [Integer])
		- old-fashioned comments syntax (REM Blah-Blah)

svn path=/trunk/mcs/; revision=5065
2002-05-31 17:10:44 +00:00
Miguel de Icaza f0f8ba8135 Flush
svn path=/trunk/mcs/; revision=5064
2002-05-31 16:39:31 +00:00
Rafael Teixeira 19df4ca570 housekeeping
svn path=/trunk/mcs/; revision=5063
2002-05-31 14:42:09 +00:00
Rafael Teixeira 694e99f55c head -n2 mbas\changelog
svn path=/trunk/mcs/; revision=5062
2002-05-31 14:02:54 +00:00
Rafael Teixeira 20585302ab housekeeping
svn path=/trunk/mcs/; revision=5058
2002-05-31 11:37:25 +00:00
Rafael Teixeira 40996f0943 2002-05-31 Rafael Teixeira <[email protected]>
* squashed some reduce/reduce conflicts out of mb-parser.jay

svn path=/trunk/mcs/; revision=5057
2002-05-31 11:30:34 +00:00
Paolo Molaro 6c1a3ad677 Fri May 31 16:58:36 CEST 2002 Paolo Molaro <[email protected]>
* debug-symfile.c, sysmath.c: yet more compilation fixes.

svn path=/trunk/mono/; revision=5056
2002-05-31 11:12:38 +00:00
Dietmar Maurer 2e91e9bfdf 2002-05-31 Dietmar Maurer <[email protected]>
* x86.brg: buf fix in REMOTE_STIND_OBJ
	(mono_ldvirtftn): impl.
	(mono_ldintftn): impl.
	(mono_ldftn): impl.

svn path=/trunk/mono/; revision=5055
2002-05-31 10:58:19 +00:00
Paolo Molaro 0640ef5baf Compilation fixes.
svn path=/trunk/mono/; revision=5054
2002-05-31 10:55:37 +00:00
Paolo Molaro 60c303cb94 Fri May 31 16:35:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, socket-io.c: more compilation fixes.

svn path=/trunk/mono/; revision=5053
2002-05-31 10:49:42 +00:00
Paolo Molaro c510839b72 Fri May 31 16:21:54 CEST 2002 Paolo Molaro <[email protected]>
* daemon.c, handles.c: rename "sun" local var since it's apparently
	a #define on Solaris.

svn path=/trunk/mono/; revision=5052
2002-05-31 10:41:30 +00:00
Rafael Teixeira 2981c34046 2002-05-31 Rafael Teixeira <[email protected]>
* merged codegen.cs from mcs
	* altered Driver.cs to work with new codegen.cs

svn path=/trunk/mcs/; revision=5051
2002-05-31 10:34:58 +00:00
Paolo Molaro a3c5142745 Fri May 31 16:17:20 CEST 2002 Paolo Molaro <[email protected]>
* interp.c, hacks.h: compiler compatibility fixes.

svn path=/trunk/mono/; revision=5050
2002-05-31 10:31:09 +00:00
Paolo Molaro a097d74abf Fri May 31 15:58:22 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c, class.c, class.h, debug-symfile.c, decimal.c,
	domain.c, loader.c, object.c, object.h, reflection.c, string-icalls.h,
	unicode.c: warning and compiler compatibility fixes.

svn path=/trunk/mono/; revision=5049
2002-05-31 10:14:31 +00:00
Paolo Molaro 297165ce3f Fri May 31 15:40:14 CEST 2002 Paolo Molaro <[email protected]>
* daemon-messages.c: work-around MSG_NOSIGNAL missing on some
	platforms.

svn path=/trunk/mono/; revision=5048
2002-05-31 09:54:14 +00:00
Paolo Molaro 4c15b890d3 Fri May 31 15:36:53 CEST 2002 Paolo Molaro <[email protected]>
* class.h, metadata.c: fixed warnings/compilation errors.

svn path=/trunk/mono/; revision=5047
2002-05-31 09:50:46 +00:00
Paolo Molaro 9ef566e7af Fri May 31 15:34:18 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().

svn path=/trunk/mono/; revision=5046
2002-05-31 09:47:59 +00:00
Paolo Molaro a4263194ee Add dll-mapping config file.
svn path=/trunk/mono/; revision=5045
2002-05-31 07:51:40 +00:00
Paolo Molaro 4cb3b28858 Fri May 31 13:26:56 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: added --config command line option.

svn path=/trunk/mono/; revision=5044
2002-05-31 07:42:01 +00:00
Paolo Molaro 60b557313a Fri May 31 13:25:57 CEST 2002 Paolo Molaro <[email protected]>
* interp.c, mint.1: added --config command line option.

svn path=/trunk/mono/; revision=5043
2002-05-31 07:39:32 +00:00
Paolo Molaro fb3ec5455b Fri May 31 13:08:25 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am, mono-config.c, mono-config.h: configuration file
	support routines.
	* loader.c, loader.h: make Dll mapping configurable at runtime in the
	config file. Export methods to insert and lookup mappings.

svn path=/trunk/mono/; revision=5042
2002-05-31 07:24:33 +00:00
Paolo Molaro 8e4e65ed5b Fri May 31 12:45:38 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle types and boxed objects in custom attr
	constructors.

svn path=/trunk/mono/; revision=5041
2002-05-31 06:59:27 +00:00
Paolo Molaro 0b75693b74 Fri May 31 12:34:52 CEST 2002 Paolo Molaro <[email protected]>
* jit.c, jit.h: collect statistics about the number of basic blocks.

svn path=/trunk/mono/; revision=5040
2002-05-31 06:48:48 +00:00
Martin Baulig 6ea9bedfe2 2002-05-31 Martin Baulig <[email protected]>
* debug.c (mono_debug_address_from_il_offset): New public function.
	(mono_debug_add_method): Improved local variable info: correctly handle
	variables in registers and their start/end scopes.

svn path=/trunk/mono/; revision=5039
2002-05-30 19:54:57 +00:00
Martin Baulig b3f93cae17 Correctly handle structs.
svn path=/trunk/mcs/; revision=5038
2002-05-30 19:52:50 +00:00
Martin Baulig a5963ebb2f 2002-05-30 Martin Baulig <[email protected]>
* codegen.cs (InitMonoSymbolWriter): Added `string[] args' argument
	to take command line arguments.  Use reflection to call the new
	custom `Initialize' function on the symbol writer and pass it the
	command line arguments.

	* driver.cs (--debug-args): New command line argument to pass command
	line arguments to the symbol writer.

svn path=/trunk/mcs/; revision=5037
2002-05-30 17:45:24 +00:00
Martin Baulig e0f1f8754b 2002-05-30 Martin Baulig <[email protected]>
* IMonoSymbolWriter (IMonoSymbolWriter): Added custom `Initialize' method.

	* MonoSymbolWriter.cs (Initialize): The ISymbolWriter's `Initialize' method
	is no longer supported and throws an exception.
	(Initialize (string, string[])): New custom initialization function.

	* MonoDwarfFileWriter.cs (DwarfFileWriter): Added `string[] args' argument
	to the constructor to pass command line arguments.

	* gdb-csharp-support.patch: Updated for GDB 5.2.

svn path=/trunk/mcs/; revision=5036
2002-05-30 17:42:50 +00:00
Martin Baulig 5a792ec683 Oooops ...
svn path=/trunk/mcs/; revision=5035
2002-05-30 17:39:58 +00:00
Martin Baulig d7c013969b 2002-05-30 Martin Baulig <[email protected]>
* MonoType.cs (GetInterface): Implemented.

svn path=/trunk/mcs/; revision=5034
2002-05-30 17:38:33 +00:00
Martin Baulig 987e8d8fe8 Reverted this, no longer needed:
2002-05-22  Martin Baulig  <[email protected]>

	* reflection.h (MonoArrayList): New typedef.
	(MonoReflectionAssemblyBuilder): Added `table_indexes' and `methods'.

svn path=/trunk/mono/; revision=5033
2002-05-30 15:19:49 +00:00
Martin Baulig 063bfcc4e9 2002-05-30 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token): Removed.

svn path=/trunk/mono/; revision=5032
2002-05-30 15:19:04 +00:00
Martin Baulig fc2a2b027f 2002-05-30 Martin Baulig <[email protected]>
* ModuleBuilder.cs (ModuleBuilder): The constructor now get's the AssemblyBuilder's
	`methods' array as third argument.
	(OpenMethod): Use this array to get the method builder rather than using an
	interncall for it.
	(get_method_builder): Removed this interncall.

svn path=/trunk/mcs/; revision=5031
2002-05-30 15:15:25 +00:00
Martin Baulig 39b7e0e8af 2002-05-30 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (methods): Made this internal and don't
	initialize it.  It will be initialized by the ModuleBuilder's
	GetSymbolWriter() method.
	(get_next_table_index): Only store the method in the `methods'
	array if it's not null.

	* ModuleBuilder.cs (GetSymbolWriter): Initialize the AssemblyBuilder's
	`methods' field if necessary and pass it as third argument to the
	symbol writer's constructor.

svn path=/trunk/mcs/; revision=5030
2002-05-30 15:14:00 +00:00
Martin Baulig 044029a805 2002-05-30 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_string): Use "0x%lx" as fprintf() format,
	not "%p" which seems to be broken on Windows/mingw32.

svn path=/trunk/mono/; revision=5029
2002-05-30 14:30:13 +00:00
Rafael Teixeira 3d7b99fb49 syncing
svn path=/trunk/mcs/; revision=5028
2002-05-30 13:28:05 +00:00
Nick Drochak bf28b61220 2002-05-31 Nick Drochak <[email protected]>
* BugTest.cs: Small file to show NullReferenceException bug
	* AllTests.cs: Include BugTest.cs in the suite.

svn path=/trunk/mcs/; revision=5027
2002-05-30 12:45:30 +00:00
Dietmar Maurer 1908739baf s/MonoValueKind/MonoVarType/
svn path=/trunk/mono/; revision=5026
2002-05-30 11:25:03 +00:00
Dietmar Maurer d2207e1ac1 2002-05-30 Dietmar Maurer <[email protected]>
* x86.brg (reg): bug fix in LOCALLOC

	* mono.c (main): new switch --nointrinsic to disable memcpy opt.

	* x86.brg: added block copy/init optimizations from
	Serge ([email protected])

svn path=/trunk/mono/; revision=5025
2002-05-30 11:04:53 +00:00
Daniel Morgan cf36a515ee 2002-05-30 Daniel Morgan <[email protected]>
* doc/ado-net: update the ado-net web page on go-mono.com
	input parameters support, beginnings of Mono.Data.MySQL
	and System.Data.OleDb, updated the sample source code,
	and output from a PostgresTest

svn path=/trunk/mono/; revision=5024
2002-05-30 10:16:22 +00:00
Daniel Morgan 8ac0b7fe99 2002-05-30 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlConnection.cs: modifed -
	start to implement the interfaces properly and
	properly doing a Close(), Dispose(), and
	releasing resources

	* Test/SqlSharpCli.cs: modified -
	add support for MySQL in Mono.Data.MySql
	and OleDb support in System.Data.OleDb.  However,
	the OleDb support is commented right now.
	When the program starts up, a shorter help menu should
	display the most important commands: help and quit

svn path=/trunk/mcs/; revision=5023
2002-05-30 09:07:01 +00:00
Daniel Morgan 71ec6bd646 2002-05-30 Daniel Morgan <[email protected]>
* Mono.Data.MySql.build: modified
	need to copy Mono.Data.MySql.dll to mcs/class/System.Data/Test
	so the SqlSharpCli test program can use MySql too

svn path=/trunk/mcs/; revision=5022
2002-05-30 08:40:35 +00:00
Jaime Anguiano Olarra 3bfcde28db Added some questions and answers. Sent a file to Miguel containing those.
svn path=/trunk/mono/; revision=5021
2002-05-30 08:37:18 +00:00
Paolo Molaro 8666e4d2f9 Thu May 30 14:13:12 CEST 2002 Paolo Molaro <[email protected]>
* invoke.cs: lookup P/Invoke method address only when needed.


Thu May 30 14:14:16 CEST 2002 Paolo Molaro <[email protected]>

	* interp.c: lookup P/Invoke method addr only when needed.


Thu May 30 14:15:02 CEST 2002 Paolo Molaro <[email protected]>

	* metadata.c, metadata.h: added mono_metadata_implmap_from_method()
	to lookup the implmap row for a P/Invoke method.
	* loader.c: added mono_lookup_pinvoke_call(): we only lookup a
	P/Invoke method from the runtime on an as needed basis.

svn path=/trunk/mono/; revision=5020
2002-05-30 08:33:27 +00:00
Daniel Morgan 5fbdeba178 *** empty log message ***
svn path=/trunk/mcs/; revision=5019
2002-05-30 08:01:11 +00:00
Daniel Morgan be273e55e2 2002-05-30 Daniel Morgan <[email protected]>
* Test/TestMySqlInsert.cs: added test
	to do an SQL INSERT to insert a row into table.
	Works on cygwin compiled using mcs and mono and
	runs on mint, but it fails running on mono.

	* Mono.Data.MySql/MySqlCommand.cs
	* Mono.Data.MySql/TODOAttribute.cs
	* Mono.Data.MySql/MySqlConnection.cs: added

	* list: added
	so can build with mcs/mono on linux
	I only tested it on Cygwin though.
	To work on linux, the library name in the pinvokes
	in MySql.cs will need to be changed.

	* Mono.Data.MySql.build: modified
	exclude files from build.  also copy Mono.Data.MySql.dll
	to Mono.Data.MySql so you can build and run Test.cs

	* Mono.Data.MySql/MySql.cs: modified
	tweaks to compile under mcs/mono and run under mint or mono.
	Runs under mint, but not mono. Had to comment out
	mysql_thread_begin/mysql_thread_end functions because they refused
	to load in mono.  Until this is fixed, a memory leak will occur.
	Can not retrieve field data from MySQL because the PtrToStructure()
	needs to be implemented in System.Runtime.InteropServices.Marshal class.
	However, this will be very complicated to do.  So, we connect to
	MySQL and execute SQL Commands,	but we can not do Queries yet.

	* Mono.Data.MySql/Test.cs: modified
	tweaks to test C# bindings with compiling mcs/mono and
	running on mint and mono.  Runs on mint, but not mono.

svn path=/trunk/mcs/; revision=5018
2002-05-30 07:57:20 +00:00
Dietmar Maurer 4bc9162736 s/+=/=/
svn path=/trunk/mono/; revision=5015
2002-05-30 01:43:17 +00:00
Miguel de Icaza 3f124b1881 back out the indexer change until I can figure it out
svn path=/trunk/mcs/; revision=5014
2002-05-29 23:37:57 +00:00
Jonathan Pryor bbdee53089 Add documentation regarding MONO_TRACE.
svn path=/trunk/mcs/; revision=5013
2002-05-29 21:00:42 +00:00
Jonathan Pryor 1512ac4a82 Implement MONO_TRACE support.
svn path=/trunk/mcs/; revision=5012
2002-05-29 20:59:48 +00:00
Rodrigo Moya cca4ebf9d3 2002-05-29 Rodrigo Moya <[email protected]>
* libgda.cs: added static constructor.
	(GdaClient): new static property to get the underlying GdaClient
	object.

	* OleDbConnection.cs: removed GDA initialization, which belongs to
	the static 'libgda' class.

svn path=/trunk/mcs/; revision=5011
2002-05-29 18:48:37 +00:00
Rodrigo Moya e5e0b1250c 2002-05-29 Rodrigo Moya <[email protected]>
* libgda.cs: static class for libgda API calls.

	* OleDbConnection.cs: implemented constructors.
	(ConnectionString, Connectiontimeout, Database, State):
	implemented class properties.
	(BeginTransaction): implemented.

	* OleDbTransaction.cs: implemented protected constructors.

	* TestGDA.cs: simple test for libgda API.

svn path=/trunk/mcs/; revision=5010
2002-05-29 17:46:32 +00:00
Miguel de Icaza e006f81d42 updated docs
svn path=/trunk/mcs/; revision=5009
2002-05-29 12:38:16 +00:00
Miguel de Icaza bef36abde6 TODO
svn path=/trunk/mcs/; revision=5008
2002-05-29 12:37:43 +00:00
Miguel de Icaza fe6fdbfddb 2002-05-28 Miguel de Icaza <[email protected]>
* assign.cs (DoResolve): Forgot to do the implicit conversion to
	the target type for indexers and properties.  Thanks to Joe for
	catching this.

svn path=/trunk/mcs/; revision=5007
2002-05-29 12:23:45 +00:00
Dietmar Maurer 08e8c0a7d9 *** empty log message ***
svn path=/trunk/mono/; revision=5006
2002-05-29 11:50:49 +00:00
Dietmar Maurer 3fa8e0c422 2002-05-29 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in REMOTE_STIND_OBJ

svn path=/trunk/mono/; revision=5005
2002-05-29 11:49:57 +00:00
Nick Drochak eaffbf1376 2002-05-29 Nick Drochak <[email protected]>
* DecimalTest.cs: Use AssertEquals to get nice error report, and mark
	each one with a unique message string so we know which one failed.

svn path=/trunk/mcs/; revision=5003
2002-05-29 10:21:11 +00:00
Dietmar Maurer 0419251d33 2002-05-29 Dietmar Maurer <[email protected]>
* invoke.c (arch_create_native_wrapper): handle pointers to value types

svn path=/trunk/mono/; revision=5002
2002-05-29 09:53:30 +00:00
Dietmar Maurer 8c567ea4ad 2002-05-29 Dietmar Maurer <[email protected]>
* helpers.h: use mono_ prefix for all functions

svn path=/trunk/mono/; revision=5000
2002-05-29 07:12:57 +00:00
Dietmar Maurer d888f55b42 2002-05-29 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): fixed SIZEOF

	* x86.brg: impl. LOCALLOC, INITBLK

svn path=/trunk/mono/; revision=4999
2002-05-29 07:08:01 +00:00
Dennis Hayes 56903331e8 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* Menu.cs
* Menu.MenuItemCollection.cs
* MenuItem.cs
* MessageBox.cs
* MonthCalendar.cs
* Stubbed and commented out
* MonthCalendar.cs has bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.
* Menu.MenuItemCollection.cs needs to be incorporated into Menu.cs.

svn path=/trunk/mcs/; revision=4997
2002-05-28 20:31:16 +00:00
Dennis Hayes 79a8365d9f 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Stubbed and commented out
* NativeWindow.cs, MonthCalendar.HitTestInfo.cs, MouseEventArgs.cs,
* have bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.

svn path=/trunk/mcs/; revision=4996
2002-05-28 19:55:35 +00:00
Dennis Hayes 776e874d6e DennisHayes <[email protected]>
2002-5-27
Added delegates. All delegates in System.Windows.Forms done
* ColumnClickEventHandler.cs
* ContentsResizedEventHandler.cs
* ControlEventHandler.cs
* ConvertEventHandler.cs
* DateRangeEventHandler.cs
* DragEventHandler.cs
* DrawItemEventHandler.cs
* GiveFeedbackEventHandler.cs
* HelpEventHandler.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkClickedEventHandler.cs
* LinkLabelLinkClickedEventHandler.cs

svn path=/trunk/mcs/; revision=4995
2002-05-28 19:31:49 +00:00
Dennis Hayes 4c17551fcc DennisHayes <[email protected]>
2002-5-27
Added structs. All structs in System.Windows.Forms done
* BindingMemberInfo.cs
* DataGridCell.cs
* LinkArea.cs
* Message.cs
* Complete execpt for Message.cs GetLParam
* and
* BindingMemberInfo needs constructor.
* All need verification of hashcodes.

svn path=/trunk/mcs/; revision=4994
2002-05-28 19:20:26 +00:00
Rodrigo Moya 3b7256d489 2002-05-27 Rodrigo Moya <[email protected]>
Started System.Data.OleDb provider, based on libgda.

svn path=/trunk/mcs/; revision=4993
2002-05-28 19:13:30 +00:00
Rodrigo Moya e0dec94406 2002-05-28 Rodrigo Moya <[email protected]>
* System.Data.build: exclude System.Data.OleDb files.

svn path=/trunk/mcs/; revision=4992
2002-05-28 19:12:41 +00:00
Lawrence Pit 1cd6571dc2 * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
passing typeof this class as arg in property Suite.

svn path=/trunk/mcs/; revision=4991
2002-05-28 19:04:23 +00:00
Lawrence Pit ff8a89dcca * MonoHttpDate.cs: added
* HttpWebRequest.cs: using MonoHttpDate
	* HttpWebResponse.cs: using MonoHttpDate
	* DnsPermission.cs: correct XML output
	* SocketPermission.cs: correct XML output

svn path=/trunk/mcs/; revision=4990
2002-05-28 18:36:53 +00:00
Dietmar Maurer 1429163389 2002-05-28 Dietmar Maurer <[email protected]>
* x86.brg: impl. CKFINITE

svn path=/trunk/mono/; revision=4988
2002-05-28 12:23:00 +00:00
Paolo Molaro e88df4658a Tue May 28 16:10:49 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fixed SIZEOF to work with typedef/typeref.

svn path=/trunk/mono/; revision=4987
2002-05-28 10:24:55 +00:00
Paolo Molaro f60252470d Updates and a test for structs with the .pack directive.
svn path=/trunk/mono/; revision=4986
2002-05-28 10:23:29 +00:00
Paolo Molaro e30bcd40f0 Tue May 28 16:02:29 CEST 2002 Paolo Molaro <[email protected]>
* class.c: handle .pack directive.

svn path=/trunk/mono/; revision=4985
2002-05-28 10:16:33 +00:00
Dietmar Maurer b07fa5d649 added new test from Sergey
svn path=/trunk/mono/; revision=4984
2002-05-28 10:15:28 +00:00
Daniel Morgan 186196f4ff 2002-05-28 Daniel Morgan <[email protected]>
* Mono.Data.MySql
	* Mono.Data.MySql/Mono.Data.MySql: add directories
	for the Mono.Data.MySql assembly and namespace.  This
	will contain the MySql .NET Data Provider which will use
	C# bindings to libMySQL

	* Mono.Data.MySql/Test.cs: added file to
	test the C# bindings to MySQL

	* Mono.Data.MySql/MySql.cs
	* Mono.Data.MySql/Field.cs: added files
	for the beginnings of C# bindings to MySQL

	* Mono.Data.MySql/makefile: added file
	to build the MySQL C# bindings on csc/Microsoft.NET

	These C# bindings to the MySQL libMySQL.dll were created by
	Brad Merrill <[email protected]>
	and can be downloaded from
	http://www.cybercom.net/~zbrad/DotNet/MySql/
	and put into the Mono Class Library under the X11/MIT License
	with Brad Merril's permission.

svn path=/trunk/mcs/; revision=4983
2002-05-28 10:07:13 +00:00
Dietmar Maurer 9d3b764c69 2002-05-28 Dietmar Maurer <[email protected]>
* metadata.c (mono_metadata_parse_signature): impl.

	* jit.c (mono_analyze_stack): impl. CEE_CALLI

svn path=/trunk/mono/; revision=4982
2002-05-28 08:54:55 +00:00
Daniel Stodden b939abff48 made Version return an empty version for now.
users should not have to expect a nullref.

svn path=/trunk/mcs/; revision=4981
2002-05-28 07:05:14 +00:00
Daniel Stodden 1b4e294c54 big patch:
- System.CodeDom: lotsa corrections
	- System.CodeDom.Compiler: CodeGenerator about 80% complete
	- Microsoft.CSharp: CSharpCodegenerator intro

svn path=/trunk/mcs/; revision=4980
2002-05-28 06:59:57 +00:00
Dietmar Maurer 34dff677c3 2002-05-28 Dietmar Maurer <[email protected]>
* x86.brg (JMP): impl. JMP opcode

svn path=/trunk/mono/; revision=4979
2002-05-28 06:17:18 +00:00
Paolo Molaro 9472af00ed Tue May 28 11:04:46 CEST 2002 Paolo Molaro <[email protected]>
* object.c: initialize static fields with RVA data.

svn path=/trunk/mono/; revision=4978
2002-05-28 05:18:41 +00:00
Miguel de Icaza bc084bd564 new items; Updated the FAQ to reflect reality; Fixes to the Mono-RSS program
svn path=/trunk/mono/; revision=4977
2002-05-27 23:00:15 +00:00
Daniel Stodden 3e7a1b19fd added top_srcdir to includes.
fixes vpath-builds wrt inclusion of mono/os/util.h

svn path=/trunk/mono/; revision=4976
2002-05-27 22:56:20 +00:00
Miguel de Icaza 49d1b04fb9 Updated copyright headers to the standard template
svn path=/trunk/mono/; revision=4975
2002-05-27 22:56:15 +00:00
Jonathan Pryor d3e0f61969 Moved public API documentation from the source files into the
/mcs/docs/apidocs/xml/en/System.Diagnostics/<class>.xml files.

svn path=/trunk/mcs/; revision=4974
2002-05-27 22:00:30 +00:00
Jonathan Pryor 1aa11c252d Moved public API documentation from source code into the appropriate XML
files.

svn path=/trunk/mcs/; revision=4973
2002-05-27 21:57:03 +00:00
Jason Diamond a71db778e8 When will I ever remember to add my new files before committing?
svn path=/trunk/mcs/; revision=4972
2002-05-27 19:18:16 +00:00
Jason Diamond 4d82c52aeb In System.Xml:
* XmlDocumentNavigator.cs: Added file to directory.

* XmlNode.cs (CreateNavigator): Implemented.
(InnerText): Implemented.

* XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
throwing exception.
(Load(XmlReader)): Allow for namespace qualified attributes.

* XmlElement.cs: Implemented GetAttribute(string, string) and both
GetAttributeNode overloads.
(SetAttributeNode(XmlAttribute)): Implemented.

* XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
and RemoveNamedItem(string, string).

* XmlLinkedNode.cs (PreviousSibling): Implemented.

* XmlTextReader.cs: Added code to maintain the order of attributes as
they're parsed. XML doesn't require this but Microsoft's parser does it and
matching them makes testing easier so now we have it, too.

In Test:

* XPathNavigatorTests.cs: Added file to directory.

* AllTests.cs: Added XPathNavigatorTests to suite.

* XmlTextReaderTests.cs: Added test to make sure attributes are ordered
like Microsoft's parser does it.

svn path=/trunk/mcs/; revision=4971
2002-05-27 19:17:13 +00:00
Lawrence Pit 3c712f2b0c * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
* Uri.cs: Fixed bug in internal method GetSchemeDelimiter

svn path=/trunk/mcs/; revision=4970
2002-05-27 18:40:54 +00:00
Johannes Roith 4aff5abc74 add something after windows link
svn path=/trunk/mono/; revision=4969
2002-05-27 17:08:36 +00:00
Johannes Roith d521732b6d add some windows bits to faq.
svn path=/trunk/mono/; revision=4968
2002-05-27 17:06:57 +00:00
Miguel de Icaza 95b2a7b6df 2002-05-27 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.Emit): Only emit calls to
	System.Diagnostics.Debug and System.Diagnostics.Trace if the
	TRACE and DEBUG defines are passed on the command line.

	* rootcontext.cs: Global settings for tracing and debugging.

	* cs-tokenizer.cs (define): New utility function to track
	defines.   Set the global settings for TRACE and DEBUG if found.

svn path=/trunk/mcs/; revision=4966
2002-05-27 15:24:27 +00:00
Miguel de Icaza 4b4535883d Update web page
svn path=/trunk/mono/; revision=4965
2002-05-27 15:21:24 +00:00
Dietmar Maurer fdeeca53db 2002-05-27 Dietmar Maurer <[email protected]>
* jit.c (mono_cfg_new): reserve additional space to store ESP when
	calling finally handlers.

	* exception.c (arch_get_call_finally): save ESP before calling
	finally handler.

svn path=/trunk/mono/; revision=4964
2002-05-27 13:05:10 +00:00
Nick Drochak 08303b8289 2002-05-27 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestLastIndexOf): Add try-catch block to report
	where we are throwing.

svn path=/trunk/mcs/; revision=4963
2002-05-27 10:59:00 +00:00
Nick Drochak a51b230eb9 2002-05-27 Nick Drochak <[email protected]>
* ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
	fix check of parameters sent to make sure we don't search beyond the
	beginning of the list.
	(ListWrapper): Throw exception if called with null.
	We now pass all unit tests.

svn path=/trunk/mcs/; revision=4962
2002-05-27 10:56:56 +00:00
Daniel Morgan 51b401fe0f 2002-05-27 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: typo
	should be CommandBehavior.KeyInfo

	* Test/SqlSharpCli.cs: refactored and added a few more
	features.

svn path=/trunk/mcs/; revision=4961
2002-05-27 10:00:28 +00:00
Dietmar Maurer f324a9ffad 2002-05-27 Dietmar Maurer <[email protected]>
* helpers.c (map_arg_type): move some generic helper function into
	this file.

	* mono.c (usage): new option --breakonex

	* exception.c (arch_exc_is_caught): only return FALSE if really
	unhandled.

	* jit.c (mono_thread_abort): free jit_tls

svn path=/trunk/mono/; revision=4960
2002-05-27 06:33:10 +00:00
Rafael Teixeira 8834e705e7 just an small icon
svn path=/trunk/mcs/; revision=4959
2002-05-27 01:45:07 +00:00
Rafael Teixeira f7b7ca4112 Merged latest mcs files
svn path=/trunk/mcs/; revision=4958
2002-05-27 01:40:40 +00:00
Miguel de Icaza 853a5d5181 Few updates
svn path=/trunk/mono/; revision=4957
2002-05-26 23:25:58 +00:00
Tim Coleman 5b765afd1c 2002-05-27 Tim Coleman <[email protected]>
* list: update to compile properly (add missing
        files and switch path delimiter from '\' to '/').

svn path=/trunk/mcs/; revision=4956
2002-05-26 23:14:10 +00:00
Tim Coleman c409e38390 2002-05-27 Tim Coleman <[email protected]>
* TestSqlDataAdapter.cs: remove explicit opening of connection.
        This should occur implicitly now.

svn path=/trunk/mcs/; revision=4955
2002-05-26 23:08:20 +00:00
Miguel de Icaza 40f6f5043d Add new files to maintain the RSS feed
svn path=/trunk/mono/; revision=4954
2002-05-26 23:00:19 +00:00
Miguel de Icaza 96676faf85 update fixes
svn path=/trunk/mono/; revision=4953
2002-05-26 22:43:31 +00:00
Ravi Pratap M fbec56d59e Fix up makefile to exclude test-124 as it requires a -r System.Drawing to work correctly
svn path=/trunk/mcs/; revision=4952
2002-05-26 18:28:33 +00:00
Ravi Pratap M d61f34267b Remove conflict marker
svn path=/trunk/mcs/; revision=4951
2002-05-26 18:21:36 +00:00
Ravi Pratap M aeb5452455 2002-05-25 Ravi Pratap <[email protected]>
* interface.cs (Populate*): Pass in the TypeContainer as well as
	the DeclSpace as parameters so that we can create EmitContexts and
	then use that to apply attributes etc.

	(PopulateMethod, PopulateEvent, PopulateProperty)
	(PopulateIndexer): Apply attributes everywhere.

	* attribute.cs (CheckAttribute): Include InterfaceMethod, InterfaceEvent
	etc.

	(ApplyAttributes): Update accordingly.

	We now apply interface attributes for all members too.

svn path=/trunk/mcs/; revision=4950
2002-05-26 18:20:25 +00:00
Ravi Pratap M 077ec2f92d Flush changes
svn path=/trunk/mcs/; revision=4949
2002-05-26 18:19:34 +00:00
Daniel Morgan 0653fa94c0 2002-05-26 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs
	* System.Data.Common/DbDataAdapter.cs: fix to
	get Test/TestSqlDataAdapter.cs to work again

	* Test/TestSqlDataAdapter.cs: removed comment
	about SqlDataReader:NextResult() not being implemented; it
	bas been implemented

svn path=/trunk/mcs/; revision=4947
2002-05-26 12:21:18 +00:00
Daniel Morgan d0f2df2b41 2002-05-26 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: modified
	support setting of DBNull.Value
	using the Item indexer this[DataColumn]

	* System.Data.SqlClient/SqlCommand.cs: modified
	tweaks to show TODO's for other CommandBehavior.
	Set AllowDBNull column to true for IsKey row
	in schema DataTable.

	* System.Data.SqlClient/SqlConnection.cs: modified
	if transaction is in progress when a Close() is called,
	do a transaction Rollback.

svn path=/trunk/mcs/; revision=4946
2002-05-26 11:57:30 +00:00
Rafael Teixeira db695357c9 Housekeeping!!!
svn path=/trunk/mcs/; revision=4945
2002-05-26 10:29:03 +00:00
Daniel Morgan da59dd4d7f 2002-05-26 Daniel Morgan <[email protected]>
* Test/SqlSharpCli.cs: added file
	My new toy.  SQL# is a command-line tool to enter
	SQL	commands and queries using Mono System.Data.
	It also serves as a test for Mono System.Data.

	* System.Data.SqlClient/SqlCommand.cs: modified
	- ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
	should handle the results from SQL Commands and Queries.
	- Internal class SqlResult should not create schema Table
	for the result from a SQL Command.  Also, set the RecordsRetrieved
	property for SqlDataReader.
	- Closing the SqlDataReader should Close() the SqlConnection for
	a CommandBehavior.CloseConnection.
	- Set defaults for SqlResult

	* System.Data.SqlClient/SqlConnection.cs: modified -
	when SqlDataReader is Close()
	should Close() the SqlConnection for
	a CommandBehavior.CloseConnection.  Changed internal Property
	from OpenReader get/set to IsReaderOpen get and created
	internal methods OpenReader()/CloseReader() for SqlCommand to call.
	SqlConnection needs to be prevented from doing while SqlDataReader
	is being used.

	* System.Data.SqlClient/SqlDataReader.cs: modified -
	call SqlCommand's OpenReader() internal method.  get
	RecordsRetrieved from SqlResult.  set/reset default
	values for SqlDataReader.

	* Test/PostgresTest.cs
	* Test/TestExecuteScalar.cs
	* Test/TestSqlDataReader.cs: modified
	for the Execute...() methods in SqlCommand
	to test SQL Queries and Commands

	* Test/System.Data_test.build: modified
	exclude new file Test/SqlSharpCli.cs from
	test build

svn path=/trunk/mcs/; revision=4944
2002-05-26 07:26:52 +00:00
Miguel de Icaza 5a8fa59a54 Updated list
svn path=/trunk/mcs/; revision=4943
2002-05-26 03:01:24 +00:00
Miguel de Icaza 9e1a32a8ff Add small stub to allow for the assembly to compile
svn path=/trunk/mcs/; revision=4942
2002-05-26 03:01:15 +00:00
Miguel de Icaza d2ce94f075 Major fixes. We can now compile the System.Web assembly with MCS!
Wooooohooo!

2002-05-26  Miguel de Icaza  <[email protected]>

	* class.cs (Indexer.Define); Correctly check if we are explicit
	implementation (instead of checking the Name for a ".", we
	directly look up if the InterfaceType was specified).

	Delay the creation of the PropertyBuilder.

	Only create the PropertyBuilder if we are not an explicit
	interface implementation.   This means that explicit interface
	implementation members do not participate in regular function
	lookups, and hence fixes another major ambiguity problem in
	overload resolution (that was the visible effect).

	(DefineMethod): Return whether we are doing an interface
	implementation.

svn path=/trunk/mcs/; revision=4941
2002-05-26 02:57:16 +00:00
Miguel de Icaza 6640d43fcc 2002-05-26 Miguel de Icaza <[email protected]>
* typemanager.cs: Temporary hack until we get attributes in
	interfaces (Ravi is working on that) and we get IndexerName
	support in interfaces.

	* interface.cs: Register the indexers as properties.

svn path=/trunk/mcs/; revision=4940
2002-05-26 02:15:52 +00:00
Miguel de Icaza e4a0c81e0a Document error
svn path=/trunk/mcs/; revision=4939
2002-05-26 01:48:01 +00:00
Miguel de Icaza 1e8cb3adb0 2002-05-26 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Catch the error, and emit a
	warning, I have verified that this is a bug in the .NET runtime
	(JavaScript suffers of the same problem).

svn path=/trunk/mcs/; revision=4938
2002-05-26 01:47:55 +00:00
Miguel de Icaza ec22163684 2002-05-26 Miguel de Icaza <[email protected]>
* typemanager.cs (MemberLookup): When looking up members for
	interfaces, the parent of an interface is the implicit
	System.Object (so we succeed in searches of Object methods in an
	interface method invocation.  Example:  IEnumerable x;  x.ToString
	())

svn path=/trunk/mcs/; revision=4937
2002-05-26 00:55:25 +00:00
Miguel de Icaza d4c48e6e62 Add new test
svn path=/trunk/mcs/; revision=4936
2002-05-26 00:47:45 +00:00
Miguel de Icaza aaa4e5c7c4 2002-05-26 Miguel de Icaza <[email protected]>
* XmlDocument.cs: Implement the Save methods.

svn path=/trunk/mcs/; revision=4935
2002-05-26 00:40:13 +00:00
Miguel de Icaza 4b3f9ddba3 Added list for MCS debugging purposes
svn path=/trunk/mcs/; revision=4934
2002-05-25 18:30:51 +00:00
Miguel de Icaza 7f9bd2b60e 2002-05-25 Miguel de Icaza <[email protected]>
* class.cs (Event): Events should also register if they do
	implement the methods that an interface requires.

svn path=/trunk/mcs/; revision=4933
2002-05-25 18:29:58 +00:00
Miguel de Icaza 9bdc624804 2002-05-25 Miguel de Icaza <[email protected]>
* typemanager.cs (MemberLookup); use the new GetInterfaces
	method.

	(GetInterfaces): The code used to lookup interfaces for a type is
	used in more than one place, factor it here.

svn path=/trunk/mcs/; revision=4932
2002-05-25 18:23:06 +00:00
Miguel de Icaza 4b646f253a 2002-05-25 Miguel de Icaza <[email protected]>
* driver.cs: Track the errors at the bottom of the file, we kept
	on going.

svn path=/trunk/mcs/; revision=4931
2002-05-25 17:07:20 +00:00
Miguel de Icaza 70229a5792 2002-05-25 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.Emit): We have to emit a null as the
	instance if the method we are calling is static!

svn path=/trunk/mcs/; revision=4930
2002-05-25 16:59:17 +00:00
Miguel de Icaza 741c0087f4 2002-05-24 Miguel de Icaza <[email protected]>
* attribute.cs (ApplyAttributes): Make this function filter out
	the IndexerName attribute (as that attribute in reality is never
	applied) and return the string constant for the IndexerName

svn path=/trunk/mcs/; revision=4927
2002-05-25 00:49:17 +00:00
Ajay kumar Dwivedi ac520c1140 2002-05-25 Dwivedi, Ajay kumar <[email protected]>
* BUGS.txt: New file to keep track of bugs

	* ALL: All classes are initialized exactly as in .NET except
	       1. inclusion of language attribute in schema
	       2. ComplexContent's Particle is initialized to null whereas .NET
	          to some internal implementation. IMO Null is more appropriate

	* ALL: Changed the Compile methods to return the count of errors.

	* ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
	       This number should shoot up if we write a parser to read the
	       Schema instead of using reflection (which is slower too)

svn path=/trunk/mcs/; revision=4926
2002-05-25 00:02:55 +00:00
Martin Baulig 99692418f9 2002-05-25 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_DwarfFileWriter_get_type_token): Removed.

svn path=/trunk/mono/; revision=4925
2002-05-24 21:59:22 +00:00
Martin Baulig 84e9ca40ab 2002-05-25 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeToken): Implemented.

svn path=/trunk/mcs/; revision=4924
2002-05-24 21:58:11 +00:00
Martin Baulig a9de7ce317 2002-05-25 Martin Baulig <[email protected]>
* DwarfFileWriter.cs: Finished the type rewrite, put back strings and arrays.

svn path=/trunk/mcs/; revision=4923
2002-05-24 21:55:00 +00:00
Miguel de Icaza accf672c09 New error test
svn path=/trunk/mcs/; revision=4922
2002-05-24 21:43:18 +00:00
Miguel de Icaza 909588ec48 Lots of work to compiler System.Xml; A lot of bugs uncovered in IndexerName
handling.  Now we should support it (modulo interfaces, which are being
worked on now by Ravi).

2002-05-24  Miguel de Icaza  <[email protected]>

	* attribute.cs (ApplyAttributes): Make this function filter out
	the IndexerName attribute (as that attribute in reality is never
	applied) and return the string constant for the IndexerName
	attribute.

	* class.cs (TypeContainer.Emit): Validate that all the indexers
	have the same IndexerName attribute, and if so, set the
	DefaultName attribute on the class.

	* typemanager.cs: The return value might contain other stuff (not
	only methods).  For instance, consider a method with an "Item"
	property and an Item method.

	* class.cs: If there is a problem with the parameter types,
	return.

svn path=/trunk/mcs/; revision=4921
2002-05-24 21:43:01 +00:00
Miguel de Icaza 068059daf8 Improve test
svn path=/trunk/mcs/; revision=4918
2002-05-24 20:55:29 +00:00
Duncan Mak dd23d136e9 2002-05-24 Duncan Mak <[email protected]>
* DataGridItem.cs (SetItemType): Changed function signature to
	match 1.0 spec.

svn path=/trunk/mcs/; revision=4916
2002-05-24 20:34:04 +00:00
Duncan Mak 727a100466 2002-05-24 Duncan Mak <[email protected]>
* ListItemCollection.cs (this): Changes the visibility level of
	the indexer.

	* TemplateControl.cs (SetStringResourcePointer): Fixed typo.

svn path=/trunk/mcs/; revision=4915
2002-05-24 20:27:24 +00:00
Duncan Mak 1c3bd71d78 2002-05-24 Duncan Mak <[email protected]>
* Repeater.cs (OnItemCommand):
	(OnItemCreated):
	(OnItemDataBound): Added necessary casts.

	* StateBag.cs (Item): Changed the visibility level of the this
	[object] indexer.

svn path=/trunk/mcs/; revision=4914
2002-05-24 19:46:06 +00:00
Ravi Pratap M 5326c2952f 2002-05-24 Ravi Pratap <[email protected]>
* test-124.cs, test-125.cs : Add.

	* makefile : update.

svn path=/trunk/mcs/; revision=4913
2002-05-24 19:29:33 +00:00
Ravi Pratap M 596c4a8b00 2002-05-24 Ravi Pratap <[email protected]>
* ecore.cs (ImplicitConversionExists): Wrapper function which also
	looks at user defined conversion after making a call to
	StandardConversionExists - we need this for overload resolution.

	* expression.cs : Update accordingly the various method calls.

	This fixes 2 bugs filed against implicit user defined conversions

svn path=/trunk/mcs/; revision=4912
2002-05-24 19:17:52 +00:00
Ravi Pratap M e5a516e7b4 Update makefile
svn path=/trunk/mcs/; revision=4911
2002-05-24 19:16:43 +00:00
Ravi Pratap M 8d39d0829f Add.
svn path=/trunk/mcs/; revision=4910
2002-05-24 19:15:44 +00:00
Duncan Mak dec1cff0e6 2002-05-24 Duncan Mak <[email protected]>
* DataBinder.cs (Eval)
	(GetIndexedPropertyValue)
	(GetPropertyValue): Fixed return types.

svn path=/trunk/mcs/; revision=4909
2002-05-24 18:28:50 +00:00
Tim Coleman df2142c86f 2002-05-24 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
        for get accessors.  These should be implemented in derived classes.  See
        SqlDataAdapter for clues.
        * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
        * System.Data.Common/DataAdapter.cs:
        * System.Data.Common/DataTableMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataColumnMapping.cs:
        Properly (I hope!) implement all of the appropriate interfaces
        for these classes.

svn path=/trunk/mcs/; revision=4908
2002-05-24 17:42:12 +00:00
Miguel de Icaza 58f4951fba Add new files
svn path=/trunk/mcs/; revision=4907
2002-05-24 16:29:58 +00:00
Miguel de Icaza 929d1b8cef Get this bad boy to compile standalone
svn path=/trunk/mcs/; revision=4906
2002-05-24 16:29:31 +00:00
Martin Baulig 31fb70a871 2002-05-24 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig): Removed.
	(ves_icall_Debugger_MonoSymbolWriter_method_from_token): Renamed to
	`ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token'.

svn path=/trunk/mono/; revision=4903
2002-05-24 13:23:55 +00:00
Martin Baulig eadbbf3bf0 2002-05-24 Martin Baulig <[email protected]>
* ModuleBuilder.cs (symwriter_define_local): New private variable.
	(GetSymbolWriter): Look for a custom version of "DefineLocalVariable"
	and store it in `symwriter_define_local'.
	(SymWriter_DefineLocalVariable): New internal method to call the
	symbol writer's custom DefineLocalVariable() method.  It is safe to
	call this method if there's no symbol writer.

	* LocalBuilder.cs (SetLocalSymInfo): Use the MethodBuilder'snew
	SymWriter_DefineLocalVariable().

	* MethodBuilder.cs (GetParameters): Implemented.

svn path=/trunk/mcs/; revision=4902
2002-05-24 13:20:52 +00:00
Martin Baulig 86de22cd79 2002-05-24 Martin Baulig <[email protected]>
* ParameterInfo.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=4901
2002-05-24 13:15:48 +00:00
Martin Baulig ac52705ab6 2002-05-24 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceMethod): Added `FullName' and `Parameters'.
	(ITypeHandle): New interface.

	* DwarfFileWriter.cs: Largely reorganized the type writing code.  Types are
	now represented by ITypeHandle objects which are stored in a per-dwarf-writer
	hash table.  At the moment, all types still need to be in one compile unit due
	to lacking support in gdb - but this new type code here already supports this.

	* MonoSymbolWriter.cs: Moved all the subclasses to the top-level and made them
	public, cleaned up the code, put everything into one compile unit.
	(DefineLocalVariable): Added a version of this function which takes useful args.

svn path=/trunk/mcs/; revision=4900
2002-05-24 13:14:31 +00:00
Dietmar Maurer 7c7faa2e60 2002-05-24 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): moved const. folding from x86.brg

svn path=/trunk/mono/; revision=4899
2002-05-24 10:18:16 +00:00
Paolo Molaro 18f770063a Fri May 24 15:33:50 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: added partial async delegate and remoting support.

svn path=/trunk/mono/; revision=4898
2002-05-24 09:47:13 +00:00
Dietmar Maurer 43436c7118 fixed typo pointed out by Richard Torkar
svn path=/trunk/mono/; revision=4897
2002-05-24 07:20:02 +00:00
Dietmar Maurer ef61afecf7 2002-05-24 Dietmar Maurer <[email protected]>
* x86.brg: CPBLK impl.

	* emit-x86.c (tree_emit): modified to support 3 nonterminals per
	rule (used for CPBLK).

svn path=/trunk/mono/; revision=4896
2002-05-24 07:05:59 +00:00
Tim Coleman 31df872b2e 2002-05-23 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: include
        the BaseColumnName in the schema table.  Was missed before.
        * System.Data.Common/DbDataAdapter.cs: Use DataTable
        mappings so that the DataSet and DataTable are more closely tied.
        Get schema information from the DataTable using GetSchemaTable ()
        Various other little fixes
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataTableMappingCollection.cs: Some
        implementation, enough to be used by DbDataAdapter.

svn path=/trunk/mcs/; revision=4891
2002-05-23 21:04:04 +00:00
Duncan Mak 73056e4ddd 2002-05-23 Duncan Mak <[email protected]>
* ArrayList.cs (Wrapper): Preliminary implementation of
	ArrayList.Wrapper (IList).

svn path=/trunk/mcs/; revision=4890
2002-05-23 20:22:24 +00:00
Daniel Morgan 1ac42ec6b1 2002-05-23 Daniel Morgan <[email protected]>
* TestSqlParameters.cs: read and display the schema columns
	correctly

svn path=/trunk/mcs/; revision=4889
2002-05-23 17:21:03 +00:00
Paolo Molaro 32db0b439d Some small updates and a new test for CreateInstance().
svn path=/trunk/mono/; revision=4886
2002-05-23 13:03:04 +00:00
Paolo Molaro 540b477b3a Thu May 23 18:43:07 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: remove generated code from hash when benchmarking/testing
	method compilation.
	* invoke.cs: special case string ctors.

svn path=/trunk/mono/; revision=4885
2002-05-23 13:01:32 +00:00
Paolo Molaro c2d4b948b1 Thu May 23 18:45:38 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: special case string ctors in invoke.
	Handle null object in throw. Misc integer type mismatch fixes.

svn path=/trunk/mono/; revision=4884
2002-05-23 13:00:46 +00:00
Paolo Molaro 114e35ec25 Thu May 23 18:44:37 CEST 2002 Paolo Molaro <[email protected]>
* object.c: special case string ctros in invoke.
	* gc.c: silly whitespace changes.

svn path=/trunk/mono/; revision=4883
2002-05-23 13:00:19 +00:00
Dietmar Maurer 747b710cff 2002-05-23 Dietmar Maurer <[email protected]>
* *.c: code cleanups - tried to separate architecture dependent things.

svn path=/trunk/mono/; revision=4882
2002-05-23 11:52:23 +00:00
Paolo Molaro 9bb0277ad8 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented CreateInstance ().

svn path=/trunk/mcs/; revision=4881
2002-05-23 11:32:05 +00:00
Paolo Molaro 61a7a7d984 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <[email protected]>
* Activator.cs: implemented CreateInstance ().

svn path=/trunk/mcs/; revision=4880
2002-05-23 11:31:05 +00:00
Martin Baulig 1fe0c746f5 Commented out debugging message.
svn path=/trunk/mono/; revision=4879
2002-05-23 08:53:26 +00:00
Dietmar Maurer 037b1efe1a code cleanups
svn path=/trunk/mono/; revision=4878
2002-05-23 08:52:44 +00:00
Martin Baulig f29b752a58 2002-05-23 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): Don't call mono_debug_add_image().
	(mono_debug_write_symbols): Only recreate the symbol file if
	necessary.

	* debug-private.h (MonoDebugHandle): Added `dirty' flag.

	* mono.c (main): Call mono_debug_add_image() here.

	* jit.c (mono_thread_abort): If we have debugging support, call
	mono_debug_make_symbols() and G_BREAKPOINT().

svn path=/trunk/mono/; revision=4877
2002-05-23 08:52:06 +00:00
Martin Baulig 8d1c1c43e1 2002-05-23 Martin Baulig <[email protected]>
* exception.c (arch_handle_exception): Don't G_BREAKPOINT() if we get
	an unhandled exception.

	* jit.c (mono_thread_abort): G_BREAKPOINT() immediately before the
	ExitThread().

svn path=/trunk/mono/; revision=4876
2002-05-23 08:33:09 +00:00
Dietmar Maurer 72276abcdc 2002-05-23 Dietmar Maurer <[email protected]>
* delegate.c: move the thread pool to metadata/threadpool.c, code
	cleanup.

	* threadpool.[ch]: impl. a threadpool that can
	be used by mint and mono.

svn path=/trunk/mono/; revision=4875
2002-05-23 07:44:00 +00:00
Johannes Roith ee9d976c3a make path handling better for windows
svn path=/trunk/mono/; revision=4874
2002-05-23 06:48:23 +00:00
Daniel Morgan e4d7494b38 2002-05-23 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: set
	the "ProviderType" to the PostgreSQL type oid

	* System.Data.SqlClient/SqlDataReader.cs: fix
	for various properties and methods that
	return meta data: Item indexers this[name] and this[index],
	GetFieldType, GetName, and GetOrdinal.  SqlDataAdapter
	should work again.

svn path=/trunk/mcs/; revision=4873
2002-05-23 00:28:02 +00:00
Duncan Mak 8a9843105f 2002-05-22 Duncan Mak <[email protected]>
* Convert.cs (ConvertFromBase): Added additional test for
	checking if the digits are valid. Thanks to Miguel for coming
	up with this test.

	This fixes bug 25071.

svn path=/trunk/mcs/; revision=4872
2002-05-23 00:12:56 +00:00
Duncan Mak 9778d776ac 2002-05-22 Duncan Mak <[email protected]>
* Convert.cs (ConvertToBase): Add new 64bit version.
	(BuildConvertedString64): New 64bit version of
	BuildConvertedString.

	This fixes bug 25068.

svn path=/trunk/mcs/; revision=4870
2002-05-22 22:29:26 +00:00
Duncan Mak 0fb1f8332a 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToType): Rearranged to fit the new layout of
	conversionTable.

	(conversionTable): Rearranged to fit the layout of the
	System.TypeCode enum.

	This should fix bug 25075.

svn path=/trunk/mcs/; revision=4867
2002-05-22 19:59:35 +00:00
Miguel de Icaza 024c15cf8a 2002-05-22 Miguel de Icaza <[email protected]>
* statement.cs: Track the result of the assignment.

svn path=/trunk/mcs/; revision=4865
2002-05-22 19:33:52 +00:00
Lawrence Pit 22a9393416 * Uri.cs: implemented MakeRelative, improved GetLeftPart
* UriBuilder.cs: removed Serializable attribute
	* UriHostNameType.cs: added Basic

svn path=/trunk/mcs/; revision=4864
2002-05-22 18:57:49 +00:00
Daniel Morgan 133032ff33 2002-05-22 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: change suggested
	by tim: in Item indexer, do an EndEdit()

	* System.Data.SqlClient/SqlCommand.cs: more
	fixes to SqlResult.  After setting each item in
	the DataRow, do an AcceptChanges() to commit
	the changes in the DataRow.  For DataType, use a Type
	of System.String since System.Type nor System.Object
	seems to work.

	* Test/TestSqlDataReader.cs
	* Test/PostgresTest.cs: updated to to be on
	the way schema table is suppose to work

svn path=/trunk/mcs/; revision=4863
2002-05-22 17:59:12 +00:00
Martin Baulig b0619088e7 Reflected latest symbol writer changes.
svn path=/trunk/mono/; revision=4862
2002-05-22 17:09:21 +00:00
Martin Baulig 45440da2b8 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IMonoSymbolWriter): Added `Sources' and `Methods'
	properties.

	* MonoDwarfFileWriter.cs (WriteSymbolTable): New public method.  Moved the
	code that writes the "mono_line_numbers" section here from the LineNumberEngine.

svn path=/trunk/mcs/; revision=4861
2002-05-22 17:07:10 +00:00
Martin Baulig 33d8672ec1 2002-05-22 Martin Baulig <[email protected]>
* reflection.h (MonoArrayList): New typedef.
	(MonoReflectionAssemblyBuilder): Added `table_indexes' and `methods'.

	* debug-symfile.c (ves_icall_Debugger_MonoSymbolWriter_method_from_token):
	The first argument is now a `MonoReflectionModuleBuilder *', the return
	value is a `MonoReflectionModuleBuilder *'.  Use the AssemblyBuilder's
	`methods' field to get the method builder.  The `token' argument is the
	unfixed token.

	* unicode.c (iconv_get_length, iconv_convert): Silently ignore all
	invalid characters instead of g_assert_not_reached()ing.  This seems
	to be the behaviour of mscorlib.

svn path=/trunk/mono/; revision=4860
2002-05-22 16:28:18 +00:00
Martin Baulig 63214ac593 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IVariable): Replaced Token with `ISourceMethod Method'.

	* MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now has an additional
	ModuleBuilder argument.
	(OpenMethod): Immediately call the `get_method' interncall to get the MethodBase
	from the token, then store the MethodBase instead of the token.  The token may
	still change during the metadata library's fixup process.
	(DoFixups): When the image has been written to disk, call the GetToken () method
	on all MethodBuilders and all ConstructorBuilders to get the final metadata tokens.

svn path=/trunk/mcs/; revision=4859
2002-05-22 16:22:43 +00:00
Martin Baulig 3b2a080199 2002-05-22 Martin Baulig <[email protected]>
* ModuleBuilder.cs (GetSymbolWriter): Pass the this pointer to the
	symbol writer's constructor.

svn path=/trunk/mcs/; revision=4858
2002-05-22 16:17:11 +00:00
Martin Baulig 9170ad3e11 2002-05-22 Martin Baulig <[email protected]>
* MethodBase.cs (get_next_table_index): Added `object obj' argument.

svn path=/trunk/mcs/; revision=4857
2002-05-22 16:12:39 +00:00
Martin Baulig 3639a53bf3 2002-05-22 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (methods): New field.
	(get_next_table_index): Record all methods and constructors
	(table 0x06) in the `methods' array.  This is read by the
	Mono.CSharp.Debugger.MonoSymbolWriter::get_method interncall to
	get the MethodBuilder / ConstructorBuilder back from the token.

	* *Builder.cs (get_next_table_index): Added `object obj' argument.
	(<constructors>): pass the this pointer to get_next_table_index ().

svn path=/trunk/mcs/; revision=4856
2002-05-22 16:10:10 +00:00
Martin Baulig 6224130d0f 2002-05-22 Martin Baulig <[email protected]>
* ArrayList.cs: Made count, capacity and dataArray the first three
	fields in the class.  They're read by the reflection library.

svn path=/trunk/mcs/; revision=4855
2002-05-22 16:05:09 +00:00
Dietmar Maurer 9007b86c37 create debugging symbols
svn path=/trunk/mono/; revision=4854
2002-05-22 10:33:13 +00:00
Dietmar Maurer ccd1d4ade8 2002-05-22 Dietmar Maurer <[email protected]>
* exception.c (arch_exc_is_catched): impl. MS like exception
	handling (added a check for unhandled exceptions)

svn path=/trunk/mono/; revision=4853
2002-05-22 08:50:11 +00:00
Martin Baulig 7a5d810d75 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2-plus.c (mono_debug_open_assembly_dwarf2_plus): Only run
	the assembler if necessary, ie. the assembler file is newer than the
	symbol file or the symbol file does not exist.

	* debug.c: Added "update_on_exit" argument to recreate the symbol file
	when the JIT exists.

svn path=/trunk/mono/; revision=4852
2002-05-22 08:23:36 +00:00
Martin Baulig 9b6181fd86 2002-05-22 Martin Baulig <[email protected]>
* AssemblerWriterI386.cs: Don't use GNU extensions and produce assembler
	output which is free of comments and extra whitespaces so that it's suitable
	for `as -f'.

svn path=/trunk/mcs/; revision=4851
2002-05-22 08:09:03 +00:00
Martin Baulig 1fe92bf868 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2.c: Produce assembler code which is free of comments and
	extra whitespaces so that it's suitable for `as -f'.

svn path=/trunk/mono/; revision=4850
2002-05-22 07:58:04 +00:00
Martin Baulig afd91808f3 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_section_end): Removed.  This is not needed
	and not supported by all assemblers.
	(dwarf2_write_2byte): Use ".word" instead of ".2byte" since ".2byte" is a
	GNU extension.

	* mono.c (--debug): Small fix in the argument parsing.

svn path=/trunk/mono/; revision=4849
2002-05-22 07:49:07 +00:00
Paolo Molaro f1e0d2e6c5 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
	Add more tests. mono_bitset_find_first (set, -1) will work correctly
	now.

svn path=/trunk/mono/; revision=4848
2002-05-22 07:00:25 +00:00
Paolo Molaro 4b21608b9d Wed May 22 12:31:40 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fixed finally handling. In trace mode show
	exception handling operations and the contents of the stack in the same
	line as the executing instruction.

svn path=/trunk/mono/; revision=4847
2002-05-22 06:45:53 +00:00
Dietmar Maurer 3d686ea9de 2002-05-22 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_invoke_array): applied patch from Rachel
	Hestilow to fix bug #25104

svn path=/trunk/mono/; revision=4846
2002-05-22 05:11:55 +00:00
Daniel Morgan be51edc929 2002-05-22 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: more work on
	building the schema table

svn path=/trunk/mcs/; revision=4845
2002-05-22 02:27:20 +00:00
Tim Coleman fa28461d2b 2002-05-22 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: preliminary work
        on getting the schema table correctly built.

svn path=/trunk/mcs/; revision=4844
2002-05-22 00:34:14 +00:00
Miguel de Icaza 77e3adb29c 2002-05-21 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess): Improved error reporting for
	inaccessible members.

svn path=/trunk/mcs/; revision=4843
2002-05-21 23:32:29 +00:00
Miguel de Icaza 23323d42b5 Add another error test case
svn path=/trunk/mcs/; revision=4842
2002-05-21 23:31:38 +00:00
Duncan Mak f49a845ad0 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToByte)
	(ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
	that we won't confuse FormatException with OverflowException.

svn path=/trunk/mcs/; revision=4841
2002-05-21 20:57:33 +00:00
Lawrence Pit 649fe79f27 Implemented StackTrace, returning MachineName in UserDomainName
instead of null

svn path=/trunk/mcs/; revision=4840
2002-05-21 19:27:33 +00:00
Martin Baulig 1f737df7c1 2002-05-22 Martin Baulig <[email protected]>
* makefile (mcs-mono2.exe): New target.  This is mcs compiled with
	itself with debugging support.

svn path=/trunk/mcs/; revision=4839
2002-05-21 19:03:59 +00:00
Martin Baulig 7c4c8ff3ef 2002-05-22 Martin Baulig <[email protected]>
* typemanager.cs ("System.Runtime.InteropServices.StructLayoutAttribute"):
	Removed, this isn't needed anymore.

svn path=/trunk/mcs/; revision=4838
2002-05-21 19:00:24 +00:00
Duncan Mak 47411d7dbf 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToString): Fixed the ToString methods. Previously I had
	mixed up the two code paths, one for converting to a specific base
	(this case), another from converting from a foreign base to base10
	(used by ToInt16|32|64 (string, int)).

svn path=/trunk/mcs/; revision=4837
2002-05-21 18:58:16 +00:00
Martin Baulig df9ed1ca50 Updated (--debug=[FORMAT]).
svn path=/trunk/mono/; revision=4836
2002-05-21 18:56:18 +00:00
Martin Baulig 07052baf8b 2002-05-22 Martin Baulig <[email protected]>
* debug.c: Added "dont_assemble" and "dont_precompile" argument for dwarf-plus.

	* mono.c: Applied patch from Miguel:
	(--debug): This is now a `--debug=[FORMAT]' argument where FORMAT defaults
	to dwarf-plus.

svn path=/trunk/mono/; revision=4835
2002-05-21 18:55:20 +00:00
Martin Baulig b2c636cb8c 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceMethod): Replaced `MethodInfo MethodInfo' with
	`MethodBase MethodBase' and added `Type ReturnType'.  We're now correctly
	dealing with constructors and not crashing anymore.

svn path=/trunk/mcs/; revision=4834
2002-05-21 18:34:32 +00:00
Lawrence Pit c30b367504 * Environment.cs: CommandLine missed spaces between arguments
svn path=/trunk/mcs/; revision=4833
2002-05-21 18:30:17 +00:00
Lawrence Pit 14b8d3b786 * StreamWriter.cs: added ability to write null value
* ConsoleTest.cs: added test writing null

svn path=/trunk/mcs/; revision=4832
2002-05-21 18:17:22 +00:00
Miguel de Icaza 6681194ab2 2002-05-21 Miguel de Icaza <[email protected]>
* HtmlTextWriter.cs: Use this to change the member instances.

svn path=/trunk/mcs/; revision=4831
2002-05-21 16:45:48 +00:00
Martin Baulig 99a15c5ee5 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Added support for the
	dwarf2-plus format.

svn path=/trunk/mono/; revision=4830
2002-05-21 16:10:10 +00:00
Martin Baulig 4e3d014ba6 2002-05-21 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_find_source_location): New function.
	Looks up an IL offset in the line number table and returns the source
	location as a string.

svn path=/trunk/mono/; revision=4829
2002-05-21 16:07:51 +00:00
Martin Baulig 01003e2ae5 2002-05-21 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Write a special line number table which can be read
	in by the metadata library to get line number information in backtraces.

svn path=/trunk/mcs/; revision=4828
2002-05-21 16:04:49 +00:00
Lawrence Pit 7ba9248113 * WebProxy.cs: more rigorous testing, fixed bug + had to change
internal representation of bypasslist to ArrayList, different
        implementation of checking regex's.

svn path=/trunk/mcs/; revision=4827
2002-05-21 15:56:21 +00:00
Lawrence Pit fd0e3ec62b * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
thereby causing problems when trying to add elements.

svn path=/trunk/mcs/; revision=4826
2002-05-21 14:35:07 +00:00
Dietmar Maurer ac44756289 2002-05-21 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): LDARG uses 16bit argument (fix bug
	#25058)

svn path=/trunk/mono/; revision=4825
2002-05-21 12:39:30 +00:00
Martin Baulig ce0f001d8e 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): New function.
	(mono_debug_il_offset_from_address): New function.

	* exception.c (arch_handle_exception): If we have debugging support, include
	information about the source location and IL offset in the stack trace.

svn path=/trunk/mono/; revision=4824
2002-05-21 11:52:37 +00:00
Paolo Molaro 949331335f Tue May 21 17:25:49 CEST 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: handle inherit argument.

svn path=/trunk/mcs/; revision=4823
2002-05-21 11:39:20 +00:00
Nick Drochak 7f1ba5396a 2002-05-22 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Fix path name to resource files (again).

svn path=/trunk/mcs/; revision=4822
2002-05-21 11:30:08 +00:00
Nick Drochak d5ca292c96 Moved files to Test/resources
svn path=/trunk/mcs/; revision=4821
2002-05-21 11:19:26 +00:00
Nick Drochak 819ce4ae3a Moved files here.
svn path=/trunk/mcs/; revision=4820
2002-05-21 11:18:44 +00:00
Dietmar Maurer c3077d993c 2002-05-21 Dietmar Maurer <[email protected]>
* x86.brg (stmt): removed unnecessary assertion

svn path=/trunk/mono/; revision=4819
2002-05-21 11:15:58 +00:00
Gonzalo Paniagua Javier 784c32b8b6 2002-05-21 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(mono_double_ToStringImpl): changed %f by %g until we have something
	better.

svn path=/trunk/mono/; revision=4818
2002-05-21 10:57:10 +00:00
Nick Drochak f850b5723a 2002-05-21 Nick Drochak <[email protected]>
* MathTest.cs:
		(TestPow): Add try-catch to determine where we are throwing.
		(TestLog): Re-enable failing test
		(TestLog2): same although this test still fails on mono. Not
		sure what the proper value to use here. It works on MS.NET

svn path=/trunk/mcs/; revision=4817
2002-05-21 10:56:53 +00:00
Nick Drochak 0be676e3d3 2002-05-21 Nick Drochak <[email protected]>
* Math.cs (Pow): Change icall method name and insert parameter
	checks in for infinities and NaN.

svn path=/trunk/mcs/; revision=4816
2002-05-21 10:55:30 +00:00
Nick Drochak 102f687990 2002-05-21 Nick Drochak <[email protected]>
* icall.c : Use different name for Math.Pow's icall.  Needed to check
	parameters first in C#.

svn path=/trunk/mono/; revision=4815
2002-05-21 10:54:44 +00:00
Dietmar Maurer 12f733d76e 2002-05-21 Dietmar Maurer <[email protected]>
* jit.c (check_inlining):  we cant inline throw instructions
	(because it breaks some basic block requirements)

svn path=/trunk/mono/; revision=4814
2002-05-21 10:46:18 +00:00
Paolo Molaro 12389754e8 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <[email protected]>
* EventInfo.cs: more implementation.

svn path=/trunk/mcs/; revision=4813
2002-05-21 10:40:54 +00:00
Martin Baulig 2c7b39fade 2002-05-21 Martin Baulig <[email protected]>
* mono.1: Documented the "--debug-args" debugging arguments.

svn path=/trunk/mono/; revision=4812
2002-05-21 10:17:50 +00:00
Martin Baulig edb0d7b3c7 2002-05-21 Martin Baulig <[email protected]>
* debug-private.h (MonoDebugFlags): New enum typedef.

	* debug.c (mono_debug_open): Added a few useful arguments.  See the manpage
	for details.

svn path=/trunk/mono/; revision=4811
2002-05-21 10:17:11 +00:00
Martin Baulig cad6c7094c Ooops.
svn path=/trunk/mono/; revision=4810
2002-05-21 09:43:52 +00:00
Martin Baulig 2da823de34 2002-05-21 Martin Baulig <[email protected]>
* mono.1: Updated to reflect my latest changes and beautified this a bit.
	(FIXME: There are still command line argument which aren't documented here.)

svn path=/trunk/mono/; revision=4809
2002-05-21 09:21:41 +00:00
Martin Baulig 0023ea27d5 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_open_file): Renamed to mono_debug_open(), now takes
	a `MonoAssembly *' argument instead of a `char *filename' one.  Also added
	`const char **args' argument.

	* mono.c (mono_jit_assembly): Renamed to mono_jit_compile_image(), added
	`int verbose' argument and made it public.
	(mono_jit_compile_class): New public function,  moved the code to compile
	all methods in a class here from main().
	(--compile): The argument can now also be an image (in `@imagename' format).
	Updated documentation for this command line argument.
	(--precompile): New command line argument to precompile an image/class/method
	before executing the main app.  This argument can be given multiple times.
	(--break): Renamed the "--debug" command line argument to "--break".
	(--debug): New command line argument to specify the debugging format.
	(--stabs, --dwarf, --dwarf-plus): Removed, obsoleted by "--debug".
	(--debug-args): New command line argument.  This is a comma-separated list of
	additional arguments for the symbol writer.
	(usage): Beautified the help text a bit.

	* debug-dwarf2-plus.c (mono_debug_open_assembly_dwarf2_plus): Use the new
	public mono_jit_compile_image() function rather than duplication this
	functionality here.

svn path=/trunk/mono/; revision=4808
2002-05-21 09:20:45 +00:00
Lawrence Pit 11fdd62665 * WebClient.cs: stubbed
* WebProxy.cs: fixed bug

	* WebProxyTest.cs: added more ctor tests

svn path=/trunk/mcs/; revision=4806
2002-05-21 03:07:21 +00:00
Daniel Morgan 6d551e483a 2002-05-21 Daniel Morgan <[email protected]>
* System.Data.SqlClient/ParmUtil.cs: added file - to
	provide utility for conversion of input parameters

	* System.Data.SqlClient/PostgresTypes.cs: added file -
	moved the PostgreHelper class to here.  May eventually
	move the internal class PostgresTypes that's inside the
	SqlConnection to here as well.
	Handling of PostgreSQL <-> .NET types need to be though
	out more. Also, the PostgreHelper has a method to convert
	from .NET types to a string which can be put into used in
	an SQL statement to execute against a PostgreSQL database.
	This is the beginnings of parameters support.  It currently
	only supports input parameters.  Still need to do output,
	input/output, and return parameters.

	* Test/TestSqlParameters.cs: new test to test the input
	parameters in System.Data.SqlClient against a
	PostgreSQL db.

	* System.Data.SqlClient/PostgresLibrary.cs: moved
	PostgresHelper class to file PostgresTypes.cs.  Also
	moved struct PostgresType there too.

	* System.Data.SqlClient/SqlCommand.cs: added input
	parameters support

	* System.Data.SqlClient/SqlParameter.cs: got
	SqlParameter to work

	* System.Data.SqlClient/SqlParameterCollection.cs: got
	SqlParameterCollection to work

	* Test/System.Data_test.build: added files to exclude
	from test build

	* System.Data.SqlClient/SqlConnection.cs: release resources
	no longer used

svn path=/trunk/mcs/; revision=4805
2002-05-21 01:29:30 +00:00
Martin Baulig ac8e64cb2a 2002-05-21 Martin Baulig <[email protected]>
* debug-dwarf2-plus.c: This is now working again :-)

	* debug.c (mono_debug_open_file): When using MONO_DEBUG_FORMAT_DWARF2_PLUS,
	we create two MonoDebugHandles: one for MONO_DEBUG_FORMAT_DWARF2_PLUS and
	one for the fallback MONO_DEBUG_FORMAT_DWARF2.

svn path=/trunk/mono/; revision=4802
2002-05-20 23:37:05 +00:00
Miguel de Icaza f705afff5b Updates
svn path=/trunk/mono/; revision=4801
2002-05-20 23:14:55 +00:00
Martin Baulig c9ff4463e1 2002-05-21 Martin Baulig <[email protected]>
* jit.c (mono_debug_handle): Removed this global variable.

	* debug.c (mono_debug_close): Removed.
	(mono_debug_cleanup): New global function.
	(mono_debug_add_image): New global function.
	(mono_debug_handle_from_class): New global function.
	(mono_debug_write_symbols): New global function.
	(mono_debug_add_type): Removed `MonoDebugHandle *' argument.
	(mono_debug_add_method): Likewise.

svn path=/trunk/mono/; revision=4800
2002-05-20 23:05:53 +00:00
Miguel de Icaza febc4d8ae9 Flush ChangeLog
svn path=/trunk/mcs/; revision=4799
2002-05-20 22:44:08 +00:00
Miguel de Icaza 4dad12b24f Flush changes to ChangeLog
svn path=/trunk/mcs/; revision=4798
2002-05-20 22:43:38 +00:00
Miguel de Icaza c895bd2a13 Another attempt
svn path=/trunk/mono/; revision=4797
2002-05-20 22:34:32 +00:00
Martin Baulig 6d1170b3e1 2002-05-21 Martin Baulig <[email protected]>
Work around a hard-to-fix bug in GDB and create a single dwarf/stabs
	file for all assemblies.  Currently, the JIT doesn't put all methods
	from a single assembly into a continuous region of memory.  We were
	previously creating valid DWARF 2 files for this, but unfortunately
	GDB's symbol tables get messed up when it reads more than one such file.

	* debug-private.h (AssemblyDebugInfo): Moved `f', `producer_name',
	`next_idx', `methods', `type_hash', `source_files' and `format'
	into the MonoDebugHandle.

	* debug.c (mono_debug_get_type): This now operates on the MonoDebugHandle,
	not on the AssemblyDebugInfo.
	(mono_debug_open_file): Moved some stuff here from mono_debug_open_assembly().

	* debug-dwarf2.c (mono_debug_write_assembly_dwarf2): Renamed into
	mono_debug_write_dwarf2().
	(mono_debug_open_assembly_dwarf2): Removed.
	(mono_debug_close_assembly_dwarf2): Removed.

	* debug-stabs.c (mono_debug_write_assembly_stabs): Renamed into
	mono_debug_write_stabs().
	(mono_debug_open_assembly_stabs): Removed.
	(mono_debug_close_assembly_stabs).

	* debug-dwarf2-plus.c: This is currently broken. :-(

svn path=/trunk/mono/; revision=4796
2002-05-20 21:45:11 +00:00
Lawrence Pit ca9e7e591a System:
* AllTests.cs: added call to System.Net.Sockets.AllTests.cs

System.Net:
	* ServicePointTest.cs: added
	* ServicePointManagerTest.cs: added
	* WebProxyTest.cs: added
	* AllTests.cs: added the above tests
	* WebHeaderCollection.cs: added TestIndexers.

System.Net.Sockets:
	* AllTests.cs: added

svn path=/trunk/mcs/; revision=4794
2002-05-20 18:49:03 +00:00
Lawrence Pit afc721a8ae * WebProxy.cs: added, implemented
* ServicePoint.cs: implemented most
	* ServicePointManager.cs: implemented
	* HttpWebRequest.cs: started implementation
	* HttpWebResponse.cs: improved disposable routines
	* FileWebRequest.cs: slight improvement of Close method

svn path=/trunk/mcs/; revision=4793
2002-05-20 18:40:55 +00:00
Martin Baulig bb4ab39920 2002-05-20 Martin Baulig <[email protected]>
* debug.h (mono_debug_format): New global variable.
	(MonoDebugFormat): Added MONO_DEBUG_FORMAT_NONE.

	* debug-private.h (MonoDebugHandle): Added `objfiles' field which is
	a whitespace separated list of symbol files.
	(AssemblyDebugInfo): Added `objfile' filed which is the name of the
	symbol file.

	* mono.c (main): Pass the assembly file name to mono_debug_open_file().

	* debug.c (mono_debug_make_symbols): Link all symbol files into a big
	`<assemblyname>.o' symbol file.

svn path=/trunk/mono/; revision=4792
2002-05-20 16:28:08 +00:00
Martin Baulig 294d279628 2002-05-20 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Check whether the assembly file
	is newer than the IL file and recreate the IL file if necessary.

svn path=/trunk/mono/; revision=4791
2002-05-20 15:36:50 +00:00
Martin Baulig e9d7805348 2002-05-20 Martin Baulig <[email protected]>
* main.c: Added `--output=FILENAME' command line option.

	* monodis.1: Documented it here.

svn path=/trunk/mono/; revision=4790
2002-05-20 15:19:19 +00:00
Miguel de Icaza 4b7197215c 2002-05-20 Miguel de Icaza <[email protected]>
* typemanager.cs (InitEnumUnderlyingTypes): New helper function
	that splits out the loading of just the core types.

	* rootcontext.cs (ResolveCore): Split the struct resolution in
	two, so we can load the enumeration underlying types before any
	enums are used.

svn path=/trunk/mcs/; revision=4789
2002-05-20 14:47:12 +00:00
Miguel de Icaza b7b001bf8c This is so embarassing
svn path=/trunk/mono/; revision=4788
2002-05-20 14:28:15 +00:00
Miguel de Icaza ab29ea7a87 2002-05-20 Miguel de Icaza <[email protected]>
* mono.c Updated copyright years.

2002-05-20  Miguel de Icaza  <[email protected]>

	* interp.c: Updated help display.

svn path=/trunk/mono/; revision=4787
2002-05-20 14:25:10 +00:00
Radek Doulik fc01dc5bbe (mono_value_box): don't use memcpy for small sizes on
architectures with unaligned access

svn path=/trunk/mono/; revision=4786
2002-05-20 13:42:08 +00:00
Radek Doulik cb9d526994 (ves_exec_method): use stackval_to_data as pointed out by lupus
svn path=/trunk/mono/; revision=4785
2002-05-20 13:40:35 +00:00
Johannes Roith 45c6e2d096 add missing .cvsignore file
svn path=/trunk/mono/; revision=4784
2002-05-20 12:44:27 +00:00
Nick Drochak 0f456cc896 2002-05-21 Nick Drochak <[email protected]>
* Math.cs
		(Ceiling): Check for "special" values
		(Floor): Check for "special" values
		(Round): Fix off-by-one error on decimal shifting

svn path=/trunk/mcs/; revision=4783
2002-05-20 12:42:32 +00:00
Nick Drochak 328ca6540b 2002-05-21 Nick Drochak <[email protected]>
* MathTest.cs: Better reporting of failures
	* Int64Test.cs: Add try-catch to determine where we are throwing.

svn path=/trunk/mcs/; revision=4782
2002-05-20 12:39:20 +00:00
Miguel de Icaza 60b42de4db Fix build for Windows people
svn path=/trunk/mono/; revision=4781
2002-05-20 12:15:06 +00:00
Lawrence Pit edfd81efca * DateTime.cs: ToString () using "G" format specifier
svn path=/trunk/mcs/; revision=4780
2002-05-20 12:03:35 +00:00
Paolo Molaro 4955e75473 Mon May 20 17:36:36 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, reflection.h: added icall to get info about an event.

svn path=/trunk/mono/; revision=4778
2002-05-20 11:51:37 +00:00
Paolo Molaro 2ab3ad06b4 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <[email protected]>
* MonoEvent.cs: fill-in the implementation.

svn path=/trunk/mcs/; revision=4777
2002-05-20 11:50:55 +00:00
Radek Doulik 43e63cc526 2002-05-20 Radek Doulik <[email protected]>
* object.c (mono_value_box): don't use memcpy for boxing on BIG
	endian

svn path=/trunk/mono/; revision=4776
2002-05-20 11:40:17 +00:00
Radek Doulik 809f2c8d8b 2002-05-20 Radek Doulik <[email protected]>
* interp.c (dump_stack): print boxed values for --noptr

svn path=/trunk/mono/; revision=4775
2002-05-20 11:38:56 +00:00
Miguel de Icaza 74e60205bd 2002-05-20 Miguel de Icaza <[email protected]>
* expression.cs (Is): Bandaid until we fix properly Switch (see
	bug #24985 for details).

	* typemanager.cs (ImplementsInterface): The hashtable will contain
	a null if there are no interfaces implemented.

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

	* cs-parser.jay (indexer_declarator): It is fine to have array
	parameters

svn path=/trunk/mcs/; revision=4774
2002-05-20 11:08:16 +00:00
Miguel de Icaza 45412d30e7 Remove old files, as they are now elsewhere
svn path=/trunk/mcs/; revision=4773
2002-05-20 10:38:34 +00:00
Nick Drochak a638fb5ea2 2002-05-20 Nick Drochak <[email protected]>
* AttributeTest.cs (TestGetCustomAttribute): Add try-catch to find out
	which assert is failing.

svn path=/trunk/mcs/; revision=4772
2002-05-20 10:35:15 +00:00
Daniel Morgan 1feb526a8e 2002-05-19 Daniel Morgan <[email protected]>
* doc/ado-net: updated page to include C# code snippets using
	System.Data.  Update status: handle reading NULL values, DataSet/DataAdapter
	works, executing/reading multiple results, and stored procedures.
	And other tweaks about the providers.

svn path=/trunk/mono/; revision=4771
2002-05-19 22:33:55 +00:00
Martin Baulig f944e2592a 2002-05-20 Martin Baulig <[email protected]>
* TypeBuilder.cs (DefineField): Call the new `create_internal_class'
	interncall after adding the first field.  This is used when creating
	enum types to set `klass->enum_basetype'.

svn path=/trunk/mcs/; revision=4769
2002-05-19 19:59:28 +00:00
Martin Baulig b8e5e458a9 2002-05-20 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): Don't crash
	if `tb->parent == NULL'.
	(mono_reflection_create_internal_class): New function.  This is
	called from TypeBuilder.CreateType() and sets `klass->enum_basetype'
	for enum types.

	* icall.c ("System.Reflection.Emit.TypeBuilder::create_internal_class"):
	New interncall.

svn path=/trunk/mono/; revision=4768
2002-05-19 19:55:22 +00:00
Lawrence Pit b89e81df04 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
prevent endless loops.

svn path=/trunk/mcs/; revision=4767
2002-05-19 16:46:48 +00:00
Lawrence Pit 9eaae02b12 * FileWebRequestTest.cs: all the async methods tests to behave the same
as in ms.net

svn path=/trunk/mcs/; revision=4766
2002-05-19 15:47:37 +00:00
Lawrence Pit cf155c00a2 * FileWebRequest.cs: finished implementation of async methods.
* FileWebResponse.cs: improved disposable routines.

svn path=/trunk/mcs/; revision=4765
2002-05-19 15:45:57 +00:00
Miguel de Icaza 621a13042d Sorry about that
svn path=/trunk/mono/; revision=4764
2002-05-19 15:03:12 +00:00
Miguel de Icaza 5bbe679ec3 Updates to ASP.NET
svn path=/trunk/mono/; revision=4763
2002-05-19 14:59:43 +00:00
Martin Baulig 0442a5fa45 2002-05-19 Martin Baulig <[email protected]>
* Convert.cs (FromBase64CharArray): Do correct exception handling.

svn path=/trunk/mcs/; revision=4762
2002-05-19 12:28:30 +00:00
Martin Baulig 89dc4ec342 2002-05-19 Martin Baulig <[email protected]>
* Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
	Added exception handling.

	* Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
	Added exception handling.

svn path=/trunk/mcs/; revision=4761
2002-05-19 12:27:15 +00:00
Martin Baulig dca14bea40 2002-05-19 Martin Baulig <[email protected]>
* Added System.Security.Cryptography.FromBase64TransformTest.cs.

svn path=/trunk/mcs/; revision=4760
2002-05-19 12:06:47 +00:00
Chris J. Breisch 342c6c1d45 Dummy version so the build will complete.
svn path=/trunk/mono/; revision=4759
2002-05-19 11:47:02 +00:00
Martin Baulig 46688a0ec9 2002-05-19 Martin Baulig <[email protected]>
* TheTests.cs: Removed.

svn path=/trunk/mcs/; revision=4758
2002-05-19 11:40:09 +00:00
Martin Baulig ba7de23a4a Ooooops, sorry for being stupid ....
svn path=/trunk/mcs/; revision=4757
2002-05-19 11:38:07 +00:00
Martin Baulig bb1cc41a90 2002-05-19 Martin Baulig <[email protected]>
* corlib_test.build: Don't create Runtest.corlib.exe anymore.

	* MartinTests.cs: Removed.

svn path=/trunk/mcs/; revision=4756
2002-05-19 09:00:43 +00:00
Martin Baulig ed4e02daa7 2002-05-19 Martin Baulig <[email protected]>
* MartinTests.cs: Removed.

svn path=/trunk/mcs/; revision=4755
2002-05-19 08:58:57 +00:00
Daniel Morgan 0ad0d8d73d 2002-05-18 Daniel Morgan <[email protected]>
* System.Xml: added directory for classes with namespace
	System.Xml to go into the System.Data.dll assembly

	* System.Xml/XmlDataDocument: added file
	for stubbed concrete class XmlDataDocument which
	inherits from XmlDocument.  Its purpose is to provide
	a W3C XML DOM Document for relational data and interacting
	with a DataSet

svn path=/trunk/mcs/; revision=4754
2002-05-19 00:00:13 +00:00
Lawrence Pit b4060bcb7b * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
byte ordering of address was backwards.

svn path=/trunk/mcs/; revision=4753
2002-05-18 22:10:39 +00:00
Martin Baulig 18743eab12 2002-05-19 Martin Baulig <[email protected]>
* FromBase64Transform.cs (TransformFinalBlock): The return value of
	`DoTransform' tells us the number of bytes actually written - if it's
	smaller than `res', copy it to a smaller array.

svn path=/trunk/mcs/; revision=4752
2002-05-18 20:30:19 +00:00
Martin Baulig 915c658177 2002-05-19 Martin Baulig <[email protected]>
* unicode.c (ves_icall_iconv_get_bytes): Actually use the `charCount'
	argument to get the length, don't default to the array length.

svn path=/trunk/mono/; revision=4751
2002-05-18 20:27:08 +00:00
Martin Baulig a1c91fdd5d 2002-05-19 Martin Baulig <[email protected]>
* Convert.cs (FromBase64CharArray): Convert the char array using
	System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
	a byte array.

svn path=/trunk/mcs/; revision=4750
2002-05-18 20:25:09 +00:00
Martin Baulig bd84a768b7 2002-05-19 Martin Baulig <[email protected]>
* mono/Makefile.am (SUBDIRS): Added `os', it's referenced by
	interpreter/Makefile.am.

svn path=/trunk/mono/; revision=4749
2002-05-18 19:53:15 +00:00
Miguel de Icaza c49ad0fb65 2002-05-18 Miguel de Icaza <[email protected]>
* HttpRuntime.cs: Reformat file.

svn path=/trunk/mcs/; revision=4748
2002-05-18 19:08:45 +00:00
Miguel de Icaza f8e5d72756 Flush
svn path=/trunk/mono/; revision=4747
2002-05-18 18:27:50 +00:00
Miguel de Icaza 94cf10c811 Complete the deployment of the `os' directory. SOrry about the previous
commit, it was only supposed to add the directories, but I got everything
commited instead.

svn path=/trunk/mono/; revision=4746
2002-05-18 17:41:44 +00:00
Miguel de Icaza 9a9c5bf386 Add new mono/os directory
svn path=/trunk/mono/; revision=4744
2002-05-18 17:32:36 +00:00
Daniel Morgan ec6e751eb5 2002-05-18 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
	Text, TableDirect, and StoredProcedure

	* Test/PostgresTest.cs: changed call to version()
	stored procedure to use the CommandType of StoredProcedure

	* Test/TestSqlDataReader.cs: test all the CommandTypes

svn path=/trunk/mcs/; revision=4743
2002-05-18 15:17:15 +00:00
Daniel Morgan aafe0b2af2 2002-05-18 Daniel Morgan <[email protected]>
* System.Data.build: took out all excluded
	files except the ones in the Test directory
	because all files compile now.  It does not
	mean they all work or have implementations
	though.

	* System.Data/DataRelationCollection.cs
	* System.Data/DataTableRelationCollection.cs
	* System.Data/InternalDataCollectionBase.cs
	* System.Data.Common/DbDataPermission.cs
	* System.Data.SqlClient/SqlInfoMessageEventArgs.cs
	* System.Data.SqlClient/SqlClientPermission.cs
	* System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
	to get all System.Data* files to compile.

	* System.Data.SqlClient/SqlCommand.cs: started coding
	to prevent SqlConnection and SqlCommand from doing
	anyting while fetching data using SqlDataReader.  Also,
	started coding to undo this prevention once the
	SqlDataReader is closed.

	* System.Data.SqlClient/SqlConnection.cs: get database server
	version.  Started coding to prevent connection from
	doing anything while fetching data and undo once the reader
	is closed.  Include events SqlInfoMessage and StateChange.

	* System.Data.SqlClient/SqlDataReader.cs: start coding to
	prevent connection and command from doing anything while
	fetching data, and undo when closed.

	* Test/PostgresTest.cs: added test to get ServerVersion
	property from SqlConnection

svn path=/trunk/mcs/; revision=4742
2002-05-18 13:20:24 +00:00
Tim Coleman 9bb6726506 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: More implementation,
        as well as boundary checks and small semantic
        repairs

svn path=/trunk/mcs/; revision=4741
2002-05-18 11:08:38 +00:00
Chris J. Breisch b0d99d2acf Modified per Dan Lewis' instructions
svn path=/trunk/mcs/; revision=4740
2002-05-18 08:46:37 +00:00
Chris J. Breisch 0af03999e7 Updated as I should've been doing all along
svn path=/trunk/mcs/; revision=4739
2002-05-18 08:27:53 +00:00
Chris J. Breisch 2a18719f4f Clean-up of System.dll when finished.
svn path=/trunk/mcs/; revision=4738
2002-05-18 07:18:59 +00:00
Chris J. Breisch 844e59cc9b Fixed to copy System.dll into Test directory so that tests will run properly.
svn path=/trunk/mcs/; revision=4737
2002-05-18 07:18:25 +00:00
Tim Coleman 58847a4f3d 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: Try to reduce memory
        usage by only creating the original and proposed
        arrays as required in BeginEdit, and then destroying
        proposed during EndEdit, and original during AcceptChanges.
        * System.Data.Common/DbDataAdapter.cs: Make the
        startRecord and maxRecords parameters work correctly.

svn path=/trunk/mcs/; revision=4736
2002-05-18 02:35:17 +00:00
Nick Drochak 5148e5f25f 2002-05-18 Nick Drochak <[email protected]>
* DataRow.cs: Fix typo.

svn path=/trunk/mcs/; revision=4735
2002-05-18 02:06:19 +00:00
Tim Coleman 9f162e5467 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: Move the null check in
        ItemArray set to above the Invalid Cast check, so
        that we don't get null reference exceptions.

svn path=/trunk/mcs/; revision=4734
2002-05-18 00:50:13 +00:00
Daniel Morgan 264414caad 2002-05-17 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: handle
	data value from database being NULL

	* System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
	allow multiple result sets.  Added new internal class
	SqlResult to pass result set data from SqlCommand
	to SqlDataReader.

	* System.Data.SqlClient/SqlDataReader.cs: allow
	multiple result sets.

	* System.Data.SqlClient/SqlConnection.cs: moved
	things around.  Implement IDisposable.

	* Test/TestSqlDataReader.cs: test for execution
	of multiple result sets and display the results
	of these multiple results sets

	* Test/TestSqlDataAdapter.cs: tweaks

svn path=/trunk/mcs/; revision=4733
2002-05-17 22:14:57 +00:00
Chris J. Breisch 8e8463db22 Added ConversionTest for testing Conversion class
svn path=/trunk/mcs/; revision=4732
2002-05-17 22:06:16 +00:00
Chris J. Breisch 38320842e1 Fixed so that 'test' is run in 'test' and not 'all'
svn path=/trunk/mcs/; revision=4731
2002-05-17 22:05:06 +00:00
Chris J. Breisch 458e6d7f7d First 'real' version
svn path=/trunk/mcs/; revision=4730
2002-05-17 22:04:00 +00:00
Miguel de Icaza 60fd8bc92a Update list
svn path=/trunk/mcs/; revision=4728
2002-05-17 21:50:51 +00:00
Miguel de Icaza 9b0d14acef Ok, at least MCS does not crash anymore when compiling the System assembly.
It still fails to compile it though

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

	* typemanager.cs: (RegisterBuilder): New function used to register
	TypeBuilders that implement interfaces.  Since
	TypeBuilder.GetInterfaces (as usual) does not work with lame
	Reflection.Emit.
	(AddUserType): register interfaces.

	(ImplementsInterface): Use the builder_to_ifaces hash if we are
	dealing with TypeBuilder.  Also, arrays are showing up as
	SymbolTypes, which are not TypeBuilders, but whose GetInterfaces
	methods can not be invoked on them!

svn path=/trunk/mcs/; revision=4727
2002-05-17 21:50:13 +00:00
Duncan Mak b3976280ad 2002-05-17 Duncan Mak <[email protected]>
* System.Web.build: Added new arguments: "/noconfig",
	"/r:System.Drawing.dll" and "/r:System.Xml.dll".

	* AttributeCollection.cs:
	* ControlCollection.cs:
	* CssStyleCollection.cs:
	* DataBindingCollection.cs:
	* EmptyControlCollection.cs: Added missing Collection classes.

	* BaseParser.cs:
	* TemplateParser.cs:  Implemented. BaseParser is weird because
	there is no documentation on what it does.

	* ControlBuilder.cs:

	* DataBinder.cs:
	* DataBinding.cs: Added.

	* DataBoundLiteralControl.cs:
	* Triplet.cs: Added.

	* RenderMethod.cs: Added this delegate for Control.cs

svn path=/trunk/mcs/; revision=4726
2002-05-17 20:54:14 +00:00
Miguel de Icaza cfc4b4b32a Add more tests
svn path=/trunk/mcs/; revision=4725
2002-05-17 20:25:15 +00:00
Miguel de Icaza 3cd86625e7 2002-05-17 Miguel de Icaza <[email protected]>
* ecore.cs (ExplicitReferenceConversionExists): Made public.
	(ImplicitReferenceConversionExists): Split out from
	StandardConversionExists.

	* expression.cs (As): We were only implementing one of the three
	cases for the as operator.  We now implement them all.
	(Is): Implement the various other cases for Is as well.

	* typemanager.cs (CACHE): New define used to control if we want or
	not the FindMembers cache.  Seems to have a negative impact on
	performance currently

	(MemberLookup): Nested types have full acess to
	enclosing type members

	Remove code that coped with instance/static returns for events, we
	now catch this in RealFindMembers.

	(RealFindMembers): only perform static lookup if the instance
	lookup did not return a type or an event.

svn path=/trunk/mcs/; revision=4724
2002-05-17 20:13:44 +00:00
Radek Doulik 6e3ae7ed4a 2002-05-17 Radek Doulik <[email protected]>
* interp.c (dump_stack): if --noptr then print content of strings
	in form [str:<printed string>]

svn path=/trunk/mono/; revision=4723
2002-05-17 18:40:59 +00:00
Tim Coleman 4a45db8615 2002-05-17 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                - More implementation of Fill methods
                - Get rid of isDirty flag, because we can just check
                        if the table exists
                - Do *not* remove DataTables before Filling them
                - Implicitly open the connection before doing a Fill
                        if it does not exist.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                - Minor fixup
        * System.Data/DataTableCollection.cs:
                - Add DataSet to internal, undocumented constructor
                - When a table is created, set its DataSet property
                - Default table name for creation is "Table1" (see .NET)
                - Inherit the ArrayList list from InternalDataCollecitonBase
                        and maintain a hashtable between table names and
                        DataTables
        * System.Data/DataTable.cs:
                - Add internal dataSet field.  This is used by
                        DataTableCollection when the DataTable is constructed.
        * System.Data/DataSet.cs:
                - Pass a reference to the DataSet when constructing the
                        DataTableCollection.

svn path=/trunk/mcs/; revision=4722
2002-05-17 16:38:00 +00:00
Lawrence Pit b43bd5c9a0 * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
* NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
	routines, added	checks for disposed state.

svn path=/trunk/mcs/; revision=4721
2002-05-17 15:53:05 +00:00
Miguel de Icaza 9577ba40ef 2002-05-17 Miguel de Icaza <[email protected]>
* typemanager.cs (CACHE): New define used to control if we want or
	not the FindMembers cache.  Seems to have a negative impact on
	performance currently

svn path=/trunk/mcs/; revision=4720
2002-05-17 15:49:33 +00:00
Miguel de Icaza 090fe75c19 2002-05-17 Miguel de Icaza <[email protected]>
* MonoType.cs: Style changes.

svn path=/trunk/mcs/; revision=4719
2002-05-17 15:01:04 +00:00
Miguel de Icaza b90a50112b 2002-05-17 Miguel de Icaza <[email protected]>
* Type.cs: Style changes.

svn path=/trunk/mcs/; revision=4718
2002-05-17 14:56:14 +00:00
Paolo Molaro 3daa5d717a Fri May 17 20:39:53 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: ValueType_GetHashCode() initialize local var.

svn path=/trunk/mono/; revision=4717
2002-05-17 14:53:17 +00:00
Miguel de Icaza a731712720 Add new test
svn path=/trunk/mcs/; revision=4716
2002-05-17 10:58:08 +00:00
Dietmar Maurer 36ddd20647 2002-05-17 Dietmar Maurer <[email protected]>
* x86.brg (reg): fixed array bound check

svn path=/trunk/mono/; revision=4715
2002-05-17 07:45:24 +00:00
Dan Lewis f41742752e 2002-05-17 Dan Lewis <[email protected]>
* FileStream.cs: Enforce lower bound on buffer size.

svn path=/trunk/mcs/; revision=4714
2002-05-17 07:35:54 +00:00
Dietmar Maurer b3dc392490 new test
svn path=/trunk/mono/; revision=4713
2002-05-17 07:30:43 +00:00
Dietmar Maurer 1f614411eb 2002-05-17 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): print method signature

	* exception.c (arch_handle_exception): set trace info before we
	call handlers.

svn path=/trunk/mono/; revision=4712
2002-05-17 06:22:30 +00:00
Lawrence Pit 3037f164e7 2002-05-17 Lawrence Pit <[email protected]>
* UdpClient.cs and TcpClient.cs: modified disposable routines, added
	checks for disposed state.
	* UdpClient.cs: commented out GetHashCode and Equals as it's not
	overriden in ms.net implementation.

2002-05-17  Jaroslaw Kowalski <[email protected]>
	* TcpClient.cs: fixed SetTcpClient so that
	TcpListener.AcceptTcpClient works and allows
	you to call GetStream() on its result

svn path=/trunk/mcs/; revision=4711
2002-05-17 03:54:41 +00:00
Miguel de Icaza 4270a24e5a 2002-05-17 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign): We pass more semantic information
	now to Compound Assignments than we did before: now we have all
	the information at hand, and now we resolve the target *before* we
	do the expression expansion, which allows the "CacheValue" method
	to have the effect we intended (before, a [x] += 1 would generate
	two differen ArrayAccess expressions from the ElementAccess,
	during the resolution process).

	(CompoundAssign.DoResolve): Resolve target and original_source here.

svn path=/trunk/mcs/; revision=4710
2002-05-17 02:02:21 +00:00
Miguel de Icaza 61049409be 2002-05-16 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess): dropped debugging information.

	* typemanager.cs: Small bug fix: I was always returning i_members,
	instead of one of i_members or s_members (depending on which had
	the content).

svn path=/trunk/mcs/; revision=4709
2002-05-16 23:51:31 +00:00
Tim Coleman fe48a78739 I made a boo-boo on the last check in.
svn path=/trunk/mcs/; revision=4708
2002-05-16 23:41:32 +00:00
Tim Coleman 96c8130fc1 2002-05-16 Tim Coleman <[email protected]>
* TestSqlDataAdapter.cs: Added the foreach loop to iterate through
        all of the DataRows in the DataSet table "Table", as the
        GetEnumerator method of InternalDataCollectionBase has now been
        implemented.

svn path=/trunk/mcs/; revision=4707
2002-05-16 23:36:34 +00:00
Tim Coleman 56c4b39c25 2002-05-16 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (itemArray) instead of
                table.Rows.Add (thisRow) to provide better
                abstraction.
        * System.Data/DataRowCollection.cs:
                Some implementation of this class.
        * System.Data/InternalDataCollectionBase.cs:
                Some implementation.  Most notably, this now
                has an enumerator so we can use foreach (DataRow row in table.Rows)
                in the test classes.
        * System.Data/DataTable.cs:
                Since DataRowCollection now accepts a DataTable in
                its internal constructor, we must pass one in.

svn path=/trunk/mcs/; revision=4706
2002-05-16 23:29:13 +00:00
Nick Drochak aa4ba96f13 2002/05/17 Nick Drochak <[email protected]>
* System.Data_test.build: Remove RunTests from the default build. We
	can add this later, but it keeps the build from breaking for now.

	* TestSqlDataAdapter.cs: Fix build breaker.

svn path=/trunk/mcs/; revision=4705
2002-05-16 22:39:33 +00:00
Miguel de Icaza 55a3530e27 2002-05-16 Miguel de Icaza <[email protected]>
* assign.cs (IAssignMethod.CacheTemporaries): New method.  This
	method is invoked before any code generation takes place, and it
	is a mechanism to inform that the expression will be invoked more
	than once, and that the method should use temporary values to
	avoid having side effects

	(Assign.Emit): Call CacheTemporaries in the IAssignMethod.

	* ecore.cs (Expression.CacheTemporaries): Provide empty default
	implementation.

	* expression.cs (Indirection, ArrayAccess): Add support for
	CacheTemporaries in these two bad boys.

svn path=/trunk/mcs/; revision=4702
2002-05-16 20:53:48 +00:00
Daniel Morgan 6f79842050 2002-05-16 Daniel Morgan <[email protected]>
* Test/TestSqlDataAdapter.cs: added new test
	for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
	DataRowCollection, and DataRow.  It tests retrieving data
	based on a SQL SELECT query.  This test is based on Tim Coleman's
	test he sent to me.

svn path=/trunk/mcs/; revision=4701
2002-05-16 19:55:15 +00:00
Miguel de Icaza d36f49c491 Update compiler docs
svn path=/trunk/mcs/; revision=4700
2002-05-16 19:21:27 +00:00
Miguel de Icaza a356bf05f3 2002-05-16 Miguel de Icaza <[email protected]>
* ecore.cs (LoadFromPtr): figure out on our own if we need to use
	ldobj or ldind_ref.
	(StoreFromPtr): Handle stobj as well.

	* expression.cs (UnaryMutator): Share more code.

svn path=/trunk/mcs/; revision=4699
2002-05-16 18:56:07 +00:00
Miguel de Icaza fd769fa50f 2002-05-16 Miguel de Icaza <[email protected]>
* typemanager.cs (FindMembers): Thanks to Paolo for tracking this
	down: I was not tracking the Filter function as well, which
	was affecting the results of the cache.

svn path=/trunk/mcs/; revision=4698
2002-05-16 17:19:15 +00:00
Tim Coleman 9e470e8354 2002-05-15 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (thisRow) instead of
                table.ImportRow (thisRow)
        * System.Data/DataRowCollection.cs:
                Construct the ArrayList before using it

svn path=/trunk/mcs/; revision=4697
2002-05-16 17:12:43 +00:00
Miguel de Icaza 262a67edb9 From:
// Krister Hansson ([email protected])
// Andreas Jonsson ([email protected])

ConverTest regression test suite.

Excellent!

svn path=/trunk/mcs/; revision=4696
2002-05-16 16:27:00 +00:00
Miguel de Icaza 932312e171 Jaroslaw Kowalski <[email protected]>: Report EADDRINUSE error
svn path=/trunk/mono/; revision=4695
2002-05-16 16:15:28 +00:00
Miguel de Icaza d19679d12c Jaroslaw Kowalski <[email protected]>: Update w32 error descriptions
svn path=/trunk/mcs/; revision=4694
2002-05-16 16:14:50 +00:00
Tim Coleman b5b359c58f 2002-05-16 Tim Coleman <[email protected]>
* System.Data/DataTable.cs:
                Construct the DataRowCollection in the DataTable
                constructor.  Otherwise, it's a null reference.

svn path=/trunk/mcs/; revision=4692
2002-05-16 14:25:35 +00:00
Radek Doulik 5209f40866 2002-05-16 Radek Doulik <[email protected]>
* interp.c (ves_exec_method): use data.i instead of data.l in i32
	case
	(ves_exec_method): set type in I64 <--> I32 conversions

svn path=/trunk/mono/; revision=4691
2002-05-16 14:19:27 +00:00
Piers Haken 9ce542217c * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
svn path=/trunk/mcs/; revision=4690
2002-05-16 13:44:04 +00:00
Piers Haken bac030aede * UInt64.cs: fix declaration of IConvertible.To* overrides.
svn path=/trunk/mcs/; revision=4689
2002-05-16 13:37:22 +00:00
Nick Drochak 8edd2d855a 2002-05-17 Nick Drochak <[email protected]>
* StreamWriter.cs: Implement buffering.  Also implemented dispose
	pattern as recommended by the MS docs.  Must call Close() now
	to ensure the buffer is flushed.

svn path=/trunk/mcs/; revision=4687
2002-05-16 12:03:38 +00:00
Nick Drochak d583ec88bc 2002-05-16 Nick Drochak <[email protected]>
* Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
	now that StreamWriter uses buffering

svn path=/trunk/mcs/; revision=4686
2002-05-16 12:00:52 +00:00
Paolo Molaro 8b0eea6c1b Thu May 16 17:21:07 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump,c, get.h, get.c: diassemble custom attributes.

svn path=/trunk/mono/; revision=4685
2002-05-16 11:34:30 +00:00
Paolo Molaro 82713f791b Thu May 16 17:20:22 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: sort custom attributes table.

svn path=/trunk/mono/; revision=4684
2002-05-16 11:33:28 +00:00
Paolo Molaro bcadaf072f Thu May 16 16:09:51 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: complete special acse support for CharSet, Size and
	Pack named args in StructLayout attribute.

svn path=/trunk/mcs/; revision=4683
2002-05-16 10:23:13 +00:00
Paolo Molaro 433e0e0e47 Thu May 16 16:08:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: support named args in custom attributes (write support).

svn path=/trunk/mono/; revision=4682
2002-05-16 10:21:54 +00:00
Nick Drochak 55d687d992 2002-05-16 Nick Drochak <[email protected]>
* BitConverter.cs (ToString): Add parameter check for invalid start
	index.

svn path=/trunk/mcs/; revision=4681
2002-05-16 09:42:37 +00:00
Paolo Molaro deb7bf24f3 Thu May 16 13:04:59 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix finally position calculation.

svn path=/trunk/mono/; revision=4680
2002-05-16 07:18:12 +00:00
Dietmar Maurer f9d41e04c5 removed #include <mono/io-layer/threads.h>
CVS ----------------------------------------------------------------------

svn path=/trunk/mono/; revision=4679
2002-05-16 07:01:30 +00:00
Dietmar Maurer 7441975a45 2002-05-16 Dietmar Maurer <[email protected]>
* jit.c (mono_find_final_block): make it work with mcs

svn path=/trunk/mono/; revision=4678
2002-05-16 06:49:16 +00:00
Dietmar Maurer 0057b356ac another test
svn path=/trunk/mono/; revision=4677
2002-05-16 05:06:02 +00:00
Dietmar Maurer 616842f7ed exception fixes - unfortunately this does not work with mcs compiled binaries
svn path=/trunk/mono/; revision=4676
2002-05-16 04:40:21 +00:00
Radek Doulik 8a9b5f9a0b 2002-05-16 Radek Doulik <[email protected]>
* interp.c (ves_exec_method): use data.i instead of data.l in i32
	case

svn path=/trunk/mono/; revision=4675
2002-05-16 03:05:26 +00:00
Tim Coleman a2896d3391 2002-05-16 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs:
                Modify GetValues to use Array.Copy() to copy
                the results from fields to values, rather than
                an assignment, which results in loss of data.

svn path=/trunk/mcs/; revision=4674
2002-05-16 02:34:45 +00:00
Tim Coleman 463964346f 2002-05-16 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
                More implementation and documentation.  It should
                work more like expected, although there is no way
                to demonstrate this well yet.  DataTable requires
                more work.

svn path=/trunk/mcs/; revision=4673
2002-05-16 01:52:07 +00:00
Miguel de Icaza 66534c61c0 Remove test 120 from the MIcrosoft build
svn path=/trunk/mcs/; revision=4671
2002-05-15 21:18:31 +00:00
Miguel de Icaza 9d04e84eb2 2002-05-15 Miguel de Icaza <[email protected]>
* attribute.cs: Remove the hack to handle the CharSet property on
	StructLayouts.

svn path=/trunk/mcs/; revision=4670
2002-05-15 21:18:04 +00:00
Radek Doulik 98960296c1 ops, unsaved entry
svn path=/trunk/mono/; revision=4667
2002-05-15 17:24:15 +00:00
Tim Coleman 1aaa37badb 2002-05-15 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
                Minor tweaks as I determine exactly how to
                implement this class.

svn path=/trunk/mcs/; revision=4666
2002-05-15 16:01:51 +00:00
Radek Doulik 207c4d4287 added note about running mcs
svn path=/trunk/mono/; revision=4665
2002-05-15 14:23:37 +00:00
Radek Doulik 55c45ece0a 2002-05-15 Radek Doulik <[email protected]>
* reflection.c: fixed endianess at many places

	* icall.c (ves_icall_InitializeArray): comment out debug msg

svn path=/trunk/mono/; revision=4664
2002-05-15 14:22:06 +00:00
Radek Doulik 94821b03d2 2002-05-15 Radek Doulik <[email protected]>
* interp.c (ves_runtime_method): moved stackval_from_data call
	inside #else branch, consulted on irc with lupus

svn path=/trunk/mono/; revision=4663
2002-05-15 14:19:57 +00:00
Radek Doulik 065f687aed fixed delegates return values
svn path=/trunk/mono/; revision=4662
2002-05-15 14:19:24 +00:00
Dan Lewis 29ee4e1580 Tidied up copyrights.
svn path=/trunk/mono/; revision=4661
2002-05-15 13:31:49 +00:00
Dietmar Maurer ad9e8ba76a added original copyright notice
svn path=/trunk/mono/; revision=4660
2002-05-15 13:17:11 +00:00
Dietmar Maurer b9db0ccd14 (mono_runtime_delegate_invoke): impl.
svn path=/trunk/mono/; revision=4659
2002-05-15 12:58:41 +00:00
Dietmar Maurer 1f2d254cd6 removed exception9.cs because that test have to fail
svn path=/trunk/mono/; revision=4658
2002-05-15 12:30:39 +00:00
Dietmar Maurer ce9497acae 2002-05-15 Dietmar Maurer <[email protected]>
* object.c (mono_unhandled_exception): new function to handle
	unhandled exceptions.
	(mono_unhandled_exception): call the UnhandledException event.

i	* interp.c (ves_exec_method): use new mono_unhandled_exception()

svn path=/trunk/mono/; revision=4657
2002-05-15 12:23:20 +00:00
Dietmar Maurer a3869b884d another test
svn path=/trunk/mono/; revision=4656
2002-05-15 11:11:17 +00:00
Gonzalo Paniagua Javier e498eb1d31 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
* ValidationPropertyAttribute.cs: a couple of fixes to make it compile.

svn path=/trunk/mcs/; revision=4655
2002-05-15 11:07:06 +00:00
Dietmar Maurer c680c5953d 2002-05-15 Dietmar Maurer <[email protected]>
* delegate.c: simplified the
	code using new runtime_invoke feature.

svn path=/trunk/mono/; revision=4654
2002-05-15 10:21:31 +00:00
Paolo Molaro e36908481a Wed May 15 16:02:56 CEST 2002 Paolo Molaro <[email protected]>
* main.c: output field RVA data.

svn path=/trunk/mono/; revision=4653
2002-05-15 10:16:21 +00:00
Paolo Molaro 3e9da1058b Wed May 15 15:59:55 CEST 2002 Paolo Molaro <[email protected]>
* metadata.h, metadata.c, class.c: mono_metadata_field_info ()
	returns the RVA, not the direct pointer to the data. Handle the case
	when the class size is fixed.

svn path=/trunk/mono/; revision=4652
2002-05-15 10:14:56 +00:00
Dick Porter b288485ea5 2002-05-15 Dick Porter <[email protected]>
* wait.c: Fix a deadlock in WaitForMultipleObjects

svn path=/trunk/mono/; revision=4651
2002-05-15 09:53:28 +00:00
Dietmar Maurer c59abc6b40 better comment
svn path=/trunk/mono/; revision=4650
2002-05-15 08:50:38 +00:00
Dietmar Maurer 087a3ce0fc 2002-05-15 Dietmar Maurer <[email protected]>
* delegate.c (arch_end_invoke): fix bug #24653

svn path=/trunk/mono/; revision=4649
2002-05-15 08:25:15 +00:00
Duncan Mak adfcff5184 Adding references to Delta-Forth to the language page.
svn path=/trunk/mono/; revision=4648
2002-05-15 07:25:31 +00:00
Dietmar Maurer d85735e32b another test
svn path=/trunk/mono/; revision=4647
2002-05-15 07:00:07 +00:00
Dietmar Maurer 84ca426660 (mono_thread_start_cb): set end_of_stack
svn path=/trunk/mono/; revision=4646
2002-05-15 06:58:13 +00:00
Paolo Molaro 14eb67673a Wed May 15 12:22:09 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: search for pthread functions also in libc_r (patch
	from Garrett Rooney <[email protected]>).

svn path=/trunk/mono/; revision=4645
2002-05-15 06:37:02 +00:00
Dietmar Maurer 5683e6188b 2002-05-15 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_flow): try blocks are followed by handler
	blocks, so we need to add all handler blocks as succesors.

	* exception.c (arch_handle_exception): correctly save/restore caller
	saved regs.

	* emit-x86.c (arch_emit_prologue): correctly save/restore caller
	saved regs.

	* jit.c (mono_cfg_new): allocate space for caller saved registers.

svn path=/trunk/mono/; revision=4644
2002-05-15 06:16:23 +00:00
Duncan Mak 183b00d9fe 2002-05-14 Duncan Mak <[email protected]>
* ValidationPropertyAttribute.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4643
2002-05-14 20:52:02 +00:00
Radek Doulik eea3c64dbb added --noptr option
svn path=/trunk/mono/; revision=4640
2002-05-14 18:35:41 +00:00
Duncan Mak 210699d521 2002-05-14 Duncan Mak <[email protected]>
* System.Data/DataTable.cs (NewRow): Added missing paren to fix build.

svn path=/trunk/mcs/; revision=4639
2002-05-14 18:16:59 +00:00
Miguel de Icaza 1314011e0e Add README file
svn path=/trunk/mcs/; revision=4638
2002-05-14 18:03:48 +00:00
Miguel de Icaza e8de62d687 Add System.Runtime.Serialization.Formatters.Soap from Jesus
svn path=/trunk/mcs/; revision=4637
2002-05-14 18:02:26 +00:00
Tim Coleman 022feb8e7c 2002-05-14 Tim Coleman
* System.Data/DataRow.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataTable.cs:
                More implementation of these classes.  DataRow
                can now (possibly) do some useful things.
                Still not sure what DataRowBuilder is all about,
                other than passing a DataTable in.

svn path=/trunk/mcs/; revision=4636
2002-05-14 17:45:13 +00:00
Radek Doulik 0b88012cff recognize NULL when --noptr
svn path=/trunk/mono/; revision=4635
2002-05-14 16:14:09 +00:00
Radek Doulik 8f3bcf4898 added --noptr to help
svn path=/trunk/mono/; revision=4634
2002-05-14 16:03:31 +00:00
Radek Doulik c5ea71cc7f add braces
svn path=/trunk/mono/; revision=4633
2002-05-14 15:53:51 +00:00
Radek Doulik beca9222f6 2002-05-14 Radek Doulik <[email protected]>
* interp.c: introduced new --noptr option to suppres pointer
	address printing. I find this useful for comparing trace outputs
	while porting to ppc

svn path=/trunk/mono/; revision=4632
2002-05-14 15:51:15 +00:00
Miguel de Icaza d7e9f25270 2002-05-14 Miguel de Icaza <[email protected]>
* Double.cs: Oops.  Also handle exponents without finding a dot.

svn path=/trunk/mcs/; revision=4631
2002-05-14 15:45:52 +00:00
Paolo Molaro f75ef6b199 Tue May 14 16:59:44 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix some endianess issues.

svn path=/trunk/mono/; revision=4629
2002-05-14 14:07:47 +00:00
Tim Coleman 981a308bc5 2002-05-14 Tim Coleman
* System.Data/DataRowBuilder.cs:
                Add stubb for this internal class.

svn path=/trunk/mcs/; revision=4628
2002-05-14 12:08:55 +00:00
Nick Drochak 94205af0d6 2002-05-15 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs:
	Make sure invalid file name has invalid characters in it.  These are
	platform dependant.

svn path=/trunk/mcs/; revision=4627
2002-05-14 11:49:25 +00:00
Nick Drochak eda2a59d10 2002-05-15 Nick Drochak <[email protected]>
* Path.cs (GetDirectoryName): Return String.Empty if there is no
	directory

	* StreamReader.cs: Add some parameter checking on file names.

	* StreamWriter.cs: Add some parameter checking on file names.

svn path=/trunk/mcs/; revision=4626
2002-05-14 11:46:20 +00:00
Paolo Molaro 5cac36d0df Tue May 14 17:13:48 CEST 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs: revert change in accessibility of
	GetILGenerator(int).

svn path=/trunk/mcs/; revision=4625
2002-05-14 11:27:15 +00:00
Paolo Molaro 5a00c7f977 Tue May 14 16:37:55 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: some finally handling fixes and compilation fixes for
	changes in the runtime lib.

svn path=/trunk/mono/; revision=4623
2002-05-14 11:08:13 +00:00
Paolo Molaro 385da20d95 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <[email protected]>
* CharSet.cs: added missing None enum item.

svn path=/trunk/mcs/; revision=4622
2002-05-14 10:48:17 +00:00
Nick Drochak 5374cbe27d 2002-05-14 Nick Drochak <[email protected]>
* File.cs: Add parameter checks to most methods. Not completely done,
	but all current unit tests pass.

	* Path.cs: Implement GetTempFileName().

svn path=/trunk/mcs/; revision=4621
2002-05-14 10:40:23 +00:00
Nick Drochak 0e79d51e7b 2002-05-14 Nick Drochak <[email protected]>
* StringTest.cs: A couple more tests

svn path=/trunk/mcs/; revision=4620
2002-05-14 10:32:13 +00:00
Nick Drochak 790ca7edd4 2002-05-14 Nick Drochak <[email protected]>
* FileTest.cs: Delete temporary files after each test method; Catch
	unexpected exceptions and report them; Make some Assert messages
	unique; Make sure temp files exist before trying Move and Delete, etc.

svn path=/trunk/mcs/; revision=4619
2002-05-14 10:31:33 +00:00
Dietmar Maurer 7cb732d788 2002-05-14 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_invoke): is now able to catch exceptions.

svn path=/trunk/mono/; revision=4618
2002-05-14 10:08:21 +00:00
Paolo Molaro 1367fc7b85 Tue May 14 13:31:17 CEST 2002 Paolo Molaro <[email protected]>
* FieldBuilder.cs, ParameterBuilder.cs: more special-casing of
	attributes.

svn path=/trunk/mcs/; revision=4617
2002-05-14 07:51:38 +00:00
Dietmar Maurer ed93954e76 2002-05-14 Dietmar Maurer <[email protected]>
* jit.c: only use one TLS slot to store jit data

	* exception.c (arch_handle_exception): print function signature,
	use thread relative end_of_stack

svn path=/trunk/mono/; revision=4616
2002-05-14 07:05:12 +00:00
Dan Lewis 4a7868f5ba 2002-05-14 Dan Lewis <[email protected]>
* icall.c: make GetHashCode return non-negative values.

svn path=/trunk/mono/; revision=4615
2002-05-14 06:25:42 +00:00
Dan Lewis a92a1cb94e 2002-05-14 Dan Lewis <[email protected]>
* object.c, icall.c, gc.c: revert to address-based hashcode.

svn path=/trunk/mono/; revision=4614
2002-05-14 05:55:25 +00:00
Miguel de Icaza 3fe950172c Remove the false
svn path=/trunk/mcs/; revision=4613
2002-05-14 03:41:55 +00:00
Miguel de Icaza d3f71bab8a 2002-05-14 Miguel de Icaza <[email protected]>
* attribute.cs (DoResolve): More uglyness, we now only try to
	resolve the attribute partially, to extract the CharSet
	information (only if we are a StructLayout attribute).  Otherwise

	(GetExtraTypeInfo): Add some code to conditionally kill in the
	future this.   I am more and more convinced that the .NET
	framework has special code to handle the attribute setting on
	certain elements.

	* expression.cs (IsParamsMethodApplicable): Revert my previous
	foreach change here, it was wrong.

svn path=/trunk/mcs/; revision=4612
2002-05-14 03:38:49 +00:00
Miguel de Icaza bad840fd07 Add FreeBSD strtod
svn path=/trunk/mono/; revision=4611
2002-05-13 22:43:03 +00:00
Miguel de Icaza 90a9857102 Add another float test
svn path=/trunk/mcs/; revision=4610
2002-05-13 22:34:51 +00:00
Miguel de Icaza c8d0765032 2002-05-13 Miguel de Icaza <[email protected]>
* Double.cs (Parse): Reimplement by cleaning up the string first,
	and then passing to strtof in the mono runtime.

	* Single.cs (Parse): Use the Double implementation and cast to
	float.

svn path=/trunk/mcs/; revision=4609
2002-05-13 22:33:37 +00:00
Miguel de Icaza 1ebe2ee1a3 2002-05-13 Miguel de Icaza <[email protected]>
* icall.c (mono_double_ParseImpl): Added ParseImpl method.

svn path=/trunk/mono/; revision=4608
2002-05-13 22:32:46 +00:00
Gonzalo Paniagua Javier 9924c56e84 2002-05-14 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: removed empty entry at the top of the file.

	* Int32.cs: made static functions used by Parse internal.

	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs: removed static fucntions used by Parse and use the ones
	in Int32.cs

svn path=/trunk/mcs/; revision=4607
2002-05-13 22:13:58 +00:00
Lawrence Pit 543a620ce4 * Dnstest.cs: added test for asynchronous methods
svn path=/trunk/mcs/; revision=4605
2002-05-13 20:04:19 +00:00
Lawrence Pit 9660a4c88b * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
relying on standard asynchronous delegate features. Added checks for
	null strings.
	* HttpWebResponse.cs: implemented properties
	* FileWebResponse.cs: improved the way resources are disposed.
	* FileWebRequest.cs: started implementation of asynchronous methods
	* ServicePointManager.cs: implemented properties

svn path=/trunk/mcs/; revision=4604
2002-05-13 19:59:05 +00:00
Dick Porter 6e7e39bd36 2002-05-14 Dick Porter <[email protected]>
* io.c: Fix a cut&paste error, found by
	Jaroslaw Kowalski <[email protected]>

svn path=/trunk/mono/; revision=4603
2002-05-13 19:30:47 +00:00
Mike Gray f13cac4c18 *** empty log message ***
svn path=/trunk/mcs/; revision=4602
2002-05-13 19:07:52 +00:00
Radek Doulik cb091406bf 2002-05-13 Radek Doulik <[email protected]>
* ppc/tramp.c (emit_save_parameters): fix I8 parameters

svn path=/trunk/mono/; revision=4601
2002-05-13 19:00:42 +00:00
Radek Doulik 0c2e0ce4f4 introduced DEBUG, disabled by default
svn path=/trunk/mono/; revision=4599
2002-05-13 17:24:04 +00:00
Miguel de Icaza 0d877c52e7 2002-05-13 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: (pp_primary): Eat the ')' at the end.
	(pp_expr): do not abort on unknown input, just return.
	(eval): abort if there are pending chars.

svn path=/trunk/mcs/; revision=4598
2002-05-13 17:17:46 +00:00
Miguel de Icaza 9ecc235d33 Improve test
svn path=/trunk/mcs/; revision=4597
2002-05-13 17:17:20 +00:00
Miguel de Icaza 0b418c229f 2002-05-13 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Positional parameters are
	optional.  Deal with that case.

svn path=/trunk/mcs/; revision=4596
2002-05-13 17:07:39 +00:00
Miguel de Icaza 423bf2960e 2002-05-13 Miguel de Icaza <[email protected]>
* class.cs (DefineType): Call Attribute.GetExtraTypeInfo to fetch
	the Ansi/Unicode/Auto information for the type.

	(TypeContainer.DefineType): instantiate the EmitContext here, as
	we will be using it during the type definition (to resolve
	attributes) and during the emit phase.

	* attribute.cs (Attribute.GetExtraTypeInfo): This routine is used
	to pull type information out of the attributes

	(Attribute.Resolve): track the constructor builder, and allow for
	multiple invocations (structs and classes will use this).

svn path=/trunk/mcs/; revision=4594
2002-05-13 16:54:57 +00:00
Miguel de Icaza 06403015c7 Add new tests
svn path=/trunk/mcs/; revision=4593
2002-05-13 16:53:57 +00:00
Tim Coleman 761d9d80bb 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                The maxRecords check was not correct.

svn path=/trunk/mcs/; revision=4590
2002-05-13 15:00:09 +00:00
Paolo Molaro c21209f2c9 Documented MONO_PATH (partially from Magnus Runesson <[email protected]>).
svn path=/trunk/mono/; revision=4589
2002-05-13 14:53:18 +00:00
Tim Coleman f594cc033d 2002-05-13 Tim Coleman
* System.Data/DataTableCollection.cs:
                Fix an issue when adding a DataTable and size == 0.
                Now explicitly checks if size > 0 before doing Array.Copy ()
        * System.Data.Common/DbDataAdapter.cs:
                Move closer to a working implementation.
                Make the IDbCommand fields protected so that they can
                be inherited.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                This should inherit the IDbCommands instead of having its
                own.  An explicit cast is used to force conversion between
                IDbCommand and SqlCommand

svn path=/trunk/mcs/; revision=4588
2002-05-13 14:30:06 +00:00
Tim Coleman 5da5786484 2002-05-13 Tim Coleman
* System.Data.Common/DataTableMappingCollection.cs:
                Some implementation to allow progress with DbDataAdapter

svn path=/trunk/mcs/; revision=4586
2002-05-13 12:27:32 +00:00
Paolo Molaro f8263fca0c Mon May 13 16:40:30 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, class.c: special case <Module>.

svn path=/trunk/mono/; revision=4585
2002-05-13 10:53:32 +00:00
Tim Coleman d227c7b3ab 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                Modify to not break compile.

svn path=/trunk/mcs/; revision=4584
2002-05-13 10:46:38 +00:00
Tim Coleman 04e4f5f468 2002-05-13 Tim Coleman
* System.Data.build:
                include SqlDataAdapter, SqlRowUpdatedEventArgs,
                SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
                SqlRowUpdatingEventHandler in the build.

svn path=/trunk/mcs/; revision=4583
2002-05-13 10:35:21 +00:00
Dietmar Maurer 4bf8af29ee 2002-05-13 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): we need to generate a temporary var for
	SHL/SHR because the tree allocator can fail otherwise

svn path=/trunk/mono/; revision=4582
2002-05-13 09:24:39 +00:00
Dietmar Maurer c8dce7bc39 disable OPT_BOOL
svn path=/trunk/mono/; revision=4581
2002-05-13 08:32:06 +00:00
Dietmar Maurer d6a57257da 2002-05-13 Dietmar Maurer <[email protected]>
* jit.c (OPT_BOOL): new. opt. for boolean variables - we simply
	store them as 32 bit integers.

svn path=/trunk/mono/; revision=4580
2002-05-13 05:38:17 +00:00
Dan Lewis 63415b24cc 2002-05-13 Dan Lewis <[email protected]>
* icall.c: fix bug in GetNow().

svn path=/trunk/mono/; revision=4579
2002-05-13 04:12:55 +00:00
Dietmar Maurer 65b526fceb 2002-05-13 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): EIP now points to the call
	instruction, not to the instruction after the call. This fixes the
	bug reported by Linus Upson (tests/exception8.cs)

svn path=/trunk/mono/; revision=4578
2002-05-13 03:58:36 +00:00
Miguel de Icaza b2febae24c 2002-05-13 Miguel de Icaza <[email protected]>
* ecore.cs (MemberLookupFinal): new version with all the
	parameters customizable.

	* expression.cs (New.DoResolve): Use MemberLookupFinal to locate
	constructors.  Return if the result value is null (as the error
	would have been flagged already by MemberLookupFinal)

	Do not allow instances of abstract classes or interfaces to be
	created.


	(Method.Emit): If the method is marked abstract and has a body,
	emit an error.

svn path=/trunk/mcs/; revision=4577
2002-05-13 02:38:02 +00:00
Miguel de Icaza 188fc21c21 2002-05-13 Miguel de Icaza <[email protected]>
* class.cs: (MethodSignature.InheritableMemberSignatureCompare):
	We have to compare the assembly property here when dealing with
	FamANDAssem and Assembly access modifiers, because we might be
	creating an assembly from *modules* (that means that we are not
	getting TypeBuilders for types defined in other modules that are
	part of this assembly).

	(TypeContainer.DefineMembers): If both the defined member and the
	parent name match are methods, then do not emit any warnings: let
	the Method.Define routine take care of flagging warnings.  But if
	there is a mismatch (method overrides something else, or method is
	overriwritten by something, then emit warning).

	(MethodSignature.MemberSignatureCompare): If the sig.ret_type is
	set to null, this means `do not check for the return type on the
	signature'.

	(Method.Define): set the return type for the method signature to
	null, so that we get methods with the same name and parameters and
	different return types.  This is used to flag warning 114 (you are
	hiding a method, and you probably want to use the new/override
	keywords instead).

	* typemanager.cs (MemberLookup): Implemented proper access
	control, closing a long standing set of bug reports.  The problem
	was that the Framework only has two bits: Public and NonPublic,
	and NonPublic includes private and protected methods, but we need
	to enforce the FamANDAssem, FamOrAssem and Family.

svn path=/trunk/mcs/; revision=4576
2002-05-13 02:16:40 +00:00
Tim Coleman eb4038076d 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                More implementation.
        * System.Data.Common/DataAdapter.cs:
                Correction of some of the stubbing, as well as a
                little bit more implementation

svn path=/trunk/mcs/; revision=4575
2002-05-13 01:49:15 +00:00
Miguel de Icaza e1aa7e1e11 More
svn path=/trunk/mcs/; revision=4574
2002-05-13 00:20:41 +00:00
Miguel de Icaza ed9ad4a434 Small fixes, remove Gtk implicit reference
svn path=/trunk/mcs/; revision=4573
2002-05-13 00:19:32 +00:00
Mike Gray 9640a06565 *** empty log message ***
svn path=/trunk/mcs/; revision=4572
2002-05-12 19:32:34 +00:00
Chris J. Breisch cec9ecc6c6 Added Microsoft.VisualBasic
svn path=/trunk/mcs/; revision=4571
2002-05-12 17:38:21 +00:00
Chris J. Breisch 11edc56824 Should build Microsoft.VisualBasic and Test properly now.
svn path=/trunk/mcs/; revision=4570
2002-05-12 17:24:07 +00:00
Chris J. Breisch 9c7a6a15d9 Test case suite for Collection class
svn path=/trunk/mcs/; revision=4569
2002-05-12 17:22:38 +00:00
Chris J. Breisch ef3d378047 Shouldn't have been in this directory.
svn path=/trunk/mcs/; revision=4568
2002-05-12 17:20:54 +00:00
Chris J. Breisch 5054cc5982 Changed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4567
2002-05-12 17:18:57 +00:00
Chris J. Breisch 7ceca15dc7 Fixed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4566
2002-05-12 17:16:37 +00:00
Chris J. Breisch 5fa1783cc5 Removed erroneous StructLayoutKindAttribute
svn path=/trunk/mcs/; revision=4565
2002-05-12 17:15:42 +00:00
Chris J. Breisch 38b12be376 Removed erroneous StructLayoutKindAttribute.
svn path=/trunk/mcs/; revision=4564
2002-05-12 17:11:03 +00:00
Chris J. Breisch 64992fdb58 This namespace needs it too.
svn path=/trunk/mcs/; revision=4563
2002-05-12 17:07:47 +00:00
Chris J. Breisch c2c418d316 Fixed Namespace
svn path=/trunk/mcs/; revision=4562
2002-05-12 17:06:47 +00:00
Chris J. Breisch 4c623f5230 Removed erroneous StructLayoutKindAttribute
svn path=/trunk/mcs/; revision=4561
2002-05-12 16:53:50 +00:00
Chris J. Breisch 0ee0a8e548 Fixed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4560
2002-05-12 16:50:02 +00:00
Chris J. Breisch e5d3ae0b5c Fixed to conform to Mono standards for incomplete functionality
svn path=/trunk/mcs/; revision=4559
2002-05-12 16:47:43 +00:00
Chris J. Breisch b803e9ff34 Removed erroneous StructLayoutAttribute
svn path=/trunk/mcs/; revision=4558
2002-05-12 16:40:26 +00:00
Chris J. Breisch 063bff7c7c First real version
svn path=/trunk/mcs/; revision=4557
2002-05-12 16:35:52 +00:00
Chris J. Breisch 3914a7d0d0 Needed for Microsoft.VisualBasic.Collection
svn path=/trunk/mcs/; revision=4556
2002-05-12 16:30:30 +00:00
Miguel de Icaza d003d85179 Flush local tree changes
svn path=/trunk/mcs/; revision=4555
2002-05-12 14:56:58 +00:00
Rafael Teixeira 833653fc77 2002-05-12 Rafael Teixeira <[email protected]>
svn path=/trunk/mcs/; revision=4554
2002-05-12 10:18:15 +00:00
Lawrence Pit a0fa972a36 * HttpWebRequest.cs: properties implemented
* HttpWebResponse.cs: added
	* GlobalProxySelection.cs: implemented

svn path=/trunk/mcs/; revision=4553
2002-05-12 09:09:10 +00:00
Dan Lewis b55a75bfa7 2002-05-13 Dan Lewis <[email protected]>
* regex.cs: Fixed bug in split.

svn path=/trunk/mcs/; revision=4552
2002-05-12 08:35:05 +00:00
Lawrence Pit ef931215dd * System.Security.Cryptography.X509Certificates: directory added
svn path=/trunk/mcs/; revision=4551
2002-05-12 08:31:07 +00:00
Lawrence Pit 889afab1de * X509CertificateCollection.cs: implemented
svn path=/trunk/mcs/; revision=4550
2002-05-12 08:30:38 +00:00
Dietmar Maurer 1073470bc9 s/mono_find_var/mono_copy_used_var/
svn path=/trunk/mono/; revision=4549
2002-05-12 05:50:26 +00:00
Nick Drochak 45fe4db70e 2002-05-12 Nick Drochak <[email protected]>
* StringTest.cs: Add a couple more tests.
	* PathTest.cs: Make tests work a bit better on W32 and Linux.

svn path=/trunk/mcs/; revision=4548
2002-05-12 05:33:12 +00:00
Daniel Morgan 76ddf67ebf 2002-05-12 Daniel Morgan <[email protected]>
* IServiceProvider.cs: added using System

svn path=/trunk/mcs/; revision=4547
2002-05-12 03:17:18 +00:00
Daniel Morgan 4914509db5 2002-05-12 Daniel Morgan <[email protected]>
* IComponent.cs
	* ISite.cs: added using System

	* MarshalByValueComponent.cs: changed all throwing of Not ImplementedException
	to // TODOs and added using System.  The throwing of the exceptions prevented
	System.Data from running.

svn path=/trunk/mcs/; revision=4546
2002-05-12 03:15:56 +00:00
Tim Coleman 4d74e0f9fc 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.Common/DbDataAdapter.cs:
                Moved methods that weren't supposed to
                be in SqlDataAdapter out.  They should be implemented
                in DbDataAdapter.

svn path=/trunk/mcs/; revision=4545
2002-05-11 23:21:09 +00:00
Tim Coleman 726481ec5a 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
                some implementation of this class.  Note
                that none of the functionality has been
                tested yet, but I felt it should be checked
                in at this point as it compiles.
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
                Modified so that they will compile properly.
                Needed to include SqlDataAdapter in the build.

svn path=/trunk/mcs/; revision=4544
2002-05-11 22:38:12 +00:00
Tim Coleman 21b8422b9a 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
                some implementation of this class.  Note
                that none of the functionality has been
                tested yet, but I felt it should be checked
                in at this point as it compiles.
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
                Modified so that they will compile properly.
                Needed to include SqlDataAdapter in the build.
        * System.Data.build:
                Add SqlDataAdapter, SqlRowUpdatingEventArgs,
                SqlRowUpdatedEventArgs, SqlRowUpdatingEventHandler,
                SqlRowUpdatedEventHandler to the build.

svn path=/trunk/mcs/; revision=4543
2002-05-11 22:31:29 +00:00
Rafael Teixeira 7f042a0a40 Ooops! forgot to add a source file
svn path=/trunk/mcs/; revision=4542
2002-05-11 22:26:07 +00:00
Rafael Teixeira ff3a7cc6b9 Still not all of Martin code, but now compiles Microsoft.VisualBasic.DLL
svn path=/trunk/mcs/; revision=4541
2002-05-11 22:24:07 +00:00
Lawrence Pit 0f316137a0 * FileWebResponse.cs: added
* FileWebRequest.cs: some methods implemented

svn path=/trunk/mcs/; revision=4540
2002-05-11 21:31:35 +00:00
Lawrence Pit 67784058ca * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
svn path=/trunk/mcs/; revision=4539
2002-05-11 21:26:46 +00:00
Lawrence Pit be9f1f1a9f another w32 path fix
svn path=/trunk/mcs/; revision=4538
2002-05-11 21:23:09 +00:00
Miguel de Icaza 17e71ee49d Remove references to GNU/Linux, and leave only Unix
svn path=/trunk/mono/; revision=4537
2002-05-11 21:15:33 +00:00
Rafael Teixeira 3ff22f9631 cleaning some wrong comments
svn path=/trunk/mcs/; revision=4536
2002-05-11 20:57:04 +00:00
Lawrence Pit 30fbcceff6 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
and *nix filepaths

svn path=/trunk/mcs/; revision=4535
2002-05-11 20:18:50 +00:00
Rodrigo Moya 5957b40b3b 2002-05-11 Rodrigo Moya <[email protected]>
* System.Data/DataTable.cs (Clear): implemented.
	(DataTable): removed repeated code in constructors, and call the
	basic constructor from the others.

	* System.Data/DataColumn.cs: some tweaks.

	* System.Data/DataRow.cs (RowState): implemented.
	(CancelEdit): set rowState property back to Unchanged.
	(RejectChanges): call CancelEdit.
	(Delete): set rowState to Deleted.

svn path=/trunk/mcs/; revision=4534
2002-05-11 19:31:30 +00:00
Daniel Morgan 3ea6c41dd3 2002-05-11 Daniel Morgan <[email protected]>
* System.Data.build: added copy of System.Data.dll to Test directory
	for easy testing.  Also, added clean for it too.

	* System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean

svn path=/trunk/mcs/; revision=4533
2002-05-11 15:44:44 +00:00
Daniel Stodden d89628eae5 - System.CodeDom review, ns more or less complete now
svn path=/trunk/mcs/; revision=4532
2002-05-11 15:44:41 +00:00
Lawrence Pit 21897fd452 WebHeaderCollection implemented
svn path=/trunk/mcs/; revision=4531
2002-05-11 15:30:44 +00:00
Rafael Teixeira 8226602c55 Moving various files as pointed by Chris
svn path=/trunk/mcs/; revision=4530
2002-05-11 14:25:57 +00:00
Daniel Morgan 9f2f9dfac0 2002-05-11 Daniel Morgan <[email protected]>
* System.Data.build: added copy of System.Data.dll to Test directory
	for easy testing.  Also, added clean for it too.

	* System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
	from PostgreSQL data type to .NET type.

	* System.Data.SqlClient/SqlDataReader.cs: beginnings
	handling of a NULL value from the database

	* Test/PostgresTest.cs: added tests for NULL values retrieved
	from the database

	* Test/ReadPostgresData.cs
	* Test/TestExecuteScalar.cs
	* Test/TestSqlDataReader.cs
	* Test/TestSqlException.cs
	* Test/TestSqlIsolationLevel.cs: updated tests to use databas user
	"postgres".  These tests may eventually be removed since they
	are not flexible.

svn path=/trunk/mcs/; revision=4529
2002-05-11 12:58:32 +00:00
Daniel Morgan 8a46818d19 2002-05-11 Daniel Morgan <[email protected]>
* AllTests.cs: needed a using for System.Data and System.Data.SqlClient,
	changed SqlTypes.AllTests.Suite to System.Data.SqlTypes.AllTests.Suite

	* System.Data/DataColumnTest.cs: changed typeof to DataColumnTest

svn path=/trunk/mcs/; revision=4528
2002-05-11 11:32:55 +00:00
Dietmar Maurer b3dcd9c9b2 added initlocals.exe test
svn path=/trunk/mono/; revision=4527
2002-05-11 11:32:23 +00:00
Dietmar Maurer fcafc32fbc *** empty log message ***
svn path=/trunk/mono/; revision=4526
2002-05-11 10:50:44 +00:00
Dietmar Maurer ae1a57084f Dietmar Maurer <[email protected]>
mono_stack_duplicate_used_var): impl.
	(mono_copy_used_var): impl.

svn path=/trunk/mono/; revision=4525
2002-05-11 10:43:14 +00:00
Lawrence Pit 3576832989 finished WebRequest.cs
svn path=/trunk/mcs/; revision=4524
2002-05-11 09:33:16 +00:00
Dietmar Maurer 1e3f06d989 fixed my last commit
svn path=/trunk/mono/; revision=4523
2002-05-11 06:45:55 +00:00
Dietmar Maurer 2ab39a5f8f 2002-05-11 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_class_init): make sure that we call all
	static class constructors.

svn path=/trunk/mono/; revision=4522
2002-05-11 06:31:13 +00:00
Dietmar Maurer 4ee685daa3 2002-05-11 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_flow): always allocate the forest array

svn path=/trunk/mono/; revision=4521
2002-05-11 06:02:47 +00:00
Dan Lewis a5196e86e3 Added zero-initialise benchmark.
svn path=/trunk/mono/; revision=4520
2002-05-11 05:45:55 +00:00
Daniel Morgan 848fe56dde 2002-05-11 Daniel Morgan <[email protected]>
* doc/ado-net: added instructions for installing PostgreSQL on Linux
	and for using nant to re-compile just the System.Data.dll assembly
	on Windows.

svn path=/trunk/mono/; revision=4519
2002-05-11 05:38:17 +00:00
Dietmar Maurer 9c4653049a 2002-05-11 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in SHR/SHL

svn path=/trunk/mono/; revision=4518
2002-05-11 05:16:04 +00:00
Dietmar Maurer cc5deacb84 2002-05-11 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): check if live_in_set != NULL

svn path=/trunk/mono/; revision=4517
2002-05-11 04:25:13 +00:00
Miguel de Icaza aa0d586b18 2002-05-11 Miguel de Icaza <[email protected]>
* test-49.cs: Improve test.

svn path=/trunk/mcs/; revision=4516
2002-05-11 01:17:52 +00:00
Miguel de Icaza d4acecfc06 2002-05-11 Miguel de Icaza <[email protected]>
* statement.cs (GotoCase): Return true: Ammounts to giving up
	knowledge on whether we return or not, and letting the other case
	be responsible for it.

svn path=/trunk/mcs/; revision=4515
2002-05-11 01:11:26 +00:00
Miguel de Icaza 61ae76c604 2002-05-10 Miguel de Icaza <[email protected]>
* driver.cs: Do not load directories for each file processed, only
	do it if there is a pattern.

svn path=/trunk/mcs/; revision=4514
2002-05-11 00:06:47 +00:00
Dennis Hayes 9fdee9fbee 2002-5-10 Dennis Hayes
* added IMessageFilter
* Interfaces complete

svn path=/trunk/mcs/; revision=4513
2002-05-10 21:32:40 +00:00
Miguel de Icaza 1a6ce86c25 Sigh, back out
svn path=/trunk/mcs/; revision=4512
2002-05-10 20:55:44 +00:00
Sergey Chaban 2b303534b7 * Environment.cs: implement TickCount with internal call;
svn path=/trunk/mcs/; revision=4511
2002-05-10 20:53:46 +00:00
Sergey Chaban 1141f94409 * icall.c: implement Environment.TickCount;
svn path=/trunk/mono/; revision=4510
2002-05-10 20:51:19 +00:00
Miguel de Icaza 4cb6eb3854 2002-05-10 Miguel de Icaza <[email protected]>
* ecore.cs: Report readonly assigns here as well, as we might have
	been resolved only by MemberAccess.

	(SimpleName.SimpleNameResolve): Also be useful for LValue
	resolution.   We need this to propagate assign to local readonly variables

svn path=/trunk/mcs/; revision=4509
2002-05-10 20:50:19 +00:00
Miguel de Icaza f5ab137807 2002-05-10 Miguel de Icaza <[email protected]>
* ecore.cs: Report readonly assigns here as well, as we might have
	been resolved only by MemberAccess.

svn path=/trunk/mcs/; revision=4508
2002-05-10 20:22:17 +00:00
Miguel de Icaza 74084a8ed4 New tests
svn path=/trunk/mcs/; revision=4507
2002-05-10 20:21:34 +00:00
Rodrigo Moya 5f8029d2ff 2002-05-10 Rodrigo Moya <[email protected]>
* doc/ado-net: added instructions for compiling System.Data.dll
	(a subset of) on Linux.

svn path=/trunk/mono/; revision=4506
2002-05-10 20:02:03 +00:00
Sergey Chaban a11775fb49 * mono.c, jit.c, jit.h, x86.brg: implemented new --fast-iconv option;
svn path=/trunk/mono/; revision=4505
2002-05-10 19:53:51 +00:00
Miguel de Icaza a7d67773b4 2002-05-10 Miguel de Icaza <[email protected]>
* typemanager.cs: Use a ptrhashtable for the criteria, because we
	do not want to reuse potential criteria memory.

	* class.cs (MyEventBuilder): Set reflected_type;

	* ecore.cs (Constantify): Added support for constifying bools.

	(RootContext.LookupType): Added a cache for values looked up in
	the declaration space.

svn path=/trunk/mcs/; revision=4504
2002-05-10 19:47:26 +00:00
Rodrigo Moya e0882a0d2e 2002-05-10 Rodrigo Moya <[email protected]>
* System.Data.build: removed reference to non-existant
	TestDataColumn.cs file.

	* System.Data/DataSet.cs: added some implementation.

svn path=/trunk/mcs/; revision=4503
2002-05-10 19:39:43 +00:00
Rodrigo Moya fc2b501894 2002-05-10 Rodrigo Moya <[email protected]>
* TestDataColumn.cs: removed.

	* System.Data_test.build: removed reference to TestDataColumn.

	* TheTests.cs: added RunDataColumnTest class.
	(RunAllTests.AddAllTests): added test for RunDataColumnTest.

        * System.Data/AllTests.cs: test suite for System.Data.

svn path=/trunk/mcs/; revision=4502
2002-05-10 19:38:49 +00:00
Rodrigo Moya ee7724ddfb 2002-05-09 Rodrigo Moya <[email protected]>
* System.build: don't exclude anymore excluded files in
	System.ComponentModel. They compile on Linux, so they might also
	on Windows.

svn path=/trunk/mcs/; revision=4501
2002-05-10 19:27:32 +00:00
Sergey Chaban b8bad058ef * x86-codegen.h: renamed FP int macro for consistency (its arg is really a membase, not mem);
svn path=/trunk/mono/; revision=4500
2002-05-10 19:25:15 +00:00
Rodrigo Moya 35911a46b2 2002-05-10 Rodrigo Moya <[email protected]>
* EventDescriptorCollection.cs (this[index]): call eventList[index],
	not this[index], which issues an 'ambigous call' error on Linux.

svn path=/trunk/mcs/; revision=4499
2002-05-10 19:23:35 +00:00
Duncan Mak aba2324a17 2002-05-10 Duncan Mak <[email protected]>
* ConstructorNeedsTagAttribute.cs:
	* ControlBuilderAttribute.cs:
	* ImageClickEventArgs.cs:
	* ParseChildrenAttribute.cs:
	* PartialCachingAttribute.cs:
	* PersistChildrenAttribute.cs:
	* PersistenceModeAttribute.cs:
	* TemplateContainerAttribute.cs: Added to CVS.

	* PersistanceMode.cs: Removed, fixed typo.
	* PersistenceMode.cs: Replacing above.

	* StateBag.cs (this): Fixed indexer, it takes a string as the
	index, not an object.

svn path=/trunk/mcs/; revision=4498
2002-05-10 18:51:24 +00:00
Dan Lewis a76c2aeafc 2002-05-10 Dan Lewis <[email protected]>
* io.c:	Nasty typo.

svn path=/trunk/mono/; revision=4497
2002-05-10 18:02:50 +00:00
Radek Doulik 3d5589c4e5 add <BR>
svn path=/trunk/mono/; revision=4496
2002-05-10 17:47:10 +00:00
Radek Doulik c46ad51888 added ppc
svn path=/trunk/mono/; revision=4495
2002-05-10 17:43:10 +00:00
Radek Doulik f2584f1b83 added ppc port info
svn path=/trunk/mono/; revision=4494
2002-05-10 17:43:01 +00:00
Miguel de Icaza 2737794b45 2002-05-10 Miguel de Icaza <[email protected]>
* typemanager.cs (FindMembers): Now is a front-end to
	RealFindMembers, and provides a two-level hashtable-based cache to
	the request.

	15% performance improvement: from 22.5 to 19.2 seconds.

svn path=/trunk/mcs/; revision=4493
2002-05-10 17:33:28 +00:00
Duncan Mak b82629004d 2002-05-10 Duncan Mak <[email protected]>
* ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.

	* Page.cs (Validators): return type should be ValidatorCollection,
	not ValidatedCollection.

svn path=/trunk/mcs/; revision=4492
2002-05-10 17:26:48 +00:00
Duncan Mak 47f3a806b1 2002-05-10 Duncan Mak <[email protected]>
* HtmlTableCellCollection.cs (this): Updated the indexer to return
	the right type, HtmlTableCell instead of HtmlTableRow.

	* TagPrefixAttribute.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4491
2002-05-10 17:22:55 +00:00
Paolo Molaro 1c42a68366 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <[email protected]>
* main.c: print field offset info if needed.

svn path=/trunk/mono/; revision=4490
2002-05-10 15:13:37 +00:00
Paolo Molaro da5670a148 Fri May 10 20:57:27 CEST 2002 Paolo Molaro <[email protected]>
* CustomAttributeBuilder.cs: expose internal data for use in
	reflection.
	* FieldBuilder.cs, TypeBuilder.cs: special case FieldOffset and
	StructLayout attributes.

svn path=/trunk/mcs/; revision=4489
2002-05-10 15:12:29 +00:00
Duncan Mak bab5fdb7f4 2002-05-10 Duncan Mak <[email protected]>
* System.Web.build: Include the System.Web.UI.HtmlControls namespace.

	* Page.cs:
	* ValidatorCollection.cs: Stubs to make things compile for
	now. Added one dummy method (RegisterClientScriptFile) that's used
	in the existing codebase,  but not in MS docs.

	* HtmlInputImage.cs (OnServerClick): Commented out parts that
	won't compile.

	* HtmlForm.cs (RenderAttributes):
	(RenderChildren): Commented out code that doesn't compile.

svn path=/trunk/mcs/; revision=4488
2002-05-10 15:02:22 +00:00
Duncan Mak 4ba1736061 2002-05-07 Duncan Mak <[email protected]>
* Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.

svn path=/trunk/mcs/; revision=4487
2002-05-10 14:12:41 +00:00
Duncan Mak e6f6cf1776 2002-05-07 Duncan Mak <[email protected]>
* Button.cs (AddAttributesToRender):
	* ImageButton.cs (AddAttributesToRender): Added a missing argument to the
	GetClientValidatedEvent method.

svn path=/trunk/mcs/; revision=4486
2002-05-10 14:11:57 +00:00
Duncan Mak 9c19cc267c 2002-05-07 Duncan Mak <[email protected]>
* HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
	clashing with the method defined in the parent class.
	(OnDataBinding): Added missing casts.

	* HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
	'this' to IAttributeAccessor before calling interface method.
	Also renamed some calls to reflect changes in the API.

	* HtmlControl.cs (WriteOnClickAttribute): Made it not static and
	fixed a typo.

svn path=/trunk/mcs/; revision=4485
2002-05-10 14:11:22 +00:00
Radek Doulik ac393b8e4a updated for new strings
svn path=/trunk/mono/; revision=4484
2002-05-10 13:39:09 +00:00
Paolo Molaro ad88cac800 Fri May 10 18:14:51 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: sort methodsemantics table.

svn path=/trunk/mono/; revision=4483
2002-05-10 12:27:33 +00:00
Dan Lewis 4181fa9323 2002-05-10 Dan Lewis <[email protected]>
* emit-x86.c: simple definite assignment analysis optimization for
	uninitialized locals.

svn path=/trunk/mono/; revision=4482
2002-05-10 12:08:39 +00:00
Paolo Molaro 706661ed4c Fri May 10 16:31:49 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: honour init locals setting.

svn path=/trunk/mono/; revision=4481
2002-05-10 10:44:41 +00:00
Paolo Molaro 84d5f63138 Fri May 10 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs, ConstructorBuilder.cs: implemented InitLocals
	property.

svn path=/trunk/mcs/; revision=4480
2002-05-10 10:44:33 +00:00
Nick Drochak cc3463e338 2002-05-10 Nick Drochak <[email protected]>
* StreamWriter.cs (Flush): Throw proper exception if internal stream
	has already been closed when we try to flush.

svn path=/trunk/mcs/; revision=4479
2002-05-10 10:19:22 +00:00
Paolo Molaro 96221a7de3 Fri May 10 15:43:53 CEST 2002 Paolo Molaro <[email protected]>
* x86.brg, emit-x86.c: patch the branch targets with x86_patch().

svn path=/trunk/mono/; revision=4478
2002-05-10 10:06:06 +00:00
Paolo Molaro 231b440c44 Fri May 10 15:43:53 CEST 2002 Paolo Molaro <[email protected]>
* x86.brg, emit-x86.c: patch the branch targets with x86_patch().

svn path=/trunk/mono/; revision=4477
2002-05-10 09:57:33 +00:00
Dietmar Maurer 6ce667d328 2002-05-10 Dietmar Maurer <[email protected]>
* linear-scan.c (mono_update_gen_set): improvement/bug fix

svn path=/trunk/mono/; revision=4476
2002-05-10 09:10:54 +00:00
Dietmar Maurer e97c9c62aa 2002-05-10 Dietmar Maurer <[email protected]>
* x86.brg: added additional rules to handle global allocated registers

svn path=/trunk/mono/; revision=4475
2002-05-10 08:15:33 +00:00
Daniel Morgan 5e3bced3b0 2002-05-10 Daniel Morgan <[email protected]>
* doc/ado-net: added links

svn path=/trunk/mono/; revision=4474
2002-05-10 07:45:33 +00:00
Paolo Molaro 52926c0e91 Fix checks in x86_patch().
svn path=/trunk/mono/; revision=4473
2002-05-10 07:24:08 +00:00
Dietmar Maurer 2fe1026336 2002-05-10 Dietmar Maurer <[email protected]>
* mono.c (usage): the option is called --nols, and it dissables
	linear scan.

	* x86.brg: better LDIND_R4, LDIND_R8, STIND_R4, STIND_R8

svn path=/trunk/mono/; revision=4472
2002-05-10 04:28:58 +00:00
Nick Drochak e64e1fda3a 2002/05/10 Nick Drochak <[email protected]>
* StreamWriterTest.cs: Use "resources" directory and use OS friendly
	directory separator characters.  This makes the tests run correctly
	against MS.NET, but not yet in mono on Linux.

svn path=/trunk/mcs/; revision=4471
2002-05-10 03:39:58 +00:00
Nick Drochak d54a5d843a 2002/05/10 Nick Drochak <[email protected]>
* FileNotFoundException.cs (ToString): Don't try to use the inner
	exception, because it might be null.  Use the message instead.

svn path=/trunk/mcs/; revision=4470
2002-05-10 01:35:26 +00:00
Miguel de Icaza 1e2698fd0d 2002-05-10 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): use foreach.
	(Invocation.DoResolve): ditto.
	(New.DoResolve): ditto.
	(ArrayCreation.DoResolve): ditto.

	* ecore.cs (FindMostEncompassingType): use foreach.

	* delegate.cs (NewDelegate.DoResolve): Use foreach

	* ecore.cs (Expression.FindMostSpecificSource): Use foreach.
	(RemoveMethods): use foreach.

	* expression.cs (Invocation.MakeUnionSet): Optimization: Use two
	nested foreach statements instead of for, and also break out of
	the inner loop once a match is found.

	(Invocation.OverloadResolve): Use foreach, simplify the code.

svn path=/trunk/mcs/; revision=4469
2002-05-10 01:29:12 +00:00
Rafael Teixeira 4faa05ee90 kick off
svn path=/trunk/mcs/; revision=4468
2002-05-10 00:16:21 +00:00
Rafael Teixeira fe3ce035e4 *** empty log message ***
svn path=/trunk/mcs/; revision=4467
2002-05-10 00:06:34 +00:00
Rafael Teixeira 291013ba79 *** empty log message ***
svn path=/trunk/mcs/; revision=4466
2002-05-09 23:22:32 +00:00
Rafael Teixeira d6bd640e12 *** empty log message ***
svn path=/trunk/mcs/; revision=4465
2002-05-09 23:05:01 +00:00
Rafael Teixeira 74a2e7d005 Uneeded
svn path=/trunk/mcs/; revision=4464
2002-05-09 22:56:07 +00:00
Rafael Teixeira bb5e5ed90b Small makefile correction
svn path=/trunk/mcs/; revision=4463
2002-05-09 22:54:46 +00:00
Miguel de Icaza e18fb6bd01 Improve test
svn path=/trunk/mcs/; revision=4462
2002-05-09 22:46:18 +00:00
Miguel de Icaza d69ea42021 News update
svn path=/trunk/mono/; revision=4461
2002-05-09 22:45:54 +00:00
Dennis Hayes aeb21b49f7 2002-5-9 Dennis Hayes
* Check in for John Rebbeck
* added new ViewScrollbar class

svn path=/trunk/mcs/; revision=4460
2002-05-09 21:42:30 +00:00
Lawrence Pit 9c8c84fb61 * Modified signature of method ListDictionary.GetEnumerator
svn path=/trunk/mcs/; revision=4459
2002-05-09 20:06:06 +00:00
Lawrence Pit f31d7f7c44 * HybridDictionary.cs: implemented
* CollectionsUtil.cs: implemented
	* BitVector32.cs: implemeneted
	* Modified signature of method ListDictionary.GetEnumerator

svn path=/trunk/mcs/; revision=4458
2002-05-09 20:05:33 +00:00
Daniel Morgan 608ee73d25 2002-05-09 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: got
	PostgreSQL data types time, date, timestamp (DateTime like)
	mapped to .NET System.DateTime working based
	on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
	Also mapped pg type boolean to .net Boolean

	* SqlClient/SqlConnection.cs: run SQL command to set
	Date style to ISO

	* Test/PostgresTest.cs: added test for an UPDATE SQL command,
	added tests for aggregates min(), max(), sum(), count().  could
	not get avg() to work due to some formatting error; someone claimed
	that it was my locale settings.  added tests for SELECT of columns
	of type boolean, float, double, date, time, and timestamp.  They
	have not been fully tested, but its a start.

svn path=/trunk/mcs/; revision=4457
2002-05-09 19:59:29 +00:00
Daniel Morgan ebeb0a852f 2002-05-09 Daniel Morgan <[email protected]>
* Single.cs: copied ToString() and Parse() methods from
	Double to Single and modified a tiny bit for Single.
	There is still a FIXME for Double and Single about
	passing the format and provider info to the icall too.

svn path=/trunk/mcs/; revision=4456
2002-05-09 19:12:00 +00:00
Daniel Morgan 7c64dd69d2 Thu May 9 18:50:00 EDT 2002 Daniel Morgan <[email protected]>
* icall.c: copied Double ToStringImpl for Single ToStringImpl

svn path=/trunk/mono/; revision=4455
2002-05-09 19:04:11 +00:00
Daniel Morgan 4edc618bd2 2002-05-09 Daniel Morgan <[email protected]>
* AUTHORS: add me to class libraries list

svn path=/trunk/mcs/; revision=4454
2002-05-09 18:48:44 +00:00
Ravi Pratap M 29b59dfa94 These tests run fine but were excluded from the suite. So we fix that ;-)
svn path=/trunk/mcs/; revision=4453
2002-05-09 18:08:10 +00:00
Miguel de Icaza 1ca0e35ccf 2002-05-09 Dietmar Maurer <[email protected]>
* linear-scan.c: linear scan reg. allocation and data flow analysis
	use Paolo's great bitset implementation.

svn path=/trunk/mono/; revision=4452
2002-05-09 18:05:22 +00:00
Ravi Pratap M e964ea2671 Add myself ;-)
svn path=/trunk/mcs/; revision=4451
2002-05-09 17:54:26 +00:00
Dick Porter 14e2ef8e0a Made message fit in 80 cols without wrapping, fixed typo too.
svn path=/trunk/mono/; revision=4450
2002-05-09 16:51:28 +00:00
Dick Porter aedc931dce Put network includes in sockets.h
svn path=/trunk/mono/; revision=4449
2002-05-09 16:18:45 +00:00
Dick Porter 626757c848 2002-05-09 Dick Porter <[email protected]>
* configure.in: Set CPPFLAGS not CFLAGS (bug 23767)

2002-05-09  Dick Porter  <[email protected]>

	* threads.c:
	* semaphores.c:
	* processes.c:
	* mutexes.c:
	* handles-private.h:
	* events.c:
	* Makefile.am: Remove now-unused file wait-private.h

svn path=/trunk/mono/; revision=4448
2002-05-09 15:34:00 +00:00
Lawrence Pit c6fe2fd7f7 modified AllTests.cs
svn path=/trunk/mcs/; revision=4447
2002-05-09 13:48:36 +00:00
Lawrence Pit fb4b1464ad Files moved to separate dir
svn path=/trunk/mcs/; revision=4446
2002-05-09 13:37:46 +00:00
Lawrence Pit b04cb804fe Moved StringCollectionTest.cs and NameValueCollectionTest to this dir
svn path=/trunk/mcs/; revision=4445
2002-05-09 13:28:33 +00:00
Dietmar Maurer 15dc646053 use Paolo's great bitset implementation.
svn path=/trunk/mono/; revision=4444
2002-05-09 13:18:50 +00:00
Dick Porter a4bb9199bf Boilerplate comments
svn path=/trunk/mono/; revision=4443
2002-05-09 13:10:19 +00:00
Daniel Morgan 37c13defd6 2002-05-09 Daniel Morgan <[email protected]>
* System.Data_test.build: exclude file TestDataColumn.cs
	test.build files have two places where a file needs to
	be excluded

svn path=/trunk/mcs/; revision=4442
2002-05-09 13:03:45 +00:00
Paolo Molaro 4a38370baa Thu May 9 17:23:17 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monibitset.h: bit set data structure.
	Not included in the build yet because the jit has some symbol clashes
	with it.

svn path=/trunk/mono/; revision=4441
2002-05-09 11:36:41 +00:00
Dietmar Maurer e47057878b added linear scan to mono (use --ls to enable it)
svn path=/trunk/mono/; revision=4440
2002-05-09 11:16:20 +00:00
Lawrence Pit 386573a380 * Rewrote IPAddress.Parse method, passing all unit tests
svn path=/trunk/mcs/; revision=4439
2002-05-09 10:43:34 +00:00
Lawrence Pit 599885c104 added call to System.AllTests
svn path=/trunk/mcs/; revision=4438
2002-05-09 09:06:27 +00:00
Lawrence Pit 13666c9f85 * Added tests to IPAddressTest.cs
* Fixed tests in CookieTest.cs, SocketPermissionsTest.cs, IPEndPointTest.cs

svn path=/trunk/mcs/; revision=4437
2002-05-09 09:04:02 +00:00
Lawrence Pit c55ce9b7f8 fix for Uri.GetLeftPart
svn path=/trunk/mcs/; revision=4436
2002-05-09 08:57:13 +00:00
Lawrence Pit 786a3bc57b 2002-05-09 Lawrence Pit <[email protected]>
* fixed bug in IPEndPoint.Equals method
	* fixed bug in IPAddress.Parse method
	* fixed bug in IPAddress.SwapLong method
	* fixed several bugs in Cookie.cs

svn path=/trunk/mcs/; revision=4435
2002-05-09 07:53:17 +00:00
Tim Coleman c533ddb7d5 2002-05-09 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: Implementations of
        addition, subtraction, and multiplication for the
        SqlDecimal type, as well as modification of some other
        operations.  More to come on this one.

svn path=/trunk/mcs/; revision=4434
2002-05-09 02:30:28 +00:00
Dennis Hayes 04b4d3a9e6 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classe for Paul Osman <[email protected]>

* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
Stubbed and commented out

svn path=/trunk/mcs/; revision=4433
2002-05-09 00:33:27 +00:00
Dennis Hayes 63212c9484 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classe for John Rebbeck <[email protected]>

* UserControl.cs
Stubbed and commented out

svn path=/trunk/mcs/; revision=4432
2002-05-09 00:25:16 +00:00
Dennis Hayes 6bc41d1e4e 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classes (a* to c*) for 
Jaak Simm <[email protected]>
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventArgs.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* Classes stubbed and commented out.

svn path=/trunk/mcs/; revision=4431
2002-05-08 23:58:51 +00:00
Dennis Hayes a3a652ad58 2002-5-8 Dennis Hayes <[email protected]>
* RichTextBoxFinds.cs
* RichTextBoxScrollBars.cs
* RichTextBoxSelectionAttribute.cs
* RichTextBoxSelectionTypes.cs
* RichTextBoxStreamType.cs
* RichTextBoxWordPunctuations.cs
* RightToLeft.cs
* ScrollBars.cs
* ScrollButton.cs
* ScrollEventType.cs
* SecurityIDType.cs
* SelectionMode.cs
* Shortcut.cs
* SizeGripStyle.cs
* SortOrder.cs
* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelStyle.cs
* StructFormat.cs
* TabAlignment.cs
* TabAppearance.cs
* TabDrawMode.cs
* TabSizeMode.cs
* TickStyle.cs
* ToolBarAppearance.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* TreeViewAction.cs
* UICues.cs
* View.cs
* Added enums.
* All System.Windows.Forms enums complete with correct values.

svn path=/trunk/mcs/; revision=4428
2002-05-08 22:10:19 +00:00
Miguel de Icaza 63155ebc1e 2002-05-08 Miguel de Icaza <[email protected]>
* cfold.cs (BinaryFold): During an enumeration evaluation context,
	we actually unwrap the expression to allow for extra information
	to be extracted.

svn path=/trunk/mcs/; revision=4427
2002-05-08 21:24:02 +00:00
Miguel de Icaza 2f160086eb 2002-05-08 Miguel de Icaza <[email protected]>
* expression.cs: Use Shr_Un on unsigned operations.

svn path=/trunk/mcs/; revision=4426
2002-05-08 19:59:16 +00:00
Mike Kestner 67cccc9430 2002-05-08 Mike Kestner <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.

svn path=/trunk/mcs/; revision=4425
2002-05-08 19:31:22 +00:00
Daniel Carrera 31b5b392a2 Added stubbs from Scroll* to StatusBar.cs
svn path=/trunk/mcs/; revision=4423
2002-05-08 14:58:07 +00:00
Miguel de Icaza e01fb0781c Added new files from Martin Adoue <[email protected]>
svn path=/trunk/mcs/; revision=4422
2002-05-08 14:51:40 +00:00
Paolo Molaro d3940b62b6 Revert broken changes.
svn path=/trunk/mcs/; revision=4420
2002-05-08 14:01:29 +00:00
Dick Porter 40e2ffd555 *** empty log message ***
svn path=/trunk/mono/; revision=4419
2002-05-08 13:42:57 +00:00
Ravi Pratap M 65934811e2 2002-05-08 Ravi Pratap <[email protected]>
* ecore.cs (FindMostEncompass*): Fix trivial bug where the set of
	applicable operators was not being considered correctly. This closes
	the bug Miguel reported.

svn path=/trunk/mcs/; revision=4418
2002-05-08 13:26:30 +00:00
Ravi Pratap M 4d9c0295d3 Add.
svn path=/trunk/mcs/; revision=4417
2002-05-08 13:25:57 +00:00
Piers Haken 9e63489461 Miscellaneous minor compliancy fixes:
* System/System/UriBuilder.cs: use visible EscapeString
	* corlib/System.Reflection/ManifestResourceInfo.cs: constructor access, define fields
	* corlib/System/Convert.cs: remove erroneous CLSCompliant attributes
	* corlib/System/Math.cs: remove erroneous CLSCompliant attribute

	Fix enum values:
	* System/System.CodeDom/CodeBinaryOperatorType.cs
	* System/System.Net.Sockets/ProtocolFamily.cs
	* corlib/System.Globalization/CultureTypes.cs
	* corlib/System.Reflection/FieldAttributes.cs
	* corlib/System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
	* corlib/System.Security.Cryptography/CipherMode.cs
	* corlib/System.Security.Cryptography/CspProviderFlags.cs
	* corlib/System.Security.Cryptography/PaddingMode.cs
	* corlib/System.Security.Permissions/IsolatedStorageContainment.cs
	* corlib/System.Security.Permissions/ReflectionPermissionFlag.cs
	* corlib/System.Security.Permissions/SecurityPermissionFlag.cs
	* corlib/System.Security/PolicyLevelType.cs
	* corlib/System.Security/SecurityZone.cs
	* corlib/System/AttributeTargets.cs
	* corlib/System/Environment.cs

	Remove redundant overrides:
	* corlib/System.Reflection.Emit/EnumBuilder.cs
	* corlib/System.Reflection.Emit/TypeBuilder.cs
	* corlib/System/MissingFieldException.cs
	* corlib/System/MissingMemberException.cs
	* corlib/System/MissingMethodException.cs

	Fix visibility and access modifiers:
	* System/System.CodeDom.Compiler/CodeGenerator.cs
	* System/System.Collections.Specialized/NameObjectCollectionBase.cs
	* System/System.Collections.Specialized/NameValueCollection.cs
	* System/System.ComponentModel/EventDescriptor.cs
	* System/System.ComponentModel/EventDescriptorCollection.cs
	* System/System.Diagnostics/ProcessStartInfo.cs
	* System/System.Net/DnsPermission.cs
	* System/System.Net/SocketPermission.cs
	* System/System/Uri.cs
	* corlib/System.IO/StreamReader.cs
	* corlib/System.IO/StringReader.cs
	* corlib/System.IO/StringWriter.cs
	* corlib/System.IO/TextWriter.cs
	* corlib/System.Reflection.Emit/ConstructorBuilder.cs
	* corlib/System.Reflection.Emit/MethodBuilder.cs
	* corlib/System.Reflection.Emit/OpCodes.cs
	* corlib/System.Reflection/Assembly.cs
	* corlib/System.Runtime.Remoting.Messaging/ReturnMessage.cs
	* corlib/System.Runtime.Serialization/SerializationException.cs
	* corlib/System/Activator.cs
	* corlib/System/Array.cs
	* corlib/System/Boolean.cs
	* corlib/System/Byte.cs
	* corlib/System/Char.cs
	* corlib/System/DateTime.cs
	* corlib/System/DivideByZeroException.cs
	* corlib/System/Double.cs
	* corlib/System/Int16.cs
	* corlib/System/Int32.cs
	* corlib/System/Int64.cs
	* corlib/System/SByte.cs
	* corlib/System/Single.cs
	* corlib/System/Type.cs
	* corlib/System/UInt16.cs
	* corlib/System/UInt32.cs
	* corlib/System/UInt64.cs

	Fix IDisposable, Dispose() mess
	* corlib/System.IO/BinaryWriter.cs
	* corlib/System.IO/BufferedStream.cs
	* corlib/System.IO/FileStream.cs
	* corlib/System.IO/MemoryStream.cs
	* corlib/System.IO/Stream.cs

svn path=/trunk/mcs/; revision=4416
2002-05-08 13:21:13 +00:00
Dan Lewis 7a7c18e47c 2002-05-08 Dan Lewis <[email protected]>
* interpreter.cs: Moved to an array-based stack representation
	for faster captures.

	* match.cs, collections.cs: Decoupled capture representation from
	interpreter internals.

	* cache.cs: Changed Key type from struct to class for speed.

svn path=/trunk/mcs/; revision=4415
2002-05-08 12:42:49 +00:00
Nick Drochak 10a3af7b9e 2002-05-09 Nick Drochak <[email protected]>
* File.cs (Delete): Do not throw an exception if the file does not
	exist.

svn path=/trunk/mcs/; revision=4413
2002-05-08 11:45:42 +00:00
Rodrigo Moya 1a18b14e7c 2002-05-08 Rodrigo Moya <[email protected]>
* Test/System.Data_test.build: excluded TestDataColumn, which
	should be replaced with a nunit test.

svn path=/trunk/mcs/; revision=4412
2002-05-08 11:20:36 +00:00
Rodrigo Moya b331559d9c 2002-05-08 Rodrigo Moya <[email protected]>
* Test/TestDataColumn.cs: added basic test for DataColumn.cs.

svn path=/trunk/mcs/; revision=4411
2002-05-08 11:17:45 +00:00
Paolo Molaro 7895adabfd Wed May 8 16:48:11 CEST 2002 Paolo Molaro <[email protected]>
* test-118.cs: test alternate type lookup for attributes.

svn path=/trunk/mcs/; revision=4410
2002-05-08 11:00:54 +00:00
Paolo Molaro 79917125f4 Wed May 8 16:40:50 CEST 2002 Paolo Molaro <[email protected]>
* attribute.cs: check that the type derives from System.Attribute
	and report the correct error in that case (moved the duplicate code to
	its own method, too).

svn path=/trunk/mcs/; revision=4409
2002-05-08 10:54:55 +00:00
Paolo Molaro b18a0242f8 Test case for the use of attributes that don'r derive from System.Attribute.
svn path=/trunk/mcs/; revision=4408
2002-05-08 10:52:10 +00:00
Mike Gray f479b60806 2002-05-08 Mike Gray <[email protected]>
* File.cs: According to ECMA spec and MS docs Copy(src, dest)
        should not overwrite dest by default.

svn path=/trunk/mcs/; revision=4407
2002-05-08 08:12:55 +00:00
Paolo Molaro 8900e157d2 Wed May 8 12:28:28 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: support ContructorBuilders in attribute blob creation.

svn path=/trunk/mono/; revision=4406
2002-05-08 06:42:38 +00:00
Paolo Molaro df4e9ca284 Wed May 8 12:06:14 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: some changes to build a binary that can be run
	directly in windows.

svn path=/trunk/mono/; revision=4405
2002-05-08 06:19:14 +00:00
Paolo Molaro 2b4f18ddab Wed May 8 11:50:31 CEST 2002 Paolo Molaro <[email protected]>
* attribute.cs: lookup attribute type name as the spec says: first the
	bare attribute name and then name + "Attribute" (nant compiles with
	mcs after this fix).

svn path=/trunk/mcs/; revision=4404
2002-05-08 06:04:30 +00:00
Nick Drochak a613a4d1e8 2002/05/08 Nick Drochak <[email protected]>
* FileTest.cs: Use "resources" directory and use OS friendly
	directory separator characters.  This makes the tests run correctly
	against MS.NET, but not yet in mono on Linux.

svn path=/trunk/mcs/; revision=4403
2002-05-08 03:41:14 +00:00
Tim Coleman 723cea72b7 2002-05-08 Tim Coleman <[email protected]>
* XPathDocument.cs:
        * XPathException.cs: New stub files added.

svn path=/trunk/mcs/; revision=4402
2002-05-08 00:50:45 +00:00
Rafael Teixeira a8ef2806b4 Old code
svn path=/trunk/mcs/; revision=4399
2002-05-08 00:18:48 +00:00
Duncan Mak 383fa11b27 2002-05-07 Duncan Mak <[email protected]>
* HttpBrowserCapabilities.cs: Added, replacing
	HttpBrowserCapabilites because of typo.

	* HttpBrowserCapabilites.cs: Removed, replaced by above.

	* HttpRequest.cs (Browser): Fixed typo.

svn path=/trunk/mcs/; revision=4398
2002-05-08 00:03:56 +00:00
Dennis Hayes 48a3bee4ab * 5-6-2002 Dennis Hayes <[email protected]>
* LeftRightAlignment.cs
* LinkBehavior.cs
* LinkState.cs
* ListViewAlignment.cs
* MdiLayout.cs
* MenuGlyph.cs
* MenuMerge.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MouseButtons.cs
* Orientation.cs
* PictureBoxSizeMode.cs
* PropertySort.cs
* Added some more enums. All have correct values.

svn path=/trunk/mcs/; revision=4397
2002-05-07 22:41:49 +00:00
Dennis Hayes b07d17a9dc * Dennis hayes <[email protected]>
* Added duplicate values
* System.Windows.Forms.Keys.cs

svn path=/trunk/mcs/; revision=4396
2002-05-07 22:33:51 +00:00
Tim Coleman d816531d63 2002-05-07 Tim Coleman <[email protected]>
* SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Fix the broken build I made before.  Bad
                me.

svn path=/trunk/mcs/; revision=4395
2002-05-07 21:33:14 +00:00
Tim Coleman 9a70ba0658 2002-05-07 Tim Coleman <[email protected]>
* SqlString.cs:
                Fix a symantic error I made in SqlString
                Equals where I copied and pasted wrongly

svn path=/trunk/mcs/; revision=4393
2002-05-07 20:42:03 +00:00
Miguel de Icaza a7377a391f 2002-05-07 Miguel de Icaza <[email protected]>
* handles.c (shared_init): Disable SHM for now, people have too
	many problems with this, and the diagnostics are not helping.

svn path=/trunk/mono/; revision=4389
2002-05-07 20:11:19 +00:00
Rodrigo Moya 8d9414032f 2002-05-07 Rodrigo Moya <[email protected]>
* EventDescriptor.cs: added missing constructors.

	* EventDescriptorCollection.cs: fixed interface methods implementation

	* IDataErrorInfo.cs:
	* IEditableObject.cs: new interfaces.

svn path=/trunk/mcs/; revision=4388
2002-05-07 20:03:16 +00:00
Tim Coleman 8bf57a3aee 2002-05-07 Tim Coleman <[email protected]>
* INullable.cs:
        * SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlCompareOptions.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Implement CompareTo, Equals, and String conversions
                for many types

svn path=/trunk/mcs/; revision=4387
2002-05-07 19:47:55 +00:00
Rodrigo Moya 032e6cb39e 2002-05-07 Rodrigo Moya <[email protected]>
* CompareInfo.cs: new basic stub (compiles on Linux, so I assume
	it does not break the build on windows. Sorry if it does).

svn path=/trunk/mcs/; revision=4386
2002-05-07 19:15:10 +00:00
Miguel de Icaza 72431d420a Fixety fix
svn path=/trunk/mono/; revision=4384
2002-05-07 17:37:37 +00:00
Miguel de Icaza b0adbd3886 Use $@ instead of $*
svn path=/trunk/mono/; revision=4383
2002-05-07 17:30:38 +00:00
Ravi Pratap M 654712a265 2002-05-07 Ravi Pratap <[email protected]>
* parameter.cs (ParameterType): Make it a property for now although the
	purpose really isn't anything immediate.

	* expression.cs (Is*Applicable): Do better checking on the parameter type
	of a ref/out parameter. The ones from the system assemblies are already
	marked with the correct type so we don't need to do any correction.

	* ecore.cs (StandardConversionExists): Conversion from Interface types to
	the object type is standard too so include that.

svn path=/trunk/mcs/; revision=4382
2002-05-07 17:09:32 +00:00
Ravi Pratap M 0fa4e6869e 2002-05-07 Ravi Pratap <[email protected]>
* test-117.cs : Add.

svn path=/trunk/mcs/; revision=4381
2002-05-07 17:07:36 +00:00
Dick Porter 8bfc0bfb2a Fix windows build
svn path=/trunk/mono/; revision=4380
2002-05-07 16:32:32 +00:00
Miguel de Icaza 64edc946e6 2002-05-07 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduceNegative): Ah!  Tricky!  Tricky!
	Because of the way we parse things, we should try to see if a
	UIntConstant can fit in an integer.

svn path=/trunk/mcs/; revision=4379
2002-05-07 15:36:17 +00:00
Ravi Pratap M 141d1209c9 2002-05-07 Ravi Pratap <[email protected]>
(ConvertReferenceExplicit): When converting from Iface type S to Class
	T make sure the rules are implemented as an OR.

svn path=/trunk/mcs/; revision=4378
2002-05-07 14:30:13 +00:00
Daniel Carrera 97c29314fc *** empty log message ***
svn path=/trunk/mcs/; revision=4377
2002-05-07 14:22:05 +00:00
Ravi Pratap M 34eb6a295d Remove debug messages
svn path=/trunk/mcs/; revision=4376
2002-05-07 13:51:22 +00:00
Miguel de Icaza f6a011fa26 Add copyright headers
svn path=/trunk/mcs/; revision=4375
2002-05-07 13:50:04 +00:00
Ravi Pratap M a47a8e03b2 2002-05-07 Ravi Pratap <[email protected]>
* ecore.cs (GetConversionOperators): Do not pick up op_True operators
	when we are in an explicit context.

svn path=/trunk/mcs/; revision=4374
2002-05-07 13:49:53 +00:00
Daniel Carrera fcea18896e Added new classes.
svn path=/trunk/mcs/; revision=4373
2002-05-07 13:24:44 +00:00
Daniel Carrera 14816143a3 Fixed "extra byte" problem (see ChangeLong)
svn path=/trunk/mcs/; revision=4372
2002-05-07 13:23:16 +00:00
Daniel Carrera f787afe422 Fixed "extra byte" problem (see ChangeLong)
svn path=/trunk/mcs/; revision=4371
2002-05-07 13:17:05 +00:00
Nick Drochak 55bc7b1656 2002-05-08 Nick Drochak <[email protected]>
* StreamWriter.cs: Wrap a try-catch around block of code to find out
	what exception is being thrown when it shouldn't.

svn path=/trunk/mcs/; revision=4370
2002-05-07 12:58:23 +00:00
Nick Drochak b229128329 2002-05-08 Nick Drochak <[email protected]>
* StreamWriter.cs: Add paramter check to constructors and throw
	exceptions where appropriate.

svn path=/trunk/mcs/; revision=4369
2002-05-07 12:56:36 +00:00
Miguel de Icaza 2678c86ecb Fix bug
svn path=/trunk/mcs/; revision=4368
2002-05-07 11:20:33 +00:00
Nick Drochak f107875880 2002-05-07 Nick Drochak <[email protected]>
* FileTest.cs: Added TestOpen() from Mike Gray.
	* AllTests.cs: Added missing FileTest.Suite as pointed out by Mike
	as well.

svn path=/trunk/mcs/; revision=4367
2002-05-07 10:27:53 +00:00
Nick Drochak 95f86fe4ae 2002-05-07 Nick Drochak <[email protected]>
* ExceptionTest.cs: New File. Provided by Linus Upson.

svn path=/trunk/mcs/; revision=4366
2002-05-07 10:03:15 +00:00
Paolo Molaro a6d32b8b18 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <[email protected]>
* StreamReader.cs: return the number of chars read even if we diddn't
	fill the whole buffer (makes Sergey's ilasm work with mono).

svn path=/trunk/mcs/; revision=4365
2002-05-07 06:01:18 +00:00
Nick Drochak ae3eab60c2 2002/05/07 Nick Drochak <[email protected]>
* AllTests.cs: Do not run the System.Net tests from here, they belong
	in the System assembly tests.

svn path=/trunk/mcs/; revision=4364
2002-05-07 04:09:05 +00:00
Nick Drochak 9e227554a3 2002/05/07 Nick Drochak <[email protected]>
* AllTests.cs: Run the System.Net tests from here.

svn path=/trunk/mcs/; revision=4363
2002-05-07 04:07:58 +00:00
Miguel de Icaza 6cb101bf06 Small update
svn path=/trunk/mcs/; revision=4362
2002-05-07 02:33:03 +00:00
Miguel de Icaza 0ef37b24a1 Improve docs, links, menu
svn path=/trunk/mono/; revision=4361
2002-05-07 02:17:05 +00:00
Miguel de Icaza a28c21bf81 Get rid of the old status page
svn path=/trunk/mono/; revision=4360
2002-05-07 02:12:22 +00:00
Miguel de Icaza 15f57c735d An attempt at making the howto look passable
svn path=/trunk/mono/; revision=4359
2002-05-07 01:59:05 +00:00
Miguel de Icaza d2f2f1ea10 remove System.Net test directory from corlib
svn path=/trunk/mcs/; revision=4358
2002-05-07 01:49:03 +00:00
Miguel de Icaza 8257cbf6f0 Fix the mono howto mess once and for all
svn path=/trunk/mono/; revision=4357
2002-05-07 01:48:25 +00:00
Miguel de Icaza 4e9b084e2d 2002-05-07 Mike Gray <[email protected]>
* FileInfo.cs (Create): Implement missing method.

svn path=/trunk/mcs/; revision=4356
2002-05-07 01:41:03 +00:00
Miguel de Icaza 1aaef71410 2002-05-07 Mike Gray <[email protected]>
* File.cs: Implemented CreateText method, and fixed dst compares
	to compare against "" instead of null twice.

svn path=/trunk/mcs/; revision=4355
2002-05-07 01:39:48 +00:00
Miguel de Icaza 0f4faac095 2002-05-06 Miguel de Icaza <[email protected]>
* ecore.cs (StandardConversionExists): Augment with missing code:
	deal with IntConstant, LongConstants and Enumerations.

svn path=/trunk/mcs/; revision=4353
2002-05-06 22:53:24 +00:00
Miguel de Icaza eb3fb67074 2002-05-06 Miguel de Icaza <[email protected]>
* assign.cs: Report the error, instead of failing silently

svn path=/trunk/mcs/; revision=4352
2002-05-06 22:38:32 +00:00
Dennis Hayes 7af2cda1d7 * Dennis Hayes <[email protected]>
* Added enums
* 	GridItemType.cs
* 	HelpNavigator.cs
* 	HorizontalAlignment.cs
* 	ImeMode.cs
* 	ItemActivation.cs
* 	ItemBoundsPortion.cs
* 	Keys.cs
* All correct execpt for Keys.cs which is missing a half dozen
* duplicate entries that need correcting.

svn path=/trunk/mcs/; revision=4351
2002-05-06 22:22:16 +00:00
Miguel de Icaza a1697c9d30 2002-05-06 Miguel de Icaza <[email protected]>
* rootcontext.cs (AddGlobalAttributes): Track attributes on the
	typecontainer that they are declared, because the
	typecontainer/namespace will have the list of using clauses that
	need to be applied.

	Assembly Attributes were escaping the normal registration
	mechanism.

	(EmitCode): Apply attributes within an EmitContext that represents
	the container they were declared on.

svn path=/trunk/mcs/; revision=4350
2002-05-06 22:06:43 +00:00
Ravi Pratap M 2bf57d84b5 2002-05-06 Ravi Pratap <[email protected]>
* ecore.cs (FindMostEncompassingType, FindMostEncompassedType):
	Revamp completely - make much cleaner as we now operate only
	on a set of Types.

	(FindMostSpecificSource, FindMostSpecificTarget): New methods
	to implement the logic detailed in the spec more correctly.

	(UserDefinedConversion): Update accordingly.

svn path=/trunk/mcs/; revision=4349
2002-05-06 20:34:59 +00:00
Rodrigo Moya e226bfeb65 Changed step 3, since we need to be compatible with MS .NET
svn path=/trunk/mono/; revision=4348
2002-05-06 19:18:53 +00:00
Duncan Mak 1a3ba07454 2002-05-06 Duncan Mak <[email protected]>
* Queue.cs (TrimToSize): Implemented.

svn path=/trunk/mcs/; revision=4347
2002-05-06 19:17:41 +00:00
Miguel de Icaza 72cc4a0ad5 2002-05-06 Miguel de Icaza <[email protected]>
* statement.cs: Return flow analysis information up.

svn path=/trunk/mcs/; revision=4346
2002-05-06 19:06:23 +00:00
Miguel de Icaza d22ac5d2d9 Fix
svn path=/trunk/mono/; revision=4345
2002-05-06 16:46:46 +00:00
Sergey Chaban 983cbb58b2 Logged changes to x86-codegen.h
svn path=/trunk/mono/; revision=4344
2002-05-06 16:39:01 +00:00
Sergey Chaban d9e69f18b2 * x86-codegen.h: added missing shifts;
8-bit ALU operations;
   FPU ops with integer operand;
   FIST (without pop);

svn path=/trunk/mono/; revision=4343
2002-05-06 16:33:54 +00:00
Johannes Roith ac36029dde added windows binaries
svn path=/trunk/mono/; revision=4342
2002-05-06 16:32:25 +00:00
Sergey Chaban ba8912d89b DIV_UN: fixed typo - increment EAX, not tree->reg1;
svn path=/trunk/mono/; revision=4341
2002-05-06 15:22:56 +00:00
Johannes Roith 290a4161fc *** empty log message ***
svn path=/trunk/mono/; revision=4340
2002-05-06 15:15:05 +00:00
Miguel de Icaza c6ae70e97d Add more tests
svn path=/trunk/mcs/; revision=4339
2002-05-06 15:12:43 +00:00
Miguel de Icaza 64e6e41d74 2002-05-06 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (adjust_real): Share code between LITERAL_DOUBLE
	and the default.

	(token): Do not consume an extra character before calling
	decimal_digits.

svn path=/trunk/mcs/; revision=4338
2002-05-06 15:12:27 +00:00
Piers Haken 1e3301cda3 * cs-parser.jay: add 'override' attribute to System.Object.Finalize
svn path=/trunk/mcs/; revision=4337
2002-05-06 13:55:19 +00:00
Piers Haken 4a3e440e17 Piers Haken <[email protected]>
* cs-parser.jay: add 'override' attribute to System.Object.Finalize

svn path=/trunk/mcs/; revision=4336
2002-05-06 13:54:32 +00:00
Martin Baulig 08945c53eb 2002-05-06 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
	AppDomain.Load () to load the assembly.

svn path=/trunk/mcs/; revision=4334
2002-05-06 13:40:54 +00:00
Paolo Molaro 11a8f0efb1 Mon May 6 15:38:15 CEST 2002 Paolo Molaro <[email protected]>
* jit.h, jit.c, emit-x86.c: x86 cpu detection code from Sergey.

svn path=/trunk/mono/; revision=4333
2002-05-06 09:52:03 +00:00
Dan Lewis 0a66828c4f 2002-05-06 Dan Lewis <[email protected]>
* io.c: CreateFile sets win32 last error.

svn path=/trunk/mono/; revision=4332
2002-05-06 08:37:39 +00:00
Paolo Molaro bc8876bffa Mon May 6 13:10:34 CEST 2002 Paolo Molaro <[email protected]>
* loader.c: print a big message when an icall can't be found.

svn path=/trunk/mono/; revision=4331
2002-05-06 07:23:27 +00:00
Daniel Morgan 4576467ca3 2002-05-06 Daniel Morgan <[email protected]>
* System.Data.SqlTypes.SqlInt32Test.cs: missing
	declaration for SqlInt32 z which was a test build blocker

	* PostgresTest.cs: got rid of warning about missing e

	* Test/PostgresTest.cs: exclude PostgresTest.cs
	from test build

svn path=/trunk/mcs/; revision=4330
2002-05-06 04:52:33 +00:00
Miguel de Icaza 4c91fcc7dd Add another error test
svn path=/trunk/mcs/; revision=4329
2002-05-06 02:03:09 +00:00
Miguel de Icaza 01a0a9126a 2002-05-06 Miguel de Icaza <[email protected]>
* class.cs (Constructor.Emit): Set the IsStatic flag in the
	EmitContext during the instance constructor initializer
	resolution, to stop access to instance variables.

	This is mandated by the spec, last paragraph of the `constructor
	initializers' section.

svn path=/trunk/mcs/; revision=4328
2002-05-06 02:03:03 +00:00
Daniel Morgan 7f4ea42c7f 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: correct formatting
	* doc/index: added credit i forgot to add

svn path=/trunk/mono/; revision=4327
2002-05-06 01:44:00 +00:00
Daniel Morgan 09356a1940 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: i did not format it correctly earlier, i
	tried added various tags where appropriate.

	* doc/index: added news item for May 5, 2002 - ado.net able
	to retrieve data now

svn path=/trunk/mono/; revision=4326
2002-05-06 00:37:42 +00:00
Miguel de Icaza 591a66be92 More work, demo works
svn path=/trunk/mcs/; revision=4325
2002-05-06 00:05:13 +00:00
Daniel Morgan 506ccff8d5 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated the current status which
	I kept forgetting to do.

svn path=/trunk/mono/; revision=4324
2002-05-05 23:23:48 +00:00
Miguel de Icaza 258e58513e Some sample code
svn path=/trunk/mcs/; revision=4323
2002-05-05 23:21:02 +00:00
Daniel Morgan 6138d6a7bc 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to includes an example for
	running ipc-daemon as a	Windows service.  Thanks
	to gonzalo.

svn path=/trunk/mono/; revision=4322
2002-05-05 23:14:03 +00:00
Daniel Morgan a783bffaa9 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to include installation of
	PostgreSQL DBMS under cygwin.  It is a TODO for Linux though.
	Also included notes on running the System.Data/Test/PostgresTest.cs
	that should work on a lot of Mono installations that have
	PostgreSQL installed.  If not please let me, rodrigo, or gonzalo
	know.

svn path=/trunk/mono/; revision=4321
2002-05-05 22:40:31 +00:00
Daniel Morgan c3458f3b46 2002-05-05 Daniel Morgan <[email protected]>
* Test/PostgresTest.cs: modified to run completely.  There
	are many TODOs in System.Data, so not all data types are
	included in the SELECT SQL query.  Also, I made it to where
	it would connect
	using "host=localhost;dbname=test;user=postgres"
	instead of my userid and password.  When more types are included,
	update this test.

svn path=/trunk/mcs/; revision=4320
2002-05-05 22:35:07 +00:00
Gonzalo Paniagua Javier ef143d81df 2002-05-06 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: fix bug 24248.

svn path=/trunk/mono/; revision=4319
2002-05-05 22:10:45 +00:00
Miguel de Icaza ed7e20af58 2002-05-05 Miguel de Icaza <[email protected]>
* test-28.cs: Improved test: before we were failing on abstract
	indexers invoked in the same class (as the accessor would have no
	body).

svn path=/trunk/mcs/; revision=4318
2002-05-05 20:32:41 +00:00
Miguel de Icaza 5daabf5309 2002-05-05 Miguel de Icaza <[email protected]>
* cs-parser.jay, class.cs (Accessor): new class used to represent
	an accessor (get or set).  In the past we used `null' to represent
	a missing accessor.  But this is ambiguous because there was no
	way to tell in abstract indexers/properties if one of them was
	specified.

	Now there is a way of addressing that.

	* expression.cs (Indexers.GetIndexersForType): Use TypeManager.MemberLookup
	instead of FindMembers.

svn path=/trunk/mcs/; revision=4317
2002-05-05 20:31:12 +00:00
Tim Coleman 49df1c210f 2002-05-05 Tim Coleman <[email protected]>
* TheTests.cs:
        * System.Data.SqlTypes/SqlInt32Test.cs:
                More test cases for System.Data.SqlTypes.SqlInt32

svn path=/trunk/mcs/; revision=4316
2002-05-05 18:38:41 +00:00
Lawrence Pit c24932898e 2002-05-06 Lawrence Pit <[email protected]>
* WebRequest.cs: added
	* WebResponse.cs: implemented
	* WebException.cs: implemented
	* WebHeaderCollection.cs: added
	* HttpVersion.cs: implemented
	* HttpContinueDelegate.cs: added
	* IWebProxy.cs: added
	* IWebRequestCreate.cs: added
	* ICertificatePolicy.cs: added
	* ServicePoint.cs: stubbed
	* ServicePointManager.cs: stubbed
	* CookieContainer.cs: added
	* Authorization.cs: implemented

svn path=/trunk/mcs/; revision=4315
2002-05-05 18:37:57 +00:00
Tim Coleman 6bed1c06a4 2002-05-05 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDateTime.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                More implementation, and code clean-up for consistency.
                Also, I had implemented many conversions as explicit
                that should have been implicit.  This should remove
                many of the red X's and green pluses from the
                System.Data.SqlTypes namespace.

svn path=/trunk/mcs/; revision=4314
2002-05-05 17:33:11 +00:00
Miguel de Icaza a06fece049 2002-05-05 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.EmitFieldInitializer): Do not typecast
	the result of Assign.Resolve as Assign, but rather as ExpressionStatement.

	* attribute.cs: Treat indexers and properties as the same in terms
	of applying attributes

svn path=/trunk/mcs/; revision=4313
2002-05-05 17:17:00 +00:00
Miguel de Icaza 7b496983e1 Update list to compile with mcs
svn path=/trunk/mcs/; revision=4312
2002-05-05 17:08:44 +00:00
Miguel de Icaza 607182b48e Flush ChangeLog
svn path=/trunk/mcs/; revision=4311
2002-05-05 17:08:13 +00:00
Miguel de Icaza 6a0487612e This commit does not break the existing code base, as these files are
excluded from the current build

2002-05-05  Miguel de Icaza  <[email protected]>

	* System.Data/DataSet.cs: Remove [Serializable] attributes from
	methods, those only apply to structs or classes.

	Stub out ISerializable, ISupportInitialize, and IListSource methods

	* System.Data/DataRowView.cs: Stub out interface methods for
	IEditableObject, ICustomTypeDescriptor and IDataErrorInfo

	* System.Data/DataView.cs: Comment out non-implemented
	interfaces.

	* System.Data/DataViewSettingsCollection.cs: Type cast variables
	to the correct type to make it compile.

	* System.Data/DataViewSettings.cs: remove reference to
	non-existance type ApplyDefaultSort, it is a boolean.

svn path=/trunk/mcs/; revision=4310
2002-05-05 17:08:00 +00:00
Miguel de Icaza f3681bcbda It is safe to commit this code, because it is still excluded by the
build file above.

2002-05-05  Miguel de Icaza  <[email protected]>

	* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
	interfaces we do not implement yet.

	* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
	we do not implement yet.

	* DbDataPermissionAttribute.cs: call base constructor.

svn path=/trunk/mcs/; revision=4309
2002-05-05 17:03:08 +00:00
Miguel de Icaza cb2dbaaed6 few updates to the web site
svn path=/trunk/mono/; revision=4307
2002-05-05 14:20:12 +00:00
Dick Porter a4df47fdd4 2002-05-05 Dick Porter <[email protected]>
* wapi-private.h:
	* handles-private.h:
	* io.c:
	* io-private.h:
	* mutexes.c:
	* mutex-private.h:
	* processes.c:
	* process-private.h:
	* semaphores.c:
	* semaphore-private.h:
	* sockets.c:
	* socket-private.h:
	* events.c:
	* event-private.h: Simplify the WapiHandleOps struct: take out all
	the file-specific entries, leaving just the items that operate on
	handles themselves.  Split the close operation into shared and
	private parts: shared close is called by the daemon.

	* handles.c: As above, but also pass handle allocation, ref and
	unref operations to the daemon.  Populate the handle_ops array at
	compile time, because the daemon needs to call ops on handles too.
	Don't bother to track open handle counts any more, the daemon does
	that.

	* threads.c:
	* thread-private.h: As above, but also make the thread data
	handle-private.

	* shared.c: Fork a handle daemon if the calling process created
	the shared memory segment.

	* daemon.c:
	* daemon-messages.c:
	* daemon-messages.h:
	* Makefile.am: Build a daemon to manage handle allocation and
	destruction without needing to lock the shared memory

svn path=/trunk/mono/; revision=4306
2002-05-05 13:45:35 +00:00
Daniel Morgan 8634321c6a 2002-05-05 Daniel Morgan <[email protected]>
* Test/PostgresTest.cs: added - ported
	libgda postgres-test.c originally by
	Gonzalo Paniagua Javier <[email protected]>
	to C#.

svn path=/trunk/mcs/; revision=4305
2002-05-05 11:47:26 +00:00
Nick Drochak e2afc88ef7 Flush
svn path=/trunk/mcs/; revision=4304
2002-05-05 11:32:13 +00:00
Nick Drochak c66ba0877d 2002-05-05 Nick Drochak <[email protected]>
* ArrayListTest.cs: Test for RankException when constructing from a
	multi-dimensional array. Confirmed behavior from MS.NET

svn path=/trunk/mcs/; revision=4303
2002-05-05 11:24:45 +00:00
Nick Drochak ab7805a46f 2002-05-05 Nick Drochak <[email protected]>
* ArrayList.cs: Throw RankException when constructing from a
	multi-dimensional array. Confirmed behavior from MS.NET

svn path=/trunk/mcs/; revision=4302
2002-05-05 11:24:06 +00:00
Nick Drochak be04917ea5 2002-05-05 Nick Drochak <[email protected]>
* ChangeLog: Update build file to run correct class in the test dll.

svn path=/trunk/mcs/; revision=4301
2002-05-05 10:47:59 +00:00
Nick Drochak 47c04565a3 2002-05-05 Nick Drochak <[email protected]>
* AllTests.cs
	* NameTableTests.cs
	* TheTests.cs
	* XPathScannerTests.cs
	* XmlAttributeTests.cs
	* XmlCDataSectionTests.cs
	* XmlCommentTests.cs
	* XmlDeclarationTests.cs
	* XmlDocumentTests.cs
	* XmlDocumentTypeTests.cs
	* XmlElementTests.cs
	* XmlNamespaceManagerTests.cs
	* XmlNodeListTests.cs
	* XmlProcessingInstructionTests.cs
	* XmlSignificantWhitespaceTests.cs
	* XmlTextReaderTests.cs
	* XmlTextTests.cs
	* XmlTextWriterTests.cs
	* XmlWhiteSpaceTests.cs: Use same namespace style as corlib tests.
	Changed Ximian.Mono.Tests to MonoTests.System.Xml

svn path=/trunk/mcs/; revision=4300
2002-05-05 10:31:13 +00:00
Nick Drochak 4a7a062712 2002-05-05 Nick Drochak <[email protected]>
* AllTests.cs:
	* BasicOperationsTest.cs:
	* DnsTest.cs:
	* NameValueCollectionTest.cs:
	* StringCollectionTest.cs:
	* TheTests.cs:
	* System.Text.RegularExpressions/AllTests.cs:
	* System.Text.RegularExpressions/PerlTest.cs:
	* System.Text.RegularExpressions/PerlTrials.cs:
	* System.Text.RegularExpressions/RegexTrial.cs: Fix Namespace
	inconsistancies.  Use MonoTests instead of Ximian.Mono.Tests

svn path=/trunk/mcs/; revision=4299
2002-05-05 10:14:38 +00:00
Lawrence Pit b1c39c1f4d added implementation of CredentialCache
svn path=/trunk/mcs/; revision=4298
2002-05-05 08:44:48 +00:00
Lawrence Pit e7737ea97f added test to replacement function to show bug
svn path=/trunk/mcs/; revision=4297
2002-05-05 07:52:15 +00:00
Lawrence Pit 09eec67e24 * IPAddress.cs: fixed IsLoopback, address was already in host order
svn path=/trunk/mcs/; revision=4296
2002-05-05 07:44:02 +00:00
Lawrence Pit 3973749697 Extensive unit tests for Uri and UriBuilder classes (shows a lot of errors in the ms.net implementation ;-)
svn path=/trunk/mcs/; revision=4295
2002-05-05 07:01:41 +00:00
Lawrence Pit e47b4da7cc Complete new reimplementation of Uri.cs, fully supporting IPv6 addresses.
svn path=/trunk/mcs/; revision=4294
2002-05-05 06:59:12 +00:00
Lawrence Pit 82a7391cd8 not defined in .net spec, needed for Uri.cs though
svn path=/trunk/mcs/; revision=4293
2002-05-05 06:51:38 +00:00
Lawrence Pit f739d6b635 added test for is loopback address
svn path=/trunk/mcs/; revision=4292
2002-05-05 06:32:33 +00:00
Miguel de Icaza 84c2aa9e52 Cleaning user defined conversions a bit, in preparation to fix the real
bug:

2002-05-05  Miguel de Icaza  <[email protected]>

	* ecore.cs (FindMostEncompassedType): Use statically initialized
	EmptyExpressions()s like we do elsewhere to avoid creating useless
	objects (and we take this out of the tight loop).

	(GetConversionOperators): Move the code to extract the actual
	operators to a separate routine to clean things up.

svn path=/trunk/mcs/; revision=4291
2002-05-05 02:37:58 +00:00
Tim Coleman e1bd3c8f8e 2002-05-05 Tim Coleman <[email protected]>
ChangeLog: updates for last fixes.

svn path=/trunk/mcs/; revision=4290
2002-05-05 00:34:08 +00:00
Tim Coleman d3ddaefa29 2002-05-05 Tim Coleman <[email protected]>
SqlInt32.cs: Fix my accidentally stomping Dan Morgan's last patch
	(sorry).

svn path=/trunk/mcs/; revision=4289
2002-05-05 00:33:22 +00:00
Tim Coleman c0c73c7053 2002-05-05 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                Various fixes, including adding the SqlNullValueException
                when trying to retrieve the value of a null SqlType,
                and when casting values, a Null of type A converts to a
                Null of type B.

svn path=/trunk/mcs/; revision=4288
2002-05-05 00:28:55 +00:00
Miguel de Icaza 2fc165dfab 2002-05-04 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): Remove un-needed tests for null, since now
	events are always registered FieldBuilders.

	* class.cs (FieldBase): New class shared by Fields

svn path=/trunk/mcs/; revision=4287
2002-05-04 22:40:40 +00:00
Gonzalo Paniagua Javier 3952877b84 Added target 'clean' so as make clean in the parent directory does not fail.
svn path=/trunk/mcs/; revision=4286
2002-05-04 21:58:20 +00:00
Miguel de Icaza b077c740a6 Update
svn path=/trunk/mono/; revision=4285
2002-05-04 21:54:19 +00:00
Miguel de Icaza 11a0a81125 Removed /r:corlib.dll and /nostdlib switches, does anything break?
This fixes the corcompare issue

svn path=/trunk/mcs/; revision=4284
2002-05-04 21:53:52 +00:00
Gonzalo Paniagua Javier 64b78bcb89 2002-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.build: excluded EventDescriptor.cs,
	EventDescriptorCollection.cs and ICustomTypeDescriptor.cs.

	* System.ComponentModel/AttributeCollection.cs: added a cast to make it
	compile

svn path=/trunk/mcs/; revision=4283
2002-05-04 21:41:25 +00:00
Rodrigo Moya 5fcd11f1df 2002-05-03 Rodrigo Moya <[email protected]>
* AttributeCollection.cs:
	* EventDescriptor.cs:
	* EventDescriptorCollection.cs:
	* ICustomTypeDescriptor.cs: new files.

svn path=/trunk/mcs/; revision=4282
2002-05-04 20:56:53 +00:00
Daniel Morgan 0410d300b8 2002-05-04 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs
	* System.Data.SqlClient/SqlCommand.cs
	* System.Data.SqlClient/SqlConnection.cs
	* System.Data.SqlClient/SqlDataReader.cs
	oid should not be hard coded because they
	can change from one version of PostgreSQL
	to the next.  Use the typname's instead.
	The PostgreSQL type data retrieves
	at database connection time.  Any unimplemented
	types just default to string.  These were things
	suggested by Gonzalo.

	* Test/ReadPostgresData.cs - stuff
	* Test/TestSqlDataReader.cs - stuff

	* System.Data.SqlTypes/SqlInt32.cs - added a using

svn path=/trunk/mcs/; revision=4281
2002-05-04 20:23:29 +00:00
Miguel de Icaza c9f460fe9d Remove stale debugging message
svn path=/trunk/mcs/; revision=4280
2002-05-04 18:12:21 +00:00
Miguel de Icaza b66c61c3df 2002-05-04 Miguel de Icaza <[email protected]>
* delegate.cs: If we are a toplevel delegate, use our full name.
	If we are a nested delegate, then only use our tail name.

svn path=/trunk/mcs/; revision=4279
2002-05-04 18:04:40 +00:00
Miguel de Icaza 8fdad479bc Improve test to check for toplevel namespaced delegates
svn path=/trunk/mcs/; revision=4278
2002-05-04 17:49:40 +00:00
Miguel de Icaza abd850053f Get the build to go
svn path=/trunk/mcs/; revision=4277
2002-05-04 16:10:59 +00:00
Ajay kumar Dwivedi 45b3c65317 2002-05-04 Dwivedi, Ajay kumar <[email protected]>
* XmlSchemaUtil.cs: New file added.

	* Parser.cs: New file Added. Unused at the moment.

	* XmlSchemaObjectCollection: Fixed GetEnumerator

	* General: Preprocessing for Attributes and SimpleTypes completed.

svn path=/trunk/mcs/; revision=4276
2002-05-04 14:13:51 +00:00
Tim Coleman c9950ac9cf 2002-05-03 Tim Coleman <[email protected]>
* System.Data.build: Fix the build so that test depends on build

svn path=/trunk/mcs/; revision=4275
2002-05-04 11:36:10 +00:00
Nick Drochak e1df4b00fd 2002-05-05 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Change location of sample file. Use memory
	stream instead of file stream to eliminate reliance on file io
	for now.  That area is still a bit immature.

	* resources: New directory to hold files open/read, etc. by unit
	tests.

svn path=/trunk/mcs/; revision=4274
2002-05-04 11:32:12 +00:00
Nick Drochak 4debd2009d 2002-05-05 Nick Drochak <[email protected]>
* StreamReader.cs: Throw exceptions where needed. Changed Null field to
	use new internal class since null cannot be passed to constructor
	anymore. Also, fix a coule of small bugs.

svn path=/trunk/mcs/; revision=4273
2002-05-04 11:18:51 +00:00
Nick Drochak 011baa1b77 Ignore dll's and pdb's
svn path=/trunk/mcs/; revision=4272
2002-05-04 11:13:40 +00:00
Paolo Molaro db1661751f Doh!
svn path=/trunk/mono/; revision=4271
2002-05-04 11:00:56 +00:00
Paolo Molaro 2e04cd587c Updates for changes in mono_assembly_open () interface.
svn path=/trunk/mono/; revision=4269
2002-05-04 09:15:44 +00:00
Paolo Molaro 059e3fa88a Sat May 4 15:00:39 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs, AssemblyName.cs: updates and fixes.

svn path=/trunk/mcs/; revision=4268
2002-05-04 09:14:56 +00:00
Paolo Molaro 8332005064 Sat May 4 14:03:21 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c, appdomain.h, assembly.c, assembly.h, image.h,
	icall.c, reflection.h: separate assembly loading by pathname and by
	assembly name. Use the MONO_PATH env var to search for assemblies.

svn path=/trunk/mono/; revision=4267
2002-05-04 09:14:52 +00:00
Tim Coleman 2cd9036a6f 2002-05-03 Tim Coleman <[email protected]>
library.build: Add "test" target for System.Data

svn path=/trunk/mcs/; revision=4266
2002-05-04 01:28:41 +00:00
Tim Coleman a425e94490 Add "test" build target.
svn path=/trunk/mcs/; revision=4265
2002-05-04 01:25:39 +00:00
Tim Coleman 47837d652c New files to begin the System.Data.SqlTypes test structure.
svn path=/trunk/mcs/; revision=4264
2002-05-04 01:17:50 +00:00
Tim Coleman b8070bd6fc New source and build information to allow "make test" to work with
System.Data.  This uses the NUnit.Framework now.  Also added a
ChangeLog to track Test changes.

svn path=/trunk/mcs/; revision=4263
2002-05-04 01:16:46 +00:00
Tim Coleman d7d6bcce80 Modify the ChangeLog to reflect recent changes. Also, added
System.Data.SqlTypes to the build because it isn't so broken
anymore.

svn path=/trunk/mcs/; revision=4262
2002-05-03 23:04:55 +00:00
Tim Coleman 37a1087ecb This fixes the updates last made by Rodrigo. Somehow the patch I sent
him only included four of the changed files.  This touches the rest of
the System.Data.SqlTypes.  This directory should actually compile (!)
now.

svn path=/trunk/mcs/; revision=4261
2002-05-03 22:51:43 +00:00
Daniel Morgan bf85f10d6b 2002-05-03 Daniel Morgan <[email protected]>
* System.Data.build: removed comments

	* System.Data.SqlClient/PostgresLibrary.cs: changed
	the hard-coded PostgreSQL oid type int's to using an
	enum.  Also, added PostgreSQL bpchar (character) type.

	* Test/TestSqlDataReader.cs: updated test
	to include new bpchar PostgreSQL type

svn path=/trunk/mcs/; revision=4260
2002-05-03 22:02:07 +00:00
Dennis Hayes 25286e9e95 * removed enums.cs. These enums have been put in seperate files, and moved to System.Windows.Forms\System.Windows.Forms, as they should have been to begin with.
svn path=/trunk/mcs/; revision=4259
2002-05-03 21:14:40 +00:00
Dennis Hayes 75a9dbfb31 * Corrected some enum values.
* Minor formatting.

svn path=/trunk/mcs/; revision=4258
2002-05-03 21:06:18 +00:00
Dennis Hayes 1b5a61dfec * added BorderStyle.cs, it got left out in the last commit
svn path=/trunk/mcs/; revision=4257
2002-05-03 20:50:10 +00:00
Dennis Hayes 4afb8ad60b * Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
* Moved then to System.Windows.Forms\System.Windows.Forms\*.cs.
* Bursted them out, puting each enums in its own file.
* used ennumcheck to set correct values.
* Ran Monostyle on them.
* ArrangeDirection.cs enum does not have values for left and right.

svn path=/trunk/mcs/; revision=4256
2002-05-03 20:44:23 +00:00
Rodrigo Moya 0962187d6e 2002-05-03 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlString.cs: more implementation, by
	Tim Coleman <[email protected]>.

svn path=/trunk/mcs/; revision=4255
2002-05-03 19:40:49 +00:00
Mike Kestner bcaddc00a8 Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <[email protected]>

	* Bitmap.cs : using System.IO
	* ColorTranslator.cs : Stubbed off build breakers.
	* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <[email protected]>

	* Metafile.cs : Use System.IO. Fix exception typos.

svn path=/trunk/mcs/; revision=4254
2002-05-03 17:47:11 +00:00
Paolo Molaro 8c993f32c2 Added some missing FP opcodes and made x86_patch() handle also the call opcode.
svn path=/trunk/mono/; revision=4252
2002-05-03 12:52:19 +00:00
Sergey Chaban e2d9273906 * divun.cs: microbenchmark for DIV.UN opt.
svn path=/trunk/mono/; revision=4251
2002-05-03 12:22:45 +00:00
Sergey Chaban 058b1e7372 * x86.brg: coni4 optimizations for MUL and DIV_UN;
svn path=/trunk/mono/; revision=4250
2002-05-03 12:20:27 +00:00
Dietmar Maurer 60c9579fd6 2002-05-03 Dietmar Maurer <[email protected]>
* x86.brg: use VAROFFSET macro

	* emit-x86.c (tree_emit): allocate space for spilled regs in
	activation frame instead of pushing them to the stack.

svn path=/trunk/mono/; revision=4249
2002-05-03 08:07:37 +00:00
Dietmar Maurer f6a42d35bf 2002-05-03 Dietmar Maurer <[email protected]>
* x86.brg: replace BXX with CBRANCH/COMPARE
	replaced CXX CSET/COMPARE

svn path=/trunk/mono/; revision=4248
2002-05-03 06:01:21 +00:00
Daniel Morgan 26625e0d8f 2002-05-03 Daniel Morgan <[email protected]>
* Test/TestExecuteScalar.cs: added test for
	method ExecuteScalar in class SqlCommand.

	* System.Data/DataColumnCollection.cs - it should
	inherit properties from base InternalDataCollectionBase
	and use them instead of overriding them, such as, List.

	* System.Data/DataColumn.cs
	* System.Data/DataTable.cs: tweaks to retrieve
	meta data from the database

	* System.Data.SqlClient/PostgresLibrary.cs -
	added method OidToType to convert PostgreSQL oid type
	to System.Type.  Renamed method OidTypeToSystem
	to ConvertPgTypeToSystem for converting the data value
	from a PostgreSQL type to a .NET System type.

	* System.Data.SqlClient/SqlCommand.cs: implemented
	method ExecuteReader which returns a SqlDataReader
	for a light forward only read only result set.
	It works on types int4 ==> Int32 and
	varchar ==> String.  Other types
	will come later.

	* System.Data.SqlClient/SqlConnection.cs: added comment

	* System.Data.SqlClient/SqlDataReader.cs: implemented
	class.  It works, but still lots to do.

	* Test/ReadPostgresData.cs: stuff

	* Test/TestSqlDataReader.cs: updated test for SqlDataReader
	to display meta data and the data

svn path=/trunk/mcs/; revision=4247
2002-05-03 05:16:20 +00:00
Dietmar Maurer a1d803430d 2002-05-03 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_allocate_regs): improved register allocation

svn path=/trunk/mono/; revision=4246
2002-05-03 02:58:04 +00:00
Miguel de Icaza eb43494667 remove more un-needed code
svn path=/trunk/mcs/; revision=4245
2002-05-03 01:15:28 +00:00
Miguel de Icaza a2a9460e1d Flush
svn path=/trunk/mono/; revision=4244
2002-05-03 01:13:42 +00:00
Miguel de Icaza 524729f80f Flush
svn path=/trunk/mono/; revision=4242
2002-05-03 00:49:22 +00:00
Miguel de Icaza 04f0f7d512 Get the build going again
svn path=/trunk/mcs/; revision=4241
2002-05-03 00:33:34 +00:00
Duncan Mak 1f393bae97 Added a missing line to enable Locale.GetText.
svn path=/trunk/mcs/; revision=4240
2002-05-03 00:28:22 +00:00
Miguel de Icaza 674dee3554 Temporary hack, as we still use MS libs for now
svn path=/trunk/mcs/; revision=4239
2002-05-03 00:24:47 +00:00
Duncan Mak 41f2834116 2002-05-03 Duncan Mak <[email protected]>
* TODO: Took out all the Exceptions. They should be all done now.

	* System.Data/ConstraintException.cs:
	* System.Data/DBConcurrencyException.cs:
	* System.Data/DataException.cs:
	* System.Data/DeletedRowInaccessibleException.cs:
	* System.Data/DuplicateNameException.cs:
	* System.Data/EvaluateException.cs:
	* System.Data/InRowChangingEventException.cs:
	* System.Data/InvalidConstraintException.cs:
	* System.Data/InvalidExpressionException.cs:
	* System.Data/MissingPrimaryKeyException.cs:
	* System.Data/NoNullAllowedException.cs:
	* System.Data/ReadOnlyException.cs:
	* System.Data/RowNotInTableException.cs:
	* System.Data/StrongTypingException.cs:
	* System.Data/SyntaxErrorException.cs:
	* System.Data/TypeDataSetGeneratorException.cs:
	* System.Data/VersionNotFoundException.cs: Added to CVS.

	* System.Data.SqlTypes/SqlNullValueException.cs:
	* System.Data.SqlTypes/SqlTruncateException.cs:
	* System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4238
2002-05-03 00:15:44 +00:00
Rodrigo Moya 0b5baf20b5 Updated TODO
svn path=/trunk/mcs/; revision=4235
2002-05-02 19:51:50 +00:00
Rodrigo Moya fe4fef67b0 2002-05-02 Rodrigo Moya <[email protected]>
* System.Data/DataViewSettingCollection.cs: implemented.

	* System.Data/DataRowView.cs: new stubs.

	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/SqlMoney.cs:
	* System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
	by Tim Coleman <[email protected]>

	* System.Data.build: excluded newly-added files.

svn path=/trunk/mcs/; revision=4234
2002-05-02 19:34:25 +00:00
Ravi Pratap M d002da5b74 2002-05-02 Ravi Pratap <[email protected]>
* delegate.cs : Handle the case when we have more than one applicable
	method. Flag an error only when we finish checking all.

svn path=/trunk/mcs/; revision=4233
2002-05-02 16:21:28 +00:00
Ravi Pratap M 38cf091dd3 2002-05-02 Ravi Pratap <[email protected]>
* test-114.cs : Add.

svn path=/trunk/mcs/; revision=4232
2002-05-02 16:19:29 +00:00
Ravi Pratap M cb95c0c2d6 2002-05-02 Ravi Pratap <[email protected]>
* expression.cs (IsApplicable): Ensure that we add the "&" to
	ref/out types before comparing it with the type of the argument.

	(IsParamsMethodApplicable): Ditto.

	(Argument.Type): Use TypeManager.LookupType instead of Type.GetType -
	silly me ;-)

svn path=/trunk/mcs/; revision=4231
2002-05-02 15:47:21 +00:00
Ravi Pratap M b806eae607 2002-05-02 Ravi Pratap <[email protected]>
* test-113.cs : Another test for overload resolution ;-)

svn path=/trunk/mcs/; revision=4230
2002-05-02 15:44:42 +00:00
Daniel Carrera 47036162d5 PCL-CVS
svn path=/trunk/mcs/; revision=4229
2002-05-02 15:19:16 +00:00
Daniel Carrera 08232fa8b3 *** empty log message ***
svn path=/trunk/mcs/; revision=4228
2002-05-02 15:15:37 +00:00
Daniel Carrera 03512fe05f PCL-CVS
svn path=/trunk/mcs/; revision=4227
2002-05-02 15:12:53 +00:00
Daniel Carrera 504d8dcacf Minor update to FeatureSupport.cs.
svn path=/trunk/mcs/; revision=4226
2002-05-02 14:17:59 +00:00
Gonzalo Paniagua Javier 38ae913454 2002-05-02 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs (Parse): don't use a delegate to test for valid digits.

svn path=/trunk/mcs/; revision=4225
2002-05-02 13:51:41 +00:00
Miguel de Icaza f2414da5c2 2002-05-02 Miguel de Icaza <[email protected]>
* expression.cs: Add support for boolean static initializers.

svn path=/trunk/mcs/; revision=4224
2002-05-02 13:19:39 +00:00
Nick Drochak 5a19c6539a 2002-05-03 Nick Drochak <[email protected]>
* MemoryStream.cs: Refrain from allocating array until the space is
	really needed. This fixes a bug in the Length property when the
	constructor without the byte array is used.

svn path=/trunk/mcs/; revision=4223
2002-05-02 12:32:37 +00:00
Paolo Molaro f1dfe191da Test for Char.IsNumber.
svn path=/trunk/mono/; revision=4222
2002-05-02 12:13:19 +00:00
Paolo Molaro 1ea7f0707c Thu May 2 17:56:52 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c, image.h: add some support for assemblies
	with multiple modules.
	* class.c, class.h: export mono_class_from_typeref().
	* loader.c: remove duplicated code and use mono_class_from_typeref(),
	instead.

svn path=/trunk/mono/; revision=4221
2002-05-02 12:12:50 +00:00
Gonzalo Paniagua Javier 2f01d742cf 2002-05-02 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.

svn path=/trunk/mcs/; revision=4220
2002-05-02 10:29:03 +00:00
Paolo Molaro 4cda244b0a Thu May 2 15:51:11 CEST 2002 Paolo Molaro <[email protected]>
* unicode.c: Char.IsNumber doesn't include hex digits as the ms
	documentation says (the ECMA one is correct).

svn path=/trunk/mono/; revision=4219
2002-05-02 10:04:07 +00:00
Paolo Molaro 3b5066f534 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <[email protected]>
* ArrayList.cs: make mcs compile again: it's allowed to
	call arraylist.CopyTo(array, 0) when the length of the array
	is also 0.

svn path=/trunk/mcs/; revision=4218
2002-05-02 09:31:16 +00:00
Daniel Morgan 1fee921ab8 2002-05-02 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: included new
	internal class that will be a helper class in using
	PostgreSQL.  PostgresLibrary is used for the
	pinvoke methods to the PostgreSQL Client
	native C library libpq while the class PostgresHelper
	is used for	wrapper or helper methods.  It currently only
	has one static method OidTypeToSystem in converting
	PostgreSQL types to .NET System.<type>s, such as,
	a PostgreSQL int8 becomes a .NET System.Int64.
	Only a few types have been added, such as, int2,
	int4, int8, varchar, text, bool, and char.  Other types
	will come later.

	* System.Data.SqlClient/SqlCommand.cs: implemented
	method ExecuteScalar which allows us to do aggregate
	functions, such as, count, avg, min, max, and sum.  We
	also are able to retrieve the result, convert it to the .NET type
	as an object.  The user of the returned object must explicitly cast.

	* Test/ReadPostgresData.cs: updated sample
	to help us learn to retrieve data in System.Data.SqlClient
	classes

svn path=/trunk/mcs/; revision=4217
2002-05-02 07:23:41 +00:00
Dick Porter 614477fa7c 2002-05-02 Dick Porter <[email protected]>
* threads.c: Use GC_debug_register_finalizer with GC_debug_malloc.
	Don't name the synchronisation mutex.

svn path=/trunk/mono/; revision=4216
2002-05-02 06:49:41 +00:00
Dietmar Maurer ada9d4a3d1 2002-05-02 Dietmar Maurer <[email protected]>
* delegate.c (mono_delegate_cleanup): signal semaphore in order to
	exit threads.

svn path=/trunk/mono/; revision=4215
2002-05-02 05:03:43 +00:00
Daniel Morgan a95d80e6f5 2002-05-01 Daniel Morgan <[email protected]>
* System.Data.build: added /nowarn: nnnn arguments
	so you will not get a ton of warnings.  The warnings
	being excluded are: 1595, 0067, 0109, 0169, and	0649

svn path=/trunk/mcs/; revision=4214
2002-05-01 23:20:22 +00:00
Daniel Morgan 9492fca4df 2002-05-01 Daniel Morgan <[email protected]>
* System.Data.build: modified to exclude more
	files from the build

svn path=/trunk/mcs/; revision=4213
2002-05-01 22:33:23 +00:00
Duncan Mak 2243a28b34 2002-05-01 Duncan Mak <[email protected]>
* ListChangedType.cs:
	    * ListChangedEventHandler.cs:
	    * ListChangedEventArgs.cs: Added to fix build.

svn path=/trunk/mcs/; revision=4212
2002-05-01 21:42:29 +00:00
Miguel de Icaza 002040ac20 Add small list
svn path=/trunk/mcs/; revision=4210
2002-05-01 21:08:42 +00:00
Miguel de Icaza 41285d379d 2002-05-01 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs: Added the IList explicit
	implementation methods.

	lots of bug fixes to get the build to compile again.

svn path=/trunk/mcs/; revision=4209
2002-05-01 21:04:37 +00:00
Miguel de Icaza 8dd8694eb5 More corlib and System.Data compilation bugs:
2002-05-01  Miguel de Icaza  <[email protected]>

	* attribute.cs: Use proper cast for Events, since we use a MyEventBuilder.

	* parameter.cs (ComputeParameterTypes,
	ComputeAndDefineParameterTypes): Better error handling: now we
	clear the `types' cache if we fail during any of the type lookups.
	We also return the status code correctly to our caller

	* delegate.cs: If we fail to define a delegate, abort the extra
	steps.

svn path=/trunk/mcs/; revision=4208
2002-05-01 21:02:36 +00:00
Miguel de Icaza 54dd50fdc4 Small changes to get things to compile with MCS. It compiles now,
but there are too many missing classes that need to be stubbed out.

svn path=/trunk/mcs/; revision=4207
2002-05-01 20:29:29 +00:00
Miguel de Icaza 7320eb5c15 Miggy version
svn path=/trunk/mcs/; revision=4206
2002-05-01 20:15:43 +00:00
Miguel de Icaza 2becf838ae Miggy version
svn path=/trunk/mcs/; revision=4205
2002-05-01 20:11:34 +00:00
Miguel de Icaza e9f50210de New file
svn path=/trunk/mcs/; revision=4204
2002-05-01 20:10:28 +00:00
Rodrigo Moya 0f282cde1b 2002-05-01 Rodrigo Moya <[email protected]>
* doc/ado-net: updated a little bit.

svn path=/trunk/mono/; revision=4203
2002-05-01 19:26:06 +00:00
Miguel de Icaza 5f2d5d48b4 Flush
svn path=/trunk/mono/; revision=4202
2002-05-01 19:22:06 +00:00
Duncan Mak b61723e1d5 2002-05-01 Duncan Mak <[email protected]>
* ListSortDirection.cs: EnumChecked.

svn path=/trunk/mcs/; revision=4201
2002-05-01 18:06:51 +00:00
Rodrigo Moya c4cb862aab 2002-05-01 Rodrigo Moya <[email protected]>
* ListSortDirection.cs: new enumeration. Please, somebody run
	EnumCheck on it, as I don't have a windows machine.

	* PropertyDescriptorCollection.cs: new class.

	* ITypedList.cs:
	* IBindingList.cs: new interfaces.

svn path=/trunk/mcs/; revision=4200
2002-05-01 17:58:24 +00:00
Miguel de Icaza bba10f11b9 (ArrayAccess.DoResolve): Array Access can operate on
non-variables.

svn path=/trunk/mcs/; revision=4199
2002-05-01 17:49:55 +00:00
Rodrigo Moya 2574cb7ae8 2002-05-01 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlClientPermission.cs: added missing
	'using's.

	* System.Data/MergeFailedEventArgs.cs: new class, contributed
	by John Dugaw <[email protected]>.

	* System.Data.build: excluded new files from build.

svn path=/trunk/mcs/; revision=4198
2002-05-01 17:49:21 +00:00
Miguel de Icaza 333250ae8a more tests
svn path=/trunk/mcs/; revision=4197
2002-05-01 17:35:57 +00:00
Miguel de Icaza 2e935223ba 2002-05-01 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): for
	operator==(object,object) and operator !=(object, object) we also
	have to verify that there is an implicit conversion from one to
	the other.

svn path=/trunk/mcs/; revision=4196
2002-05-01 17:33:01 +00:00
Duncan Mak 5932767a1f Serialization constructors should be protected.
svn path=/trunk/mcs/; revision=4195
2002-05-01 14:09:49 +00:00
Paolo Molaro 7f85f99c35 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <[email protected]>
* dump.c, dump.h, main.c: dump ExportedTypes table.
	* get.c: fix get_module (), remove magic numbers.
	* monodis.1: update manpage (hi miguel!:)

svn path=/trunk/mono/; revision=4194
2002-05-01 11:22:43 +00:00
Paolo Molaro 2a1883a7ec Wed May 1 17:05:40 CEST 2002 Paolo Molaro <[email protected]>
* SortedList.cs: fix RemoveAt () to use the correct length in
	Array.Copy.

svn path=/trunk/mcs/; revision=4193
2002-05-01 11:18:09 +00:00
Nick Drochak d5c25179ff 2002-05-01 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: Catch and display exception info where it wasn't
	being caught before.

svn path=/trunk/mcs/; revision=4192
2002-05-01 11:05:31 +00:00
Dick Porter c356e2c07c Use the cygwin stable autotools, code from Serge.
svn path=/trunk/mono/; revision=4191
2002-05-01 10:50:54 +00:00
Nick Drochak 52b3d45d86 2002-05-01 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestBinarySearch) : accomodate possible bug in
	.NET runtime.

svn path=/trunk/mcs/; revision=4190
2002-05-01 10:31:43 +00:00
Nick Drochak 7a335d40dd 2002-05-01 Nick Drochak <[email protected]>
* ArrayList.cs (Add & AddRange) : Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4189
2002-05-01 10:28:01 +00:00
Nick Drochak 40fca7f7be 2002/05/01 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestCopyTo) : Make assert messages unique and
	avoid possible MS.NET bug when test is run on .NET.

svn path=/trunk/mcs/; revision=4188
2002-05-01 06:36:09 +00:00
Nick Drochak 9368e5c975 2002/05/01 Nick Drochak <[email protected]>
* ArrayList.cs (CopyTo) : Check parameters and throw exceptions
	where needed.

svn path=/trunk/mcs/; revision=4187
2002-05-01 06:34:30 +00:00
Lawrence Pit 3ed3cfcf7e not yet used by Dns itself
svn path=/trunk/mcs/; revision=4186
2002-05-01 02:59:06 +00:00
Duncan Mak 515cb9600d 2002-05-01 Duncan Mak <[email protected]>
* DebuggableAttribute.cs: Added missing AttributeUsage attribute.

	* Convert.cs:
	* Math.cs: Added missing CLSCompliant attributes where necessary.

svn path=/trunk/mcs/; revision=4185
2002-05-01 01:43:51 +00:00
Duncan Mak 0a53f898e3 2002-05-01 Duncan Mak <[email protected]>
* DirectoryNotFoundException.cs (constructor): Added missing
	serialization constructor.

svn path=/trunk/mcs/; revision=4184
2002-05-01 01:26:24 +00:00
Duncan Mak cfacf6bed3 Fix typos.
svn path=/trunk/mcs/; revision=4183
2002-05-01 00:19:06 +00:00
Duncan Mak 6164d8a0ce 2002-04-30 Duncan Mak <[email protected]>
* FileLoadException.cs (constructors): Added missing (string,
	string) ctor, as well as (string, string, Exception) ctor.

	(Message): Added more info to the error message

	(ToString): Added. We'll need to add the StackTrace stuff when
	that works.

	* FileShare.cs: Add a missing field, Inheritable.

	* TextReader.cs: Renamed Synchronised method to Synchronized.

	* TextWriter.cs: Renamed Synchronised method to Synchronized.
	Renamed protected member coreNewLine to CoreNewLine.

svn path=/trunk/mcs/; revision=4182
2002-05-01 00:13:08 +00:00
Duncan Mak f8a8e9b1a7 2002-04-30 Duncan Mak <[email protected]>
* ArgumentException.cs (Message):
	* ArgumentOutOfRangeException.cs (Message): Added.

svn path=/trunk/mcs/; revision=4181
2002-04-30 23:13:38 +00:00
Jason Diamond cc50b5e36c Style updates from Tim Coleman.
svn path=/trunk/mcs/; revision=4180
2002-04-30 22:56:21 +00:00
Miguel de Icaza e19cb4f11d 2002-04-30 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign): A new class used as a "flag" that
	the assignment actually is happening as part of a compound
	assignment operator.

	During compound assignment, a few new rules exist to enable things
	like:

	byte b |= 1 + 2

	From the spec:

	x op= y can be evaluated as x = (T) (x op y) (ie, an explicit cast
	to the type of x) if y is implicitly convertible to the type of x,
	and the operator is a builtin operator and the return type of the
	operator is explicitly convertible to the type of x.

	* rootcontext.cs: Reset warning level to 2.  4 catches various
	"interesting" features in mcs, we must clean this up at some
	point, but currently am trying to kill other bugs ;-)

svn path=/trunk/mcs/; revision=4179
2002-04-30 21:57:42 +00:00
Jeffrey Stedfast 81326b5efb 2002-04-30 Jeffrey Stedfast <[email protected]>
* rand.c
	(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetBytes):
	Make the prototypes match.
	(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetNonZeroBytes):
	Same.

svn path=/trunk/mono/; revision=4178
2002-04-30 19:35:31 +00:00
Jeffrey Stedfast b0ce6f6750 2002-04-30 Jeffrey Stedfast <[email protected]>
* configure.in: Added checks for timezone stuff.

svn path=/trunk/mono/; revision=4177
2002-04-30 19:30:06 +00:00
Jeffrey Stedfast 109be198e8 2002-04-30 Jeffrey Stedfast <[email protected]>
* icall.c
	(ves_icall_System_CurrentTimeZone_GetTimeZoneData): Fixed for
	systems that use 'timezone' rather than tm.tm_gmtoff. Also, not
	all systems have tm.tm_zone, so use strftime() with %Z to print
	the timezone abreviation into a temp string.

	* object.c (mono_ldstr): Fixed to use mono_string_chars() macro
	rather than mono_array_addr() on a MonoString on Big Endian
	machines.

svn path=/trunk/mono/; revision=4176
2002-04-30 19:29:33 +00:00
Daniel Stodden 411cc3ae5d - wrong date in changelog
- backed out accidental commit in Test/AllTests.cs
- better going to sleep now, sorry

svn path=/trunk/mcs/; revision=4175
2002-04-30 19:27:41 +00:00
Daniel Stodden 95fef23511 added delegate tests and changelog entries
svn path=/trunk/mcs/; revision=4174
2002-04-30 19:19:04 +00:00
Daniel Stodden 52883ef766 - Fast RemoveImpl() for delegates, with test cases
svn path=/trunk/mcs/; revision=4173
2002-04-30 19:08:08 +00:00
Daniel Stodden 5f7b1439cf simple testcase for multicastdelegates::combine and ::remove
svn path=/trunk/mcs/; revision=4172
2002-04-30 18:47:33 +00:00
Dick Porter e2f05b5541 2002-04-30 Dick Porter <[email protected]>
* Thread.cs: If LocalDataStoreSlot already has data set, remove it
	before adding a new one.

	Use the Thread object destructor to tell the runtime to close the
	thread handle.

svn path=/trunk/mcs/; revision=4171
2002-04-30 18:40:32 +00:00
Jeffrey Stedfast 8d428930e2 2002-04-30 Jeffrey Stedfast <[email protected]>
* atomic.c: Changed to use a normal mutex rather than a spinlock
	since a lot of platforms seem to not have them :\

svn path=/trunk/mono/; revision=4170
2002-04-30 18:32:21 +00:00
Miguel de Icaza 786c970f59 2002-04-30 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Perform member lookups
	in container classes as well.

	* expression.cs (Binary.ResolveOperator): Handle string case
	before anything else (as operator overloading does emit an error
	before doing anything else).

	This code could go away when we move to a table driven model, but
	i could not come up with a good plan last night.

svn path=/trunk/mcs/; revision=4169
2002-04-30 17:09:00 +00:00
Sergey Chaban fc3048b245 * BinaryReader.cs: internal buffer fix. Little-endian conversions.
* BinaryWriter.cs: little-endian conversions.

svn path=/trunk/mcs/; revision=4168
2002-04-30 14:32:21 +00:00
Dietmar Maurer 206fe12e23 2002-04-30 Dietmar Maurer <[email protected]>
* string-icalls.c (ves_icall_System_String_InternalReplace_Str):
	fix bug 24041

svn path=/trunk/mono/; revision=4167
2002-04-30 13:07:29 +00:00
Dick Porter 94ddc5e3cc 2002-04-30 Dick Porter <[email protected]>
* Completely rewrote the handle waiting code: removed the helper
	thread and its attendant complexity.  All handle waiting is now
	abstracted into the WaitForSingleObject() and
	WaitForMultipleObjects() functions.

	* Implemented inter-process sharing of handles using sysv shared
	memory.  This makes handles even more opaque, with a handle now
	just an index into an array.

2002-04-30  Dick Porter  <[email protected]>

	* socket-io.c: Cope with SOCKET being an integer rather than a
	pointer now.

	* threads.c: Added Thread_free_internal, to deal with thread
	handle cleanup.  Moved calls to handle_store() and handle_remove()
	to start_wrapper(), so each can only be called once.  Allocate
	synchronisation blocks with GC_malloc(), and use GC finalisation
	to close the handles.

	* icall.c: added System.Threading.Thread::Thread_free_internal

2002-04-30  Dick Porter  <[email protected]>

	* acconfig.h:
	* configure.in: Added option to disable using shared memory for
	handles

2002-04-30  Dick Porter  <[email protected]>

	* shmdel.c:
	* scratch.c:
	* hps.c:
	* Makefile.am: Some tools to help debug shared memory handles:
	'hps' shows handle status, 'scratch' displays info about scratch
	data (such as handle names), 'shmdel' deletes the shared memory
	segment.

2002-04-30  Dick Porter  <[email protected]>

	* interp.c: Tell glib to not abort when g_log() etc print
	recursively

2002-04-30  Dick Porter  <[email protected]>

	* mono.c (main): Tell glib to not abort when g_log() etc print
	recursively

svn path=/trunk/mono/; revision=4166
2002-04-30 12:17:27 +00:00
Lawrence Pit 0916c59d8f CSharpName using regex, warninglevel set to 4 (= default), added null check for fields in Emit
svn path=/trunk/mcs/; revision=4165
2002-04-30 12:05:23 +00:00
Paolo Molaro dd782fdf52 Fix thinko pointed out by rxdan.
svn path=/trunk/mono/; revision=4164
2002-04-30 10:34:00 +00:00
Dietmar Maurer ef69e7d572 (MUL) use shift when possible.
(DIV) use shift when possible.
	impl. various opt. with coni4

svn path=/trunk/mono/; revision=4163
2002-04-30 05:17:47 +00:00
Nick Drochak 137b484647 2002/04/30 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestInsertRange) : Make assert messages unique.

svn path=/trunk/mcs/; revision=4162
2002-04-30 03:51:49 +00:00
Nick Drochak 81ac2b6a08 2002/04/30 Nick Drochak <[email protected]>
* ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
		(InsertRange) : Implement.
		(SetRange) : Implement.

svn path=/trunk/mcs/; revision=4161
2002-04-30 03:44:17 +00:00
Dietmar Maurer 57397f5c1a 2002-04-30 Dietmar Maurer <[email protected]>
* x86.brg: opt. LDELEMA impl.

svn path=/trunk/mono/; revision=4160
2002-04-30 03:18:46 +00:00
Dietmar Maurer f42cbb4150 2002-04-30 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): use ctx->SC_EBP in
	end_of_stack check as suggested by Linus Upson <[email protected]>

svn path=/trunk/mono/; revision=4159
2002-04-30 02:09:11 +00:00
Miguel de Icaza 89cdcb87ca 2002-04-29 Miguel de Icaza <[email protected]>
* typemanager.cs (CSharpName): reimplemented with Lupus
	suggestion.

2002-04-28  Miguel de Icaza  <[email protected]>

	* statement.cs (If): correclty implement Resolve, because we were
	not catching sem errors in there.  The same process is needed
	everywhere else.
	(Return, StatementExpression, For, While, Do, Throw, Lock): Implement Resolve


	(Statement.Warning_DeadCodeFound): Factorize code.
	(While): Report dead code here too.

	(Statement): Added Resolve virtual method to allow
	for resolution split from the emit code.

svn path=/trunk/mcs/; revision=4158
2002-04-29 23:17:45 +00:00
Jason Diamond 1fab6ad48b Added System.Xml.Xsl stubs courtesy of Tim Coleman <[email protected]>.
svn path=/trunk/mcs/; revision=4157
2002-04-29 21:55:36 +00:00
Nick Drochak d7f01f7cc2 2002-04-30 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestTrimToSize): Change test so that it doesn't
	rely on the specific timing of a capacity change.  Our corlib doubles
	capacity sooner than the reference system does.

svn path=/trunk/mcs/; revision=4156
2002-04-29 12:57:45 +00:00
Nick Drochak fc21b062ad 2002-04-30 Nick Drochak <[email protected]>
* ArrayList.cs (TrimToSize) : Implement.

svn path=/trunk/mcs/; revision=4155
2002-04-29 12:50:58 +00:00
Nick Drochak 0b876e346b 2002-04-30 Nick Drochak <[email protected]>
* MonoType.cs: Remove unused variable and eliminate a compiler warning.

svn path=/trunk/mcs/; revision=4154
2002-04-29 12:19:35 +00:00
Miguel de Icaza c2cf5191d4 Update man page
svn path=/trunk/mono/; revision=4153
2002-04-29 12:18:06 +00:00
Paolo Molaro 1d8601ac07 Recognise more arm system names.
svn path=/trunk/mono/; revision=4152
2002-04-29 12:16:51 +00:00
Paolo Molaro fac9d66fab Removed mono_string_new_wrapper().
svn path=/trunk/mono/; revision=4151
2002-04-29 12:14:39 +00:00
Nick Drochak 518c749b9a 2002-04-30 Nick Drochak <[email protected]>
* UInt32Test.cs: More verbose on unexepected exception to eliminate
	compiler warning.

svn path=/trunk/mcs/; revision=4150
2002-04-29 11:51:30 +00:00
Nick Drochak c9c5b7c891 2002-04-30 Nick Drochak <[email protected]>
* ArrayListTest.cs: Catch unexpected exception typs and report as
	failures.

svn path=/trunk/mcs/; revision=4149
2002-04-29 11:49:50 +00:00
Nick Drochak f40a0fb347 2002-04-30 Nick Drochak <[email protected]>
* IPAddressTest.cs: Remove unused code to eliminate compiler warnings.

svn path=/trunk/mcs/; revision=4148
2002-04-29 11:48:07 +00:00
Dietmar Maurer d33c4536fe * x86.brg (LDLEN, UNBOX): removed unnecessary NULL check.
svn path=/trunk/mono/; revision=4147
2002-04-29 10:56:09 +00:00
Dietmar Maurer ccef356f89 2002-04-29 Dietmar Maurer <[email protected]>
* exception.c: included the Freebsd patch from Sandro Tolaini
	<[email protected]>

svn path=/trunk/mono/; revision=4146
2002-04-29 10:19:16 +00:00
Paolo Molaro 2dbf2c6470 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <[email protected]>
* Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().

svn path=/trunk/mcs/; revision=4145
2002-04-29 09:45:51 +00:00
Paolo Molaro 76efaf5f74 Mon Apr 29 15:33:27 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: support Environment.Exit, CommandLineArgs().

svn path=/trunk/mono/; revision=4144
2002-04-29 09:45:44 +00:00
Paolo Molaro be3c095f22 Mon Apr 29 15:18:00 CEST 2002 Paolo Molaro <[email protected]>
* mono.c, jit.c: use mono_runtime_run_main ().

svn path=/trunk/mono/; revision=4143
2002-04-29 09:30:04 +00:00
Paolo Molaro 8152edf8cb Mon Apr 29 15:15:57 CEST 2002 Paolo Molaro <[email protected]>
* object.c, object.h: added mono_runtime_run_main () and
	mono_runtime_get_main_args () for use in System.Environment.

svn path=/trunk/mono/; revision=4142
2002-04-29 09:28:49 +00:00
Paolo Molaro f3a5243312 Fix sample code so that it has a chance of running.
svn path=/trunk/mono/; revision=4141
2002-04-29 09:26:30 +00:00
Dietmar Maurer 35c50b17f1 * jit.c (mono_analyze_stack): dont call methods on Object with
METHOD_ATTRIBUTE_FINAL directly because it breaks remoting.

svn path=/trunk/mono/; revision=4140
2002-04-29 09:03:04 +00:00
Dietmar Maurer 5d5d2cd714 x86.brg: added more CONV_U rules
svn path=/trunk/mono/; revision=4138
2002-04-29 08:12:43 +00:00
Paolo Molaro e1764e9f27 Mon Apr 29 13:45:11 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: fix thinko, enable actual finalization since the jit is now
	fixed.

svn path=/trunk/mono/; revision=4137
2002-04-29 07:57:22 +00:00
Dietmar Maurer dbdc09ac51 (mono_analyze_stack): emit right CONV_UX opcodes: fixes bug 23547
svn path=/trunk/mono/; revision=4136
2002-04-29 07:55:08 +00:00
Paolo Molaro 17cd2d2f47 Small test updates.
svn path=/trunk/mono/; revision=4135
2002-04-29 07:00:47 +00:00
Paolo Molaro dc494c191c Mon Apr 29 12:47:36 CEST 2002 Paolo Molaro <[email protected]>
* gc.c, object.c: take into account that an object may be offset wrt the address
	returned by GC_malloc().

svn path=/trunk/mono/; revision=4134
2002-04-29 07:00:19 +00:00
Dietmar Maurer 94d8366b5a 2002-04-29 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): avoid recursive call of virtual
	methods: fixes Bug #23778

svn path=/trunk/mono/; revision=4133
2002-04-29 06:27:31 +00:00
Paolo Molaro 999ccf6b67 Mon Apr 29 12:14:39 CEST 2002 Paolo Molaro <[email protected]>
* image.c: handle files without entries in the assembly table (modules).

svn path=/trunk/mono/; revision=4132
2002-04-29 06:27:09 +00:00
Paolo Molaro c8e776dbda Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <[email protected]>
* dump.c, dump.h, main.c: support for dumping the manifest resource table.

svn path=/trunk/mono/; revision=4131
2002-04-29 06:25:28 +00:00
Dietmar Maurer 1b2446e122 2002-04-29 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): only g_assert(cleanup) if
	we really need it.

svn path=/trunk/mono/; revision=4130
2002-04-29 05:57:50 +00:00
Daniel Morgan fd1141aa7d 2002-04-29 Daniel Morgan <[email protected]>
* Test/ReadPostgresData.cs: added - Uses the
	PostgresLibrary to retrieve a recordset.
	This is not meant to be used in Production, but as a
	learning aid in coding
	class System.Data.SqlClient.SqlDataReader.
	This sample does work.

	* Test/TestSqlDataReader.cs: added - used
	to test SqlDataReader (does not work yet)
	Forgot to add to ChangeLog on last commit.

svn path=/trunk/mcs/; revision=4129
2002-04-29 03:31:13 +00:00
Daniel Morgan aa76c85def *** empty log message ***
svn path=/trunk/mcs/; revision=4128
2002-04-28 21:45:51 +00:00
Duncan Mak 22861e550e 2002-04-28 Duncan Mak <[email protected]>
* ArrayList.cs (InsertRange):
	(SetRange):
	(Remove):
	(TrimToSize): Throw exceptions where needed.

	* DivideByZeroException.cs: Added missing serialization constructor.

svn path=/trunk/mcs/; revision=4127
2002-04-28 21:41:21 +00:00
Nick Drochak 6b34c855ea 2002-04-29 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.

svn path=/trunk/mcs/; revision=4126
2002-04-28 21:27:54 +00:00
Nick Drochak faa2c8e923 2002-04-29 Nick Drochak <[email protected]>
* ArrayListTest.cs (): Remove test on unsorted array.  Behavior is
	undefined according to docs. Re-added test that was commented out.

svn path=/trunk/mcs/; revision=4125
2002-04-28 20:13:57 +00:00
Duncan Mak 2db87b0f11 2002-04-28 Duncan Mak <[email protected]>
ArrayList.cs (InsertRange): Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4124
2002-04-28 19:50:58 +00:00
Nick Drochak 44e1a334c6 2002-04-29 Nick Drochak <[email protected]>
* Hashtable.cs (CopyTo): Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4123
2002-04-28 19:42:42 +00:00
Duncan Mak ed2ab56732 2002-04-28 Duncan Mak <[email protected]>;
* XmlSignificantWhitespace.cs (Value):
	* XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
	block. Added new private method, IsValidWhitespaceChar, for
	checking.

svn path=/trunk/mcs/; revision=4122
2002-04-28 19:38:48 +00:00
Miguel de Icaza 03ef5b2096 Commit TODO
svn path=/trunk/mcs/; revision=4121
2002-04-28 17:28:09 +00:00
Miguel de Icaza 03238b4beb 2002-04-28 Miguel de Icaza <[email protected]>
* test-108.cs: Improve test

svn path=/trunk/mcs/; revision=4120
2002-04-28 15:55:06 +00:00
Miguel de Icaza 11431ce842 2002-04-28 Miguel de Icaza <[email protected]>
* statement.cs (Statement.Warning_DeadCodeFound): Factorize code.
	(While): Report dead code here too.

svn path=/trunk/mcs/; revision=4119
2002-04-28 15:54:18 +00:00
Miguel de Icaza 68efdb29e9 Add new test for dead code elimination
svn path=/trunk/mcs/; revision=4118
2002-04-28 15:51:31 +00:00
Gonzalo Paniagua Javier f6f45462de 2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fix for conditional "THREADS_PTHREAD" was never
	defined problem under cygwin with latest version of automake and
	autoconf. Patch from Jeroen Janssen <[email protected]>.

svn path=/trunk/mono/; revision=4117
2002-04-28 15:51:25 +00:00
Miguel de Icaza 89474459e3 Implement Loop inversion for While statements and dead code elimination.
2002-04-28  Miguel de Icaza  <[email protected]>

	* statement.cs (Statement): Added Resolve virtual method to allow
	for resolution split from the emit code.

2002-04-26  Miguel de Icaza  <[email protected]>

	* statement.cs (EmitBoolExpression): No longer try to resolve the
	expression here.
	(MakeBoolean): New utility function that resolve, implicitly
	converts to boolean and tags the expression.


	(If, Do): Implement dead code elimination.
	(While): Implement loop inversion

	(Do, While, For, If): Resolve the expression prior to calling our
	code generation.

svn path=/trunk/mcs/; revision=4116
2002-04-28 15:49:04 +00:00
Duncan Mak c829c8c09a (FixedSize): Fixed typo.
svn path=/trunk/mcs/; revision=4115
2002-04-28 15:37:12 +00:00
Duncan Mak 3833f4ccda 2002-04-28 Duncan Mak <[email protected]>
* CollectionChangeAction.cs: Changed enum layout to fit the MS
	implementation. Please use EnumCheck!

	* UnauthorizedAccessException.cs: Added the missing
          Serializable attribute.

svn path=/trunk/mcs/; revision=4114
2002-04-28 15:34:40 +00:00
Rodrigo Moya b1cdb1f775 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataViewSetting.cs: new class.

svn path=/trunk/mcs/; revision=4113
2002-04-28 15:31:30 +00:00
Duncan Mak a355c9c1f8 2002-04-28 Duncan Mak <[email protected]>
* ArrayList.cs (ReadOnly):
	(IList.ReadOnly): Implemented.

	(Synchronized):
	(IList.Synchronized): Implemented.

	(ixedSize):
	(IList.FixedSize): Implemented.

svn path=/trunk/mcs/; revision=4112
2002-04-28 15:29:07 +00:00
Rodrigo Moya f8df49915e Excluded files
svn path=/trunk/mcs/; revision=4111
2002-04-28 15:23:23 +00:00
Rodrigo Moya 103a05ea37 Excluded files
svn path=/trunk/mcs/; revision=4110
2002-04-28 15:22:14 +00:00
Rodrigo Moya d34894849b 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataViewManager.cs: new class.

	* System.Data.SqlTypes/INullable.cs: properties for interfaces
	don't have implementation.

	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlString.cs:
	* System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
	these are strctures.

	* System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
	missing 'using's.

svn path=/trunk/mcs/; revision=4109
2002-04-28 15:02:31 +00:00
Rodrigo Moya 547a6d31df 2002-04-28 Rodrigo Moya <[email protected]>
* CollectionChangeAction.cs: new enumeration.

	* CategoryAttribute.cs: moved the 'return' keyword to the
	end of the method, to avoid compilation errors on Linux for
	all CategoryAttribute properties.

svn path=/trunk/mcs/; revision=4107
2002-04-28 13:31:38 +00:00
Rodrigo Moya 9e6ca819a3 2002-04-28 Rodrigo Moya <[email protected]>
* IListSource.cs:
	* ISupportInitialize.cs:
	* MarshalByValueComponent.cs: new stubs, needed for System.Data
	compilation.

	* PropertyChangedEventArgs.cs:
	* CollectionChangeEventHandler.cs:
	* CollectionChangeEventArgs.cs: implemented.

svn path=/trunk/mcs/; revision=4106
2002-04-28 13:11:25 +00:00
Rodrigo Moya 7853193bc3 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataTableRelationCollection.cs: use 'new' keyword
	for correctly hiding parent class' members.
	(AddRange): use 'override' keyword on overriden method.
	(Clear): likewise.
	(Contains): likewise.
	(IndexOf): likewise.
	(OnCollectionChanged): likewise.
	(OnCollectionChanging): likewise.
	(RemoveCore): likewise.

	* System.Data/DataColumnCollection.cs: use 'new' keyword.

	* System.Data/DataSet.cs: added missing 'using's.

svn path=/trunk/mcs/; revision=4105
2002-04-28 13:07:55 +00:00
Rodrigo Moya e509f318eb 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataSet.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/DataView.cs: compilation fixes on Linux.

svn path=/trunk/mcs/; revision=4104
2002-04-28 12:12:06 +00:00
Patrik Torstensson 929749fee5 2002-04-28 Patrik Torstensson <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): remove g_assert_not_reached() to allow
	mcs selfhosting	again (build breaker) and did move the check to class instead. parent is
	allowed to be null when it's System.Object class setup.

svn path=/trunk/mono/; revision=4102
2002-04-28 11:34:51 +00:00
Lawrence Pit eed54e475f Socket permission stuff, not yet used by Socket itself.
svn path=/trunk/mcs/; revision=4101
2002-04-28 09:12:58 +00:00
Nick Drochak b04682edc3 2002-04-28 Nick Drochak <[email protected]>
* makefile: Make NAnt.exe dependant on all the *.cs in src and each sub
	dir.  Since we don't remove it on a 'make clean' it doesn't get rebuilt
	when a new file is added or an existing one changed.

svn path=/trunk/mcs/; revision=4100
2002-04-28 08:55:13 +00:00
Nick Drochak abf5c798b8 2002-04-28 Nick Drochak <[email protected]>
* StringTest.cs: Mark Assert() messages with unique identifiers.
	* DecimalTest.cs: Write out more info in the Report method.  Need this
	to determine why op_Subtraction() is failing in the next line.
	* MathTest.cs:
	* DoubleTest.cs:
	* UInt32Test.cs: Add try-catch blocks to find out where the test is
	failing.

svn path=/trunk/mcs/; revision=4099
2002-04-28 08:45:26 +00:00
Daniel Morgan 2744f2972e 2002-04-28 Daniel Morgan <[email protected]>
* System.Data/DataRelation.cs
	* System.Data/ForeignKeyConstraint.cs
	* System.Data/UniqueConstraint.cs: added more stubs

	* System.Data/DataTableRelationCollection.cs: added back to cvs
	and modified for compile errors.  DataRelationCollection is an
	abstract class and there must be a class that implements for
	DataTable/DataSet.  DataTableRelationCollection was changed
	to an internal class.

	* System.Data.build: modified - new files added
	also wanted to include files/classes in the build
	so we can get a compilable forward read only result set.
	It compiles now using csc/nant with warnings, but this
	is a start for adding functionality for the result set.
	Classes associated with/and DataSet are still excluded.

	* TODO: modified - updated to do list for System.Data

	* System.Data/Constraint.cs
	* System.Data/ConstraintCollection.cs
	* System.Data/DataRelationCollection.cs
	* System.Data/DataRow.cs
	* System.Data/DataRowChangeEventArgs.cs
	* System.Data/DataRowCollection.cs
	* System.Data/DataTable.cs
	* System.Data/DataTableCollection.cs
	* System.Data/InternalDataCollectionBase.cs
	* System.Data/PropertyCollection.cs: modified -
	changes to compile SqlDataReader/DataTable and
	dependencies

	* System.Data/IDbCommand.cs
	* System.Data.SqlClient/SqlCommand.cs: modified -
	un-commented overloaded methods ExecuteReader
	which returns a SqlDataReader

svn path=/trunk/mcs/; revision=4098
2002-04-28 03:59:01 +00:00
Gonzalo Paniagua Javier c853e1750f 2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* Math.cs: fix Floor () and Round (). Closes #23960.

svn path=/trunk/mcs/; revision=4097
2002-04-27 21:40:43 +00:00
Patrik Torstensson ff0e766f9c 2002-04-27 Patrik Torstensson <[email protected]>
* x86.brg: fixed bug in CONV_I8 (invalid stack correction)

svn path=/trunk/mono/; revision=4096
2002-04-27 19:42:40 +00:00
Lawrence Pit 41ebe002d2 added error code for Dns.c
svn path=/trunk/mcs/; revision=4095
2002-04-27 18:52:58 +00:00
Martin Baulig 23960afc5d 2002-04-27 Martin Baulig <[email protected]>
* jit.h (MonoFlowGrap): Renamed `epilogue_begin' to `epilogue_end',
	there's already `epilog' so we don't need `epilogue_begin'.

	* debug.c (mono_debug_add_method): Use `cfg->epilogue_end' to get the
	size of the method's code.

svn path=/trunk/mono/; revision=4094
2002-04-27 17:02:35 +00:00
Martin Baulig 58b198e7d8 2002-04-27 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): g_assert_not_reached()
	if `tb->parent == NULL' rather than crashing.

svn path=/trunk/mono/; revision=4092
2002-04-27 12:45:34 +00:00
Nick Drochak d725fa7561 2002-04-28 Nick Drochak <[email protected]>
* sysmath.c (ves_icall_System_Math_Asin): Fix copy-paste error.  Was
	calling acos() where asin() should have been called.

svn path=/trunk/mono/; revision=4091
2002-04-27 11:43:06 +00:00
Nick Drochak de8c096821 2002-04-28 Nick Drochak <[email protected]>
* ArrayTest.cs (TestIList_IndexOf): Display exception details if we get
	an unexpected one.

svn path=/trunk/mcs/; revision=4090
2002-04-27 11:26:08 +00:00
Martin Baulig d343b8162d 2002-04-27 Martin Baulig <[email protected]>
* corlib.build: Added new "mcs-build" target to compile corlib
	with mcs. This doesn't work yet - it's just to test mcs to find
	and fix the remaining bugs.

svn path=/trunk/mcs/; revision=4089
2002-04-27 11:23:36 +00:00
Nick Drochak a18efee8fe Flush
svn path=/trunk/mcs/; revision=4088
2002-04-27 11:18:30 +00:00
Nick Drochak 1f251293b0 2002-04-27 Nick Drochak <[email protected]>
* Array.cs (IList.Contains): Should throw a RankException if this is
	called on a Rank > 1 array. Not in the docs, but this is what the
	MS.NET does.

svn path=/trunk/mcs/; revision=4087
2002-04-27 11:12:10 +00:00
Lawrence Pit 6b6aeee0b8 removed CookieContainerTest
svn path=/trunk/mcs/; revision=4086
2002-04-27 11:10:06 +00:00
Lawrence Pit 04dac1507b SecurityElement fixed and several methods implemented, added test unit
svn path=/trunk/mcs/; revision=4085
2002-04-27 10:49:32 +00:00
Rodrigo Moya ecafe67718 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataTableCollection.cs: more implementation.
	(Count): added 'override' keyword, as pointer out by Martin.

	* System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
	only call Array.Copy when there is really stuff to be copied.
	(CopyTo): don't create the temporary array, it's not needed.

	* System.Data.build: excluded newly added file from build.

svn path=/trunk/mcs/; revision=4084
2002-04-27 10:14:23 +00:00
Rodrigo Moya dce0505870 Exclude newly added file from build
svn path=/trunk/mcs/; revision=4083
2002-04-27 09:55:13 +00:00
Rodrigo Moya f6618bf3cf 2002-04-27 Rodrigo Moya <[email protected]>
* System.Data/DataTableRelationCollection.cs: removed, it's not
	on MS SDK documentation.

	* System.Data/DataTableCollection.cs: new class.

svn path=/trunk/mcs/; revision=4082
2002-04-27 08:47:16 +00:00
Christian Meyer fa24e15012 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4081
2002-04-27 07:43:53 +00:00
Christian Meyer 744f90d9d5 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4080
2002-04-27 07:34:21 +00:00
Daniel Morgan bcaf8e4bba 2002-04-27 Daniel Morgan <[email protected]>
* System.Data/DataRowChangeEventArgs.cs
	* System.Data/DataRowCollection.cs
	* System.Data/DataView.cs
	* System.Data/PropertyCollection.cs: added new stubs

	* System.Data.build: modified - added new files to exclude
	from build

	* TODO: modified - removed files from TODO list
	that were stubbed above

	* System.Data/DataColumn.cs
	* System.Data/DataRow.cs: modified - various tweaks
	and added internal method SetTable to set the reference
	to a DataTable

	* System.Data/DataSet.cs: modified - class was not
	completely stubbed.

	* System.Data/DataTable.cs: modified - temporarily commented
	DataSet and DataView references - trying to compile a SqlDataReader,
	DataTable, and dependencies for a forward read-only result set.
	SqlDataAdapter, DataSet, and DataView will come later once we can get
	a forward read only result set working.

	* System.Data/IDataRecord.cs: modified - source code lines should
	not be > 80

	* System.Data/InternalDataCollectionBase.cs: modified - started
	implementing this base class for collection of data rows,
	columns, tables, relations, and constraints

	* System.Data.SqlClient/SqlException.cs: modified -
	call base(message) so a unhandled exception displays
	the message of a SQL error instead of the
	default SystemException message

	* Test/TestSqlException.cs: modified -
	handle the rollback properly for a SqlException on a
	failure to connect

svn path=/trunk/mcs/; revision=4079
2002-04-27 05:23:49 +00:00
Duncan Mak 6f28d17354 Flush
svn path=/trunk/mcs/; revision=4078
2002-04-26 22:30:17 +00:00
Duncan Mak 14e0bb8011 2002-04-26 Duncan Mak <[email protected]>
* MissingMemberException.cs: Made the message variable 'protected'
	instead of 'private', so that we can see it in
	MissingMethodException and MissingFieldException.

	* MissingFieldException.cs:
	* MissingMethodException.cs: Added missing (string, string)
	constructor, and also the Message property.

svn path=/trunk/mcs/; revision=4077
2002-04-26 22:19:18 +00:00
Miguel de Icaza 35f81a9ad2 Patch from Lawrence to catch correct entry points:
2002-04-22  Lawrence Pit <[email protected]>

	* class.cs:
	  - added method Report28 (warning: program has more than one entry point)
	  - added method IsEntryPoint, implements paragraph 10.1 of the spec
	  - modified method Method.Define, the part at the end of the method

	* rootcontext.cs: added static public Location EntryPointLocation;

	* ../errors/cs0028.cs : Add test case for the above warning.

	* typemanager.cs:
	  - modified method CSharpName to allow arrays of primitive type to
	    be printed nicely (e.g. instead of System.Int32[][] it now prints
	    int[][])
	  - added method CSharpSignature: returns the signature of a method
	    in string format to be used in reporting errors, warnings, etc.

	* support.cs: InternalParameters.ParameterDesc variable tmp initialized
	with String.Empty.

svn path=/trunk/mcs/; revision=4076
2002-04-26 22:00:13 +00:00
Duncan Mak e3d5655992 2002-04-26 Duncan Mak <[email protected]>
* ValidationHandler.cs: New file.

	* XmlSchemaInfo.cs: New file.

	* *.cs: More updates from Ajay.

svn path=/trunk/mcs/; revision=4075
2002-04-26 21:39:13 +00:00
Lawrence Pit d75e0b9d00 Cookie test units
svn path=/trunk/mcs/; revision=4074
2002-04-26 20:40:08 +00:00
Lawrence Pit 3a3ec990f9 Cookie support
svn path=/trunk/mcs/; revision=4073
2002-04-26 20:30:25 +00:00
Ravi Pratap M 7b198a23c7 2002-04-26 Ravi Pratap <[email protected]>
* delegate.cs (Define): Fix extremely silly bug where I was
	setting the type of the 'object' parameter of the BeginInvoke
	method to System.IAsyncResult instead of System.Object ;-)

svn path=/trunk/mcs/; revision=4072
2002-04-26 20:22:54 +00:00
Ravi Pratap M df9ce58485 2002-04-26 Ravi Pratap <[email protected]>
* test-105.cs, test-106.cs, test-107.cs : Add.

svn path=/trunk/mcs/; revision=4071
2002-04-26 20:21:26 +00:00
Miguel de Icaza 663bbf0c49 2002-04-26 Miguel de Icaza <[email protected]>
* class.cs (ConstructorInitializer.Resolve): Also use DeclaredOnly
	here.

	(Constructor.Emit): return if we fail to initialize the
	constructor.  Another door closed!

	* expression.cs (New.DoResolve): Improve error message (from -6 to
	1501).  Use DeclaredOnly lookup to find the exact constructor.

	* typemanager.cs (MemberLookup): If DeclaredOnly is set, do not
	loop.  This is useful.

svn path=/trunk/mcs/; revision=4070
2002-04-26 19:33:52 +00:00
Miguel de Icaza 7fe683fc46 Add more test cases
svn path=/trunk/mcs/; revision=4069
2002-04-26 19:33:03 +00:00
Miguel de Icaza 5b47db1106 2002-04-26 Miguel de Icaza <[email protected]>
* cs-parser.jay: Adjust the default parameters so that destructors
	have the proper signature.

svn path=/trunk/mcs/; revision=4068
2002-04-26 18:54:15 +00:00
Martin Baulig 7bf9738f4a 2002-04-26 Martin Baulig <[email protected]>
* driver.cs (LoadAssembly): If `assembly' contains any characters
	which are only valid in path names and not in assembly names
	(currently slash, backslash and point), use Assembly.LoadFrom ()
	instead of Assembly.Load () on the `assembly' (before iteration
	over the link_paths).

svn path=/trunk/mcs/; revision=4067
2002-04-26 17:41:04 +00:00
Martin Baulig 0dba388fd2 2002-04-26 Martin Baulig <[email protected]>
* cs-tokenizer.cs (is_hex): Correctly handle lowercase chars.

svn path=/trunk/mcs/; revision=4066
2002-04-26 16:33:35 +00:00
Joe Shaw 700e54469e 2002-04-26 Joe Shaw <[email protected]>
* Marshal.cs (StructureToPtr): stub this out.

svn path=/trunk/mcs/; revision=4065
2002-04-26 16:11:53 +00:00
Martin Baulig a580c3b9fc 2002-04-26 Martin Baulig <[email protected]>
* CompilerBase.cs (WriteOption): New virtual method.  The default
	implementation writes CSC-style command line options, but it can
	be overridden in derived class to write mcs-style command line
	arguments.
	(ExecuteTask): Use the new virtual `WriteOption' method to write
	options.

	* CscTask.cs (WriteOptions): Use the new `WriteOption' method.

	* McsTask.cs: New file.

svn path=/trunk/mcs/; revision=4064
2002-04-26 15:51:09 +00:00
Lawrence Pit cbfe3aa7d3 Mail interfaces, not yet sending out mails though
svn path=/trunk/mcs/; revision=4063
2002-04-26 15:02:02 +00:00
Jaime Anguiano Olarra 563562e3c7 Added mono-contributing-howto
svn path=/trunk/mono/; revision=4062
2002-04-26 15:01:05 +00:00
Jaime Anguiano Olarra d7d711c99d Added a link to the mono-doc-contributing-howto
svn path=/trunk/mono/; revision=4061
2002-04-26 14:52:44 +00:00
Martin Baulig eb430961c9 2002-04-26 Martin Baulig <[email protected]>
* assembly.c (default_assembly_name_resolver): Use G_FILE_TEST_IS_REGULAR
	instead of G_FILE_TEST_EXISTS - if you're in mcs/class/corlib/System/Test,
	there's a subdirectory called `System', but we don't want to read that
	subdirectory as an assembly.

svn path=/trunk/mono/; revision=4060
2002-04-26 13:49:51 +00:00
Martin Baulig 68a9520f1f 2002-04-26 Martin Baulig <[email protected]>
* gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
	to implement C# support.

	* csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
	source directory after applying the patch.

svn path=/trunk/mcs/; revision=4059
2002-04-26 13:47:27 +00:00
Martin Baulig 411f07fa9b 2002-04-26 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (DieInternalString): Removed.

svn path=/trunk/mcs/; revision=4058
2002-04-26 13:46:04 +00:00
Martin Baulig 5f286085c2 2002-04-26 Martin Baulig <[email protected]>
* ModuleBuilder.cs (DefineDocument): Implemented.

svn path=/trunk/mcs/; revision=4057
2002-04-26 13:42:35 +00:00
Martin Baulig 7bdd9aed56 2002-04-26 Martin Baulig <[email protected]>
* Enum.cs: Implemented the IConvertible methods.

svn path=/trunk/mcs/; revision=4056
2002-04-26 13:40:00 +00:00
Miguel de Icaza 4599995602 Add links to binary packages
svn path=/trunk/mono/; revision=4055
2002-04-26 12:18:36 +00:00
Miguel de Icaza a095778111 Couple of fixes
svn path=/trunk/mono/; revision=4054
2002-04-26 12:16:03 +00:00
Miguel de Icaza da1e630fce 2002-04-25 Miguel de Icaza <[email protected]>
* class.cs (Property): use the new typemanager.MemberLookup

	(TypeContainer.MemberLookup): Implement using the
	TypeManager.MemberLookup now.

	* typemanager.cs: Make MemberLookup a function of the TypeManager,
	and return MemberInfos, so that these can be used without an
	EmitContext (what we had before).

svn path=/trunk/mcs/; revision=4052
2002-04-25 17:55:39 +00:00
Martin Baulig 3c2d36e4ba 2002-04-25 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_string_type): Reflect latest MonoString
	changes.

svn path=/trunk/mono/; revision=4051
2002-04-25 15:43:29 +00:00
Martin Baulig 7f131f0faa 2002-04-25 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoString changes.

svn path=/trunk/mono/; revision=4050
2002-04-25 15:34:47 +00:00
Martin Baulig 82735a1afa 2002-04-25 Martin Baulig <[email protected]>
* MonoDwarfFileWriterCs: Reflect latest MonoString changes.

svn path=/trunk/mcs/; revision=4049
2002-04-25 15:33:57 +00:00
Gonzalo Paniagua Javier e06def126d 2002-04-25 Gonzalo Paniagua Javier <[email protected]>
* SByte.cs: little change in Parse (string) to avoid incorrect
	OverflowException thrown (reported by nickd).

svn path=/trunk/mcs/; revision=4048
2002-04-25 12:24:36 +00:00
Jaime Anguiano Olarra 34c66300cf Added reference to the mono-contribution-howto
svn path=/trunk/mono/; revision=4047
2002-04-25 11:01:55 +00:00
Jaime Anguiano Olarra 346f102b31 Added the mono-contribution-howto.
svn path=/trunk/mono/; revision=4046
2002-04-25 11:01:03 +00:00
Paolo Molaro 6ceb00ce4c Thu Apr 25 16:38:01 CEST 2002 Paolo Molaro <[email protected]>
* rand.c, rand.h: instance method icalls need to have an explicit
	this pointer as first argument in the C implementation.

svn path=/trunk/mono/; revision=4045
2002-04-25 10:53:43 +00:00
Nick Drochak cb8e16ccd7 2002-04-25 Nick Drochak <[email protected]>
* icall.c: Fix typo in map for GetNonZeroBytes

svn path=/trunk/mono/; revision=4044
2002-04-25 10:35:04 +00:00
Dietmar Maurer 6b5671eba5 new test
svn path=/trunk/mono/; revision=4043
2002-04-25 09:45:31 +00:00
Dan Lewis 1502eaa623 2002-04-25 Dan Lewis <[email protected]>
* io.c: unitialized pointer in GetCurrentDirectory.

svn path=/trunk/mono/; revision=4041
2002-04-25 06:54:04 +00:00
Dietmar Maurer 3d0fca8266 2002-04-25 Dietmar Maurer <[email protected]>
* x86.brg: enable stmt: STIND_I4 (addr, coni4) again,
	added CONV_OVF_I4 (fix bug #23808)

svn path=/trunk/mono/; revision=4040
2002-04-25 04:21:07 +00:00
Miguel de Icaza 063ef32785 Updated docs
svn path=/trunk/mono/; revision=4036
2002-04-24 22:37:08 +00:00
Miguel de Icaza cf4ead42cf Prepare for 0.11 release, fix makefile
svn path=/trunk/mono/; revision=4035
2002-04-24 22:27:11 +00:00
5612 changed files with 602785 additions and 134772 deletions

No files matched your search

+372
View File
@@ -1,3 +1,374 @@
2002-12-06 Duncan Mak <[email protected]>
* data/Makefile.am (EXTRA_DIST): Add machine.config
(DISTCLEANFILES): Add config.
2002-11-30 Daniel Morgan <[email protected]>
* man/sqlsharpcli.1: added file - a man page
for SQL# CLI
* man/Makefile.am: added sqlsharpcli.1 to man_MANS
2002-11-20 Daniel Morgan <[email protected]>
* doc/firebird: updated web page
2002-11-19 Mike Kestner <[email protected]>
* data/Config.in : added the gtk# dll mapping entries
2002-11-19 Daniel Morgan <[email protected]>
* doc/firebird: updated web page based on input
from the firebird .net data provider author
Mon Nov 18 16:40:34 CET 2002 Paolo Molaro <[email protected]>
* configure.in, mono/os/gc_wrapper.h: check that the gc headers have
been installed.
2002-11-12 Daniel Morgan <[email protected]>
* doc/oledb
* doc/odbc
* doc/mysql
* doc/sqlite
* doc/sqlclient
* doc/tdsclient
* doc/sybase
* doc/firebird: added web pages
for each specific data provider
* doc/ado-net
* doc/postgresql: updated web page
with current status
* doc/web/commands
* doc/web/makefile: updated to include
new web pages
2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* autogen.sh: make it work when MONO_PATH is set and it has more than
one directory or ends in ":". Also check that the directory added to
ACLOCAL_FLAGS and PATH exist (aclocal fails if they don't).
2002-10-22 Miguel de Icaza <[email protected]>
* configure.in: Also allow the miss-spelled bohem.
2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net
* doc/postgresql
* doc/tds-providers: cleaned up the web pages
* doc/web/commands: postgresql.html page was mistyped
2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net: updated status of
the ADO.NET functionality and providers
and added link to tds-providers.html
* doc/tds-providers: added file to
describe the design and status of
the SqlClient, SybaseClient, and TdsClient
ADO.NET providers.
* doc/web/makefile
* doc/web/command: added new web page
tds-providers.html to build of www.go-mono.com web site
2002-10-17 Daniel Morgan <[email protected]>
* doc/web/makefile
* doc/web/commands: web page
postgresql needed to be added
2002-10-13 Mark Crichton <[email protected]>
* doc/index: Even more spelling errors fixed.
2002-10-13 Daniel Morgan <[email protected]>
* doc/adonet: updated status of all providers, added links,
and added information
about the Mono.Data.SqliteClient provider that
Vladimir Vukicevic contributed. Added Brian Ritchie's
and Vladimir Vukicevic's email addresses as
people to contact about ADO.NET in Mono.
Added information about SQL#, configuration tools,
and an ADO.NET Multiplexor, etc...
2002-10-10 Daniel Morgan <[email protected]>
* doc/index: corrected some mistypes
* doc/adonet: updated the status and plans of all the ADO.NET providers
and moved PostgreSQL specific stuff to doc/postgresql
* doc/postgresql: added new file to detail
the status of the PostgreSQL ADO.NET provider
and provide test notes for setting it up
2002-10-09 Daniel Morgan <[email protected]>
* data/config.in: add entry for MySQL native shared libraries
which are different on Windows and Linux
2002-10-04 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Fixed some ugly formatting.
2002-10-03 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Freebsd pthread_t is a pointer
2002-10-01 Duncan Mak <[email protected]>
* mono/os/Makefile.am: Add gc_wrapper.h.
* runtime/Makefile.am: Fix the path for monoresgen.exe.
2002-09-27 Dick Porter <[email protected]>
* configure.in: Check for semaphore.h. Patch for BSD from
[email protected] (Julio Merino).
2002-09-20 Duncan Mak <[email protected]>
* data/config.in: Added reference to libxslt.
2002-09-20 Mark Crichton <[email protected]>
* configure.in: added NEED_LINK_UNLINK to make io-layer more portable.
Linux has a "virtual fs" for UNIX sockets, Solaris and BSD don't.
For systems that do not have such a virtual FS, define
NEED_LINK_UNLINK.
* acconfig.h: added NEED_LINK_UNLINK
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: add some needed defines to fix support of
threads in the GC.
2002-09-19 Mark Crichton <[email protected]>
* configure.in: Added checks for Solaris to use X/Open functionality.
Really needed for the io-layer code.
2002-09-15 Andrew Birkett <[email protected]>
* man/mcs.1: --probe is now --expect-error.
2002-09-09 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Simplify thread checks, by using canned rules for
particular systems (based on the sleepycat db configure.in).
Tested on linux/x86, freebsd and w32. Solaris also added, but I
don't have a solaris machine to try it on.
2002-09-04 Juli Mallett <[email protected]>
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.
2002-09-02 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
Security) to the OpenSSH keys required by mono CVS
access.
2002-09-01 Juli Mallett <[email protected]>
* configure.in, mono/interpreter/interp.c,
mono/io-layer/handles.c, mono/io-layer/processes.c,
mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
mono/metadata/appdomain.c, mono/metadata/class.c,
mono/metadata/domain.c, mono/metadata/gc.c,
mono/metadata/object.c, mono/metadata/reflection.c,
mono/metadata/threads.c, mono/os/gc_wrapper.h,
mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
wrap inclusion of gc.h for boehm, since from FreeBSD and
OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
in <gc/gc.h>. This will reduce the diffs FreeBSD ports has
to apply, and also makes it possible for me to build with
GC on OpenBSD/macppc built by hand.
2002-09-01 Juli Mallett <[email protected]>
* configure.in: On BSD don't try to use -ldl, we simply don't use it.
2002-09-01 Juli Mallett <[email protected]>
* mono/dis/dis-cil.c:
* configure.in: Check for <wchar.h> via autoconf, don't use it if
it isn't there, as it seems to work fine without it on OpenBSD.
2002-08-28 Dick Porter <[email protected]>
* mono/os/win32/util.c:
* mono/os/unix/util.c:
* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
(It doesn't do anything on unix builds, and the w32 version no
longer needs an arg.)
* configure.in: Add HOST_CC for w32 builds
Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: remove iconv checks.
2002-08-24 Juli Mallett <[email protected]>
* configure.in: Recognise OpenBSD/macppc as PowerPC.
Tue Aug 20 15:15:52 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: patch by [email protected] (Daniel Resare)
to error out if bison is missing.
2002-08-17 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't link against libdl on windoze.
2002-08-12 Dick Porter <[email protected]>
* mono.pc.in: Add $includedir to Cflags
Fri Jul 19 18:38:38 CEST 2002 Paolo Molaro <[email protected]>
* configure.in, Makefile.am, mono.pc.in: add a mono.pc file for use
with pkg-config.
* */Makefile.am: makefile overhaul to create a shared libmono library.
* */*.h: do not include config.h in headers that should be installed.
2002-07-12 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Check the size of sockaddr_un.sun_path
2002-06-23 Miguel de Icaza <[email protected]>
* man/Makefile.am (man_MANS): Added new man page
* man/mono-config.5: New manual page describing the mono-config
file format.
2002-06-10 Jaroslaw Kowalski <[email protected]>
* configure.in: added checks for MSG_NOSIGNAL
2002-05-30 Daniel Morgan <[email protected]>
* doc/ado-net: update the ado-net web page on go-mono.com
input parameters support, beginnings of Mono.Data.MySQL
and System.Data.OleDb, updated the sample source code,
and output from a PostgresTest
2002-05-21 Martin Baulig <[email protected]>
* mono.1: Documented the "--debug-args" debugging arguments.
2002-05-21 Martin Baulig <[email protected]>
* mono.1: Updated to reflect my latest changes and beautified this a bit.
(FIXME: There are still command line argument which aren't documented here.)
2002-05-19 Daniel Morgan <[email protected]>
* doc/ado-net: updated page to include C# code snippets using
System.Data. Update status: handle reading NULL values, DataSet/DataAdapter
works, executing/reading multiple results, and stored procedures.
And other tweaks about the providers.
2002-05-19 Martin Baulig <[email protected]>
* mono/Makefile.am (SUBDIRS): Added `os', it's referenced by
interpreter/Makefile.am.
Wed May 15 12:22:09 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: search for pthread functions also in libc_r (patch
from Garrett Rooney <[email protected]>).
2002-05-11 Daniel Morgan <[email protected]>
* doc/ado-net: added instructions for installing PostgreSQL on Linux
and for using nant to re-compile just the System.Data.dll assembly
on Windows.
2002-05-10 Rodrigo Moya <[email protected]>
* doc/ado-net: added instructions for compiling System.Data.dll
(a subset of) on Linux.
2002-05-10 Daniel Morgan <[email protected]>
* doc/ado-net: added links
2002-05-09 Dick Porter <[email protected]>
* configure.in: Set CPPFLAGS not CFLAGS (bug 23767)
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: correct formatting
* doc/index: added credit i forgot to add
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: i did not format it correctly earlier, i
tried added various tags where appropriate.
* doc/index: added news item for May 5, 2002 - ado.net able
to retrieve data now
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated the current status which
I kept forgetting to do.
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to includes an example for
running ipc-daemon as a Windows service. Thanks
to gonzalo.
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to include installation of
PostgreSQL DBMS under cygwin. It is a TODO for Linux though.
Also included notes on running the System.Data/Test/PostgresTest.cs
that should work on a lot of Mono installations that have
PostgreSQL installed. If not please let me, rodrigo, or gonzalo
know.
2002-05-01 Rodrigo Moya <[email protected]>
* doc/ado-net: updated a little bit.
2002-04-30 Jeffrey Stedfast <[email protected]>
* configure.in: Added checks for timezone stuff.
2002-04-30 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Added option to disable using shared memory for
handles
2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fix for conditional "THREADS_PTHREAD" was never
defined problem under cygwin with latest version of automake and
autoconf. Patch from Jeroen Janssen <[email protected]>.
2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* configure.in: removed -Wshadow from CFLAGS.
@@ -392,3 +763,4 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
* NEWS:
+7 -1
View File
@@ -1,3 +1,9 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = mono doc docs runtime scripts man
SUBDIRS = mono doc docs runtime scripts man data
EXTRA_DIST= mono.pc.in mono.spec.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= mono.pc
DISTCLEANFILES= mono.pc
+794
View File
@@ -1,3 +1,797 @@
Hello!
Version 0.16 of Mono has been released! This is mostly a bug
fix release, a lot of work has been going on to make existing
features more robust and less buggy. Also, contributions are
too varied, so it is hard to classify them in groups.
* Stats
795 commits to mono and mcs since August 23rd.
* News
The changes that got in this releases are mostly
bugfixes. Miguel, Martin and Ravi attacked lots of bugs in the
compiler, Dick fixed a bunch of bugs related to processes and
threads. Mark Crichton resumed his work on the SPARC port and
made lots of progress there. Juli Mallett has been working on
making sure Mono also builds on BSD systems. As usual, Dietmar
and Paolo supplied their continuous stream of fixes to the
runtime.
Dietmar has completed the work on the runtime side for
remoting support and we ship now with a sample channel, the
System.Runtime.Remoting.Sample. This can be used as a
reference implementation for anyone interested in implementing
other channels (like a CORBA channel).
Duncan got preliminary XSLT support done by using
libxslt.
Gonzalo (with some help from Patrik) has been working hard
making our ASP.NET implementation work on both Mono and MS by
migrating the existing xsp code to the class library. Gaurav
started working on the classes in System.Design.dll and Chris
Toshok checked in Mono.Directory.LDAP, which will be the
foundation to implement the System.DirectoryServices assembly.
Various fixes from Kral, Jason, Piers and Gonzalo were
committed to System.Xml; Martin Algiers reports that the
upcoming NAnt release will be fully compatible with Mono.
Miguel imported Sergey Chaban's Mono.PEToolkit and ilasm code
to CVS. Nick, as always, continues to refine our testing
framework by improving our tests. Andrew Birkett continues to
improve the implementation of our security/cryptographic
classes. Jonathan Pryor contributed type-reflector the our
list of tools.
* Other News From Behind de Curtain.
While the above is pretty impressive on its own, various other
non-released portions of Mono have been undergoing: Adam Treat
has been leading the effort to document our class libraries
and produce the tools required for it.
Martin Baulig has been working on the Mono Debugger which is
not being released yet. This debugger allows both native
Linux application as well as CIL applications to be debugged
at the same time (and in fact, you can use this to debug the
JIT engine). The debugger is written in C# with some C glue
In the meant A new JIT engine is under development, focused on
adding more of the high-end optimizations which will be
integrated on an ahead-of-time-compiler. Dietmar and Paolo
have been working on this.
* Contributors to this release
* Non-Ximian developers: Adam Treat, Andrew Birkett, Dennis
Hayes, Diego Sevilla, Franklin Wise, Gaurav Vaish ,Jason
Diamond, Johannes Roith, John Sohn, Jonathan Pryor, Juli
Mallett, Kral Ferch, Mike Crichton, Nick Drochak, Nick
Zigarovich, Piers Haken, Rafael Teixeira, Ricardo Fernandez
Pascual, Sergey Chaban, Tim Coleman.
* Ximian developers: Dietmar, Paolo, Dick, Duncan, Ravi,
Miguel, Martin, Chris, Joe, Gonzalo, Rodrigo.
---------------------------------------------------------------------------------
* Sergey Chaban added thread-safe support to
System.Collections.SortedList.
* Fixes to the compiler by Andrew Birkett.
* Tim Coleman contributed the OleDb provider for System.Data and started
work on System.Web.Services.
* Radek fixed a lot of problems on the PPC side. [*]
* Miguel and Martin committed the new type lookup system.
* Dietmar rewrote the marshalling code. [*]
* Peter Williams and Martin contributed the new Makefiles, with help
from Alp Toker as well.
* Contributors to this release:
* Non-Ximian developers: Nick Drochak, Martin Baulig, Tim
Coleman, Mike Kestner, Alp Toker, Jonathan Pryor, Jaime
Anguiano, Piers Haken, Rafael Teixeira, Mark Crichton,
Sergey Chabon, Ajay Kumar Dwivedi, Andrew Birkett, Dennis
Hayes (SWF), Adam Treat, Johannes Roith and Lawrence Pit.
* Ximian developers: Duncan, Ravi, Dick, Dietmar, Paolo,
Gonzalo, Rachel, Radek, Rodrigo, Jeff, Peter Williams and
Miguel.
Special thanks to Duncan for helping me put this release together.
Hello!
A new version of Mono (0.12), is out.
Mono is an open source implementation of the Microsoft.NET
Framework, and ships with a C# compiler, a runtime engine
(with a JIT on x86 cpus) and a set of class libraries.
Mono is know to work on a number of platforms:
x86/Linux, x86/Windows, x86/FreeBSD; sparc/solaris;
linuxppc/linux; strongarm/linux.
There have been many changes since the last release of Mono in
late April, thanks to Duncan for assembling the list of new
features, any omissions are my fault.
Changes since 0.11:
It is hard to keep track of the changes, as there are 1632
patches that were posted to the mailing list. One third of
the total number of patches since we opened mono-patches
list. I am sure I missed some stuff and probably missed some
contributors. I apologize in advance.
Runtime:
Paolo: New Reflection.Emit generation code generates
code that can be executed in Windows. Now binaries
generated by Mono/MCS will run on Windows.
Paolo got Activator.CreateInstance to work.
Sergey's CPU-optimization for CPBLK.
Many many bug fixes to the runtime from Dick, Dan
Lewis, Dietmar, Gonzalo, Martin, Paolo, Radek and Sergey,
Compiler:
Many bug fixes: The compiler can now compile Gtk#,
Vorbis#, System.Data assembly and System.Xml assembly
which previously did not work (Dietmar, Miguel, Paolo,
Piers, Ravi, Miguel). Thanks to all the bug
reporters.
Class Libraries:
Mike started work on System.Xml.XPath
Christian, Dennis, Daniel and friends got more stubs
for System.Windows.Forms in.
Ajay revamped System.Xml.Schema. And Jason and Duncan
updated System.Xml
Daniel also checked in a working CodeDOM
implementation and a C# provider.
Many bug fixes by everyone. Thanks to Daniel, Duncan,
Jonathan, Lawrence, Martin Mike, Nick and Piers. I am
missing a lot of contributors that should be listed.
ASP.NET support
A lot of work from Gonzalo allows some small and
modest ASP.NET applications to run (you still need the
unreleased XSP code though).
System.Data:
Integrated the MySQL provider from Brad Merryl.
Lots of work by Dan, Rodrigo, Tim.
Microsoft.VisualBasic runtime support
Rafael and Chris have been working on the VisualBasic
runtime support DLLs
Hello everyone!
Mono 0.11 is out!
This new version has new features:
* Massive:
* Ultrich Kunitz implemented the whole calendar set of
classes. Yes, thats right. The whole thing, with a
complete test suite. Thanks Ultrich!
* JIT/runtime features:
* Martin's debugging framework is included (see web
site for details on how to use it). (Martin)
* Transparent Proxy has been implemented for the
runtime (lets you run/debug/hack on remoting for Mono) (Dietmar)
* Inline and constant folding/propagation support
in the JIT engine (Dietmar)
* Profiling support for the JIT engine (--profile).
* Cool runtime hacks, that made our compiler twice as fast:
* New string rewrite: faster, speedier, leaner, cooler!
Paolo had been talking about a new string rewrite,
and super hacker Patrik Torstensson started the
implementation, Dietmar then switched the object
layout and the Mono team helped iron out a few of
the details.
* New array reprensetation: Dan Lewis contributed a new
faster and smaller array implementation.
* Improved Reflection.Emit: Paolo improved our
reflection emit code.
* ADO.NET
* Daniel Morgan, Rodrigo Moya have some pieces of the
Sql classes ready to run. he first signs of life
this week (we can connect, insert rows; do transactions:
commit/rollback; SQL errors and exceptions work).
* Http Runtime
* The HTTP runtime (to be used by our ASP.NET implementation)
was contributed by Patrik Torstensson. Patrik not only
contributed a massive ammount of classes, but he immediately
went on to implement ThreadPools and then helped out with the
new String rewrite.
* XML improvements:
* Kral Ferch and Duncan Mak contributed more
improvements to the XML implementation.
* Work on Xml Serialization from John Donagher.
* Documentation:
* MonoDoc ships for the first time!
(John Barnette, Adam Treat and John Sohn)
* New documentation stubs ready to be filled, and translated
included (thanks to our doc team!)
* General fixes:
* Piers Haken fixed many of our attributes and many
little problems that were exposed by his CorCompare tool
* Many Mono C# compiler bug fixes.
* Other improvements:
* NUnit works on Linux! (Patrik Torstensson)
* More NUnit tests (Nick Drochak)
* Windows.Forms progress: Dennis Hayes and Christian
Meyer have been contributing stubs for the
Windows.Forms work.
* Full Parse implementations and bug fixing by Gonzalo
* Dan Lewis contributed some missing classes for the
Regexp implementation.
* Jonathan's trace classes
* This Month's Mono is brought to you by:
Adam Treat, Chris Podugriel, Christian Meyer, Daniel Lewis,
Daniel Morgan, Dennis Hayes, Dick Porter, Dietmar Maurer,
Duncan Mak, Guarav Vaish, Gonzalo Paniagua, Jaime Anguiano,
Jason Diamond, Joe Shaw, John Barnette, John Donagher, John
Sohn, Jonathan Pryor, Kral Ferch, Martin Baulig, Miguel de
Icaza, Mike Kestner, Nick Drochak, Paolo Molaro, Patrik
Tostensson, Piers Haken, Ravi Pratap, Rodrigo Moya, Sergey
Chanben, Ultrich Kunitz, Wictor Wilen.
I know that I missed some features, there is a lot of work
that happens in a month. I apologize in advance for any
features I omited by accident.
Special thanks go to Duncan for helping out with all those
little details in the project. And also Nick who has been
keeping us in good shape by maintaining and helping new
contributors provide more test suites.
* Reporting bugs
If you find a bug in Mono, please file a bug here:
http://bugzilla.ximian.com
That way we wont loose your bug report, and will be able to
follow up properly with it. Also try to provide simple test
cases whenever possible and try as hard as possible to
identify the root of a problem (compiler, runtime, class
libraries).
* Forum
The [email protected] mailing list is open for
those of you who want to discuss the future of Mono.
Hello everyone!
Mono "Self Hosting" 0.10 is out! (Alex insisted I used the
<blink> tag for "Self Hosting", but was dissapointed when he
realized most mailers dont support this).
Too many things have happened since the the 0.9 release,
almost an entire month. The big news is that we are shipping
a the self-hosting Mono C# compiler. This has been tested on
Linux/x86 only.
Also, we delayed the release for one reason or other, but it
turns out that as a extra bonus, Paolo fixed the last
outstanding bug in the JIT engine, so the compiler now runs in
the JIT engine instead of the interpreter.
The mono-0.10 release includes the libraries required to run
the compiler as well as assorted .NET programs [1].
* What is new
There is so much stuff in this release that is hard to keep
track of it.
Jason, Kral and Duncan have done an amazing job with
System.Xml, up to the point that it is even being used by
gtk-sharp's code generator (and it all comes with great test
suites to verify that it works!). Ajay's XmlSchema code is
also shipped.
Martin worked on our debugging infrastructure (the JIT can
load dwarf files, and our class libraries now generate dwarf
debugging info; we are in the process of adding this to the
compiler, the patch did not make it to this release though).
For the first time the System.Web assembly has built without
all the excludes, so you can get your hands on Gaurav and
Lee's massive code base.
Lots of new tests to the runtime, class libraries and compiler
are included. As always, big thanks go to Nick for continued
guidance to new developers, and writing new tests.
Dan removed the System.PAL dependency, we now have moved to an
internalcall setup for all the System.IO calls, and dropped
the MonoWrapper shared library.
Porting wise: Sergey's StrongARM port is included now; Jeff's
SPARC port and Radek's PowerPC port have been updated to
reflect the new changes in the engine.
Runtime wise: Dietmar also got us asyncronous delegates
implemented. Dick continues his work on our foundation
classes, and has resumed his work on the IO layer.
Paolo is the hero behind self hosting on Linux. Send your
congrats (and wine) to him.
And without the help from Mike, Duco, David, Piers, Nick,
Sergey, Mark, Jonathan, John, Adam and Dennis this release
would have not been possible.
This release is mostly ECMA compatible. I did not expect this
to happen so soon. I am very grateful to everyone who has
made this happen
* The goods
The runtime sources and binaries to the compiler/libraries:
http://www.go-mono.com/archive/mono-0.10.tar.gz
The class and compiler sources:
http://www.go-mono.com/archive/mcs-0.10.tar.gz
* Requirements:
You still need glib-2, and pkg-config. If you plan on
compiling large applications, getting the Boehm GC is a plus
(we will integrate this in a future version, for now it is an
external requirement).
Boehm GC is available in packaged format for Debian and Red
Hat systems.
* To compile on Linux
Do your regular chores with mono-0.10.tar.gz, you know the
drill. In the end, after you reach the `make install' phase,
now you can do some cool stuff.
If you want to compile the compiler (just to try it out),
untar the sources to the compiler (mcs-0.10.tar.gz) and do
manually:
cd mcs-0.10
(cd jay; make)
(cd mcs; make monomcs)
Now you will end up with a nice mcs4.exe in the mcs/mcs
directory, that is the compiler. If you want to use that,
replace the mcs.exe we distribute with the mcs4.exe you got.
* Gadgets
Man pages for mcs, mono and mint are included for your
enjoyment.
Particularly of interest is `mint --profile' which is awesome
to profile your application, the output is very useful.
Also, if you want to impress your friends, you might want to
run the JIT with the `-d' flag, that shows you how the JITer
compiles the code (and shows the basic blocks and the forst of
trees as it goes).
* Next steps
More classes are missing. These are required so we can run
nant and nunit natively. Once we achieve that, we will be
able to ship a complete environment that compiles on Linux.
Currently our makefiles still use csc, as we still need
nunit/nant to work.
[1] Of course, .NET programs that try to use classes we have not yet
implemented, will be left wondering `why did this happen to me?'.
Hello!
I have just uploaded Mono 0.9 to the web server, you can get
the goodies here:
http://www.go-mono.com/archive/mono-0.9.tar.gz
http://www.go-mono.com/archive/mcs-0.9.tar.gz
mono-0.9.tar.gz contains the source code to the runtime (JIT
and interpreter) as well as a pre-compiled version of the
compiler (mcs.exe) and the class libraries.
To compile the compiler and the class libraries, you still
need Windows with the .NET SDK, as our runtime can not host
the compiler completely yet.
* Improved Build System
You can check http://www.go-mono.com/download.html for the
new and fresh compilation instructions. Same requirements as
the last version (pkg-config, glib 1.3.xx need to be
installed).
* What is new:
Compiler can compile about 75% of our regression test suite
on Linux. Most of this work is on the class libraries and
Paolo has been the magician behind the work here.
JIT can run the compiler now (Dietmar)
Mint works on Windows now (Dick).
Application Domains have been implemented (Dietmar)
* Two modes of operation are available, depending on
your needs: share code, or maximize speed (does not
share code). This is described by the the
LoaderOptimization enumeration in .NET.
Corlib no longer has references to mscorlib (Daniel Lewis)
Ports:
PowerPC has been updated (Radek Doulik)
New SPARC port (Jeffrey Stedfast)
Documentation system:
Adam Treat has been working on finishing the Doctools
to maintain the Mono class library documentation. We
still need a GUI editor though.
Tracking progress:
Nick's new tools to track progress are included in
this release.
Many new more regression tests for the class library
(David Brandt, Mark Crichton, Nick Drochak, Bob Doan,
Duco Fijma).
Lots of new code:
Gaurav Vaish (the hacking god behind System.Web),
Chris Podugriel (System.Data) and Mark Crichton (Crypto)
Runtime:
Socket layer is finished (Dick Porter)
Compiler has full support for unsafe code now (Miguel)
Still a few things missing: constant folding is not
finished everywhere and access permissions are not
enforced yet.
Many many many bug fixes everywhere from everyone on the team:
Paolo Molaro, Daniel Lewis, Daniel Stodden, Dietmar
Maurer, Jeff Stedfast, Nick Drochak, Duco Fijma, Ravi Pratap,
Dick Porter, Duncan Mak, Jeff Stedfast and Miguel de Icaza.
I am sorry if I left a major component out of the
announcement, this were some intense 11 days of work.
* What is obviously missing
Currently our System.Reflection.Emit is lacking array and
pointer support, which is why many programs still do not
compile, but this should be taken care of next week.
* How can you help
There are many ways to help the project, check the details
documentation in:
http://www.go-mono.com/contributing.html
You might also want to stop by our IRC channel on
irc.gnome.org, channel #mono if you are interested in
contributing.
Have a happy weekend!
Miguel.
Hey guys!
Mono 0.7 has been released.
It has been a long time since the last release of Mono (almost
three weeks). We have made an incredible ammount of work in the past
three weeks.
* Highlights of this release:
* The monoburg: BURS-instruction selector implemented (for our
portable JIT engine).
* JIT engine works for very simple programs (Fibonacci works
for instance). It is about 30% faster running than the
equivalent code compiled with Kaffe.
The interesting part is that this was accomplished with the
a minimum register allocator, and very simple monoburg
rules, so there is a *lot* of room to improve here.
* The Interpreter has madured a lot. Value Types are fully
supported now; We dropped the FFI dependency, as we now
have our own code generator.
* The runtime has been expanded and extended as to support
real file I/O (including console I/O). So Hello World works
in there.
* The compiler can generate code for most statements now; It
also performs semantic analysis on most expressions.
Creation of new objects is supported, access to parameters,
fields and local variables works. Method invocation works.
Implicit type conversions, assignments and much more.
Operator overloading is implemented, but broken on this
release, hopefully this will be fixed soon.
Delegates and Attributes are now declared and passed around,
but no code generation for those exist yet.
* More classes (look for details). Sergey and Paolo have been
working on various classes in System.Reflection.Emit to get
the compiler self-hosting.
* NUnit is now part of the distribution, so it should be
trivial to write test cases (and if you want to help out,
this is one way to do it, we really need more tests cases).
I am going to try to switch to Nick's JB for C# this week or next
week. But the excitement of having the compiler deal with real C#
programs is too much to be contained, and I can not keep my hands of
the code generation in the compiler.
* Availability:
http://www.go-mono.com/archive/mono-0.7.tar.gz
http://www.go-mono.com/archive/mcs-0.7.tar.gz
* Details
Class Library Changes:
Many enumerations have been revamped to have the same value
definitions as those in .NET as those cause problems. They were also
missing the [Flags] attributes, so we got that right too.
* System
SerializableAttribute impl (Miguel)
String updates (Jeff)
System.Char (Ravi)
* System.Configuration
ConfigurationSettings impl (Christopher Podurgiel)
SingleTagSectionHandler impl (Christopher Podurgiel)
DictionarySectionHandler impl (Christopher Podurgiel)
* System.Collections.Specialized
NameObjectCollectionBase impl (Nick Drochak)
* System.Diagnostics
StackFrame stubs (alexk)
StackTrace stubs (alexk)
* System.IO
File stubs (Jim Richardson)
IOException impl (Paolo)
StreamWriter impl (Dietmar)
StreamReader stubs (Dietmar)
* System.Net
ConnectionModes (Miguel)
ProxyUseType (Miguel)
WebStatus (Miguel)
* System.Reflection
Assembly (stubs) (Paolo)
MethodBase (Paolo)
MethodInfo (Paolo)
* System.Reflection.Emit
EventToken (Sergey)
FieldToken (Sergey)
FlowControl (Sergey)
ILGenerator (stubbed) (Paolo)
Label (Paolo)
MethodToken (Sergey)
OpCode.cs (Sergey)
OpCodeType (Sergey)
OpCodes.cs (Sergey)
OperandType (Sergey)
PEFileKinds (Paolo)
PackingSize (Sergey)
ParameterToken (Sergey)
PropertyToken (Sergey)
SignatureToken (Sergey)
StackBehaviour (Sergey)
StringToken (Sergey)
TypeToken (Sergey)
* System.Threading
Most classes stubbed out by Dick Porter (Dick)
* System.Web
HttpWorkerRequest stubs (Bob Smith)
* System.Web.Hosting (Bob Smith)
AppDomainFactory stubs (Bob Smith)
ApplicationHost stubs (Bob Smith)
IAppDomainFactory stubs (Bob Smith)
IISAPIRuntime stubs (Bob Smith)
ISAPIRuntime stubs (Bob Smith)
SimpleWorkerRequest stubs (Bob Smith)
* System.Web.UI
LiteralControl implemented (Bob Smith)
HtmlContainerControl bugfixes (Bob Smith)
BuildMethod
BuildTemplateMethod
HtmlTextWriterAttribute
HtmlTextWriterStyle
HtmlTextWriterTag
IAttributeAccessor
IDataBindingsAccessor
INamingContainer
IParserAccessor
IPostBackDataHandler
IPostBackEventHandler
IStateManager
ITagNameToTypeMapper
ITemplate
IValidator
ImageClickEventHandler
OutputCacheLocation
PersistanceMode
StateItem
* System.Web.UI.HtmlControls
HtmlAnchor impl (Leen Teolen)
HtmlTextArea impl (Leen Teolen)
* System.Web.UI.WebControls
WebControl.cs (Gaurav Vaish)
* System.XML
Lots of enumerations (Miguel)
(will add later)
* Add loads of enumerations throughout (Sergey)
(will add later)
Compiler Changes:
* Assignment (Miguel)
* expression semantic analysis (Miguel)
* constructor creation, chaining (Miguel)
* Unified error reporting (Ravi)
* initial attribute support (Ravi)
* calling convention support (Miguel)
* loop construct code generation (Miguel)
* conditional statement code generation (Miguel)
* indexer declarations (Ravi)
* event declarations (Ravi)
* try/catch parsing fixed (Ravi)
* initial delegate support (Ravi)
* operator overload (Ravi)
Tools Changes:
* Add NUnit windows binaries to distribution (Nick Drochak, Miguel)
Runtime Changes:
* First JIT implementation (Dietmar, Paolo)
* value type size calculation (Dietmar)
* full value type support (Paolo)
* frequently used types cache (Paolo)
* FileStream support (Paolo)
* Console input/output support (Dietmar)
* print arguments and exception name in stack trace (Paolo)
* beginnings of virtual call support (Paolo)
* reimplement pinvoke support (Dietmar)
* remove libffi dependency (Dietmar)
* IBURG code generator implementation (Dietmar)
* new opcodes implemented: starg.s, ldobj, isinst, (Paolo, Miguel)
ldarg, starg, ldloc, ldloca, stloc, initobj,
cpblk, sizeof, conv.i, conv.i1, conv.i2, conv.i4,
conv.i8, conv.u1, conv.u2, conv.u4, conv.r4,
conv.r8, ldelema, ceq, cgt, clt.
* This list
Parts of this list of features were compiled by Alex by following
the CVS mailing list. My deepest thanks to Alex for helping me out
with this. I want to apologize for the missing features that I did
not document here, Mono is moving too fast to keep track of all the
changes.
2002-Feb-11 Miguel de Icaza <[email protected]>
New release, functional x86-JIT, x86 interpreter, ppc interpreter
+33 -19
View File
@@ -8,17 +8,40 @@ Installation:
http://www.go-mono.com/download.html
A directory roadmap:
* Using Mono
Once you have installed the software, you can run a few programs:
* runtime engine
mono program.exe
or
mint program.exe
* C# compiler
mcs program.cs
* CIL Disassembler
monodis program.exe
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
for further details.
* A directory roadmap:
doc/
Contains documentation and the web site contents.
mono/
The core of the executable.
The core of the Mono Runtime.
metadata/
The library to deal with executables and libraries for
.NET
The object system and metadata reader.
jit/
The Just in Time Compiler.
dis/
CIL executable Disassembler
@@ -26,6 +49,10 @@ A directory roadmap:
cli/
Common code for the JIT and the interpreter.
io-layer/
The I/O layer and system abstraction for
emulating the .NET IO model.
cil/
Common Intermediate Representation, XML
definition of the CIL bytecodes.
@@ -33,20 +60,7 @@ A directory roadmap:
interp/
Interpreter for CLI executables.
* Using Mono
Once you have installed the software, you can run a few programs:
monodis program.exe
That will dump the bytecodes for program.exe. Monodis support
a number of options that dumps various metadata tables
(chapter 23 of the Partition III).
You can try the interpreter like this:
mint program.exe
arch/
Architecture specific portions.
+8 -1
View File
@@ -1,10 +1,10 @@
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_MSG_NOSIGNAL
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
@@ -13,3 +13,10 @@
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
#undef MONO_USE_EXC_TABLES
+11 -2
View File
@@ -8,8 +8,17 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
if [ -n "$MONO_PATH" ]; then
ACLOCAL_FLAGS="-I $MONO_PATH/share/aclocal $ACLOCAL_FLAGS"
PATH="$MONO_PATH/bin:$PATH"
# from -> /mono/lib:/another/mono/lib
# to -> /mono /another/mono
for i in `echo ${MONO_PATH} | tr ":" " "`; do
i=`dirname ${i}`
if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
fi
if [ -n "{i}" -a -d "${i}/bin" ]; then
PATH="${i}/bin:$PATH"
fi
done
export PATH
fi
+176 -124
View File
@@ -1,25 +1,46 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.10)
AM_INIT_AUTOMAKE(mono, 0.16)
AM_MAINTAINER_MODE
dnl ****************************************
dnl *** Check if we're building on win32 ***
dnl ****************************************
AC_MSG_CHECKING([if building for some Win32 platform])
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS"
libdl=
;;
*-*-*bsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
;;
*-*-linux*)
platform_win32=no
AC_DEFINE(MONO_USE_EXC_TABLES)
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -fexceptions"
libdl="-ldl"
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
platform_win32=no
libdl="-ldl"
;;
esac
AC_MSG_RESULT($platform_win32)
AC_MSG_RESULT(ok)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
@@ -27,6 +48,12 @@ AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
AC_CHECK_PROG(BISON, bison,yes,no)
if test "x$BISON" = "xno";
then
AC_MSG_ERROR([You need to install bison])
fi
dnl may require a specific autoconf version
dnl AC_PROG_CC_FOR_BUILD
dnl CC_FOR_BUILD not automatically detected
@@ -45,14 +72,14 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h)
AC_CHECK_HEADERS(iconv.h)
AC_CHECK_HEADERS(giconv.h)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
# for mono/dis
AC_CHECK_HEADERS(wchar.h)
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
@@ -98,35 +125,41 @@ AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes")
gc_headers=no
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
gc=auto
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
case "x$gc" in
xboehm|xyes)
xboehm|xbohem|xyes)
if test "x$found_boehm" != "xyes"; then
AC_MSG_ERROR("GC requested but libgc not found!")
fi
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("GC requested but header files not found! You may need to install them by hand.")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc"
LIBS="$LIBS -lgc $libdl"
;;
xnone)
AC_MSG_WARN("Compiling mono without GC.")
;;
*)
dnl When the JIT works with libgc, use this chunk.
dnl # If libgc was found, use it. Otherwise just warn.
# If libgc was found, use it. Otherwise just warn.
if test "x$found_boehm" != "xyes"; then
AC_MSG_WARN("Compiling mono without GC.")
else
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("Found libgc but not its header files! You may need to install them by hand.")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc"
LIBS="$LIBS -lgc $libdl"
gc="boehm"
fi
dnl AC_MSG_WARN("Compiling mono without GC.")
;;
esac
@@ -138,7 +171,7 @@ if test x$platform_win32 = xno; then
# 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
# CPPFLAGS and sets $large_offt to yes if the test succeeds
large_offt=no
AC_DEFUN(LARGE_FILES, [
large_CPPFLAGS=$CPPFLAGS
@@ -160,7 +193,7 @@ if test x$platform_win32 = xno; then
], [
AC_MSG_RESULT(ok)
AC_DEFINE(HAVE_LARGE_FILE_SUPPORT)
CFLAGS="$CFLAGS $1"
large_CPPFLAGS="$large_CPPFLAGS $1"
large_offt=yes
], [
AC_MSG_RESULT(no)
@@ -183,6 +216,21 @@ if test x$platform_win32 = xno; then
dnl *****************************
AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
dnl *******************************
dnl *** Checks for MSG_NOSIGNAL ***
dnl *******************************
AC_MSG_CHECKING(for MSG_NOSIGNAL)
AC_TRY_COMPILE([#include <sys/socket.h>], [
int f = MSG_NOSIGNAL;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MSG_NOSIGNAL)
], [
# We'll have to use signals
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for SOL_IP ***
dnl *****************************
@@ -250,99 +298,102 @@ if test x$platform_win32 = xno; then
AC_CHECK_FUNCS(inet_pton inet_aton)
dnl ***********************************************
dnl *** Checks for size of sockaddr_un.sun_path ***
dnl ***********************************************
# AC_CHECK_SIZEOF can't cope with struct members :-(
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
AC_CACHE_VAL(cv_mono_sizeof_sunpath,
[AC_TRY_RUN([
#include <sys/types.h>
#include <stdio.h>
#include <sys/un.h>
int main(void) {
struct sockaddr_un sock_un;
FILE *f=fopen("conftestval", "w");
if(!f) exit(1);
fprintf(f, "%d\n", sizeof(sock_un.sun_path));
exit(0);
}
], cv_mono_sizeof_sunpath=`cat conftestval`,
cv_mono_sizeof_sunpath=0,
cv_mono_sizeof_sunpath=0)])dnl
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *****************************
dnl *** Checks for libxnet ***
dnl *****************************
case "${host}" in
*solaris* )
AC_MSG_CHECKING(for Solaris XPG4 support)
if test -f /usr/lib/libxnet.so; then
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
LIBS="$LIBS -lxnet"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wno-char-subscripts"
fi
;;
esac
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(yes)
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(yes)
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_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
])
CPPFLAGS=$orig_CPPFLAGS
CFLAGS="$CFLAGS $pthread_CFLAGS"
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
dnl ********************************
dnl *** Checks for semaphore lib ***
dnl ********************************
AC_CHECK_LIB(rt, sem_init, LIBS="$LIBS -lrt")
dnl ********************************
dnl *** Checks for timezone stuff **
dnl ********************************
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
AC_TRY_COMPILE([
#include <time.h>
], [
timezone = 1;
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
if test $ac_cv_var_timezone = yes; then
AC_DEFINE(HAVE_TIMEZONE)
else
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
AC_TRY_COMPILE([
#include <time.h>
], [
struct tm tm;
tm.tm_gmtoff = 1;
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
if test $ac_cv_struct_tm_gmtoff = yes; then
AC_DEFINE(HAVE_TM_GMTOFF)
else
AC_ERROR(unable to find a way to determine timezone)
fi
fi
else
# This is a kludge, we really ought to test for libws2_32, but
# I can't make AC_CHECK_LIB link (the symbols seem to be mangled
# with @num suffixes)
LIBS="$LIBS -lws2_32"
CFLAGS="$CFLAGS -mno-cygwin"
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
fi
dnl ****************************
@@ -410,25 +461,12 @@ if test "x$ac_cv_have_dev_random" = "xno" \
***]])
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
AC_MSG_CHECKING([if inter-process shared handles are requested])
AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
AC_MSG_RESULT($try_shared_handles)
if test "x$try_shared_handles" != "xyes"; then
AC_DEFINE(DISABLE_SHARED_HANDLES)
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
TARGET="unknown"
@@ -440,12 +478,13 @@ i*86-*-*) TARGET=X86; arch_target=x86;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
arm-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
s390-*-linux*) TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no";;
esac
if test ${TARGET} = unknown; then
CFLAGS="$CFLAGS -DNO_PORT"
CPPFLAGS="$CPPFLAGS -DNO_PORT"
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
fi
@@ -461,21 +500,31 @@ AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AM_CONDITIONAL(S390, test x$TARGET = xS390)
LIBC="libc.so.6"
AC_SUBST(LIBC)
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_OUTPUT([
Makefile
mono.pc
mono/Makefile
mono/utils/Makefile
mono/metadata/Makefile
mono/dis/Makefile
mono/cil/Makefile
mono/arch/Makefile
mono/os/Makefile
mono/os/win32/Makefile
mono/os/unix/Makefile
mono/arch/x86/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/s390/Makefile
mono/arch/arm/Makefile
mono/interpreter/Makefile
mono/tests/Makefile
@@ -484,11 +533,14 @@ mono/monoburg/Makefile
mono/monograph/Makefile
mono/jit/Makefile
mono/io-layer/Makefile
mono/handles/Makefile
runtime/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
docs/Makefile
data/Makefile
mono.spec
])
echo "
+11
View File
@@ -0,0 +1,11 @@
monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in machine.config
mono_DATA = config machine.config
DISTCLEANFILES = config
config: config.in Makefile
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
&& mv config.tmp config
+14
View File
@@ -0,0 +1,14 @@
<configuration>
<dllmap dll="cygwin1.dll" target="@LIBC@" />
<dllmap dll="libc" target="@LIBC@" />
<dllmap dll="libxslt.dll" target="libxslt.so" />
<dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk-pixbuf-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
</configuration>
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<sectionGroup name="system.web">
<section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
<section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
</sectionGroup>
</configSections>
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
</httpHandlers>
<httpModules>
</httpModules>
</system.web>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
<!--<clear/> Removes all defined settings -->
</appSettings>
</configuration>
+9 -4
View File
@@ -1,7 +1,12 @@
WEB_FILES= \
ado-net c-sharp class-library contact contributing documentation download \
faq gcc-frontend ideas index passport rationale resources \
roadmap runtime status team testing thanks tools porting anoncvs monodoc-xml winforms
WEB_FILES= \
ado-net anoncvs asp-net books ccvs c-sharp class-library contact contributing devel-faq documentation download \
embedded-api faq firebird gcc-frontend hackers ideas index \
java jit-debug languages mailing-lists monodoc-xml mysql odbc \
oledb papers \
passport plans porting postgresql ppc projects rationale \
resources roadmap runtime sqlclient sqlite sybase tdsclient \
tds-providers team status team testing thanks tools \
porting anoncvs monodoc-xml winforms
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
+263 -29
View File
@@ -1,44 +1,278 @@
* ADO.NET
The coordinator for the ADO.NET implementation is <a
href="mailto:[email protected]">Rodrigo Moya</a>.
The coordinator for the ADO.NET implementation is
<a href="mailto:[email protected]">Rodrigo Moya</a>,
with the collaboration of:
<a href="mailto:[email protected]">Daniel Morgan</a>,
<a href="mailto:[email protected]">Tim Coleman</a>,
<a href="mailto:[email protected]">Brian Ritchie</a>, and
<a href="mailto:[email protected]">Vladimir Vukicevic</a>.
* Action plan
The current plan to implement ADO.NET is as follows:
<b>Step 1:</b> SqlClient:
<p>The current plan to implement ADO.NET is as follows:
<ul>
* Implementation of System.Data.SqlClient based on
the PostgreSQL C API.
* Once the System.Data.SqlClient code is functional and
is usable by other people, we willl move it to
System.Data.PostgreSQL, and will convert the existing
System.Data.SqlClient to be just a wrapper around
System.Data.PostgreSQL.
</ul>
<b>Step 2:</b> OleDBClient:
<li>Either create ADO.NET providers or modify pre-exiting ADO.NET providers to
work with Mono
<ul>
<li>Create ADO.NET Providers
<ul>
<li><a href="http://www.go-mono.com/mysql.html">MySQL</a>
<li><a href="http://www.go-mono.com/odbc.html">ODBC</a>
<li><a href="http://www.go-mono.com/oledb.html">OLE DB</a>
<li><a href="http://www.go-mono.com/postgresql.html">PostgreSQL</a>
<li><a href="http://www.go-mono.com/sqlclient.html">Microsoft SQL Server</a>
<li><a href="http://www.go-mono.com/sqlite.html">SQL Lite</a>
<li><a href="http://www.go-mono.com/sybase.html">Sybase</a>
<li><a href="http://www.go-mono.com/tdsclient.html">TDS Generic</a>
<li>Providers which we do not have, but we would like to have. Currently,
some of these databases are supported via the ODBC or OLEDB providers.
<ul>
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a>
<li>miniSQL
<li><a href="http://www.oracle.com/">Oracle</a> - could be done by creating C# bindings to OCI (Oracle C Call Level Interface)
<li>BerkeleyDB (Sleepycat)
<li><a href="http://www.sapdb.org/">SapDB</a>
<li>Microsoft Access - could be done by creating C# bindings to <a href="http://mdbtools.sourceforge.net">MDB Tools</a>
<li>dbase or xbase type database files
<li>Others, of course, are welcomed...
</ul>
</ul>
<br>
<li>Modify Pre-existing ADO.NET Providers to work with Mono. This may
require fixing or implementing areas of Mono too.
<ul>
<li><a href="http://www.go-mono.com/firebird.html">Firebird Interbase</a>
<li><a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a> a PostgreSQL provider
written in 100% C#
<li><a href="http://sourceforge.net/projects/mysqldrivercs/">MySQLDriverCS</a> is a MySQL provider written in C#
<li><a href="http://sourceforge.net/projects/mysqlnet/">MySQLNet</a> is a MySQL Manager provider written in C#
</ul>
</ul>
<br>
<li>Create Tools for Configuration, Testing, and Entering SQL Queries
<ul>
* On Unix systems: System.Data.OleDb will use LibGDA as its
engine.
<li><b>SQL# CLI - a command-line tool</b> to execute SQL commands,
test connection strings, and connect to various ADO.NET
providers in Mono. The SQL# CLI can be found in
mcs/tools/SqlSharp/SqlSharpCli.cs
It is written in C# and runs on Mono and .NET
LibGDA is the data access engine that is used by
Gnome-Db (only libgda, not libgnomedb at all).
* On Windows systems: System.Data.OleDb will use OLE-DB as
its engine.
<li><p><b>SQL# GUI - a GUI tool</b> to execute SQL commands.
Currently, there is SQL# For GTK# which
can be found at
mcs/tools/SqlSharp/gui/gtk-sharp. It has a SQL editor with
syntax hi lighting of SQL keywords
<li><b>Configuration Command-Line and GUI Tools for ADO.NET</b>.
These tools have not been started. The tools would be written in
C# and run on Mono. The
configuration tool can be used to do the following:
<ul>
<li>setup DSNs for the ODBC and OLE-DB
providers and configurations for
their underlying libraries (unixODBC and libgda)
<li>setup configurations for the Mono.Data.ProviderFactory
that Brian Ritchie created
<li>setup native database client library configurations too, such as,
freetds.conf for Microsoft SQL Server and Sybase
</ul>
</ul>
</ul>
* Current Status
<b>Step 3:</b> System.Data.SqlClient Providers:
<p>Variouls ADO.NET Providers have been created: PostgreSQL, MySQL, Sybase, SQL Lite,
Microsoft SQL Server, OLE DB, ODBC, and TDS Generic. See their respective web page for
more information.
<p><b>DataSet, DataAdaptor, DataTable, DataRelation, DataRow, DataColumn,
DataColumnCollection, DataRowCollection, and others</b> need more work. There are
many classes that are just stubs and need to be implemented.
<p><b>Integration with ASP.NET</b> has not been started, such as, data binding
to a System.Web.UI.WebControls.DataGrid. This may involve implementing many classes
in System.Web and System.Data. Gonzalo, Gaurav, Leen, Patrik, Duncan, and others are
working very hard on the ASP.NET support. If you want to help,
contact <a href="mailto:[email protected]">Gonzalo Paniagua Javier</a>
<p><b>Integration with Windows.Forms</b> has not been started, such as, data binding
to a System.Windows.Forms.DataGrid. This may involve implementing many classes
in System.Windows.Forms and System.Data.
<p><b>Integration with <a href="http://gtk-sharp.sourceforge.net/">GTK#</a></b>
has not been started, such as, data binding
to a GtkTreeView. This may involve creating new classes
to go between the glist data model and the ADO.NET data model.
Mike Kestner would be the best person to ask for help on GTK#.
<p><b>Integration with QT#</b> has not been started. Any information on
how this can be done is appreciated. Adam Treat would be the best
person to ask about QT#.
<p><b>Integration with GDA#</b> has not been started. It is
included in the GTK# project, GDA#
does not require GTK+ nor GNOME. GDA# is C# bindings
to <a href="http://www.gnome-db.org/">GDA</a> which
is an ADO/OLE-DB like layer for Linux provided as a C library. Classes
that would bind data between the ADO.NET data model and the GDA data model will
need to be created. Rodrigo Moya is the best person to contact about this.
<p><b>Integration with GnomeDb#</b> has not been started. It is
included in the GTK# project and uses GDA# for its data access model.
Creating classes to bind data between the data model in ADO.NET
and the data model that exists in GDA# and GnomeDb# will
need to be started. GnomeDb# is C# bindings to
<a href="http://www.gnome-db.org/">GnomeDb</a> which uses
<a href="http://www.gnome-db.org/">GDA</a> as its data access layer. GnomeDb
is a C API in a library that contains
gtk+ widgets (GUI controls) for data access. There are some nifty widgets
(GUI controls) that can be used, such as, GnomeDbGrid, GnomeDbBrowswer,
GnomeDbSqlEditor, GnomeDbList, GnomeDbLogin, GnomeDbReportEditor, GnomeDbTableEditor,
GnomeDbCombo, and GnomeDbForm. Rodrigo Moya is the best person to contact.
<p><b>XML support in System.Data</b> needs work. This involves working on
the classes: DataSet, XmlDataDocument, and the method ExecuteXmlReader() that
exists in a provider's class that implements IDbCommand, and others.
Stuart Caborn has started the XML support in a DataSet. Tim Coleman started
XML support in the ExecuteXmlReader() in a SqlCommand.
<p><b>ADO.NET Provider Factory</b> has been started by Brian Ritchie. The
Provider Factory is used to dynamically create data provider
connections and data adapters based on configuration information. This
provider factory can also provide utility functions needed by a lot of
providers but are not exposed via the provider.
<p><b>ADO.NET Multiplexor Provider</b> needs to be created. It can use the
ADO.NET Provider Factory to create its connections and adapters, but the
Multiplexor Provider is a Generic Provider that internally uses an existing
provider based on configuration options. This is not
part of Microsoft .NET, but it needs to be able to run on Microsoft .NET
and Mono. This provider can be a generic provider, much like the ODBC.NET and
OLEDB.NET providers are, but be written in 100% C# and be configurable via
a configuration file. This provider will multiplex to other providers
that exist. If one does not exist for a given DBMS,
default to the ODBC or OLEDB .NET provider.
<p>According to Gonzalo, this is how the configuration could be implemented for
the Provider Factory and Multiplexor Provider.
<p>After some work done in System.Configuration, you can now do something
like:
<p>
<pre>
// Get an instance of the multiplexor from machine.config file
// Can be overriden in the application config file
object o = ConnectionSettings.GetConfig
("mono.data/multiplexor");
if (o == null)
--- error
Multiplexor mp = (Multiplexor) o;
// may be a string [] argument can help passing arguments
IDbConnection cnc = mp.CreateConnection (providerName);
</pre>
<p>and in the machine.config file:
<pre>
&lt;configuration&gt;
&lt;configSections&gt;
&lt;section name="mono.data"
type="Mono.Data.MultiplexorSectionHandler,Mono.Data"/&gt;
....
&lt;/configSections>
...
&lt;sectionGroup name="mono.data"&gt;
&lt;multiplexor&gt;
&lt;add provider="PostgreSQL"
type="Mono.Data.PostgreSQLClient,Mono.Data"
validate="false"
parameters="USER=xxx;HOST=127.0.0.1;DBNAME=xxx"/&gt;
&lt;/multiplexor&gt;
&lt;/sectionGroup&gt;
&lt;/configuration&gt;
</pre>
<p>validate="false" tells MultiplexorSectionHandler not to load the Type
until an instance is required. You can add more attributes or whatever
inside <multiplexor> as long as MultiplexorSectionHandler parses it.
<pre>
public class MultiplexorSectionHandler :
IConfigurationSectionHandler
{
public object Create (object parent,
object configContext,
XmlNode section)
{
Multiplexor mp;
// Here you get the ChildNodes and
// set up a Multiplexor
// instance that will hold the information
// needed to create
// instances of each provider. Only one
// instance will be
// created by the config system.
return mp;
}
}
</pre>
<p>This way, if our providers works with MS, the user can test them in both
MS and mono by just adding a few lines to machine.config (i still have
to upload a default machine.config file for mono). And this is the .NET
way of doing it (of course, if you prefer, you can use the other config
file. I just wanted to make people aware of this feature that now works
on mono).
<p><b>Building System.Data</b>
<p>The System.Data.dll gets built with the rest of the class library.
To compile the System.Data.dll assembly separately, you need:
<b>On Unix</b>
<ul>
* System.Data.SqlClient will then become a generic
proxy for binding to other SQL implementations other
than PostgreSQL (MySQL on Unix/Windows; MS SQL on
Window; Interbase on Unix/Windows). Others are welcomed.
* update your mono sources. Be sure you have latest mcs.exe
and .dll's, since there have been many fixes needed for
compilation on Linux.
* compile System.Data.dll:
<pre>
cd mcs/class/System.Data<br>
mcs --target library -o \
System.Data.dll @list
</pre>
</ul>
<b>On Windows</b>
<ul>
* update your mono sources. Be sure you have latest mcs.exe
and .dll's. You can use the same method as Linux,
or you can use NAnt.
* To use NAnt:
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe
</pre>
* This will automatically copy the System.Data.dll to Test.
If you need to do a clean for the System.Data.dll assembly,<br><br>
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe clean
</pre>
</ul>
+2 -2
View File
@@ -30,7 +30,7 @@
To update your sources every day, you use this command:
<pre>
export CVSROOT=:pserver:anonymous@reypastor.hispalinux.es:/mono
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
cvs -z3 update -dP mcs mono gtk-sharp
</pre>
@@ -46,7 +46,7 @@
<a name="#mirror">
** Becoming an AnonCVS mirror
To become an AnonCVS mirror, you currently need about 20
To become an AnonCVS mirror, you currently need about 40
megabytes of free disk space and bandwidth that you do not
mind sharing (you probably want enough to spare).
+137 -4
View File
@@ -1,11 +1,144 @@
* ASP.NET
ASP.NET support is divided in two pieces:
<ul>
* Web Forms (Web Applications infrastructure).
* Web Services (the SOAP-based rpc system).
</ul>
There is work underway for both systems. The Web Forms
support is more advanced at this point, and various ".aspx"
programs can be run using the Mono runtime and the XSP page
parser.
We are now working bug fixing and adding missing features
after making the whole pipeline compatible with MS.
Tim started work on the Web Services. Although we have a
SoapFormatter as part of the remoting infrastructure already
(contributed by Jesus), most people will be using the ASP.NET
Web Services support. Work for the supporting class libraries
just started recently.
* Web Forms: The pieces
There are a couple of components to the puzzle:
<ul>
* .aspx page parser (converts .aspx to C# code).
* System.Web.HttpRuntime support.
* Web controls (System.Web.UI.HtmlControls and
System.Web.UI.WebControls).
* Underlying infrastructure for the controls (System.Web.UI).
* HttpRuntime.ProcessRequest is the core of the ASP.NET
implementation.
</ul>
Gonzalo has been working on an ASP.NET parser that takes .aspx
files and generated the code required to run them (the code lives in
module `xsp' along with a little web server for testing).
Most of the runtime support was written by Patrik Torstensson
(now at Intel). This was interesting, because in order to implement
some of its features, Patrik had to go into the runtime/JIT engine and
he spent a few weeks doing work there.
The classes for running ASP.NET are being actively written.
Gaurav, Leen and Patrik have been building the classes
Gaurav, Leen and Patrik worked in the core of the classes
required to run ASP.NET web application as well as a small
embeddable web server.
Currently ASP.NET does not work, but work is underway. If you
are interested in helping the effort please contact the
mono-list mailing list.
Duncan got our System.Web assembly to compile.
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
We are currently working on this.
** XSP
This is where initial development of the .aspx/.ascx/.asax compiler
to C# took place. That compiler is now integrated in System.Web classes
mostly under System.Web.Compilation namespace.
We added a new web server that works with mono and MS runtime and is
being used to debug our classes. It resides in xsp/server. A couple of
classes of this new server can be reused/extended to make an apache
module/cgi using mono (MonoWorkerRequest and MonoApplicationHost).
There is also a bunch of .aspx pages to test the server along with
a few user controls under xsp/test.
You can check it out from CVS and run 'make install' to test it.
** Controls
A lot of work has been put in the various classes that
implement the controls (UI.HtmlControls and UI.WebControls),
but they have been coded mostly in the dark, and without being
able to test them in real life: Gaurav and Leen worked very
hard on this namespace.
We can now render all HtmlControls and almost all WebControls.
DataGrid and DataList controls are being finished by Gaurav.
Xml control needs some work on System.Xml related to XSL.
** Extending ASP.NET
Currently you have to reference in your ASP.NET the control
and all of its properties, which works fine if you have a GUI
designer, but is harder for people used to develop using text
editors.
Since we have a parser, we could extend this parser to allow
people to still use ASP.NET controls, using a simpler syntax.
For example people doing blogs and editing their templates
over the web probably do not want to use direct ASP.NET but a
wrapper around it.
** Roadmap
1. The Parser.
2. Get the parser to generate output compatible with ASP.NET.
3. Run the sample output with the real Microsoft runtime
but using our generated page.
4. Run the sample with our classes with the .NET runtime.
5. Run the samples with our classes with the our runtime (without
using HttpRuntime).
6. Finish HttpRuntime.
7. Running our sample code with our classes with our runtime.
8. Debug and add missing features.
We are in step 8. Among the missing features: server side includes,
better caching, some configuration stuff, more validators...
** How to Help
Testing and fixing HtmlControls, WebControls and validators is an
easy way to help.
In the CVS module XSP you can find a small web server used for
testing and a directory containing sample aspx pages.
You have some documentation under doc directory and in the README
file of each directory. They explain how to test our System.Web.
Testing is really easy!
As the server also works with MS runtime, you can use it to check
what the expected results are.
+19 -35
View File
@@ -2,22 +2,25 @@
MCS is currently able to compile itself and many more C#
programs (there is a test suite included that you can use).
It is routinely used to compile Mono, roughly half a million
lines of C# code.
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.
MCS was able to parse itself on April 2001, MCS compiled itself
for the first time on December 28 2001. MCS became self hosting
on January 3rd, 2002.
The Mono Runtime and the Mono execution engine were able to make
our compiler self hosting on March 12, 2002.
they are very very few at this point (security attributes),
you can also browse the MCS <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">bugs</a> from Bugzilla.
A test suite is maintained to track the progress of
the compiler and various programs are routinely compiled and
ran.
** Slides
Slides for the Mono C# Compiler presentation at .NET ONE are
available <a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">here</a>
in StarOffice format.
** Obtaining MCS
The Mono C# compiler is part of the `mcs' module in the Mono CVS
@@ -27,8 +30,8 @@
** Running MCS
MCS is written in C# and uses heavily the .NET APIs. MCS runs
on Linux (with the Mono runtime) and Windows (with the .NET
framework runtime)
on Linux with the Mono runtime and on Windows with both the
.NET runtime and the Mono runtime.
** Reporting Bugs in MCS
@@ -103,33 +106,14 @@
able to use this generic CIL optimizer in their projects
reducing their time to develop a production compiler.
<a name="tasks">
** Current pending tasks
** History
Simple tasks:
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.
<ul>
* Redo the way we deal with built-in operators.
</ul>
Larger tasks:
<ul>
* Jay does not work correctly with `error'
productions, making parser errors hard to point. It
would be best to port the Bison-To-Java compiler to
become Bison-to-C# compiler.
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>
* 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.
</ul>
The Mono Runtime and the Mono execution engine were able to make
our compiler self hosting on March 12, 2002.
** Questions and Answers
+77 -21
View File
@@ -1,15 +1,61 @@
* 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. This web page contains
details about how to use the CVS server as well as the
policies to use it.
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.
Send an e-mail to miguel with your public OpenSSH key for this
purpose. Please specify if the key was generated with SSH version 1
or version 2.
If you are using SSH2, please generate your key using:
* Policies
Here are some policies about the use of the Mono CVS server.
** Code License
If you are about to commit code to a module, the code that is
being commited should be released under the same license as
the code that the module has.
Check the license if you are unsure, but it is basically:
class libraries X11; compiler and tools: GPL; runtime: LGPL.
If in doubt, check with the maintainers of the module, or send
mail to [email protected].
** Commiting code.
If you are the maintainer for a piece of code, feel free to
commit code, and delegate the work to others.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
Please do not commit code that would break the compile to the
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.
* Using CVS.
This is a small tutorial for using CVS.
** Generating an SSH key
If you are using SSH version 2, please generate your key using:
<pre>
ssh-keygen -t rsa
@@ -17,13 +63,32 @@
And mail me the id_rsa.pub file.
If you are using SSH1, run:
If you are using SSH version 1, run:
<pre>
ssh-keygen
</pre>
And mail me your identity.pub file.
If you are using SSH from SSH Communications Security (they offer
a free SSH client for personal use), you have to use OpenSSH to
convert your public key to the required format. You have to use
OpenSSH's ssh-keygen program and write the following:
<pre>
ssh-keygen -i -f id_XXX.pub > my_public_key.pub
</pre>
where the file id_XXX.pub is your public key file,
normally located under ~/.ssh/ or ~/.ssh2/.
Send to miguel the my_public_key.pub file.
The *exact* format for this file must be:
<pre>
ssh-rsa XXXXX....
</pre>
You will need CVS and SSH. Windows users can get both by
installing Cygwin (<a
href="http://www.cygwin.com">http://www.cygwin.com</a>)
@@ -104,7 +169,7 @@
cvs commit file-1.cs file-2.cs
</pre>
** The Mailing List
* The Mailing Lists
To keep track of the various development and changes to the
CVS tree, you can subscribe to the [email protected].
@@ -115,24 +180,15 @@
This will send you an email message every time a change is
made to the CVS repository, together with the information that
the author of the changes submitted.
** Recommendations
Please do not commit code that would break the compile to the
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.
You might also want to track the live changes, subscribe to
the <a
href="mailto:[email protected]">[email protected]</a>
to receive the patches as they are checked into CVS.
** Recommendations
To build the sources, most of the type trying the `make' command
is enough. In some cases (the class libraries) we use nant, so
you need to run nant manually.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
+34 -9
View File
@@ -1,17 +1,42 @@
* 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.
Classes in Mono are organized by the assembly that they belong to.
Browse the current <a href="class-status/index.html">status</a>.
Here is the status of the different assemblies:
<ul>
<li><a href="http://www.go-mono.com/class-status-corlib.html">corlib</a>: The core library.
<li><a href="http://www.go-mono.com/class-status-System.html">System</a>.
<li><a href="http://www.go-mono.com/class-status-System.Xml.html">System.Xml</a>.
You can also download the XML <a
href="class-status/maintainers.xml">maintainers</a> file that
contains the actual maintainers list.
<li><a
href="http://www.go-mono.com/class-status-System.Data.html">System.Data</a>:
Database access functionality (also check the <a href="ado-net.html">Mono ADO.NET status</a> pages).
You can also download the master <a
href="class-status/class.xml">Class Status XML</a> file.
<li><a href="http://www.go-mono.com/class-status-System.Drawing.html">System.Drawing</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Web.html">System.Web</a>:
ASP.NET classes, also check the <a href="asp-net.html">Mono ASP.NET status pages</a>
<li><a href="http://www.go-mono.com/class-status-System.Web.Services.html">System.Web.Services</a>.
<li><a
href="http://www.go-mono.com/class-status-Microsoft.VisualBasic.html">Microsoft.VisualBasic</a>:
Support runtime for Visual Basic applications
<li><a
href="http://www.go-mono.com/class-status-Windows.Forms.html">Windows.Forms</a>:
there is also a <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
list available</a>
<li><a href="http://www.go-mono.com/class-status-System.EnterpriseServices.html">EnterpriseServices</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Runtime.Serialization.Formatters.Soap.html">System.Runtime.Serialization.Formatters.Soap</a>.
</ul>
* List of not-implemented classes
+32 -75
View File
@@ -2,11 +2,6 @@
** 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,
@@ -19,87 +14,49 @@
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>
<li><a href="#monodoc">MonoDoc - A graphical documentation editor and viewer.</a></li>
<li><a href="#mkmaster">MkMaster - A command line tool to feed stub information to MonoDoc.</a></li>
<li><a href="#aspnet">An ASP.NET documentation editor.</a></li>
<li><a href="#xsltool">An xsl tool to convert monodoc xml to html documentation.</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.
This XML is Mono's documentation format. Documentation and a DTD/Schema
for Monodoc XML is located in cvs and can be found <a href="http://go-mono.org/monodoc.dtd">here</a>.
This XML could be generated by MonoDoc or the ASP.NET client.
More about the XML format <a href="http://go-mono.org/monodoc-xml.html">here</a>.
** 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.
*** <a name="monodoc">MonoDoc</a>
A graphical documentation editor and viewer. Currently, MonoDoc
consists of a Qt# application and is in heavy development.
*** <a name="mkmaster">MkMaster</a>
This tool creates the Master.xml file that MonoDoc uses as a reference
for documentation generation. This is a reflection engine that is used
to gather metadata from assemblies and create an xml representation.
*** <a name="aspnet">ASP.NET</a>
This tool is planned.
*** <a name="xsltool">An XSL converter</a>
This tool is planned. If someone wants to step forward and adopt this
project, it would be very helpful ;)
** Status and Roadmap
*** 2 January 2002
*** 16, September 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.
A preliminary version of MonoDoc is in Mono's cvs. It is under heavy development.
Once this is complete we will start documenting the API!
** Get Involved
Help us define Mono's documentation structure! Subscribe to
Help us develop Mono's documentation tools! Subscribe to
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
and wade right in.
+1 -1
View File
@@ -9,5 +9,5 @@
href="http://primates.ximian.com/~miguel">http://primates.ximian.com/~miguel"</a>
You can also <a
href="http://www.ximian.com/about/contact.php3">reach Ximian.</a>
href="http://www.ximian.com/about_us/contact/">reach Ximian.</a>
+50 -12
View File
@@ -1,18 +1,50 @@
* Contributing to the Mono project
There are many ways in which you can help in the Mono project:
Mono has not been completed yet. It is a project under
active development and with a vibrant community. If you are
looking at ways of helping the project, you have come to the
right web page.
<ul>
* <b>Programmers:</b> You can work on a free
implementation of the <a
href="class-library.html">class libraries</a>, the
<a href="runtime.html">runtime engine</a>, <a
href="tools.html">the tools</a>, the <a
href="testing.html">testing framework</a>
There are three different philosophical approaches to helping
the Mono project, the selfish way, the altruistic or the
educational way.
* <b>Writers:</b> You can help us bywriting <a
href="documentation.html">documentation</a>.
</ul>
The <b>selfish</b> way is packed with adventure. You start by
building your own software, and start using the compiler and
tools that come with Mono. Eventually you will run into
missing features, or a bug in the software. Since we ship all
the source code for Mono, you can start tracking down the
problem. Depending on how much time you have to devote to the
problem you could: <a href="http://bugzilla.ximian.com">File a
bug report</a>; track down the problem and provide a better
<a href="http://bugzilla.ximian.com">bug report</a>; fix the
bug and provide a patch (you can <a
href="mailto:[email protected]">post it</a> to the <a
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono
mailing list</a>; or discuss the solution on the mailing
list. Ideally you will also write a <a
href="testing.html">regression test</a> so the bug does not
get re-introduced in the future.
The <b>altruistic</b> is probably the easiest because you get
to pick a piece of Mono that you might want to work on. You
can pick an unfinished <a href="class-library.html">class</a> (from our <a
href="class-status.html">class status page</a>); help with the
<a href="documentation.html">documentation effort</a> (<a
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mailing
list for the documentation effort</a>); fix existing <a
href=http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FRuntime&component=CORLIB&component=misc&component=System&component=System.Web&component=System.XML&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">runtime
bugs</a>; <a
href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">compiler
bugs</a>; help with the <a href="tools.html">tools</a> or
writing <a href="testing.html">tests</a> that help make Mono
more robust or help with the <a
href="http://www.go-mono.com/winforms.html">Winforms
effort</a>.
The <b>educational</b> way is an interesting one, because you
pick a technology you are interested in, and work on that
technology to learn the technology.
Those are just broad things that need to be worked on, but
something that would help tremendously would be to help with
@@ -20,6 +52,11 @@
You can see what needs to be done in the class libraries <a href="class-status.html">here</a>
* IRC Channel
Many developers get together on the <b>#mono</b> irc channel
on the <b>irc.gnome.org</b> server.
** To start contributing
As a programmer, you can contribute in three different scenarios to Mono:
@@ -61,7 +98,8 @@
world that only has a test suite.
To get started writing tests see the <a href="testing.html">Test Suite</a>
section.
section. <a href="mono-contribution-howto.html">Here</a> there is a good All-In-One introduction to the art of writing tests.
*** Contributing to the runtime engine
+324 -243
View File
@@ -6,76 +6,232 @@
href="runtime.html">Runtime</a> description for more details
on this part of the project.
The code for the C# compiler as well as the language error
test suite and the class library are in the `mcs' package, we
will move this later into `mono' itself.
Some useful links: <a
href="http://www.go-mono.org/mono-beginning.html">Resources/Beginning
section</a>, the <a
href="http://www.go-mono.org/faq.html">FAQ</a> and the <a
href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">
Mono Common Problems</a>.
In order to make mcs and the class libraries you will need a computer
running Windows with the <strong>GNU make tools</strong> from the
<strong>Cygwin</strong> environment, <strong>Microsoft's .NET Framework
SDK</strong>, <strong>GLIB 1.3</strong> and
<strong>pkg-config</strong>.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.16</b><br>
<a href="archive/mono-0.16">Release notes</a><br>
Oct 1st, 2002.
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.16.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.16.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b>
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.16-1.src.rpm">mono-0.16-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.16-1.i386.rpm">mono-0.16-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.16-1.i386.rpm">mono-devel-0.16-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 7.2/x86</b>
<ul>
<li><a href="archive/redhat-72-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-0.16-1.i386.rpm">mono-0.16-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-devel-0.16-1.i386.rpm">mono-devel-0.16-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.1/x86</b>
<ul>
<li><a href="archive/redhat-71-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-0.16-1.i386.rpm">mono-0.16-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-devel-0.16-1.i386.rpm">mono-devel-0.16-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.16-1.i586.rpm">mono-0.16-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.16-1.i586.rpm">mono-devel-0.16-1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.16-1.i386.rpm">mono-0.16-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.16-1.i386.rpm">mono-devel-0.16-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.16-1.i386.rpm">mono-0.16-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.16-1.i386.rpm">mono-devel-0.16-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Linux s390</b>
<ul>
<li><a href="archive/s390/glib2-2.0.6-13.s390.rpm">glib2-2.0.6-13.s390.rpm</a>
<li><a href="archive/s390/glib2-devel-2.0.6-13.s390.rpm">glib2-devel-2.0.6-13.s390.rpm</a>
<li><a href="archive/s390/libgc-6.1alpha5-1.s390.rpm">libgc-6.1alpha5-1.s390.rpm</a>
<li><a href="archive/s390/libgc-devel-6.1alpha5-1.s390.rpm">libgc-devel-6.1alpha5-1.s390.rpm</a>
<li><a href="archive/s390/mono-0.16-1.s390.rpm">mono-0.16-1.s390.rpm</a>
<li><a href="archive/s390/mono-devel-0.16-1.s390.rpm">mono-devel-0.16-1.s390.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="archive/mono-0.16-stable.exe">Mono-Setup</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tr>
</tbody>
</table>
<br>
* Older Releases:
When installing Cygwin, don't forget to include
<tt>mingw-runtime</tt>. If you omit this, you will encounter
configure problems regarding not being able to generate
executables.
We provide binaries for older releases until we have packages for the new release.
<a name="sources">
*** Sources
Stay up to date on the Mono team's development using the
<a href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">
mono-cvs-list</a> mailing list. The CVS source code can also
be browsed <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/mcs/mcs/cfold.cs?cvsroot=Mono">here</a>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.15</b><br>
<a href="archive/mono-0.15">Release notes</a><br>
Aug 23rd, 2002.
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.15.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.15.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1alpha5.tar.gz">Boehm GC 6.1alpha5</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b>
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1alpha5-1.src.rpm">libgc-6.1alpha5-1.src.rpm</a>
<li><a href="archive/mono-0.15-1.src.rpm">mono-0.15-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr bgcolor="#999999">
<td>
<b>Windows (win95 friendly)</b>
<ul>
<li><a href="archive/mono-w32-Aug_28_2002.zip">Mono-w32</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat null-8.0/x86</b>
<ul>
<li><a href="archive/redhat-null-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-null-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-null-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
<li><a href="archive/redhat-null-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<a name="mar-27">
<b>Mono 0.10</b>
** Binaries for other platforms.
New packaged versions of the Mono C# compiler and Mono runtime
are now available. The latest version is 0.10.
Already daily volunteer's made binaries:
<ul>
* <a href="archive/mono-0.10">Mono 0.10 release notes</a>
* <a href="archive/mcs-0.10.tar.gz">mcs-0.10.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.10.tar.gz">mono-0.10.tar.gz</a>
Mono runtime
* <a href="http://www.debianplanet.org/mono/">DebianPlanet</a>
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
</ul>
<a name="feb-22">
<b>Mono 0.9</b>
New packaged versions of the Mono C# compiler and Mono runtime
are now available. The latest version is 0.9.
* Snapshots
<ul>
* <a href="archive/mono-0.9">Mono 0.9 release notes</a>
* <a href="archive/mcs-0.9.tar.gz">mcs-0.9.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.9.tar.gz">mono-0.9.tar.gz</a>
Mono runtime
</ul>
<a name="snapshots">
For up to date sources, it is recommended that you use the Mono
source code from either the
<a href="http://www.go-mono.com/snapshots">nightly snapshots</a> or
the <a href="anoncvs.html">Anonymous CVS</a>. The nightly
snapshots are done every night at 10pm EST (Boston Time).
The nightly snapshots are not guaranteed to build, but most of the
time they should. They should give you a window to see what we are
up to.
<a href="http://www.go-mono.com/snapshots">Nightly snapshots</a> of
the CVS repository are made every day at 10pm EST (Boston
Time). These are not guaranteed to build, they are just a
snapshot of the tree.
You can download the GNU make tools and the Cygwin environment from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
Hispalinux are updated every six hours.
You can download Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
* Compiling with scripts
There are scripts to help build mono for both Unix and Windows. Get
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
@@ -96,25 +252,117 @@
The script requires wget on either platform, and building the
software requires make, gcc, automake, autoconf, and libtool.
You should install these packages from your distribution or
with the cygwin installer.
with the cygwin installer. You should also take care of setting
the right environment variables as the PKG_CONFIG_FLAGS, etc.
The script will download required packages from
www.go-mono.com and do a cvs checkout of mono in the current
directory. The cvs server chosen defaults to anonymous cvs;
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
anonymous cvs;
set your CVSROOT environment variable before running the script to
select a particular cvs server.
** Mono Regression Test Suite
You can get binaries for the Mono Regression Test Suite <a
href="archive/mono-tests.tar.gz">here</a>
<a name="install">
** Building the software manually
*** Download the required software.
You will need to obtain the Mono dependencies first: <a
href="http://www.gtk.org">glib 2.x</a> and
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
*** Building on Linux
<ul>
Unpack the Mono runtime distribution:
<pre>
tar xzvf mono-X.XX.tar.gz
cd mono-X.XX
</pre>
<p>
Then configure, compile and install:
<pre>
./configure --prefix=/usr/local
make
make install</pre>
This will give you a runtime, C# compiler and runtime
libraries.
If you want to recompile the runtime and the compiler,
follow these steps, first unpack the MCS package:
<pre>
tar xzvf mcs-X.XX.tar.gz
cd mcs-X.XX
</pre>
Then use the following command to compile and install:
<pre>
make -f makefile.gnu install prefix=/usr/local
</pre>
You can change /usr/local to something else if you want.
</ul>
*** On Windows, to install and work on the compiler and the class libraries:
**** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 2.0 and pkg-config libraries.
<ul>
* Install <a href="http://www.cygwin.com">Cygwin</a>.
* Install <a href="http://msdn.microsoft.com/downloads">
Microsoft .NET Framework SDK</a>.
* Change to the /usr/local directory
of your Cygwin installation.<br>
Unzip the precompiled packages listed above.
</ul>
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to "mcs".
* Compile:
<pre>
make
</pre>
</ul>
*** On Windows, to compile the mono runtime:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to "mono".
* Configure, compile and install:
<pre>
./configure --prefix=c:/mono
make
make install
</pre>
</ul>
* Software resources and notes
The required and additional software can be downloaded here:
* Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
@@ -125,14 +373,15 @@
Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases.
* Precompiled GLIB 1.3 and pkg-config packages (and
* Precompiled GLIB 2.0 and pkg-config packages (and
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
<a href="http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip">http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip</a>
<a href="http://www.go-mono.com/archive/glib-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-1.3.12-20020101.zip</a>
<a href="http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip</a>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a>
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
* Download the Mono source code from the
<a href="#feb-11">packaged versions</a> or
@@ -146,88 +395,7 @@
</ul>
*** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 1.3 and pkg-config libraries.
<ul>
* Install <a href="http://www.cygwin.com">Cygwin</a>.
* Install <a href="http://msdn.microsoft.com/downloads">
Microsoft .NET Framework SDK</a>.
* Change to the <strong>/usr/local</strong> directory
of your Cygwin installation.<br>
Unzip the precompiled packages listed above.
</ul>
*** On Windows, to install and work on the compiler and the class libraries:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to <strong>"mcs"</strong>.
* Compile:
<pre>
<strong>make windows</strong>
</pre>
</ul>
*** On Windows, to compile the mono runtime:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to <strong>"mono"</strong>.
* Configure, compile and install:
<pre><strong>
./configure --prefix=c:/mono
make
make install
</strong></pre>
</ul>
*** On Unix, to compile the mono runtime:
<ul>
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
* Install glib 1.3. You can download it
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp.gtk.org</a>. Maybe you need
to modify your ACLOCAL_FLAGS for pkg-config, for example if
your install prefix is /usr/local:
<pre>
<strong>export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"</strong>
</pre>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshots
</a>, untar the snapshot.
* Change directories to <strong>"mono"</strong>.
* Configure, compile and install:
<pre><strong>
./configure
make
make install</strong>
</pre>
</ul>
*** Notes on compiling GLIB 1.3 and pkg-config from source:
*** Notes on compiling GLIB 2.0 and pkg-config from source:
<ul>
@@ -242,12 +410,12 @@ make install</strong>
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre><strong>
<pre>
tar xzvf pkg-config-0.8.0.tar.gz
cd pkg-config-0.8.0
./configure --prefix=/usr
make
make install</strong>
make install
</pre>
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
@@ -258,95 +426,8 @@ make install</strong>
* Download, compile and install the
<a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">
glib 1.3</a> from source.
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
glib 2.0</a> from source.
</ul>
<a name="oldreleases">
*** Very old releases.
<ul>
<a name="feb-11">
<b>February 11, 2002</b>
* <a href="archive/mcs-0.8.tar.gz">mcs-0.8.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.8.tar.gz">mono-0.8.tar.gz</a>
Mono runtime
</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>
* <a href="archive/mono-0.6.tar.gz">mono-0.6.tar.gz</a>: Mono Runtime 0.6 release.
* <a href="archive/mono-compiler-classes-0.6.tar.gz">mono-compiler-classes-0.6.tar.gz</a>: Mono Compiler and Classes 0.6 release.
* <a href="archive/mono-0.6">Release Notes.</a>
</ul>
<a name="july-29">
<b>July 29, 2001</b>
<ul>
* <a href="archive/mono-0.5.tar.gz">mono-0.5.tar.gz</a>: Mono Runtime 0.5 release.
* <a href="archive/mono-0.5">Release Notes.</a>
</ul>
<a name="july-22">
<b>July 22, 2001</b>
<ul>
* <a href="archive/mcs-22-Jul-2001.tar.gz">mcs-22-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-22-Jul-19-2001.tar.gz">Differences since 19</a>: CVS snapshot.
* <a href="archive/mcs-22">Release Notes.</a>
</ul>
<a name="july-19">
<b>July 19th, 2001</b>
<ul>
* <a href="archive/mcs-19-Jul-2001.tar.gz">mcs-19-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-17-Jul-19-2001.tar.gz">Differences since 17</a>: CVS snapshot.
* <a href="archive/mcs-19">Release Notes.</a>
</ul>
<a name="july-17">
<b>July 17th, 2001</b>
<ul>
* <a href="archive/mcs-17-Jul-2001.tar.gz">mcs-17-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-15-Jul-17-2001.tar.gz">Differences since 15</a>: CVS snapshot.
* <a href="archive/mcs-17">Release Notes.</a>
</ul>
<a name="july-15">
<b>July 15th, 2001</b>
<ul>
* <a href="archive/mcs-15-Jul-2001.tar.gz">mcs-15-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mono-0.4.tar.gz">mono-0.4.tar.gz</a>: Packaged Source Code.
* <a href="archive/mono-0.4">Release Notes.</a>
</ul>
<a name="july-14">
<b>July 14th, 2001</b>
<ul>
* <a href="archive/mcs-12-Jul-2001.tar.gz">mcs-12-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mono-0.3.tar.gz">mono-0.3.tar.gz</a>: Packaged Source Code.
</ul>
<a name="july-8">
<b>July 8th, 2001</b>
<ul>
* <a href="archive/mcs-08-Jul-2001.tar.gz">mcs-08-Jul-2001.tar.gz</a>: CVS Snapshot
* <a href="archive/mono-08-Jul-2001.tar.gz">mono-08-Jul-2001.tar.gz</a>: CVS Snapshot
</ul>
</ul>
+281
View File
@@ -0,0 +1,281 @@
* Embedding the Mono runtime, preliminary version
This document describes how to embed the Mono runtime in your
application, and how to invoke CIL methods from C, and how to
invoke C code from CIL
Slides for Paolo's presentation at .NET ONE on the embedding
API are available here: <a
href="http://primates.ximian.com/~lupus/slides/embed">Hosting the Mono
Runtime</a>. You can also get his <a
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">sample
Mono module for Perl</a>
Authors: Paolo Molaro, Miguel de Icaza.
* Embedding the runtime.
Embedding the runtime consists of various steps:
<ul>
* Compiling and linking the Mono runtime
* Initializing the Mono runtime
* Optionally expose C code to the C#/CIL universe.
</ul>
These are discussed in detail next.
** Compiling and Linking
To embed the runtime, you have to link your code against the
Mono runtime libraries. To do this, you want to pass the
flags returned by pkg-config to your compiler:
<pre>
pkg-config --cflags --libs mono
</pre>
Like this:
<pre>
gcc sample.c `pkg-config --cflags --libs mono`
</pre>
You can separate the compilation flags from the linking flags, for
instance, you can use the following macros in your makefile:
<pre>
CFLAGS=`pkg-config --cflags mono`
LDFLAGS=`pkg-config --libs mono`
</pre>
** Initializing the Mono runtime
To initialize the runtime, call mono_jit_init, like this:
<pre>
MonoDomain *domain;
domain = mono_jit_init ("domain-name");
</pre>
That will return a MonoDomain where your code will be
executed. You can create multiple domains. Each domain is
isolated from the other domains and code in one domain will
not interfere with code in other domains. This is useful if
you want to host different applications in your program.
Then you can load an assembly containing code into the domain:
<pre>
MonoAssembly *assembly;
assembly = mono_domain_assembly_open (domain, "file.dll");
if (!assembly)
error ();
</pre>
In the above example, the contents of `file.dll' will be
loaded into the domain. This only loads the code, but it will
not execute anything yet. You can replace `file.dll' with
another transport file, like `file.exe'
To start executing code, you must invoke a method in the
assembly, or if you have provided a static Main method (an
entry point), you can use the convenience function:
<pre>
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
</pre>
If you want to invoke a different method, look at the
`Invoking Methods in the CIL universe' section later on.
** Shutting down the runtime
To shutdown the Mono runtime, you have to clean up all the
domains that were created, use this function:
<pre>
mono_jit_cleanup (domain);
</pre>
** Applications that use threads.
The Boehm GC system needs to catch your calls to the pthreads
layer, so in each file where you use pthread.h you should
include the <gc/gc.h> file.
* Exposing C code to the CIL universe
The Mono runtime provides two mechanisms to expose C code to
the CIL universe: internal calls and native C code. Internal
calls are tightly integrated with the runtime, and have the
least overhead, as they use the same data types that the
runtime uses.
The other option is to use the Platform Invoke (P/Invoke) to
call C code from the CIL universe, using the standard P/Invoke
mechanisms.
To register an internal call, use this call in the C code:
<pre>
mono_add_internal_call ("Hello::Sample", sample);
</pre>
Now, you need to declare this on the C# side:
<pre>
using System;
using System.Runtime.CompilerServices;
</pre>
<pre>
class Hello {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
extern static string Sample ();
}
</pre>
Since this routine returns a string, here is the C definition:
<pre>
static MonoString*
Sample ()
{
return mono_string_new (mono_domain_get (), "Hello!");
}
</pre>
Notice that we have to return a `MonoString', and we use the
`mono_string_new' API call to obtain this from a string.
* Invoking Methods in the CIL universe
Calling a method in the CIL universe from C requires a number of steps:
<ul>
* Obtaining the MonoMethod handle to the method.
* The method invocation.
</ul>
** Obtaining a MonoMethod
To get a MonoMethod there are several ways.
You can get a MonoClass (the structure representing a type)
using:
<pre>
MonoClass *
mono_class_from_name (MonoImage *image, const char* name_space, const char *name);
</pre>
and then loop in the returned class method array until you get
the one you're looking for. There are examples of such
searches as static functions in several C files in
metadata/*.c: we need to expose one through the API and remove
the duplicates.
The other, simpler, way is to use the functions in
debug-helpers.h: there are examples of their use in monograph,
mint and the jit as well. You basically use a string
description of the method, like:
<pre>
"System.Object:GetHashCode()"
</pre>
and create a MonoMethodDesc out of it with:
<pre>
MonoMethodDesc* mono_method_desc_new (const char *name, gboolean include_namespace);
</pre>
You can then use:
<pre>
MonoMethod* mono_method_desc_search_in_class (MonoMethodDesc *desc, MonoClass *klass);
MonoMethod* mono_method_desc_search_in_image (MonoMethodDesc *desc, MonoImage *image);
</pre>
to search for the method in a class or in an image. You would
tipically do this just once at the start of the program and
store the result for reuse somewhere.
** Invoking a Method
There are two functions to call a managed method:
<pre>
MonoObject*
mono_runtime_invoke (MonoMethod *method, void *obj, void **params,
MonoObject **exc);
and
MonoObject*
mono_runtime_invoke_array (MonoMethod *method, void *obj, MonoArray *params,
MonoObject **exc);
</pre>
obj is the 'this' pointer, it should be NULL for static
methods, a MonoObject* for object instances and a pointer to
the value type for value types.
The params array contains the arguments to the method with the
same convention: MonoObject* pointers for object instances and
pointers to the value type otherwise. The _invoke_array
variant takes a C# object[] as the params argument (MonoArray
*params): in this case the value types are boxed inside the
respective reference representation.
From unmanaged code you'll usually use the
mono_runtime_invoke() variant.
Note that this function doesn't handle virtual methods for
you, it will exec the exact method you pass: we still need to
expose a function to lookup the derived class implementation
of a virtual method (there are examples of this in the code,
though).
You can pass NULL as the exc argument if you don't want to
catch exceptions, otherwise, *exc will be set to the exception
thrown, if any. if an exception is thrown, you can't use the
MonoObject* result from the function.
If the method returns a value type, it is boxed in an object
reference.
We have plans for providing an additional method that returns
an unmanaged->managed thunk like this:
<pre>
void* mono_method_get_unmanaged_thunk (MonoMethod *method);
</pre>
You'll be able to store the returned pointer in a function
pointer with the proper signature and call that directly from
C:
<pre>
typedef gint32 (*GetHashCode) (MonoObject *obj);
GetHashCode func = mono_method_get_unmanaged_thunk (System_Object_GetHashCode_method);
gint32 hashvalue = func (myobject);
</pre>
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
* Samples
See the sample programs in mono/sample/embed for examples of
embedding the Mono runtime in your application.
+501 -50
View File
@@ -5,6 +5,9 @@
<a href="#msft">Mono and Microsoft</a><br>
<a href="#pnpproject">Mono and the Portable.NET Project</a><br>
<a href="#webservices">Web Services</a><br>
<a href="#asp">Mono and ASP.NET</a><br>
<a href="#ado">Mono and ADO.NET</a><br>
<a href="#monodoc">MonoDoc</a><br>
<a href="#devel">Development Tools and Issues</a><br>
<a href="#java">Mono and Java</a><br>
<a href="#extending">Extending Mono</a><br>
@@ -15,7 +18,11 @@
<a href="#licensing">Licensing</a><br>
<a href="#patents">Patents</a><br>
<a href="#etc">Miscellaneous Questions</a><br>
<a href="#problems">Mono Common Problems</a><br>
A <a
href="http://www.es.gnome.org/documentacion/articulos/mono-puf/mono-puf/">Spanish
translation</a> is also available
<a name="basics"></a>
** Basics
@@ -23,9 +30,9 @@
Q: What is Mono exactly?
A: The Mono Project is an open development initiative sponsored by
Ximian that is working to develop an open source, Linux-based
Ximian that is working to develop an open source, Unix
version of the Microsoft .NET development platform. Its objective
is to enable Linux developers to build and
is to enable Unix developers to build and
deploy cross-platform .NET Applications. The project will
implement various technologies developed by Microsoft that have now
been submitted to the ECMA for standardization.
@@ -37,7 +44,7 @@ A: The ".NET Initiative" is a somewhat nebulous company-wide effort by
framework. Mono is an implementation of the development framework,
but not an implementation of anything else related to the .NET
Initiative, such as Passport, software-as-a-service, or
corporate rebranding.
corporate re-branding.
Q: What technologies are included in Mono?
@@ -61,7 +68,7 @@ A: Mono contains a number of components useful for building new
Windows has compilers that target the virtual machine from <a
href="http://msdn.microsoft.com/net/thirdparty/default.asp#lang">a
number of languages:</a> Managed C++, Java Script, Eiffel,
Component Pascal, APL, Cobol, Oberon, Perl, Python, Scheme,
Component Pascal, APL, Cobol, Perl, Python, Scheme,
Smalltalk, Standard ML, Haskell, Mercury and Oberon.
The CLR and the Common Type System (CTS) enables applications and
@@ -78,10 +85,12 @@ A: Mono contains a number of components useful for building new
Q: Where can I find the specification for these technologies?
A: You can find the work-in-progress documentation from the T3G ECMA
group here:
A: You can find the information here:
<a href="http://www.dotnetexperts.com">http://www.dotnetexperts.com</a>
C# <a href="http://www.ecma.ch/ecma1/STAND/ecma-334.htm">http://www.ecma.ch/ecma1/STAND/ecma-334.htm</a>
CLI <a href="http://www.ecma.ch/ecma1/STAND/ecma-335.htm">http://www.ecma.ch/ecma1/STAND/ecma-335.htm</a>
Q: Will you implement the .NET Framework SDK class libraries?
@@ -90,7 +99,7 @@ A: Yes, we will be implementing the APIs of the .NET Framework SDK
Q: Will you offer an ECMA-compliant set of class libraries?
A: Eventually we will. Our current focus is on interoperating
A: Eventually we will. Our current focus is on inter-operating
with the Microsoft SDK, but we will also offer an ECMA compliant
set of libraries.
@@ -103,19 +112,27 @@ Q: Is Mono usable?
A: The JIT engine is usable on Intel x86 machines. An interpreter
can be used on other non-Intel x86 machines.
The class libraries are not yet mature enough to run real applications,
but if you are interested in trying out Mono, you can definetly start
testing things out as many programs run.
The C# compiler has made significant progress, it can even compile
itself now, but it can not yet be ran with our class libraries as
they are missing some features.
The class libraries are mature enough to run some real applications
(the compiler for instance, and every day more and more applications
are natively developed with Mono).
Q: When will you ship it?
A: It is premature to target a shipdate for the code, but we
anticipate that it will be available some time in the middle of
2002.
A: Different parts of Mono will achieve usability at different stages,
once we are comfortable with the compiler, we will release "Mono Core",
which contains everything needed to develop applications with the base
class libraries, this will happen soon and in the meantime you can
download daily snapshots of our work. Also the full ASP.NET support is
close to completion.
Other higher level class libraries (ASP.NET, ADO.NET, WinForms) will
be released when they become stable.
Q: What major components will you include in Mono?
A: Hopefully everything that Microsoft ships on their Framework
(ADO.NET, ASP.NET, WinForms), and we encourage third party developers to
create reusable components that work on both Mono and Windows.
Q: How can I contribute?
@@ -132,6 +149,10 @@ A: We are interested in providing the best tools for programmers to
Project white paper</a>.
the project.
Q: Miguel said once that Mono was being implemented in COBOL. Is that true?.
A: No. It was a joke.
<a name="ximian"></a>
@@ -165,13 +186,20 @@ Q: Will Ximian offer Mono commercially?
A: When Mono is ready to be shipped Ximian will offer a commercial
support and services for Mono.
Q: Does Ximian provide consulting services around Mono?
A: Yes, Ximian does provide consulting services around Mono to
make it suitable to your needs. Porting the runtime engine,
customizing it, working on specific classes or tuning the code
for your particular needs.
Q: Will you wait until Mono is finished?
A: Mono will ship on various stages as they mature. Some people
require only a subset of the technologies, those will ship first.
More advanced features will take more time to develop. A support
timeline will be available in June 2002.
time line will be available in June 2002.
<a name="gnome"></a>
** Mono and GNOME
@@ -200,7 +228,7 @@ A: It is still far to early for discussions of "switching over." No
We encourage GNOME developers to continue using the existing tools,
libraries and components. Improvements made to GNOME will have an
impact on Mono, as they would be the "backend" for various classes.
impact on Mono, as they would be the "back-end" for various classes.
Q: Will Mono include compatibility with Bonobo components? What is the
relationship between Mono and Bonobo?
@@ -219,6 +247,15 @@ Q: But will I be able to build GNOME applications?
A: Yes, we will enable people to write GNOME applications using Mono.
Q: Do you have C# bindings for GNOME?.
A: Yes, we currently bind libgnome, libgnomecanvas, and libgnomeui --
although I dare say I have no idea how functional the bindings are
outside of what I tested in the sample app. I imagine other libraries
under the GNOME framework will be added on an as-needed (and as-requested)
basis...although a truly good bonobo binding will have to wait on the CORBA
remoting support which has been started recently.
<a name="gui"></a>
** GUI applications
@@ -239,6 +276,39 @@ A: As long as your applications are 100% .NET and do not make use
of P/Invoke to call Win32 functions, your smart client applications
will run on Mono platforms.
Q: Where can I learn more about Gtk#?
A: The following <a href="http://gtk-sharp.sourceforge.net>link</a> sends you to the page of the project.
Q: What can I do with Gtk#?.
A: Gtk# is becoming very usable and you can create applications and
applets like those you see in a GNOME desktop environment. It's
easy to install so it's worth a try.
Q: How can I compile my HelloWorld.cs which uses Gtk#?.
A: Try: mcs --unsafe -o HelloWorld.exe -r glib-sharp -r pango-sharp -r
atk-sharp -r gdk-sharp -r gtk-sharp -r gdk-imaging-sharp
HelloWorld.cs
Q: Is there any way how to connect DataAdapter to some GTK# controls?
A: There is a sample file called `DbClient' in gtk-sharp/samples that you
might to look at. It is a sample program in Gtk# that adds/updates/deletes
information on a Postgress database. When we have the new table/tree widgets,
I am sure someone would write an adapter for System.Data (in Gtk2 the
tree/list widgets are written using a view/model, so you only need to write
a model that maps to the database). You can have a look at
gtk-sharp/sample/DbClient, where there is a GTK# application that uses
System.Data. It does not use DataAdapter, but DataReader though.
Q: Do you have an estimate for when Windows.Forms will be released?
A: We do not know, volunteers are working on this, but there is no set
date yet. The current approach is using the Wine Library to implement
it.
<a name="msft"></a>
** Mono and Microsoft
@@ -262,7 +332,7 @@ Q: Do you fear that Microsoft will change the spec and render Mono
A: No. Microsoft proved with the CLI and the C# language that it was
possible to create a powerful foundation for many languages to
interoperate. We will always have that.
inter-operate. We will always have that.
Even if changes happened in the platform which were undocumented,
the existing platform would a value on its own.
@@ -336,6 +406,25 @@ A: No, it will not. Microsoft Office is a Windows application. To
learn more about running Windows applications on Intel Unix systems
refer to <a href="http://www.winehq.com">the Wine Project</a>.
Q: Will I be able to compile a Microsoft VB.NET application and execute
the resultant MSIL file under MONO on Linux without converting to C#
and recompiling?
A: Once we have a complete VisualBasic runtime, yes.
Q: Can mono run the WebMatrix?
A: No. That requires System.Windows.Forms support which is not
currently implemented.
Q: Does mono have something like Passport?
Will mono have a server side Passport/Similar framework for XSP as well as client classes?
A: Not yet, but the client side API for authentication is not the problem.
We will likely have a lot of other authentication APIs, like the Liberty
Alliance APIs. The problem is people on the web provider end that might use
this for authentication.
<a name="pnpproject"></a>
** Mono and Portable.NET
@@ -343,8 +432,48 @@ Q: What are the differences between Mono and Portable.NET?
A: Most of Mono is being written using C#, with only
a few parts written in C (The JIT engine, the runtime, the
interfaces to the garbage collection system). The Portable.NET
Project is using C for development.
interfaces to the garbage collection system).
It is easier to describe what is unique about Mono:
<ul>
<li> A self-hosting C# compiler written in C#, which is clean, easy
to maintain.
<li> A multi-platform runtime engine: both a JIT engine and an
interpreter exist. The JIT engine runs currently on x86
systems, while the interpreter works on SPARC, StrongARM and
PowerPC systems.
<li> Supports Linux, Windows and Solaris at this point.
<li> The JIT engine is written using a portable instruction
selector which not only generates good code (we are told
that we are faster than Rotor, but it is hard to tell) but
is also the foundation to re-target the JIT engine to other
systems.
The system employed is described in various compiler
books and it is very similar to what is described in the
book that covers LCC, the ANSI C retargetable C compiler.
<li> The JIT engine supports in-lining, constant folding and propagation,
<li> Full support for remoting in the runtime, but the class
libraries are still behind.
<li> The C# compiler, the JIT engine and the class libraries are
mature enough that the whole system is self-hosting. This means that
we develop Mono completely with itself at this point.
<li> We are not yet done, and there is a lot of work left to be
done
<li> We have a great community of developers, without which Mono
would not be possible.
<li> We will provide an ahead of time compilation mode in the
future.
</ul>
<a name="webservices"></a>
** Web Services
@@ -361,7 +490,7 @@ A: Mono is only related to Web Services in that it will implement the
Q: Can I author Web Services with Mono?
A: You will be able to write Web Services on .NET that run on Mono and
viceversa.
vice-versa.
Q: If Mono implements the SDK classes, will I be able to write and
execute .NET Web Services with it?
@@ -383,30 +512,40 @@ A: Yes. The CLI contains enough information about a class that
exposing it to other RPC systems (like CORBA) is really simple, and
does not even require support from an object.
We will be implementing CORBA interoperation as an extension to the
We will be implementing CORBA inter-operation as an extension to the
Mono classes so that we can integrate with Bonobo, just like
Microsoft provides COM interoperation classes and support
Microsoft provides COM inter-operation classes and support
mechanisms.
Q: Can I serialize my objects to other things other than XML?
A: Yes, although the serializing tools have not yet been planned, and
you would probably have to implement them yourself.
you would probably have to implement them yourself.
Q: Will Mono use ORBit?
A: No. Mono will be using a new implementation of CORBA that isn't still started.
<a name="monodoc"></a>
** MonoDoc
Q: What is MonoDoc?
A: MonoDoc is a graphical documentation editor and viewer. Currently, MonoDoc
consists of a Gtk# application and is in heavy development. There is also a
Qt# version of it.
<a name="devel"></a>
** Development Tools and Issues
Q: Will it be possible to use the CLI features without using bytecodes
Q: Will it be possible to use the CLI features without using byte codes
or the JIT?
A: Yes. The CLI engine will be made available as a shared library.
The garbage collection engine, the threading abstraction, the
object system, the dynamic type code system and the JIT will be
available for C developers to integreate with their applications if
available for C developers to integrate with their applications if
they wish to do so.
Q: Will you have new development tools?
@@ -435,6 +574,136 @@ A: The CIL is better suited to be JITed than JVM byte codes, but you
can interpret them as trivially as you can interpret JVM byte
codes.
Q: Isn't it a little bit confusing to have the name of "XSP" (the same
as in the Apache Project) for the ASP.NET support in Mono?.
A: In Mono, xsp is just the name of the C# code generator for ASP.NET
pages. In the Apache Project, it is a term for the "eXtensible Server
Pages" technology so as they are very different things, they don't
conflict.
Q: What about using something like Jabber instead of the System.Messaging
namespace?.
A: In short, MSMQ is not something like Jabber, but asynchronous messaging
through queues. Useful queues do more than serialize messages, they are
also platform bridges.
Q: Are you supporting XMLDocument and relatives?.
A: Currently, we aren't implementing them yet. It would require updates to
most of the XmlNode derivatives so it's not a trivial task. We are
currently focusing on getting XPath support working.
Q: Is there any plan to develop an aspx server for Mono?.
A: The web server turned out to be very simple compared to the rest of the
work. Gonzalo has got the page generator mostly done (a module called
xsp, who has nothing to do with the XSP term used in the Apache Project).
Patrik has done a lot of the work to get the ProcessRequest to work.
You can try to help in the final touches to the System.Web classes and
writing regression tests for the widgets we have.
Q: Is there any way I can develop the class libraries using Linux yet?
A: Yes. Some class libraries can be developed on Linux. Search for
Paolo's post (he lists which classes can be compiled fine now).
Q: Is there any way I can install a known working copy of mono in /usr,
and an experimental copy somewhere else, and have both copies use
their own libraries? (I'm still not very good at library paths in
Linux)
A: Yes. Just use two installation prefixes.
Q: How should I write tests or a tests suite?
A: If you do a test suite for C#, you might want to keep it
independent of the Mono C# compiler, so that other compiler
implementations can later use it.
Q: Would it be too terrible to have another corlib signed as mscorlib?
A: We rename corlib to mscorlib also when saving the PE files, in fact,
the runtime can execute program created by mono just fine.
Q: Is there a relatively straightforward way to repeat the steps taken
by Paolo to get Mono completely self-hosted on Linux?
A: To build the compiler and class libraries in Linux, run:
<ul><li>make -f makefile.gnu. To install them, run: </li>
<li>make -f makefile.gnu install prefix=/opt/mono</li>
</ul>
If you want to produce and distribute a monocharge tarball, run:
make -f makefile.gnu dist
Of course you have to run these in the top level mcs directory.
Q: Is it possible to build a C# file to some sort of intermediate format which
can linked into a final module, like the traditional .c -> .o -> .so path?
A: You could do: mcs /target:module file1.cs, mcs /target:module file2.cs,
mcs /target:exe file1.dll file2.dll /out:mybin.exe
Q: Is there any plans for implementing remoting in the near future?, When will
work in System.Runtime.Remoting.dll start?
A: The remoting infrastructure is in place. Some of the channels and
formatters are not.
Q: I'm wondering if there are any plans to start using nant to build the
class lib + test lib. i think that every project need/should use an
automated build process and nant + a couple of tools enables this. is
the problem that the compiler can't run nant yet?
A: Maybe well be doing some sort of automated build process + testing when
the summer finish.
<a name="asp">
** Mono and ASP.NET
Q: Is Mono supporting ASP.NET?
A: Yes. The development of the support for ASP.NET comes in various stages,
here is what Gonzalo has been working on: 1. The Parser. 2. Getting the
parser to generate output compatible with ASP.NET. 3. Running the sample
output with the real Microsoft runtime but using our generated page. 4.
Running the sample with our classes with the .NET runtime. 5. Running
our sample code with our classes with our runtime. This is the process
we are following. Currently Gonzalo has reached point 5.
Q: Do I need install cygwin to work on ASP.NET in mono or Linux is enough since
it is self host right now.
A: Linux is enough.
Q: Any plan to make ASP.NET in mono works with Apache in Linux?.
A: Yes, we have plans to do so, but we need to wait for Patrik's patches to
HttpRuntime. Once that is there, writing a mod_mono should be trivial
(look at mono/samples/embed for a sample embedded application).
<a name="ado">
** Mono and ADO.NET
Q: What is the status of ADO.NET support?. Could I start migrating
applications from MS.NET to Mono?.
A: You could start right now using the ADO.NET support in mono, of course,
if you want to help filling the missing gaps while you develop your app
:-) Well, what I mean is that we're not that far to having full ADO.NET
support in Mono, and we've got a lot of working things, so if we could
get more help, we'd finish it really soon :-)
Q: In developing the data architecture for the application are there and
objects I should stay away from in order to insure the smoothest possible
transition (minimum code rewrite) to Mono's ADO.NET implementation? (For
example, strongly typed datasets versus untyped datasets, etc...)
A: We are implementing all the classes in Microsoft .NET's System.Data, so
you can be sure that things will work the same in Mono as with the Microsoft
implementation.
<a name="java">
** Mono and Java
@@ -444,7 +713,7 @@ Q: Why don't you use Java? After all, there are many languages that
A: You can get very good tools for doing Java development on free
systems right now. <a href="http://www.redhat.com">Red Hat</a> has
contributed a <a href="http://gcc.gnu.org">GCC</a> <a
href="http://gcc.gnu.org/java">frontend for Java</a> that can take
href="http://gcc.gnu.org/java">front-end for Java</a> that can take
Java sources or Java byte codes and generate native executables; <a
href="http://www.transvirtual.com">Transvirtual</a> has implemented
<a href="http://www.kaffe.org">Kaffe</a> a JIT engine for Java;
@@ -463,10 +732,10 @@ A: Yes, Java could target the CLI. We have details on a <a
href="ideas.html#guavac">project</a> that someone could take on to
make this happen.
Microsoft has an implemenation of the Java language called J# that
Microsoft has an implementation of the Java language called J# that
can target the CIL execution engine.
Q: Is it possible to write a JVM byte code to CIL convertor?
Q: Is it possible to write a JVM byte code to CIL converter?
A: Yes, it is possible. Here are a few starting point:
@@ -486,6 +755,24 @@ A: Yes, it is possible. Here are a few starting point:
be translated into the equivalent "meaning" in CLR-land.
</ul>
Q: Could mono become a hybrid CIL/java platform?
A: No. It is quite far from the philosophy of the project. The idea of Mono
is, to have only _one_ VM, on which all can run. And if there existing a
binary-converter from Java-.class to IL and if there existing something
like J-Sharp on Mono, you can write programs in Java, which than can run
on Mono. You do not need two bindings (like your example: GTK-Sharp _and_
Java-Gnome). You need only _one_ of it (GTK-Sharp). Thats the idea of Mono.
An other point is, that there are no people, who use Open Source-JVMs. They
all prefer Suns original. But for Unix there don't exist a .NET-Framework.
So it is possible, that in the future Mono is the standard .NET for Unixes.
Q: Do you plan to implement a Javascript compiler?
A: Yes. Eto Demerzal has started a Rhino port to C#.
After this is completed, we will begin developing
the JavaScript compiler.
<a name="extending"></a>
** Extending Mono
@@ -513,7 +800,20 @@ A: Embracing a good technology is good. Extending technologies in
If you have innovative ideas, and want to create new classes, we
encourage you to make those classes operate correctly well in both
Mono and .NET
Mono and .NET.
Q: Is there any way I can develop the class libraries using Linux yet?
A: Yes. Some class libraries can be developed on Linux. Search for
Paolo's post (he lists which classes can be compiled fine now).
Q: Is there any way I can install a known working copy of mono in /usr,
and an experimental copy somewhere else, and have both copies use
their own libraries? (I'm still not very good at library paths in
Linux)
A: Yes. Just use two installation prefixes.
<a name="portability"></a>
** Portability
@@ -524,19 +824,35 @@ A: Currently, we are doing our work on Linux-based systems and
Windows. We do not expect many Linux-isms in the code, so it
should be easy to port Mono to other UNIX variants.
Q: What about Mono on non X-based systems?
Q: What about Mono on non Linux-based systems?
A: Our main intention at Ximian is to be able to develop GNOME
applications with Mono, but if you are interested in providing a
port of the Winform classes to other platforms (frame buffer or
port of the Winforms classes to other platforms (frame buffer or
MacOS X for example), we would gladly integrate them, as long
they are under an open source license.
Q: Will Mono run on Windows?
Q: What operating systems/CPUs do you support
A: We hope so. Currently some parts of Mono only run on Windows
(the C# compiler is a .NET executable) and other parts have only
been compiled on Linux, but work on Windows with Cygwin.
A: Mono currently runs on Linux, Windows, Solaris and FreeBSD.
There is a JIT engine available for x86 processors that can
generate code and optimizations tailored for a particular CPU.
Interpreters exist for the SPARC, PowerPC and StrongARM CPUs.
Q: Does Mono run on Windows?
A: Yes. You can get pre-compiled
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
Q: Does Mono run on Linux?
A: Yes. You can get pre-compiled
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
Q: Will I require Cygwin to run mono?
A: No. Cygwin is only required to build Mono.
Q: Will Mono depend on GNOME?
@@ -545,6 +861,28 @@ A: It will depend only if you are using a particular assembly (for
in Mono for implementing a `Hello World Enterprise P2P Web
Service', you will not need any GNOME components.
Q: Is anyone working on porting Mono to IA-64?
A: Nobody is working on such port.
Q: If I were about to start a Mono port to IA-64,would the same lburg code
generator work for IA-64 also? or anything else need to be used for code
generation(as the processor architecture is totally different from IA32)
A: The lburg approach can be use for any processor architecture. But you might
think in another better approach.
Q: Do you plan to port Rhino to C#?.
A: Eto Demerzal has started a Rhino port to C#.
Q: Has anyone succeeded in building a Mac version of the C# environment.
If so can you explain how?
A: You could try to check with the Darwin people, or the Fink people.
Mono/C# is self hosting on Linux/PPC which is the hard part, so it
should be relatively simple to get it to work on MacOS
<a name="reuse"></a>
** Reusing Existing Code
@@ -560,16 +898,58 @@ A: At this time, we are investigating whether we can use elements of
defined API that splits the JIT from the GC system and the actual
byte code implementation.
We are using some pieces of ORP (Their code generation interface)
and we use it as a source of inspiration for optimizations. Paolo
and Dietmar consider ORP as being one of the best JIT engines out
there (and their research work and papers are very useful if you are
interested in JIT technology).
Q: What about using GNU Lightning?
A: We are also researching <a
href="http://www.gnu.org/software/lightning/lightning.html">GNU
Lightning</a>.
A: We are not using GNU Lightning. Our JIT is using an instruction
selector based on tree-pattern matching, and a code generation
interface that is very tied to the current architecture.
Q: Will I be able to use Microsoft SQL Server 2000 or will I need to switch
to a specific Open Source Database. Will I need to recode?
A: There should not be any need to recode.
Q: What do I need to watch out for when programming in VB.NET so that I'm
sure to be able to run those apps on Linux?
A: Not making any PInvoke or DLL calls should and not using anything in
the Microsoft.* namespaces should suffice. Also do not use any
Methods/Classes marked as "This type/method supports the .NET Framework
infrastructure and is not intended to be used directly from your code."
even if you know what these classes/methods do.
Q: Will built-in reporting be supported for crystal reports? This is a
heavily used part of our system.
A: Probably not. Crystal Reports are propriety. Someone may try to emulate
the behavior, but no-one has yet volunteered.
Q: Who about writing to the registry? As I understand it, Linux does not have
a counterpart to the registry. Should I avoid relying on that feature?
A: Try to avoid it. Although there would be a emulation for registry in
Mono too. GNOME does have a registry like mechanism for configuration. But
Even if gnome has a configuration system similar to the registry, the keys
will not be equal, so you will probably end up having to do some runtime
detection, and depending on this load an assembly that has your
platform-specific hacks.
Q: System.Data.SqlClient with FreeTDS, will you port parts of these to C# and
use them?
A: if their license is compatible with mono's, yes, we'd think about porting
them. If not, we'll continue with the plan of using FreeTDS.
<a name="gcc"></a>
** Mono and GCC
Q: Are you working on a GCC front-end to C#? A GCC backend that will
Q: Are you working on a GCC front-end to C#? A GCC back-end that will
generate CIL images? What about making a front-end to GCC that
takes CIL images and generates native code?
@@ -635,6 +1015,14 @@ A: The C# Compiler is released under the terms of the <a
href="http://www.opensource.org/licenses/mit-license.html">MIT X11</a>
license.
The Mono runtime and the Mono C# Compiler are also available under
a proprietary license for those who can not use the LGPL and the
GPL in their code.
For licensing details, contact <a
href="mailto:[email protected]">[email protected]</a>
Q: I would like to contribute code to Mono under a particular
license. What licenses will you accept?
@@ -642,7 +1030,10 @@ A: We will have to evaluate the licenses for compatibility first,
but as a general rule, we will accept the code under the same
terms of the "container" module.
<a name="patents></a>
Q: Is the Mono
<a name="patents"></a>
** Patents
Q: Could patents be used to completely disable Mono (either submarine
@@ -652,7 +1043,9 @@ Q: Could patents be used to completely disable Mono (either submarine
A: No. First, its basic functional capabilities have pre-existed too
long to be held up by patents. The basic components of Mono are
technologically equivalent to Sun's Java technology, which has been
around for years. Mono will also implement multi-language and
around for years.
Mono will also implement multi-language and
multi-architecture support, but there are previous technologies
such as UCSD p-code and ANDF that also support multiple languages
using a common intermediate language. The libraries are similar
@@ -668,8 +1061,8 @@ A: No. First, its basic functional capabilities have pre-existed too
open source software community with good development tools, which
is the primary reason for developing Mono.
<a name="etc"></a> **
Miscellaneous Questions
<a name="etc"></a>
** Miscellaneous Questions
Q: You say that the CLI allows multiple languages to execute on the
same environment. Isn't this the purpose of CORBA?
@@ -678,11 +1071,11 @@ A: The key difference between CORBA (and COM) and the CLI is that the
CLI allows "data-level interoperability" because every
language/component uses the same data layout and memory management.
This means you can operate directly upon the datatypes that someone
This means you can operate directly upon the data types that someone
else provides, without having to go via their interfaces. It also
means you don't have to "marshall" (convert) parameters (data
means you don't have to "marshal" (convert) parameters (data
layouts are the same, so you can just pass components directly) and
you don't have to worry about memory managment, because all
you don't have to worry about memory management, because all
languages/components share the same garbage collector and address
space. This means much less copying and no need for reference
counting.
@@ -696,3 +1089,61 @@ Q: Will Ximian offer certifications on Mono or related technologies?.
A: It's possible. But there is no plan about this. So the short answer is no.
Q: Are there any Boehm's GC binaries?
A: Yes. You can find RPMs <a href="http://java.thn.htu.se/~toor/">here</a>, though
if your distribution provides the correct packages, you should use those.
The suggested version of the Boehm GC is 6.1.
Q: How can I report a bug?
A: The best thing is to track down the bug and provide a simple test to
reproduce the bug. You can then add the bug to the
<a href="http://bugzilla.ximian.com/enter_bug.cgi">bugtracking system</a>.
Please provide information about what version of mono you're using
and any relevant details to be able to reproduce the bug. Note that
bugs reported on the mailing-list may be easily forgotten, so it's
better to file them in the <a href="http://bugzilla.ximian.com/enter_bug.cgi">bug tracking system</a>.
Q: Does mcs support the same command line options as the MS C#
compiler?
A: The Mono C# compiler now supports the same command line
arguments as the Microsoft C# compiler does.
Q: How about getting searchable archives on lists.ximian.com?
A: You can perform a search on the mono-related mailing lists
<a href="http://www.go-mono.com/mailing-lists.html">here</a>.
Q: When using mono from cvs or from a snapshot, I get an error messaage
saying that Mono and the runtime are out of sync. How do I fix that?
A: If you use mono from cvs, you need to be prepared for changes in the
runtime internals. This means that you should keep a working setup
before blindling updating (a working setup may just be the last released
tarball or a recent binary snapshot).
Usually, compiling corlib with mcs before recompiling the C runtime does
the right thing (but occasionally you may need to do it the other
way around).
Q: Why are you going for a GtkHtml implementation?
A: GtkHTML is just a lightweight HTML rendering engine that does not
support CSS, so we need it to look decent for those of us that will
be using the documentation in our day-to-day work on Linux. The
Web-based interfaces lack the agility that you get from a native GUI
tool to browse your documentation. Probably later on, we will write
scripts and generate a full documentation set that is web-browsable,
but we need a command-line and GUI tools that we can use natively on
Linux when disconnected from the Web (and that has better
interactions than a web page).
<a name="problems"></a>
** Mono Common Problems
If you are having problems compiling or running Mono software
or if you think that you found a bug, etc. Please visit the
<a href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">Mono Common Problems</a> document and try there.
Executable
+100
View File
@@ -0,0 +1,100 @@
* Firebird and Interbase Data Provider
<ul>
<li>Does not exist in Mono, but is a separate project</li>
<li><a href="http://firebird.sourceforge.net/index.php">Firebird Relational Database</a> is
an independent project which uses source code based on the Interbase source code released
by Borland under the Interbase Public License</li>
<li>Both the Firebird Relational Database and the Firebird .NET Data Provider can be
downloaded from <a href="http://sourceforge.net/projects/firebird/firebird">here</a></li>
<li>The Firebird .NET Data provider has been made
available by Carlos Guzmán Álvarez (aka "Carlos G.A."), who has also made a
number of contributions to the OdbcJdbc code</li>
</ul>
* Current Status
<ul>
<li>Currently, it is able to connect to Firebird and Interbase databases
and execute commands</li>
<li>The new data
provider/driver is written in C# and provides a high-performance native
implementation of the GDS32/API functions. This means that .Net developers
will be able to access Firebird databases without the need of Firebird
client install</li>
<li>In support of the new module, a new mailing list
<a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a> has
been created. Please use this list for any
questions that you may have about the provider</li>
<li>Stuff that works:
<ul>
<li>Currently implemented classes:
<ul>
<li>Connection and Connection Pooling</li>
<li>Command</li>
<li>Transaction</li>
<li>CommandBuilder</li>
<li>DataAdapter</li>
<li>DataReader</li>
<li>Error</li>
<li>ErrorCollection</li>
<li>Exception</li>
<li>Parameter</li>
<li>ParameterCollection</li>
<li>Transaction</li>
</ul>
</li>
</ul>
</li>
</ul>
* Action Plan
<ul>
<li>Bug fixing</li>
<li>Improving API reference documentation</li>
<li>Full testing with Firebird 1.5</li>
<li>Test with Mono ( http://www.go-mono.com )
<ul>
<li>Status : Started</li>
</ul>
</li>
<li>Support for array datatype
<ul>
<li>Status : Started</li>
<li>Comments: See Interbase API reference documentation</li>
<li>Add new file FbArray.cs for array fields management</li>
</ul>
</li>
<li>Support for Stored Procs calls that have returns values
<ul>
<li>Status : Pending.</li>
<li>Comments: Modify the isc_dsql_prepare method of GDS implementation for
allow to return the output parameters.</li>
</ul>
</li>
<li>Implementation of FbClientPermission and FbClientPermissionAttribute
<ul>
<li>Status : Pending</li>
<li>Comments: See if these are really needed for Firebird</li>
</ul>
</li>
<li>Improve Logger implementation
<ul>
<li>Status: Pending</li>
</ul>
</li>
</ul>
+31
View File
@@ -0,0 +1,31 @@
* Mono Hackers Hall Of Fame
Without the help, the skills and the time of many passionate developers outside of
the Ximian Mono team, Mono would not be where it is today.
Many of them do it for fun, some do it because they really want a nice CLR they
can hack on, some do it because they need a working solution to some development
issues and mono is the ideal tool for the job.
Some of them may start contributing because they want a mention in the
<b>Mono Hackers Hall Of Fame</b>! Whatever the cause, join us in a big<br>
<h1 align="center">Thank you!</h1>
* Mono Hackers
** Sergey Chaban
Sergey has been a long time contributor to the project, from the early
work on the class libraries that were critical to Mono's origin: every
time you use a Hashtable in Mono, it runs Sergey's code, to the
low-level optimizations on the JIT engine and to his work on ILASM and
the PEToolkit. And countless other things.
** Nick Drochak
The first, deserved, entry in the <b>Mono Hackers Hall Of Fame</b> is for
Nick Drochak, who joined us in the first days of Mono and built the testing
infrastructure for the C# assemblies, fixed tons of bugs and even adventured
himself in the lands of the C runtime. His work is invaluable for keeping
Mono on the right track through the daily changes in the codebase.
+1141 -104
View File
File diff suppressed because it is too large. Load diff
+14
View File
@@ -1,5 +1,9 @@
* Java
<b>This is an outline on how to support Java, actual
implementations of ideas like this can be found <a href="http://radio.weblogs.com/0109845/">here</a></b>
It would be interesting to support the Java language as part
of the Mono project.
@@ -10,6 +14,16 @@
Microsoft J# compiler. We could then allow the migration of
Java applications to the Mono runtime.
** Native compiler
Although a native compiler can be built, and probably should be
built using an existing compiler, a short term solution is to
build a translator from Java class files to the ECMA CIL images.
This has the advantage that we can use an existing and tested
Java compiler to generate the code, and then we can use an automated
code compiler that compiles Java VM bytecodes to CIL bytecodes.
** The translator.
It would be interesting to write a semantic translator that
+15 -173
View File
@@ -1,181 +1,23 @@
* How to debug your C# application with the JIT engine
* Debugging information
To debug a C# application you need to run the JIT in your debugger.
Compile your programs using the `-g' flag in MCS, that will generate a file
with the extension .dbg containing the dwarf symbols for your executable.
Before you can do anything useful in a debugger, you need a symbol
file which tells your debugger about functions, types, line numbers
and such. Unfortunately, this symbol file needs to be recreated each
time the JIT compiles a new method since it doesn't know anything
about this method (especially not its memory address) before actually
compiling it.
To get stack traces with line number information, you need to run your
program like this:
You have two ways of creating a symbol file:
<b>
mono --debug program.exe
</b>
** Letting the JIT dynamically create the symbol file
Notice that the program will need to be compiled with the -g
flag and that running with --debug will slow down the execution.
This'll give you a symbol file which is suitable for debugging IL byte
code - you won't see your C# source code.
However, this method has the advantage that it works with every assembly,
no matter whether it has been compiled with Mono's C# compiler (MCS) or
with any other compiler. It's currently the only way to debug
<tt>corlib.dll</tt> or any other library which cannot be compiled with
our compiler yet.
All that you need is a dump of the IL bytecode for each assembly (including
all assemblies this assembly is referencing). This is done by using the
<tt>monodis</tt> utility:
<pre>
monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il<br>
monodis /home/export/martin/MONO-LINUX/lib/System.dll > System.il<br>
monodis /home/export/martin/MONO-LINUX/bin/mcs.exe > mcs.il
</pre>
Make sure that all the .il files have the same name as their corresponding
assembly and that they're all created in the current directory.
The JIT supports two different debugging file formats:
<ul>
* STABS: This is a very simple debugging format, but it may be the only one
which is supported on your system. It is limited to source files of no more
than 65.535 lines and it's type support is also very limited. You should only
use this if your debugger doesn't support DWARF 2.
To generate STABS output, use the <tt>--stabs</tt> command line argument.
* DWARF 2: The DWARF 2 debugging format is a very powerful debugging format
which can handle source files of arbitrary size and has a highly sophisticated
type support. It's the recommended format unless you need to use STABS because
your debugger doesn't support DWARF 2.
To generate DWARF 2 output, use the <tt>--dwarf</tt> command line argument.
</ul>
You need to regenerate the symbol file each time the JIT compiled a new
method and each time you restart the JIT. You cannot reuse your symbol file
if you start the JIT a second file, not even if you're running the same
application with the same input data a second time.
Regenerating the symbol file is done by calling the JIT's
<tt>mono_debug_make_symbols ()</tt> function from within your debugger and
then reloading the symbol files. This function creates a <tt>filename-dwarf.s</tt>
(or <tt>filename-stabs.s</tt>) assembler input file in the current directory and
an object file in <tt>/tmp/filename.o</tt> - you need to tell your debugger to
add this object file as symbol file.
If you're using the GNU debugger, this is done like this:
<pre>
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
</pre>
You can also write a GDB macro like this:
<pre>
define reload
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
end
</pre>
Then you can just say <tt>reload</tt> to have GDB recreate the symbol file.
There's also an <a href="jit-debug-sample.html">example debugging session</a> using
the GNU debugger.
** Using a symbol file which have been created by the Mono C# compiler
If you compiled your application with Mono's C# compiler (MCS), you can tell it to
create a symbol file which is then processed and rewritten by the JIT engine.
To do this, you must give MCS the <tt>-g</tt> option:
<pre>
$ mcs -g Foo.cs
</pre>
This creates a <tt>Foo-debug.s</tt> assembler input file.
To use this in the JIT, you must first copy it to the target machine (the machine
where you want to run the JIT to debug your application) and run it through the
assembler to produce an object file <tt>Foo-debug.o</tt>. This object file must be
in the current directory.
Then start the JIT in your debugger and give it the <tt>--dwarf-plus</tt> command
line argument.
Each time you call <tt>mono_debug_make_symbols ()</tt> from withing your debugger,
the JIT will read this <tt>Foo-debug.o</tt>, fix some machine dependent things like
memory addresses etc. in it and write it back to disk.
If you're using the GNU debugger, you'll want to use a macro like this:
<pre>
define relocate
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file mcs-debug.o
add-symbol-file Mono.CSharp.Debugger-debug.o
end
</pre>
If there is no <tt>assembly-debug.o</tt> file, but an <tt>assembly.il</tt> one, the
JIT will fall back to normal DWARF 2 (in the example above, <tt>corlib.dll</tt> was
compiled with Microsoft's compiler and the JIT is thus using DWARF to debug it).
This debugging method only works if you compiled your assembly with MCS, but it'll
allow you to actually debug your C# source code :-)
Here's an <a href="jit-debug-sample2.html">example debugging session</a> using
the GNU debugger.
** Breakpoints and single stepping
The JIT has a <tt>--debug</tt> command line argument to insert a breakpoint at the
beginning of this method. It takes a <tt>Namespace.Class:Method</tt> argument which
is the method. This argument can be given multiple times.
However, once your application is stopped in GDB you may want to insert a breakpoint
the next time the JIT compiles a method. There's a global variable
<tt>mono_debug_insert_breakpoint</tt> which you can modify in your debugger.
If this variable is set to a non-zero value, the JIT's <tt>arch_compile_method</tt>
will insert a breakpoint the next time it is called, ie. at the top of the next
method it compiles. If this value has a positive value, it acts as a counter and is
decremented after inserting the breakpoint - setting it to a negative value will let
the JIT insert the breakpoint each time it compiles a new method.
There's also global variable <tt>mono_debug_last_breakpoint_address</tt> which always
contains the address of the last inserted breakpoint. You may manually override this
address with a <tt>nop</tt> instruction to delete the breakpoint.
For instance, I have a GDB macro called <tt>enter</tt> which I use to enter a method
rather than stepping over it:
<pre>
define enter
set mono_debug_insert_breakpoint = 1
continue
set *mono_debug_last_breakpoint_address = 0x90
relocate
frame
</pre>
Btw. speaking of single stepping - you should use your debuggers <tt>next</tt> command,
not its <tt>step</tt> command for single stepping unless you compiled the JIT without
debugging support. The reason for this is that the JIT creates machine code which contains
calls to JIT methods such as <tt>mono_object_new_wrapper</tt> at places where you don't
expect them - so unless the JIT is compiled at least without line numbers, your debugger
will enter such methods if you use <tt>step</tt> rather than <tt>next</tt>.
* Mono Debugger
A new debugger has been created in C# and using Gtk# for its
user interface, this will simplify the debugging of CLI applications.
Stay turned for its first public release.
+2 -2
View File
@@ -38,8 +38,8 @@
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --dwarf --debug Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf --debug Foo:Main ./Foo.exe
(gdb) r --debug=dwarf --break Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf --break Foo:Main ./Foo.exe
0x081e8911 in ?? ()
(gdb) call mono_debug_make_symbols ()
(gdb) add-symbol-file /tmp/Foo.o
+2 -2
View File
@@ -39,8 +39,8 @@
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --dwarf-plus --debug Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf-plus --debug Foo:Main ./Foo.exe
(gdb) r --debug=dwarf-plus --break Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf-plus --break Foo:Main ./Foo.exe
Program received signal SIGTRAP, Trace/breakpoint trap.
0x081e8681 in ?? ()
(gdb) call mono_debug_make_symbols ()
+108 -3
View File
@@ -3,17 +3,122 @@
Here are some other free compilers for other languages that
target .NET and should work with Mono with no problem:
* Oberon
<ul>
* <a href="#ComponentPascal">Component Pascal</a>
* <a href="#MonoLogo">MonoLogo</a>
* <a href="#Oberon">Oberon</a>
* <a href="#Forth">Forth</a>
</ul>
Languages we would like to have supported, with links to resources:
<ul>
* <a href="#JavaScript">Java Script</a>
* <a href="#java.html">Java</a>
* <a href="#c">C</a>
</ul>
Some experimental languages:
<ul>
* <a href="#Tachy">Tachy</a> (scheme-like)
</ul>
<a name="Java">
** Java
There is a very interesting project to make a JavaVM for .NET
<a href="http://radio.weblogs.com/0109845/">here</a>
<a name="MonoLogo">
** MonoLogo
An implementation of Logo for Mono (and .NET)
The <A href="http://monologo.sf.net">Mono Logo</a> compiler is
hosted in the <a href="ccvs.html">Mono CVS</a> repository
and also available on the <a href="anoncvs.html">AnonCVS</a> mirrors.
<a name="Oberon">
** Oberon
This Oberon compiler is written in Oberon.NET (another self
hosting compiler):
hosting compiler).
The main site <a href="http://www.oberon.ethz.ch/oberon.net/">http://www.oberon.ethz.ch/oberon.net/</a>
Download:
<a href="http://www.oberon.ethz.ch/oberon.net/download/">http://www.oberon.ethz.ch/oberon.net/download/</a>
Examples:
<a href="http://www.oberon.ethz.ch/oberon.net/examples/">http://www.oberon.ethz.ch/oberon.net/examples/</a>
<a href="http://www.superin.formativ.net/mono/oberon/oberon.zip">http://www.superin.formativ.net/mono/oberon/oberon.zip</a>
* Component Pascal
<a name="ComponentPascal">
** Component Pascal
The Component Pascal compiler: <a
href="http://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal">Home
Page</a>, you can <a
href="http://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal/gpcp1.1.4-netRTM.zip">
download it</a>
<a name="Forth">
** Delta Forth
The Delta Forth.NET project: <a
href="www.dataman.ro/dforth">Home
Page</a> and <a href="http://www.dataman.ro/dforth/index.html">more
details here</a>.
<a name="Tachy">
** Tachy
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
* Missing languages
Here is a list of a few languages that we would like to see
supported. We will try to maintain a set of links here with
technical information for those interested in porting,
implementing or adapting a compiler for any of these
languages:
<a name="JavaScript">
* Java Script
The Mozilla project has an implementation of JavaScript
written in Java called <a
href="http://www.mozilla.org/rhino/">Rhino</a>.
You could port this code from Java to C#.
Note that since JavaScript allows for evaluation at runtime,
the compiler has to be built as a class that can be invoked at
runtime.
<a name="c">
* C
Ideally GCC could be modified to generate CIL, but it is a
big task. That would give us various compilers in one pass.
<a href="http://www.cs.princeton.edu/software/lcc">LCC</a> 4.2
has been recently released. This release adds support for compiling
ANSI C programs to CIL. Note that the CIL support only works on Win32
right now, but should be easy to convert to Mono/other architectures.
LCC is not an open source compiler, but it is free as long as you
do not profit from selling it.
<a name="Java">
* Java
We have a <a href="java.html">separate page</a> for Java.
+133 -12
View File
@@ -1,6 +1,10 @@
* Mailing Lists
There are a number of mailing lists for Mono
Most of the mailing lists are in english, but there is also
Mono Hispano that has lists in Spanish. <a
href="http://mono.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
There are a number of mailing lists for Mono in English:
<table>
<tr>
@@ -58,16 +62,6 @@
Discussion on the documentation of Mono.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-patches">mono-patches</a></b>
</td>
<td>
Track the development of Mono in realtime: receive patches to the Mono repository
by email.
</td>
</tr>
<tr>
<td>
<b><a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs</a></b>
@@ -77,6 +71,15 @@
in <a href="http://bugzilla.ximian.com">Bugzilla.ximian.com</a>
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms-list</a></b>
</td>
<td>
Used to discuss the Windows.Forms implementatation for Mono using Wine.
</td>
</tr>
</table>
Other mailing lists of interest:
@@ -87,4 +90,122 @@
list at Develop.com:</a></b> The guys at Develop Mentor run
this general purpose mailing list.
</ul>
</ul>
</ul>
* Google search of the archives
<!-- Google Search with mods -->
<center>
<table>
<tr>
<td><a href="http://www.google.com/search"><img src="mailing-lists_files/Logo_40wht.gif" border="0" alt="Google" align="middle"></a></td>
<td>
<table>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face="arial,sans-serif" size="-1"><input type="hidden" name="domains" value="www.go-mono.com;lists.ximian.com"><br><input type="radio" name="sitesearch" value="www.go-mono.com"> Search www.go-mono.com <input type="radio" name="sitesearch" value="lists.ximian.com"> Search lists.ximian.com </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-announce-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>announce-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-bugs">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>bugs</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-gc-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>gc-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-cvs-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>cvs-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-patches">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>patches</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
</table>
</tr>
</table>
</center>
<!-- /Google Search with mods -->
+37
View File
@@ -0,0 +1,37 @@
* Mono for beginners
Hinne Hettema and Jaime Anguiano Olarra are providing us with
nice and complete set of documents (HOWTOs) about how to install,
configure, run and test the software developed by the Mono Project.
You can read them online, get PDF versions or get the XML sources.
HTML Format (read it online)
For <a href="mono-beginning/t1.html">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/t1.html">Microsoft Windows</a>
PDF Format
For <a href="mono-beginning.pdf">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.pdf">Microsoft Windows</a>
XML Source
For <a href="mono-beginning.xml">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.xml">Microsoft Windows</a>
Currently Hinne is working on a Mono Tools HOWTO. Which will be
very useful for the hackers that would like to get in touch with
Mono and Jaime is working out a Mono Beginning HOWTO for Debian
users.
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+56 -12
View File
@@ -17,6 +17,12 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$here/install/lib:$PATH
# Make sure cygwin's libiconv is installed, or libtool blows its tiny mind
if [ ! -f /usr/lib/libiconv.la ]; then
echo "You need to install the cygwin \"libiconv\" package!"
exit -1
fi
# Check mono out first, so we can run aclocal from inside the mono dir (it
# needs to see which version of the real aclocal to run)
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
@@ -42,10 +48,26 @@ fi
cvs checkout mono || exit -1
echo "Checking automake version"
automake_required="1.6.2"
automake_version=`automake --version | head -1 | awk '{print $4}' | tr -d '[a-zA-Z]' | sed 's/-.*$//g'`
echo "Found automake version $automake_version"
if expr $automake_version \< $automake_required > /dev/null; then
echo "Your automake is too old! You need version $automake_required or newer."
exit -1
else
echo "Automake version new enough."
fi
# Select the stable version anyway...
if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
export AUTO_DEVEL=${AUTO_STABLE}
fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
# attempt to be clever and see if glib 2 is already installed, too.
# glib we're about to install in $here/install.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
@@ -56,15 +78,17 @@ cvs checkout mono || exit -1
# it finds two copies of the m4 macros). The GIMP for Windows
# pkgconfig sets its prefix based on the location of its binary, so we
# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
# $prefix is handled similarly).
# $prefix is handled similarly). For the cygwin pkgconfig we do need to
# set it, and we need to edit the mingw pc files too.
function aclocal_scan () {
# Quietly ignore the rogue '-I' and other aclocal flags that
# aren't actually directories...
#
# cd into mono/ so that the aclocal wrapper can work out which version
# of aclocal to run
for i in `(cd mono && aclocal --print-ac-dir)` $ACLOCAL_FLAGS
# of aclocal to run, and add /usr/share/aclocal too cos aclocal looks there
# too.
for i in `(cd mono && aclocal --print-ac-dir)` /usr/share/aclocal $ACLOCAL_FLAGS
do
if [ -f $i/$1 ]; then
return 0
@@ -91,10 +115,17 @@ function install_package() {
fi
}
if ! aclocal_scan pkg.m4 ; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
# pkgconfig is only used during the build, so we can use the cygwin version
# if it exists
if aclocal_scan pkg.m4 ; then
install_pkgconfig=no
else
install_pkgconfig=yes
fi
# But we still need to use the mingw libs for glib & co
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
export PATH
export ACLOCAL_FLAGS
@@ -105,15 +136,28 @@ fi
# Fetch and install pkg-config, glib, iconv, intl
install_package pkgconfig-0.80-tml-20020101.zip bin/pkg-config.exe pkgconfig
install_package glib-1.3.12-20020101.zip lib/libglib-1.3-12.dll glib
install_package glib-dev-1.3.12-20020101.zip lib/glib-1.3.lib glib-dev
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.11-20020310.zip bin/pkg-config.exe pkgconfig
else
echo "Not installing pkgconfig, you already seem to have it installed"
fi
install_package glib-2.0.4-20020703.zip lib/libglib-2.0-0.dll glib
install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
install_package libiconv-1.7.zip lib/iconv.dll iconv
install_package libiconv-dev-1.7.zip lib/iconv.lib iconv-dev
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
install_package libgc-dev.zip lib/gc.dll gc-dev
# Needed to find the libiconv bits
if [ $install_pkgconfig = "no" ]; then
echo "Fixing up the pkgconfig paths"
for i in $here/install/lib/pkgconfig/*.pc
do
mv $i $i.orig
sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
done
export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
fi
# Needed to find the libgc bits
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
+61 -12
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash
# Script to automate the building of mono and its dependencies.
# Relies on wget being installed (could make it fall back to using
@@ -17,6 +17,44 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$PATH
LD_LIBRARY_PATH=$here/install/lib:$LD_LIBRARY_PATH
# Find a tool to fetch files. It must take an HTTP URL on the command line and
# save the file in the current directory. (It must also talk HTTP/1.1, which
# rules out BSD's ftp(1), at least on FreeBSD 4.4.)
viable_downloaders="wget fetch"
for i in $viable_downloaders
do
if which $i > /dev/null; then
downloader=`which $i`
break
fi
done
if [ -z "$downloader" ]; then
echo "Can't find a commandline download tool (tried: $viable_downloaders)"
exit -1
else
echo "Using $downloader to fetch files"
fi
# We need to prefer GNU make if there's a choice. BSD make falls over in
# the glib build if gtk-doc is disabled.
viable_makers="gmake make"
for i in $viable_makers
do
if which $i > /dev/null; then
MAKE=$i
break
fi
done
if [ -z "$MAKE" ]; then
echo "Can't find a make tool (tried: $viable_makers)"
exit -1
else
echo "Using $MAKE"
export MAKE
fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
@@ -64,14 +102,14 @@ function install_package() {
echo "Installing $name..."
if [ ! -f $here/$tarfile ]; then
wget http://www.go-mono.org/archive/$tarfile
(cd $here && $downloader http://www.go-mono.com/archive/$tarfile)
fi
# Assume that the package built correctly if the dir is there
if [ ! -d $here/$dirname ]; then
# Build and install package
tar xzf $here/$tarfile || exit -1
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; make || exit -1; make install || exit -1)
(cd $here && tar xzf $tarfile) || exit -1
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; $MAKE || exit -1; $MAKE install || exit -1)
success=$?
if [ $success -ne 0 ]; then
echo "***** $name build failure. Run rm -rf $here/$dirname to have this script attempt to build $name again next time"
@@ -113,12 +151,23 @@ export LD_LIBRARY_PATH
export ACLOCAL_FLAGS
export PKG_CONFIG_PATH
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
# Freebsd puts iconv in /usr/local, so see if we need to add
# /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS. We could
# skip this if it would add /usr/include and /usr/lib, but leaving it
# shouldnt break anything.
iconvh=`locate include/iconv.h`
iconvh_dir=`dirname $iconvh`
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
echo "Adding $iconvh_dir to CPPFLAGS"
echo "Adding $iconvlib_dir to LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
export CPPFLAGS
export LDFLAGS
# Grab pkg-config-0.8, glib-1.3.12 if necessary
# Grab pkg-config, glib and libgc if necessary
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
@@ -127,16 +176,16 @@ else
fi
if [ $install_glib = "yes" ]; then
install_package glib-1.3.13.tar.gz glib-1.3.13 glib ""
install_package glib-2.0.6.tar.gz glib-2.0.6 glib ""
else
echo "Not installing glib, you already seem to have it installed"
fi
if [ $install_libgc = "yes" ]; then
LIBS="-ldl" install_package gc6.0.tar.gz gc6.0 libgc "--enable-threads=pthreads"
install_package gc6.1alpha5.tar.gz gc6.1alpha5 libgc "--enable-threads=pthreads"
# make install didnt do the headers!
mkdir -p $here/install/include/gc
cp -r $here/gc6.0/include/* $here/install/include/gc
cp -r $here/gc6.1alpha5/include/* $here/install/include/gc
else
echo "Not installing libgc, you already seem to have it installed"
fi
@@ -166,12 +215,12 @@ elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
fi
fi
cvs checkout mono || exit -1
(cd $here && cvs checkout mono) || exit -1
# Build and install mono
echo "Building and installing mono"
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; make || exit -1; make install || exit -1) || exit -1
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; $MAKE || exit -1; $MAKE install || exit -1) || exit -1
echo ""
+551
View File
@@ -0,0 +1,551 @@
<Mono newbie coders start file>
<h1> A little help for mono newbie coders </h1>
For those who are new to Mono and are impatient to contribute
with code (uhh... you are brave!!) here is the document you
should read.
You will see all Mono hackers say the same (great minds have
similar way of thinking): First, DO WRITE TESTS!!!. In order
to do that:
<ul>
* Start with the NUnit Tests Guidelines. In the cvs
they are located at: mcs/class/doc/NUnitGuideli...
* But wait, this is a document for impatient
people. So EVERYTHING should be here. Well, it is.
</ul>
<h2> The NUnit Tests Guidelines document </h2>
Mono NUnit Test Guidelines and Best Practices
Authors: Nick Drochak <[email protected]>
Martin Baulig <[email protected]>
Last Update: 2002-03-02
Rev: 0.3
<b> Purpose </b>
This document captures all the good ideas people have had
about writing NUnit tests for the mono project. This document
will be useful for anyone who writes or maintains unit tests.
<b> Other resources </b>
- mcs/class/README has an explanation of the build process and
how it relates to the tests.
- http://nunit.sourceforge.net is the place to find out about
NUnit
<b> Getting Started </b>
If you are new to writing NUnit tests, there is a template
you may use to help get started. The file is:
mcs/class/doc/TemplateTest.cs
(2.- This is the point two!. This file is just after the end
of the guidelines. Copy/paste it in another buffer. And keep
reading.)
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the [text] markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
is a small one that might help.
(3.- You reached the third point. And as expected, it's just
here to tell you that the content of CollectionBaseTest.cs is
after the TemplateTest.cs code at the end of these
guidelines.)
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each assembly.
In each assembly there is a Test directory, e.g.
mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly, e.g.
mcs/class/corlib/Test/Sytem. Put your new test file in the
appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see examples
in the AllTests.cs file, so just copy and paste inside there.
Once all of that is done, you can do a 'make test' from the top
mcs directory. Your test class will be automagically included
in the build and the tests will be run along with all the
others.
<b> Tips </b>
<b> Provide an unique error message for Assert() </b>
Include an unique message for each Assert() so that when the
assert fails, it is trivial to locate the failing one.
Otherwise, it may be difficult to determine which part of the
test is failing. A good way to ensure unique messages is to use
something like #A01, #A02 etc.
Bad:
<pre>
AssertEquals("array match", compare[0], i1[0]);
AssertEquals("array match", compare[1], i1[1]);
AssertEquals("array match", compare[2], i1[2]);
AssertEquals("array match", compare[3], i1[3]);
</pre>
Good:
<pre>
AssertEquals("#A01", compare[0], i1[0]);
AssertEquals("#A02", compare[1], i1[1]);
AssertEquals("#A03", compare[2], i1[2]);
AssertEquals("#A04", compare[3], i1[3]);
</pre>
Once you used such a number in an Assert(), don't change it
later on - people might use it it identify the test in bug
reports or in mailing lists.
<b> Use AssertEquals() to compare things, not Assert(). </b>
Never compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Bad:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Good:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
<b> Constructors </b>
When writing your testcase, please make sure to provide a
constructor which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
<b> Namespace </b>
Please keep the namespace within each test directory
consistent - all tests which are referenced in the same
AllTests.cs must be in the same namespace. Of course you can
use subnamespaces as you like - especially for subdirectories
of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests"
and you have a subdirectory called "System", you can put all
the tests in that dir into namespace "MonoTests.System".
<b> Test your test with the microsoft runtime </b>
If possible, try to run your testsuite with the Microsoft
runtime on Windows and make sure all tests in it pass. This is
especially important if you're writing a totally new testcase
- without this check you can never be sure that your testcase
contains no bugs ....
Don't worry if you're writing your test on Linux, other people
can test it for you on Windows.
Sometimes you may discover that a test doesn't show the
expected result when run with the Microsoft runtime - either
because there is a bug in their runtime or something is
misleading or wrong in their documentation. In this case,
please put a detailed description of the problem to
mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time
to help them fix their documentation and runtime.
<pre>
-------------------- TemplateTest.cs begins ----------
// this is a template for making NUnit tests. Text enclosed
// in square brackets (and the brackets themselves) should be
// replaced by appropiate code.
// [File Name].cs - NUnit Test Cases for [explain here]
//
// [Author Name] ([Author email Address])
//
// (C) [Copyright holder]
//
// these are the standard namespaces you will need. You may
// need to add more depending on your tests.
using NUnit.Framework;
using System;
// all test namespaces start with "MonoTests." Append the
// Namespace that contains the class you are testing, e.g.
// MonoTests.System.Collections
namespace MonoTests.[Namespace]
{
// the class name should end with "Test" and start with the name
// of the class you are testing, e.g. CollectionBaseTest
public class [Class to be tested]Test : TestCase {
// there should be two constructors for your class. The first
// one (without parameters) should set the name to something
// unique.
// Of course the name of the method is the same as the name of
// the class
public [Constructor]() : base ("[Namespace.Class]") {}
public [Constructor](string name) : base(name) {}
// this method is run before each Test* method is called. You
// can put variable initialization, etc. here that is common to
// each test.
// Just leave the method empty if you don't need to use it.
protected override void SetUp() {}
// this method is run after each Test* method is called. You
// can put clean-up code, etc. here. Whatever needs to be done
// after each test. Just leave the method empty if you don't need
// to use it.
protected override void TearDown() {}
// this property is required. You need change the parameter for
// typeof() below to be your class.
public static ITest Suite {
get {
return new TestSuite(typeof([Classname here]));
}
}
// this is just one of probably many test methods in your test
// class. each test method must start with "Test". All methods
// in your class which start with "Test" will be automagically
// called by the NUnit framework.
public void Test[Something] {
// inside here you will exercise your class and then
// call Assert()
}
}
---------------------- TemplateTest.cs ends --------------
---------------------- CollectionBaseTest.cs begins ------
//
// System.Collections.CollectionBase
// Test suite for System.Collections.CollectionBase
//
// Author:
// Nick D. Drochak II
//
// (C) 2001 Nick D. Drochak II
//
using System;
using System.Collections;
using NUnit.Framework;
namespace MonoTests.System.Collections
{
public class CollectionBaseTest : TestCase
{
public CollectionBaseTest () : base
("System.Collection.CollectionBase testsuite")
{}
public CollectionBaseTest (String name) : base (name)
{}
// We need a concrete class to test the abstract base
// class
public class ConcreteCollection : CollectionBase
{
// These fields are used as markers to test
// the On* hooks.
public bool onClearFired;
public bool onClearCompleteFired;
public bool onInsertFired;
public int onInsertIndex;
public bool onInsertCompleteFired;
public int onInsertCompleteIndex;
public bool onRemoveFired;
public int onRemoveIndex;
public bool onRemoveCompleteFired;
public int onRemoveCompleteIndex;
public bool onSetFired;
public int onSetOldValue;
public int onSetNewValue;
public bool onSetCompleteFired;
public int onSetCompleteOldValue;
public int onSetCompleteNewValue;
// This constructor is used to test OnValid()
public ConcreteCollection()
{
IList listObj;
listObj = this;
listObj.Add(null);
}
// This constructor puts consecutive integers into the list
public ConcreteCollection(int i) {
IList listObj;
listObj = this;
int j;
for (j = 0; j< i; j++) {
listObj.Add(j);
}
}
// A helper method to look at a value in the
// list at a specific index
public int PeekAt(int index)
{
IList listObj;
listObj = this;
return (int) listObj[index];
}
// Mark the flag if this hook is fired
protected override void OnClear() {
this.onClearFired = true;
}
// Mark the flag if this hook is fired
protected override void OnClearComplete()
{
this.onClearCompleteFired = true;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsert(int index,
object value)
{
this.onInsertFired = true;
this.onInsertIndex = index;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsertComplete(int index,
object value)
{
this.onInsertCompleteFired = true;
this.onInsertCompleteIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemove(int index,
object value)
{
this.onRemoveFired = true;
this.onRemoveIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemoveComplete(int index,
object value)
{
this.onRemoveCompleteFired = true;
this.onRemoveCompleteIndex = index;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSet(int index, object oldValue,
object newValue)
{
this.onSetFired = true;
this.onSetOldValue = (int) oldValue;
this.onSetNewValue = (int) newValue;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSetComplete(int index,
object oldValue,
object newValue)
{
this.onSetCompleteFired = true;
this.onSetCompleteOldValue = (int) oldValue;
this.onSetCompleteNewValue = (int) newValue;
}
} // public class ConcreteCollection
public static ITest Suite {
get {
return new TestSuite
(typeof(CollectionBaseTest));
}
}
// Check the count property
public void TestCount() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(4 == myCollection.Count);
}
// Make sure GetEnumerator returns an object
public void TestGetEnumerator() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(null != myCollection.GetEnumerator());
}
// OnValid disallows nulls
public void TestOnValid() {
ConcreteCollection myCollection;
try {
myCollection = new ConcreteCollection();
}
catch (ArgumentNullException) {
}
}
// Test various Insert paths
public void TestInsert() {
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// The constructor inserts
myCollection = new ConcreteCollection(numberOfItems);
Assert(myCollection.onInsertFired);
Assert(myCollection.onInsertCompleteFired);
// Using the IList interface, check inserts in the middle
IList listObj = myCollection;
listObj.Insert(1, 9);
Assert(myCollection.onInsertIndex == 1);
Assert(myCollection.onInsertCompleteIndex == 1);
Assert(myCollection.PeekAt(1) == 9);
}
// Test Clear and it's hooks
public void TestClear()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 1;
myCollection = new ConcreteCollection(numberOfItems);
myCollection.Clear();
Assert(myCollection.Count == 0);
Assert(myCollection.onClearFired);
Assert(myCollection.onClearCompleteFired);
}
// Test RemoveAt, other removes and the hooks
public void TestRemove()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// Set up a test collection
myCollection = new ConcreteCollection(numberOfItems);
// The list is 0-based. So if we remove the second one
myCollection.RemoveAt(1);
// We should see the original third one in it's place
Assert(myCollection.PeekAt(1) == 2);
Assert(myCollection.onRemoveFired);
Assert(myCollection.onRemoveIndex == 1);
Assert(myCollection.onRemoveCompleteFired);
Assert(myCollection.onRemoveCompleteIndex == 1);
IList listObj = myCollection;
listObj.Remove(0);
// Confirm parameters are being passed to the hooks
Assert(myCollection.onRemoveIndex == 0);
Assert(myCollection.onRemoveCompleteIndex == 0);
}
// Test the random access feature
public void TestSet()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
myCollection = new ConcreteCollection(numberOfItems);
IList listObj = myCollection;
listObj[0] = 99;
Assert((int) listObj[0] == 99);
Assert(myCollection.onSetFired);
Assert(myCollection.onSetCompleteFired);
Assert(myCollection.onSetOldValue == 0);
Assert(myCollection.onSetCompleteOldValue == 0);
Assert(myCollection.onSetNewValue == 99);
Assert(myCollection.onSetCompleteNewValue == 99);
}
}
}
----------------------- CollectionBaseTest.cs ends --------
</pre>
<ul>
* If you use Emacs, you might want to use the .emacs
file and the package developed by Brad Merrill
mailto:[email protected]. It will allow you to
highlight and indent in C# style in your Emacs
editor. (XEmacs will still work but it'll also
complain).
* CSharpDevelop is a GPLed IDE developed by IC#Code.
Search for it at sourceforge if you are interested
in it.
* For those who Java: "A comparison of Microsoft's
C# programming language to Sun Microsystem's Java
Programming language" by Dare Obasanjo is a really good
(very complete) text to read.
* Suggest this point and more, now I can't think of
anything more.
</ul>
Enjoy!!.
(c) 2002, <a href="mailto:[email protected]">Jaime Anguiano Olarra</a>.
The parts included in this document are property of their
respective authors.
Note: The identation of the source code has been changed a bit
so it could fit better in the website. Anyway, as nothing more
changed, the files should work as expected.
Executable
+66
View File
@@ -0,0 +1,66 @@
* MySQL Data Provider
<ul>
<li>MySQL Data Provider for
<a href="http://www.mysql.com/">MySQL</a> databases. It is written in C# and uses
the MySQL C Client Library
<li>Exists in namespace Mono.Data.MySql and assembly Mono.Data.MySql
<li>Works on Windows and Linux via the MySQL client shared library
(libmySQL.dll on Windows and libmysqlclient.so on Linux).
<li>Started by Daniel Morgan using C# Bindings to MySQL from Brad Meril.
<li><a href="http://www.mysql.com/articles/dotnet/">Exploring MySQL in the Microsoft .NET Environment</a> is an article
by Mr. Venu who is a MySQL AB developer.
<li>Other projects which have created a .NET Data provider for MySQL in C#
<ul>
<li><a href="http://sourceforge.net/projects/mysqldrivercs/">MySQLDriverCS</a> is a MySQL provider written in C#
<li><a href="http://sourceforge.net/projects/mysqlnet/">MySQLNet</a> is a MySQL Manager provider written in C#
</ul>
</ul>
* Current Status
<ul>
<li>can connect
<li>can execute non-queries via ExecuteNonQuery()
<li>can execute aggregates via ExecuteScalar() and retrieve the
single row/single column result
<li>can execute queries and retrieve results using a data reader.
<li>a schema DataTable has been partially
implemented which is returned from GetSchemaTable() in MySqlDataReader.
<li>a DataTable in a DataSet can be filled via a MySqlDataAdapter
<li>The shared client libraries
between windows version and linux are different: windows has libmySQL.dll
while linux has libmysqlclient.so. This is handled by the
file etc/mono/config which is mapped by the mono runtime in knowing
which native shared library to load. In cvs, this file is mono/config.in and
can be modified with a text editor.
</ul>
* Action plan
The current plan to work on the MySQL data provider:
<ul>
<li>Parameters support via MySqlParameter and MySqlParameterCollection
<li>Support LOBs (Large Object)
<li>Change the MySQL provider to not be dependent on a client library and
be written in 100% C#
<li>Connection pooling
<li>Get the provider to work like other data providers
</ul>
Executable
+52
View File
@@ -0,0 +1,52 @@
* ODBC Data Provider
<ul>
<li>Exists in namespace System.Data.Odbc and assembly System.Data
<li>Works on Windows and Linux
<li>Works on Windows via the native Windows odbc32.dll
<li>Works on Linux via <a href="http://www.unixodbc.org/">unixODBC</a>
<li>List of unixODBC <a href="http://www.unixodbc.org/drivers.html">drivers</a> and
an alternative list
<li>An alternative to unixODBC, but not tested with this
provider is <a href="http://www.iodbc.org">iODBC</a>
<li>Another alternative to unixODBC, but not tested this provider is
<a href="http://oplweb.openlinksw.com:8080/download/">OpenLink's</a>.
<li>List of <a href="http://ourworld.compuserve.com/homepages/Ken_North/odbcvend.htm">ODBC Vendors</a>
<li>ODBC Provider created by Brian Ritchie.
</ul>
* Current Status
<ul>
<li>Connect on Windows via native Windows odbc32.dll
<li>Connect on Linux via unixODBC's libodbc.so
<li>Various databases have been tested using their
ODBC drivers: MySQL, Oracle, IBM DB2, and Microsoft SQL Server
<li>Can execute non-query commands via ExecuteNonQuery of a OdbcCommand
<li>Can execute aggreates and retrieve a single row single column result via
ExecuteScalar of a OdbcCommand
<li>Can execute queries via ExecuteReader of a OdbcCommand and
retrieve results using an OdbcDataReader.
<li>Can get a DataTable containing schema info via GetSchemaTable() in a OdbcDataReader
</ul>
* Action Plan
<ul>
<li>Create a Data Adapter to Fill data into a DataTable in a DataSet
<li>TODO
</ul>
Executable
+53
View File
@@ -0,0 +1,53 @@
* OLE DB Provider
<ul>
<li> Provides a OleDb-like provider for Mono
using <a href="http://www.gnome-db.org/">GDA</a> as the data access layer.
<li> Exists in namespace System.Data.OleDb and assembly System.Data
<li>Created by Rodrigo Moya
<li>LibGDA has providers for:
<ul>
<li><a href="http://www.mysql.com/">MySQL</a>
<li><a href="http://www.postgresql.org/">PostgreSQL</a>
<li>XML
<li>ODBC (via <a href="http://www.unixodbc.org/">unixODBC</a>)
<li><a href="http://www.oracle.com/">Oracle</a>
<li><a href="http://www.borland.com/products/downloads/download_interbase.html">Interbase</a>
<li><a href="http://www.sybase.com/downloads">Sybase</a> and
<a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a> (
via <a href="http://www.freetds.org/">FreeTDS</a>)
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a>
<li><a href="http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a>
<li><a href="http://www.microsoft.com/office/access/default.asp">MS Access</a>
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a>)
</ul>
</ul>
* Current Status
<ul>
<li>The OleDb provider is working with libgda (an OLE-DB/ADO data access for Unix).
The C-Sharp bindings to libgda currently work - meaning they can compile, run,
and you can connect to a
PostgreSQL database via libgda via the C-Sharp bindings to libgda.
<li>Basic
functionality (execution of commands, data retrieval, transactions, etc) are
now working.
<li>An inital implementation of GetSchemaTable() for
the OleDbDataReader has been checked into cvs. GetSchemaTable() isn't correct for OleDb,
but the foundation is there.
</ul>
* Action Plan
<ul>
<li>Current focus is on filling up the missing pieces (Data adapters
mainly) and schema support.
<li>We need help building libgda on Windows though. libgda
builds find on linux though.
<li>Need to make the OleDb provider compatible with the OleDb provider in Microsoft .NET
</ul>
+5
View File
@@ -100,6 +100,11 @@
available, means that trojans or worms could be built
into the products by malicious engineers.
Various government officials in non-US countries also
have a policy that no state sensitive information can
be held by foreign companies in foreign soil. A natural
matter of national security to some.
* <b>Security:</b> With a centralized system like
Passport, imagine the repercussions of a malicious
hacker gaining access to the Passport database.
+512
View File
@@ -0,0 +1,512 @@
* PostgreSQL Data Provider
<ul>
<li>Exists in namespace Mono.Data.PostgreSql and assembly Mono.Data.PostgreSql
<li>Is a Mono Data Provider for the <a href="http://www.postgresql.org/">PostgreSQL</a>
client/server database management system.
<li>Written in C# and has C# bindings to the PostgreSQL C Client library pq.dll on Windows
and libpq.so on Linux.
</ul>
* Current Status
<ul>
<li>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
DELETE SQL commands using the ExecuteNonQuery method in PgSqlCommand.
<li>We can execute multiple queries and do a NextResult() in PgSqlDataReader()
to get the next result set.
<li>We are also able to do simple aggregate functions,
ie, count(), sum(), min(), and max()
in a simple SELECT SQL query using the ExecuteScalar() now.
<li>We are also able to retrieve data with a simple SELECT SQL query
using ExecuteReader() which returns a PgSqlDataReader. We are able to
use GetSchemaTable() to get the meta data about the table columns.
We are able to Read() to get each row from the result set.
<li>We are able to get
String data (char, character, text, varchar), Int16 (smallint),
Int32 (integer), Int64 (bigint), DateTime (time, date, timestamp),
Boolean (boolean), Single (float), and Double (double).
More data types will come later. Note, the types that do work still
need thorough testing.
<li>Rows that are returned which contain columns that are NULL are handled now.
The PgSqlDataReader method IsDBNull() needs to be called to determine
if a field IS NULL before trying to read data from that field.
<li>Calling PostgreSQL stored procedures works. It does not work perfectly.
It may not
even work to specification - yet. If you want to test it yourself, look at
TestSqlDataReader.cs or PostgresTest.cs in
mcs/class/System.Data/Test.
<li>Below, I have some sample code you can
use to call a PostgreSQL stored procedure named "version". This stored
procedure returns a string containing the PostgreSQL server version. Notice
the CommandType is StoredProcedure and the method ExecuteScalar() is called.
<li>ExecuteScalar() is a lightweight method in class PgSqlCommand that only returns
one row and one column as one object - even if there is more than row or column.
<li>We have the beginnings of Parameters support PostgreSQL. Only
Input Parameters are currently supported. Output, Input/Output,
and Return parameters still need to be done.
<li>A lot of functionality in System.Data is missing, but the
infrastructure is starting to come together.
<li>A lot of Exceptions need to be thrown for various exceptions. However,
PgSqlException, PgSqlErrorCollection, and PgSqlError have been partially
implemented.
<li>Tim Coleman and Rodrigo Moya got the beginnings of the
PgSqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
the PgSqlDataAdapter can Fill() relational data into a DataTable in a DataSet.
See the test mcs/class/System.Data/Test/TestSqlDataAdapter.cs to see it in action.
</ul>
* Testing the PostgreSQL Provider
<ul>
* <p>In order to test Mono.Data.PostgreSqlClient, you will need to have
access to a remote PostgreSQL DBMS, or you will have to install
one locally. PostgreSQL was first ADO.NET provider created in Mono.
<p>Why use PostgreSQL? Because it is free software, has a client
library that is easy to use, PostgreSQL is easy to install on
Unix and Windows (using the Cygwin install program), not difficult to setup after
installation, and it runs under: Linux,
Windows (via cygwin and ipc-daemon), Unix, and
others. This allowed us to create the
System.Data functionality in Mono much quicker.
<p>If you plan on using a remote PostgreSQL DBMS Server,
than you will need to have the PostgreSQL client software on your
local computer that includes libpq.so (pq.dll on Windows).
<p>The System.Data tests use this connection string to connect
to the PostgreSQL database named "test" at host "localhost" as
user "postgres".
<pre>
"host=localhost;dbname=test;user=postgres"
</pre>
</ul>
<p>Installation instructions for PostgreSQL DBMS:
<b>On Unix</b>
<ul>
* Read the PostgreSQL Installation Instructions
at \usr\doc\postgresql-x.x.x\html\installation.html
* Depending on your Unix system,
PostgreSQL maybe already installed, a database user 'postgres' created,
a linux user 'postgres' created and initdb ran. Or maybe not.
<pre>
su
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
initdb -D /usr/local/pgsql/data
postmaster -i -D /usr/local/pgsql/data
createdb test
psql test
</pre>
* Make sure you have a database user named postgres. It is best to install
the PostgreSQL DBMS under linux user postgres. When you run the postmaster,
run it under the user postgres as well. If this was not done, then you
will need to create a user named postgres for the System.Data tests.
* If you already installed PostgeSQL and you do not have a database
user named postgres, then you can create user postgres using psql:
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
* The postmaster must be run with -i option.
* In the /usr/local/pgsql/data/pg_hba.conf file, you need
to have the AUTH_TYPE set to md5. You can read more on this at
/usr/doc/postgresql-7.2.1/html/client-authentication.html
or wherever your
PostgreSQL html docs are located. See the 2nd line below,
host 127.0.0.1 has an AUTH_TYPE md5 in pg_hba.conf.
<pre>
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
local all trust
host all 127.0.0.1 255.255.255.255 md5
</pre>
* If you can not find your PostgreSQL documentation locally or you
did not install it, then you
can get it <a href="http://www.postgresql.org/idocs/">here</a>.
</ul>
<b>On Windows</b>
<ul>
* Use the <a href="http://www.cygwin.com/">Cygwin</a> installer to
install the PostgreSQL DBMS. It is
found in the database category.
* <p>Read the file postgres-x.x.README at /usr/doc/Cygwin and read
the requirements to install PostgreSQL. Those requirements
are included with cygwin except cygipc. A default installtion
of cygwin does not install everything you will need, so on the
safe side, just include everything when installing cygwin.
* <p>The -x.x in postgres-x.x is the version of your PostgreSQL DBMS.
* <p>Once Cygwin has installed the PostgreSQL DBMS on your computer,
read the file FAQ_MSWIN which is available
in /usr/doc/postgres-x.x
* <p>Important notes from this file are:
<ul>
<p><b>2.</b> - Install the latest <a href="http://www.neuro.gatech.edu/users/cwilson/cygutils/OBSOLETE/V1.1/cygipc/index.html">CygIPC</a> package.
<p>The cygipc package contains the ipc-daemon you will need
to run before you can
run the PostgreSQL DBMS Server daemon (postmaster) or run
initdb which initializes the PostgreSQL database.
<p><b>3.</b> The Cygwin bin directory has to be placed in
the path before the Windows program directories,
for example, C:\cygwin\bin
<p><b>My own note.</b> In the Windows control panel, I set
the environment variables PATH to my cygwin /usr/local/bin,
/usr/bin, and /bin. I also set my LD_LIBRARY_PATH to
/usr/local/lib and /usr/lib. For example:
<p>
<pre>
PATH=c:\cygwin\usr\local\bin;c:\cygwin\usr\bin;c:\cygwin\bin;
LD_LIBRARY_PATH=c:\cygwin\usr\local\lib;c:\cygwin\usr\lib;
</pre>
<p><b>4.</b> Start the ipc-daemon that came with the cygipc
package. There
are two ways to do this: run it from the command line as:
<p>
<pre>
ipc-daemon &
</pre>
<p>or you can set it up as a Windows service. See the
file cygrunsrv.README at /usr/doc/Cygwin on how to do this
for ipc-daemon and postmaster. Note the
troubleshooting section at the end of
the cygrunsrv.README file.
<p>To install ipc-daemon as a service,
you just have to run
<p>
<pre>
ipc-daemon --install-as-service' (--remove-as-service)
</pre>
<p>and then run
<pre>
net start ipc-daemon
</pre>
</ul>
<p>Read the installation.html file
at /usr/doc/postgresql-x.x/html/installation.html
<p>You will see in this file that you will need to
run the following commands:
<p>
<pre>
mkdir /usr/local/pgsql/data
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
createdb test
psql test
</pre>
<p>When you need to connect to the database,
you will need ipc-daemon and postmaster running. Start ipc-daemon
before any of the command above. If you restart your computer, you
need to start ipc-daemon and postmaster either manually or as a
service.
<p>psql is a command-line PostgreSQL client tool to
enter and run SQL commands and queries.
<p>If there is no database user named postgres, create a user named
postgres with the following SQL command in the client tool psql:
<p>
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
<p>The only reason I say this is so you can easily use the System.Data tests
without having to change the database, userid, etc.
</ul>
<p>In the path mcs/class/System.Data/Test
there is a PostgreSQL test program named
PostgreTest.cs. Thanks goes to Gonzalo for creating the original
PostgreSQL test.
<p>To use it to test System.Data, you
modify the file to your PostgreSQL database
connection requirements:
<p>
<ul>
<li><b>dbname</b> database, ie., test</li>
<li><b>host</b> hostname of the PostgreSQL DBMS Server, ie., localhost</li>
<li><b>user</b> username, ie., someuser</li>
<li><b>password</b> password, ie., mypass1234</li>
</ul>
<p>The connection string is in OLE-DB connection string format. Internally,
SqlConnection converts this to the PostgreSQL connection string format.
<p>
<pre>
OLE-DB: "host=localhost;dbname=test;user=joe;password=smoe"
PostgreSQL: "host=localhost dbname=test user=joe password=smoe"
</pre>
<p>
Note that OLE-DB includes the semicolons while PostgreSQL's connection
string does not.
<p>
To compile the PostgresTest.cs program, do:
<p>
<pre>
mcs PostgresTest.cs \
-r System.Data.dll \
-r Mono.Data.PostgreSqlClient.dll
</pre>
<p>If there are compile errors, such as, can not convert IDbConnection
to PgSqlConnection, then you need to run mcs like:
<pre>
mono f:/cygwin/home/DanielMorgan/mono/install/bin/mcs.exe \
PostgresTest.cs \
-r System.Data.dll \
-r Mono.Data.PostgreSqlClient.dll
</pre>
<p>
To run using mint, do:
<p>
<pre>
mint PostgresTest.exe
</pre>
<p>
To run using mono, do:
<pre>
mono PostgresTest.exe
</pre>
<p>Below, I show how the output from PostgresTest. I have omitted a lot
of the meta data for the columns except two columns. The classes
used were from Mono.Data.PostgreSqlClient and were used to connect to a
PostgreSQL database and retrieve data.
<p>
<pre>
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
$ mcs PostgresTest.cs -r System.Data.dll
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
$ mono PostgresTest.exe
Postgres provider specific tests...
Drop table:
Error (don't worry about this one)SqlError:PGRES_FATAL_ERROR ERROR:
table "mono_postgres_test" does not exist
<Stack Trace>
Create table with all supported types:
OK
Insert values for all known types:
OK
Update values:
OK
Insert values for all known types:
OK
Aggregate: count(*)
Agg Result: 2
Aggregate: min(text_value)
Agg Result: This is a text
Aggregate: max(int4_value)
Agg Result: 1048000
Aggregate: sum(int4_value)
Agg Result: 1048003
Select values from the database:
Result is from a SELECT SQL Query. Records Affected: -1
Result Set 1...
Total Columns: 28
ColumnName = boolean_value
ColumnOrdinal = 1
ColumnSize = 1
NumericPrecision = 0
NumericScale = 0
IsUnique = False
IsKey =
BaseCatalogName =
BaseColumnName = boolean_value
BaseSchemaName =
BaseTableName =
DataType = System.Boolean
AllowDBNull = False
ProviderType = 16
IsAliased = False
IsExpression = False
IsIdentity = False
IsAutoIncrement = False
IsRowVersion = False
IsHidden = False
IsLong = False
IsReadOnly = False
...
ColumnName = null_timestamp_value
ColumnOrdinal = 28
ColumnSize = 8
NumericPrecision = 0
NumericScale = 0
IsUnique = False
IsKey =
BaseCatalogName =
BaseColumnName = null_timestamp_value
BaseSchemaName =
BaseTableName =
DataType = System.DateTime
AllowDBNull = False
ProviderType = 1184
IsAliased = False
IsExpression = False
IsIdentity = False
IsAutoIncrement = False
IsRowVersion = False
IsHidden = False
IsLong = False
IsReadOnly = False
Gonna do a Read() now...
Row 0:
Col 0: boolean_value: False
Col 1: int2_value: 5
Col 2: int4_value: 3
Col 3: bigint_value: 9
Col 4: float_value: 3.141590
Col 5: double_value: 3.14159
Col 6: numeric_value: 123456789012.345
Col 7: char_value: Mono.Data!
Col 8: varchar_value: It was not me!
Col 9: text_value: We got data!
Col 10: point_value: (1,0)
Col 11: time_value: 01/01/1 21:13:14
Col 12: date_value: 02/29/2000 00:00:00
Col 13: timestamp_value: 02/29/2004 14:00:11
Col 14: null_boolean_value is NULL
Col 15: null_int2_value is NULL
Col 16: null_int4_value is NULL
Col 17: null_bigint_value is NULL
Col 18: null_float_value is NULL
Col 19: null_double_value is NULL
Col 20: null_numeric_value is NULL
Col 21: null_char_value is NULL
Col 22: null_varchar_value is NULL
Col 23: null_text_value is NULL
Col 24: null_point_value is NULL
Col 25: null_time_value is NULL
Col 26: null_date_value is NULL
Col 27: null_timestamp_value is NULL
Row 1:
Col 0: boolean_value: True
Col 1: int2_value: -22
Col 2: int4_value: 1048000
Col 3: bigint_value: 123456789012345
Col 4: float_value: 3.141590
Col 5: double_value: 3.14159
Col 6: numeric_value: 123456789012.345
Col 7: char_value: This is a char
Col 8: varchar_value: This is a varchar
Col 9: text_value: This is a text
Col 10: point_value: (1,0)
Col 11: time_value: 01/01/1 21:13:14
Col 12: date_value: 02/29/2000 00:00:00
Col 13: timestamp_value: 02/29/2004 14:00:11
Col 14: null_boolean_value is NULL
Col 15: null_int2_value is NULL
Col 16: null_int4_value is NULL
Col 17: null_bigint_value is NULL
Col 18: null_float_value is NULL
Col 19: null_double_value is NULL
Col 20: null_numeric_value is NULL
Col 21: null_char_value is NULL
Col 22: null_varchar_value is NULL
Col 23: null_text_value is NULL
Col 24: null_point_value is NULL
Col 25: null_time_value is NULL
Col 26: null_date_value is NULL
Col 27: null_timestamp_value is NULL
Total Rows Retrieved: 2
Total Result sets: 1
Call ExecuteReader with a SQL Command.
(Not INSERT,UPDATE,DELETE
).
Result is from a SQL Command not (INSERT,UPDATE,DELETE).
Records Affected: -1
Total Result sets: 0
Call ExecuteReader with a SQL Command.
(Is INSERT,UPDATE,DELETE)
.
Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: 1
Total Result sets: 0
Calling stored procedure version()
Result: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.95.3-5
Database Server Version: PostgreSQL 7.2.1 on i686-pc-cygwin,
compiled by GCC 2.9
5.3-5
Clean up...
Drop table...
OK
RESULT: 0
</pre>
* Action Plan
<p>Eventually replace the PostgreSQL data provider in Mono
with <a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a>.
Npgsql is a .Net Data Provider for PostgreSQL which implements
the <a href="http://developer.postgresql.org/docs/postgres/protocol.html">PostgreSQL Frontend/Backend Protocol</a>.
Npgsql is implemented in 100% C#. This provider was created by Francisco Figueiredo jr.
and has many programmers developing the provider.
+33
View File
@@ -0,0 +1,33 @@
* Mono PowerPC Port
** Status
It passes and compiles the same amount of mono tests as on the x86 architecture.
mcs is self hosting on Linux/PPC.
*** Interpreter
Up to date.
*** Jitter
Start the port
** Documentation
*** PowerPC architecture:
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPCFPE32B.pdf">PowerPC Programming environments manual</A><BR>
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPC7410UM.pdf">G4 (7410) User's manual</A>
There's a very nice introduction to PowerPC assembly language
at <a
href="http://www-106.ibm.com/developerworks/library/l-ppc/">http://www-106.ibm.com/developerworks/library/l-ppc/</a>.
*** Calling conventions:
<a href="http://www.esofta.com/softspecs.html">The PowerPC SystemV ABI specification</a>
Executable
+24
View File
@@ -0,0 +1,24 @@
* Open Projects
The .NET framework is a good first in terms of a new
development foundation, but it falls short of providing
higher-level components or building blocks for people to
reuse.
A few ideas of projects and classes that would be useful to
develop applications follows:
** EOG component
** XmlStorageSystem component
* Gtk# related projects
Gnome Canvas Bindings.
Bezier Canvas Item Binding.
* Graphical bindings
Binding for the Libart library
+20 -1
View File
@@ -22,6 +22,14 @@
** Mono related sites.
The Mono Tutorial:
<a href="http://mwh.sysrq.dk/the_mono_tutorial/">Mono Tutorial</a>
and other useful tutorials (Gtk#, Glade#, Embeded, etc) (in Spanish) at
<a href="http://mono.es.gnome.org">The Mono Hispano site</a>.
Sergey's web page on Mono resources:
<a href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>
@@ -104,6 +112,11 @@
There are a number of related projects to Mono:
<ul>
* <a
href="http://qtcsharp.sourceforge.net">Qt#:</a>
C# bindings for the Qt toolkit.
* <a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
Develop:</a> an IDE for the C# language written in C#.
@@ -137,11 +150,17 @@
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
* A Free (GFDL) tutorial on C# in Spanish with examples, slides, and extras (under development). Get it <a href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
* <a
href="http://codigolivre.org.br/projects/monoqle">Project MonoQLE:</a> a C# Message Queue Server.
Sorry only in portuguese, for now.
</ul>
** GNOME Documentation
Documnetation on GNOME, and the GNOME APIs is available from
Documentation on GNOME, and the GNOME APIs is available from
the <a href="http://developer.gnome.org">developer</a> site at
GNOME:
+21 -47
View File
@@ -17,49 +17,21 @@
</ul>
Currently we are using the Bohem conservative garbage
collector, but we working on incorporating the ORP GC engine.
collector.
** Executing MSIL/CIL images
The Mono runtime can be used as a stand-alone process, or it
can be <a href="embedded-api">embedded into applications</a> (see
the documentation in mono/samples/embed for more details).
The code will load an executable and map the references to
external assemblies to our own version of the assemblies on
Linux.
Embedding the Mono runtime allows applications to be extended
in C# while reusing all of the existing C and C++ code.
Our roadmap looks like this, this has been updated as of
<b>Dec 18, 2001</b>:
Paolo Molaro did a presentation on the current JIT engine and
the new JIT engine. You can find his <a
href="http://primates.ximian.com/~lupus/slides/jit/">slides
here</a>
<ul>
* Milestone 1: <b>Done</b> Fully read and parse all CIL byte-codes
and metadata tokens (ie, a disassembler).
* 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: <b>Done</b>Define an <i>lburg</i>-like
instruction selector for the JITer for Intel.
* 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 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 works on Linux and Win32, although you
will need to install the CygWin32 development tools to get a
Unix-like compilation environment (mostly we use GNU make in
a few of the makefiles).
** JIT Engine (<b>updated, April 21, 2002</b>)
** Current JIT Engine (<b>updated, July 8th, 2002</b>)
The JIT engine uses a code-generator generator approach for
compilation. Given the properties of CIL byte codes, we can
@@ -80,6 +52,10 @@
Although compilers typically do
constant folding, the combination of inlining with
constant folding gives some very good results.
* Linear scan register allocation. In the past,
register allocation was our achilles heel, but now
we have left this problem behind.
</ul>
There are a couple of books that deal with this technique: "A
@@ -98,15 +74,13 @@
</ul>
** Future plans
** New JIT engine.
We are evaluating the future directions for the JIT engine:
both from our needs (optimizations like inlining, better register allocation,
instruction scheduling, and porting to other CPUs).
We have not yet decided how we will evolve the JIT engine. We
might just upgrade our current architecture, and provide optimizations as
an extra layer.
We are working on a new JIT engine. The new JIT engine
focuses on portability and in two intermediate representations
that simplify the development of optimizations. This together
with the Ahead-of-Time compilation will allow developers to
deploy applications that match the speed of natively compiled code.
** Garbage Collection
Executable
+58
View File
@@ -0,0 +1,58 @@
* Microsoft SQL Server Provider
<ul>
<li>ADO.NET Provider for Microsoft SQL Server 7/2000 databases
<li>Exists in namespace System.Data.SqlClient and assembly System.Data
<li>Created by Tim Coleman
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
<li>Implemented in 100% C#
<li>Is similar to the Mono.Data.TdsClient and Mono.Data.SybaseClient providers.
</ul>
* Current Status
<ul>
<li>Able to connect to Microsoft SQL Server 7/2000 databases
<li>Connection pooling works.
<li>Stored Procedures work
<li>Parameters work.
<li>Prepare works.
<li>SQL commands can be executed
via ExecuteNonQuery() of a SqlCommand.
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SqlCommand
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SqlDataReader.
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SqlDataReader
<li>XML can be read via ExecuteXmlReader in a SqlCommand.
<li>Data can be filled in a DataTable in a DataSet via a SqlDataAdapter
<li>Uses TDS Protocol Version 7.0
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
</ul>
* Action plan
<ul>
<li>Connection timeouts is being developed now.
<li>TODO
</ul>
Executable
+28
View File
@@ -0,0 +1,28 @@
* SQL Lite Data Provider
<ul>
<li>Exists in namespace and assembly Mono.Data.SqliteClient
<li>Created by Vladimir Vukicevic
<li><a href"http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a>
binaries exist for Linux and Windows. sqlite.dll on Windows
and sqlite.so on Linux.
</ul>
* Current Status
<ul>
<li>Able to connect, execute commands, and retrieve data...
<li>Works in mPhoto
</ul>
* Action Plan
<ul>
<li>Create a DataAdapter for SQL Lite named SqliteDataAdapter that can be used to
Fill a DataTable in a DataSet
<li>TODO
</ul>
+1 -1
View File
@@ -11,7 +11,7 @@
* 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,
currently functional, and we are improving its speed,
and making it feature complete.
* A CIL bytecode interpreter (<b>mint</b>). This
Executable
+48
View File
@@ -0,0 +1,48 @@
* Sybase Data Provider
<ul>
<li>ADO.NET Provider for Sybase SQL Server databases
<li>Exists in namespace Mono.Data.SybaseClient and assembly Mono.Data.SybaseClient
<li>Created by Tim Coleman
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
<li>Implemented in 100% C#
<li>Is similar to the Mono.Data.TdsClient and System.Data.SqlClient providers.
<li>Uses TDS Protocol Version 5.0
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
</ul>
* Current Status
<ul>
<li>Able to connect to Sybase databases
<li>SQL commands can be executed
via ExecuteNonQuery() of a SybaseCommand.
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SybaseCommand
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SybaseDataReader.
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SybaseDataReader
<li>Data can be filled in a DataTable in a DataSet via a SybaseDataAdapter
</ul>
* Action plan
<ul>
<li>Connection timeouts is being developed now.
<li>TODO
</ul>
+164
View File
@@ -0,0 +1,164 @@
* Design of the Microsoft SQL Server, Sybase, and TDS Data Providers in Mono
<ul>
* After much discussion among the Mono ADO.NET developers,
we have come up with the design of implementing a Sybase, Microsoft
SQL Server, and TDS Generic ADO.NET providers. These providers have
been created and are actively developed by Tim Coleman.
* Since Sybase and Microsoft SQL Server databases both
use the TDS protocol for data access, and other implementations
of TDS (FreeTDS and jTDS) have included support for multiple
versions of the TDS, we have decided to do the same.
* The TdsClient ADO.NET provider will be Mono's first provider
written completely in C# without any dependencies except
the usual suspects: corlib.dll, System.dll, and System.Xml.dll.
</ul>
* New ADO.NET Providers
<p>There will be three ADO.NET providers that will use TDS.
<ol>
<li><p>Mono.Data.SybaseClient namepace and assembly will
hold the ADO.NET provider for Sybase SQL Server database.
This provider uses TDS version 5.0 which
can only be used with Sybase databases.
<li><p>System.Data.SqlClient namespace and System.Data assembly
will hold the ADO.NET provider
for Microsoft SQL Server 7.0/2000 databases. This provider is to be
compatible with SqlClient in Microsoft .NET and uses TDS version 7.0
which only supports Microsoft SQL Server 7.0/2000.
There is TDS version 8.0
which we will need to support as well, but it is used for
Microsoft SQL Server 2000 databases.
<li><p>Mono.Data.TdsClient namespace and assembly is a generic
provider for older TDS databases. This provider will default to
using TDS version 4.2 which can be used by older Sybase and
Microsoft SQL Server databases.
</ol>
* Building The New Providers
<p> All three providers will use common internal code
at Mono.Data.TdsClient.Internal. Any classes in
Mono.Data.TdsClient.Internal will have the internal
keyword and will be built with the assembly of that provider.
<ol>
<li><p>SqlClient will build its assembly System.Data using files
from System.Data, System.Data.SqlClient, System.Data.SqlTypes,
System.Data.Common, and Mono.Data.TdsClient.Internal.
<p>SqlClient
will only reference the usual
suspects: corlib.dll, System.dll, and System.Xml.dll. SqlClient will be
a wrapper around TdsClient.Internal, but provide specific functionality to
Microsoft SQL Server 7.0/2000 databases.
<p>SqlClient build example:
<pre>
mcs -target:library -out:System.Data.dll \
System.Data.SqlClient/*.cs \
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs \
[any other classes in System.Data assembly...] \
-r corlib.dll -r System.dll -r System.Xml.dll
</pre>
<li><p>SybaseClient will build its assembly Mono.Data.SybaseClient using
files from Mono.Data.SybaseClient and Mono.Data.TdsClient.Internal.
SybaseClient will reference
the usual suspects plus System.Data.dll SybaseClient will
be a wrapper around TdsClient.Internal, but provide specific
functionality to Sybase.
<p>SybaseClient build example:
<pre>
mcs -target:library -out:Mono.Data.SybaseClient.dll \
Mono.Data.SybaseClient\*.cs \
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
</pre>
<li><p>TdsClient will build its assembly Mono.Data.TdsClient
using files from Mono.Data.TdsClient
and Mono.Data.TdsClient.Internal. TdsClient will reference the
usual suspects plus System.Data.dll TdsClient is a wrapper
provider around TdsClient.Internal used for generic
unit tests. TdsClient will a wrapper around TdsClient.Internal
as a generic TDS provider
and allow TDS configuration options not exposed in SqlClient
nor SybaseClient, such as, TdsVersion will be exposed in TdsClient
but not in SqlClient nor SybaseClient.
<p>TdsClient build example:
<pre>
mcs -target:library -out:Mono.Data.TdsClient.dll \
Mono.Data.TdsClient\*.cs \
Mono.Data.TdsClient.Internal\*.cs \
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
</pre>
</ol>
* Classes in Mono.Data.TdsClient.Internal will:
<ul>
<li>use the internal keyword to prevent exposing these classes
to the System.Data.dll assembly.
<li> implement the ADO.NET interfaces just like any other ADO.NET provider, such as,
IDbConnection, IDbCommand, IDataReader, IDataRecord, IDataAdapter, etc...
<li> be sealed just like other providers
<li> provide features to be directly used by the SqlClient and SybaseClient
providers, such
as, setting the default TDS version: SqlClient to 7.0 and SybaseClient
to 5.0 and TdsClient to 4.2.
<li> be written completely in C# or IL assembly language (if need be).
<li> implement the TDS protocol version 4.2, 5.0, 7.0, and 8.0. This
is where most of the
work will take place.
<li> be an internal ADO.NET provider to the public ADO.NET providers:
System.Data.SqlClient, Mono.Data.SybaseClient, and Mono.Data.TdsClient.
</ul>
* Implementation Details of the TDS Protocol
<ul>
* will be implemented in pure C# from scratch
* will reside in Mono.Data.TdsClient.Internal
* will use FreeTDS and jTDS as rerferences.
</ul>
* More Information
<ul>
* <a href="http://www.freetds.org/">FreeTDS</a> is C API that implements
the TDS protocol. Has libraries for tds, ctlib, and dblib. It builds
and runs on Windows, Linux, and other platforms. FreeTDS provides
data access to Microsoft SQL Server and Sybase databases.
* <a href="http://jtds.sf.net/">jTDS</a> is a 100% Java JDBC provider
for Microsoft SQL Server and Sybase databases.
* <a href="http://www.freetds.org/tds.html">TDS Protocol</a>
</ul>
* Contribute
<p>Anybody willing to help? If so,
contact any of the people working on the ADO.NET support
in Mono: Rodrigo Moya, Tim Coleman, Daniel Morgan, Brian Ritchie,
Vladimir Vukicevic, Ville Palo, Franklin Wise, and others.
Executable
+51
View File
@@ -0,0 +1,51 @@
* TDS Generic Provider
<ul>
<li>ADO.NET Provider for older Sybase and Microsoft SQL Server databases
<li>Exists in namespace Mono.Data.TdsClient and assembly Mono.Data.TdsClient
<li>Created by Tim Coleman
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
<li>Implemented in 100% C#
<li>Is similar to the Mono.Data.SybaseClient and System.Data.SqlClient providers.
<li>Uses TDS Protocol Version 4.2 by default
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
</ul>
* Current Status
<ul>
<li>Only builds on Windows currently due to mcs does not support modules and mcs
has problems with code that is internal.
<li>Able to connect to Microsoft SQL Server and Sybase databases
<li>SQL commands can be executed
via ExecuteNonQuery() of a TdsCommand.
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a TdsCommand
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via TdsDataReader.
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a TdsDataReader
<li>Data can be filled in a DataTable in a DataSet via a TdsDataAdapter
</ul>
* Action plan
<ul>
<li>Connection timeouts is being developed now.
<li>TODO
</ul>
+144 -4
View File
@@ -9,13 +9,153 @@
** Class Library Tests
All classes in Mono libraries should have comprehensive unit test
suites to go with them. Unit testing is a software engineering
methodology that makes it easier to build correct code. Every
suites to go with them. Unit testing is a software engineering
methodology that makes it easier to build correct code. Every
method in every class should have a set of tests to verify
that they work correctly. Mono also needs a testing framework
that they work correctly. Mono also needs a testing framework
to make it easy to write and run lots of tests.
Try <a href="http://nunit.sourceforge.net">NUnit</a>
** Getting started
If you are new to writing NUnit tests, there is a template you may use
to help get started. The file is:
<b>mcs/class/doc/TemplateTest.cs</b>
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the [text] markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
is a small one that might help.
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each
assembly. In each assembly there is a Test directory,
e.g. mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly,
e.g. mcs/class/corlib/Test/Sytem. Put your new test file in
the appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see
examples in the AllTests.cs file, so just copy and paste
inside there.
Once all of that is done, you can do a 'make test' from the top mcs
directory. Your test class will be automagically included in the
build and the tests will be run along with all the others.
* Tips on writing Unit tests.
You should look at the NUnit documentation, as it is a
fantastic product, and includes fantastic documentation, but
here are some tips for those of you who are already reading
this web page.
** Provide an unique error message for Assert()
Include an unique message for each Assert() so that when the assert
fails, it is trivial to locate the failing one. Otherwise, it may be
difficult to determine which part of the test is failing. A good way
to ensure unique messages is to use something like #A01, #A02 etc.
Ok:
<pre>
AssertEquals("array match", compare[0], i1[0]);
AssertEquals("array match", compare[1], i1[1]);
AssertEquals("array match", compare[2], i1[2]);
AssertEquals("array match", compare[3], i1[3]);
</pre>
Excellent:
<pre>
AssertEquals("#A01", compare[0], i1[0]);
AssertEquals("#A02", compare[1], i1[1]);
AssertEquals("#A03", compare[2], i1[2]);
AssertEquals("#A04", compare[3], i1[3]);
</pre>
Once you used such a number in an Assert(), don't change it later on -
people might use it it identify the test in bug reports or in mailing
lists.
** Use AssertEquals() to compare things, not Assert().
Do not compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Ok:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Excellent:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
** Constructors
When writing your testcase, please make sure to provide a constructor
which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
** Namespace
Please keep the namespace within each test directory consistent - all
tests which are referenced in the same AllTests.cs must be in the same
namespace. Of course you can use subnamespaces as you like -
especially for subdirectories of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests" and you
have a subdirectory called "System", you can put all the tests in that
dir into namespace "MonoTests.System".
** Test your test with the Microsoft runtime
If possible, try to run your testsuite with the Microsoft runtime on
Windows and make sure all tests in it pass. This is especially
important if you're writing a totally new testcase - without this
check you can never be sure that your testcase contains no bugs ....
Don't worry if you're writing your test on Linux, other people can
test it for you on Windows.
Sometimes you may discover that a test doesn't show the expected
result when run with the Microsoft runtime - either because there is a
bug in their runtime or something is misleading or wrong in their
documentation. In this case, please put a detailed description of the
problem to mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time to help
them fix their documentation and runtime.
** Unit tests.
Why do unit testing? It becomes simple to run automated tests
for the whole library. Unit tests are a safety net - you can
+26 -7
View File
@@ -2,39 +2,58 @@
1,FAQ,faq.html,faq.src
0,Mono,rationale.html,rationale.src
1,Runtime,runtime.html,runtime.src
2,Embedding,embedded-api.html,embedded-api.src
1,Classes,class-library.html,class-library.src
1,Gtk#,http://gtk-sharp.sourceforge.net
1,ASP.NET,asp-net.html,asp-net.src
1,ADO.NET,ado-net.html,ado-net.src
1,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
2,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
2,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
2,System.Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
2,System.Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
2,System.Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
2,Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
2,Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
2,Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
2,Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
2,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
2,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
2,Windows.Forms,class-status-System.Windows.Forms.html,class-status-System.Windows.Forms.src,cm/cormissing.css,cm/cormissing.js
2,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
2,Formatters.Soap,class-status-System.Runtime.Serialization.Formatters.Soap.html,class-status-System.Runtime.Serialization.Formatters.Soap.src,cm/cormissing.css,cm/cormissing.js
1,C# Compiler,c-sharp.html,c-sharp.src
1,Debugging,jit-debug.html,jit-debug.src
2,Example 1,jit-debug-sample.html,jit-debug-sample.src
2,Example 2,jit-debug-sample2.html,jit-debug-sample2.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,Hackers,hackers.html,hackers.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Doc format,monodoc-xml.html,monodoc-xml.src
1,Test Suite,testing.html,testing.src
1,Tools,tools.html,tools.src
1,Porting,porting.html,porting.src
2,PowerPC,ppc.html,ppc.src
1,HOWTO,mono-contribution-howto.html,mono-contribution-howto.src
0,Plans,plans.html,plans.src
1,ADO.NET,ado-net.html,ado-net.src
1,ASP.NET,asp-net.html,asp-net.src
2,Firebird Interbase,firebird.html,firebird.src
2,Microsft SQL Server,sqlclient.html,sqlclient.src
2,MySQL,mysql.html,mysql.src
2,ODBC,odbc.html,odbc.src
2,OLE DB,oledb.html,oledb.src
2,PostgreSQL,postgresql.html,postgresql.src
2,SQL Lite,sqlite.html,sqlite.src
2,Sybase,sybase.html,sybase.src
2,TDS Generic,tdsclient.html,tdsclient.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
0,Resources,resources.html,resources.src
1,Beginning,mono-beginning.html,mono-beginning.src
1,Mailing Lists,mailing-lists.html,mailing-lists.src
1,Ideas,ideas.html,ideas.src
1,Passport,passport.html,passport.src
1,Books,books.html,books.src
1,Papers,papers.html,papers.src
1,Languages,languages.html,languages.src
1,Debugging,jit-debug.html,jit-debug.src
0,Contact,contact.html,contact.src
+5
View File
@@ -15,6 +15,11 @@ while (<>){
print "<p>\n";
} elsif (/^\t\t\* (.*)$/) {
print "<li>$1\n";
} elsif (/^\@item (.*)$/){
$name = $link = $1;
$link =~ s/ //g;
print "<a name=\"$link\">\n";
print "<h2>$name</h2>\n";
} elsif (/^Q: (.*)$/){
print "<p><a name=\"q$q\"></a><b>Question $q:</b> $1\n";
$q++;
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

+90 -43
View File
@@ -1,59 +1,103 @@
CSCRIPT = $(SYSTEMROOT)/system32/cscript.exe
CSC=csc
CORCOMPARE=../../../mcs/tools/corcompare
OBJECTS= \
deploy/ado-net.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/books.html \
deploy/contributing.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-library.html \
deploy/classlib-doc.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/faq.html \
deploy/gcc-frontend.html \
deploy/index.html \
deploy/ideas.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/jit-debug-sample.html \
deploy/jit-debug-sample2.html \
deploy/languages.html \
deploy/mailing-lists.html \
deploy/monodoc-xml.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/status.html \
deploy/testing.html \
deploy/tools.html \
OBJECTS= \
deploy/ado-net.html \
deploy/firebird.html \
deploy/mysql.html \
deploy/odbc.html \
deploy/oledb.html \
deploy/postgresql.html \
deploy/sqlclient.html \
deploy/sqlite.html \
deploy/sybase.html \
deploy/tdsclient.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/books.html \
deploy/contributing.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-status-Microsoft.VisualBasic.html \
deploy/class-status-System.EnterpriseServices.html \
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html \
deploy/class-status-System.Windows.Forms.html \
deploy/class-library.html \
deploy/classlib-doc.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/embedded-api.html \
deploy/faq.html \
deploy/gcc-frontend.html \
deploy/hackers.html \
deploy/index.html \
deploy/ideas.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/jit-debug-sample.html \
deploy/jit-debug-sample2.html \
deploy/languages.html \
deploy/mailing-lists.html \
deploy/mono-beginning.html \
deploy/mono-contribution-howto.html \
deploy/monodoc-xml.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/ppc.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/status.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
# deploy/class-status-System.html \
# deploy/class-status-System.Configuration.Install.html \
# deploy/class-status-System.Runtime.Remoting.html \
NON_HTML_SOURCES= \
NON_HTML_SOURCES= \
../mono-build.sh \
../mono-build-w32.sh
all: $(OBJECTS)
all: $(OBJECTS) deploy/index.rss
perl process.pl commands template.html.in deploy
tutorial: mono-beginning.html.stamp mono-beginning.pdf
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
mono-beginning.html.stamp: mono-beginning.xml
db2html mono-beginning.xml
touch mono-beginning.html.stamp
mono-beginning.pdf: mono-beginning.xml
db2pdf mono-beginning.xml
mono-beginning.xml: ../mono-beginning.xml
cp ../mono-beginning.xml .
deploy/index.rss: mono-rss.exe ../index
./mono-rss.exe ../index deploy/index.rss
mono-rss.exe: mono-rss.cs rss.cs
$(CSC) mono-rss.cs rss.cs
clean:
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
@@ -98,3 +142,6 @@ src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.e
../class-status: ../class-status.in
cp -f $< $@
make-rss:
$(CSC) make-rss.cs -o
+103
View File
@@ -0,0 +1,103 @@
//
// Generates the Mono RSS feed
//
// Miguel de Icaza
//
using System;
using System.IO;
using System.Xml;
using RSS;
class X {
static RSS.RSS rss;
static Channel c;
static int item_count;
static void PopulateRSS (StreamReader input)
{
string s;
while ((s = input.ReadLine ()) != null){
if (s.StartsWith ("@item "))
break;
}
if (s == null || !s.StartsWith ("@item ")){
Console.WriteLine ("Could not find beginning of text to RSS");
return;
}
Item i = null;
string description = "";
do {
if (s.StartsWith ("@item ")){
if (item_count++ > 25)
break;
if (i != null){
i.Description = description;
description = "";
}
string title = s.Substring (6);
string link = "http://www.go-mono.com/index.html#";
foreach (char ch in title){
if (ch != ' ')
link += ch;
}
i = c.NewItem ();
i.Title = title;
i.Link = link;
} else {
description += "\n" + (s == "\n" ? "<p>" : s);
}
} while ((s = input.ReadLine ()) != null);
if (i != null){
i.Description = description;
}
}
static void MakeRSS (string input, string output)
{
rss = new RSS.RSS ();
c = rss.NewChannel ("Mono Project News", "http://www.go-mono.com");
c.Title = "Mono Project News";
c.Link = "http://www.go-mono.com";
c.Description =
"News from the Mono project: a portable implementation of the .NET Framework";
c.WebMaster = "[email protected]";
c.ManagingEditor = "[email protected]";
string t = File.GetLastWriteTime (input).ToString ("r");
c.PubDate = t;
c.LastBuildDate = t;
using (FileStream fs = new FileStream (input, FileMode.Open)){
using (StreamReader input_stream = new StreamReader (fs)){
PopulateRSS (input_stream);
}
}
rss.XmlDocument.Save (output);
}
static int Main (string [] args)
{
switch (args.Length){
case 0:
MakeRSS ("index", "index.rss");
break;
case 2:
MakeRSS (args [0], args [1]);
break;
default:
Console.WriteLine ("Usage is: mono-rss [input output.rss]");
return 1;
}
return 0;
}
}
+1 -1
View File
@@ -26,7 +26,7 @@ while (<COMMANDS>) {
$menu .= "<tr><td valign=\"top\" class=\"navi" . $command[0];
$menu .= "\"><a class=\"navi" . $command[0];
$menu .= "\"";
$menu .= "HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
$menu .= " HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
}
}
close COMMANDS;
Executable
+262
View File
@@ -0,0 +1,262 @@
//
// RSS.cs: Some utility classes to generate RSS feeds
//
// (C) 2002 Miguel de Icaza ([email protected])
//
//
using System;
using System.Xml;
using System.IO;
namespace RSS {
public class Item {
XmlDocument doc;
XmlNode item;
XmlText title, link, description;
public Item (XmlDocument doc, XmlNode item)
{
this.doc = doc;
this.item = item;
}
XmlText MakeTextElement (string name)
{
XmlNode node = doc.CreateElement (name);
XmlText text = doc.CreateTextNode ("");
item.AppendChild (node);
node.AppendChild (text);
return text;
}
public string Title {
get {
if (title == null)
return null;
return title.Value;
}
set {
if (title == null)
title = MakeTextElement ("title");
title.Value = value;
}
}
public string Link {
get {
if (link == null)
return null;
return link.Value;
}
set {
if (link == null)
link = MakeTextElement ("link");
link.Value = value;
}
}
public string Description {
get {
if (description == null)
return null;
return description.Value;
}
set {
if (description == null)
description = MakeTextElement ("description");
description.Value = value;
}
}
}
public class Channel {
XmlDocument doc;
XmlNode channel;
XmlText title, link, description, language, pubDate, lastBuildDate;
XmlText managingEditor, webMaster;
XmlText MakeTextElement (string name)
{
XmlNode node = doc.CreateElement (name);
XmlText text = doc.CreateTextNode ("");
channel.AppendChild (node);
node.AppendChild (text);
return text;
}
public Channel (XmlDocument doc, XmlNode node)
{
this.channel = node;
this.doc = doc;
title = MakeTextElement ("title");
link = MakeTextElement ("link");
description = MakeTextElement ("description");
}
public Item NewItem ()
{
XmlNode node = doc.CreateElement ("item");
Item item;
channel.AppendChild (node);
item = new Item (doc, node);
return item;
}
public string Title {
get {
return title.Value;
}
set {
title.Value = value;
}
}
public string Link {
get {
return link.Value;
}
set {
link.Value = value;
}
}
public string Description {
get {
return description.Value;
}
set {
description.Value = value;
}
}
#region Optional Values
public string ManagingEditor {
get {
if (managingEditor == null)
return null;
return managingEditor.Value;
}
set {
if (managingEditor == null)
managingEditor = MakeTextElement ("managingEditor");
managingEditor.Value = value;
}
}
public string WebMaster {
get {
if (webMaster == null)
return null;
return webMaster.Value;
}
set {
if (webMaster == null)
webMaster = MakeTextElement ("webMaster");
webMaster.Value = value;
}
}
public string PubDate {
get {
if (pubDate == null)
return null;
return pubDate.Value;
}
set {
if (pubDate == null)
pubDate = MakeTextElement ("pubDate");
pubDate.Value = value;
}
}
public string LastBuildDate {
get {
if (lastBuildDate == null)
return null;
return lastBuildDate.Value;
}
set {
if (lastBuildDate == null)
lastBuildDate = MakeTextElement ("lastBuildDate");
lastBuildDate.Value = value;
}
}
public string Language {
get {
if (language == null)
return null;
return language.Value;
}
set {
if (language == null)
language = MakeTextElement ("language");
language.Value = value;
}
}
#endregion
}
class RSS {
XmlDocument doc;
XmlNode rss;
const string rss_base =
"<?xml version=\"1.0\"?> <rss version=\"0.92\"></rss>";
public RSS ()
{
doc = new XmlDocument ();
doc.LoadXml (rss_base);
rss = doc.DocumentElement;
}
public Channel NewChannel (string title, string url)
{
XmlNode node = doc.CreateElement ("channel");
Channel c;
rss.AppendChild (node);
c = new Channel (doc, node);
return c;
}
public XmlDocument XmlDocument {
get {
return doc;
}
}
}
}
+30 -23
View File
@@ -1,10 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>#TITLE#</title>
<!-- background-image: url("images/bgsquares.gif"); -->
<style type="text/css">
<!--
body { font-family: "trebuchet ms", lucida, verdana, helvetica;
background-image: url("images/bgsquares.gif");
background-attachment: fixed; }
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
font-size: 14px; }
@@ -26,7 +28,7 @@
a.navi2:visited { color: #cccccc; }
a.navi2:hover { color: #ee9900; text-decoration: underline; }
// -->
// -->
</style>
#CSS#
#SCRIPT#
@@ -35,25 +37,28 @@
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td><img src="images/pixel.gif"></td><!-- left border -->
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
<td colspan="4">
<a href="http://www.go-mono.com"><img src="images/mono.gif" border="0"></a></td>
<td><img src="images/pixel.gif"></td><!-- right border -->
<a href="http://www.go-mono.com"><img src="images/mono-new.gif"
alt="mono-logo" border="0"></a></td>
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
</tr>
<tr>
<td><img src="images/pixel.gif" width="1" height="1"></td>
<td colspan="3" bgcolor="black"><img src="images/pixel.gif" height="2"></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td><img src="images/pixel.gif"></td>
<td><img src="images/pixel.gif" width="1" height="1" alt=""></td>
<td colspan="3" bgcolor="black"><img src="images/pixel.gif"
height="2" alt=""></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td><img src="images/pixel.gif" alt=""></td>
</tr>
<tr>
<td width="100"><img src="images/pixel.gif"></td>
<td width="100"><img src="images/pixel.gif" alt=""></td>
<td valign="top">
<table cellpadding="2" valign="top" cellspacing="0" border="0">
#MENU#
</table>
</td>
<td bgcolor="black" width="1"><img src="images/pixel.gif" width="1"></td>
<td bgcolor="black" width="1"><img src="images/pixel.gif"
width="1" alt=""></td>
<td bgcolor="white" align="left" width="80%" valign="top">
<table cellpadding="16">
<tr><td>
@@ -61,24 +66,26 @@
</td></tr>
</table>
</td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td width="100"><img src="images/pixel.gif"></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td width="100"><img src="images/pixel.gif" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/pixel.gif"></td>
<td colspan="2" bgcolor="black"><img src="images/pixel.gif" height="1"></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td><img src="images/pixel.gif"></td>
<img src="images/pixel.gif" alt=""></td>
<td colspan="2" bgcolor="black"><img src="images/pixel.gif"
height="1" alt=""></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td><img src="images/pixel.gif" alt=""></td>
</tr>
<td colspan="2"></td>
<td colspan="2" align="center">
<a class="footnote" href="mailto: [email protected]">[email protected]</a>
</td>
<td colspan="2"></td>
<tr>
<td colspan="2"></td>
<td colspan="2" align="center">
<a class="footnote" href="mailto:[email protected]">[email protected]</a>
</td>
<td colspan="2"></td>
</tr>
</tr>
</tr>
</table>
</body>
+45 -15
View File
@@ -1,9 +1,19 @@
* System.Windows.Forms
System.Windows.Forms eventually will support multiple
toolkits. Ximian will be delivering a product that will allow
for System.Windows.Forms applications to integrate with GNOME
through Gtk and MacOS X using Cocoa.
System.Windows.Forms is currently being implemented using the
Win32 API, we will be using <a
href="http://www.winehq.com">WineLib</a> on Unix systems to
emulate the Win32 API.
This means that those who want to contribute to the effort can
develop and test classes today using Windows and P/Invoke
calls to Win32 and we will then just run the result on Unix.
In terms of integrating visually with the desktop, we are
hoping to contribute to the Wine project an mechanism to make
it use the Gtk+ themes on X11 and Cocoa on MacOS to render the
widgets, and get the native look and feel on each of these
platforms.
There are no current plans to support embedded devices, but
Gtk/FrameBuffer is an option. If you have suggestions or
@@ -12,19 +22,28 @@
* Contributing
Currently Ximian developers are busy making our JIT engine
feature complete, and dealing with the low-level details of
the Mono runtime.
The Winforms effort is being coordinated in the <a
href="mailto:[email protected]:.com">[email protected]</a>.
If you are interested in helping out with this effort,
subscribe to it by sending an email message to <a
href="mailto:[email protected]:.com">[email protected]</a>.
If you are interested in contributing, you can start stubbing
out classes and providing enumerations. That will help us
significantly when we start working on the actual bindings.
If you want to help, you can start by writing a control and
testing it with Windows today (or you can also try to build
the existing library on Linux, but this is a bit more
complicated).
Christian Meyer is currently organizing this effort.
See the file mcs/class/System.Windows.Forms/CheckOutList for
details on who is working on which class.
Please read the README document in the
System.Windows.Forms/WINElib directory for details about how
to build the Windows.Forms support for Mono.
* System.Drawing
Using existing libraries to implement some of the functionality required
Using existing libraries to implement some of the
functionality required:
<ul>
* gdk-pixbuf is a generic image loader that loads an image
@@ -64,6 +83,7 @@
* Directory Layout
<pre>
System.Drawing (assembly directory)
System.Drawing.Blah
Common code for "Blah"
@@ -75,12 +95,14 @@
MacOS
System.Drawing.Blah
MacOS ports of "System.Drawing.Blah"
Win32
WineLIB
System.Drawing.Blah
Win32 ports of "System.Drawing.Blah"
</pre>
Then we use nant targets to include/exclude the right set of
files to create the assembly.
Notice that there is a proof of concept Gtk-backend for
Windows.Forms, but nobody is working on it, and for the
reasons stated before it is not a long term strategy.
* Open questions:
@@ -88,3 +110,11 @@
can accept either libart-like rendering operations and
X11-like rendering operations. This complicates matters, but
I am not sure. Someone needs to investigate this.
* Historical
Although the original plans were to use Gtk on X and Cocoa on
MacOS X, it would be very hard to emulate the event model in
which some Winforms applications depend, and it would be very
hard to implement the Wndproc method.
+2
View File
@@ -0,0 +1,2 @@
Makefile
Makefile.in
+1 -1
View File
@@ -1,3 +1,3 @@
EXTRA_DIST = gc-issues jit-thoughts object-layout unmanaged-calls \
exceptions jit-trampolines stack-alignment
exceptions jit-trampolines stack-alignment embedded-api
+233
View File
@@ -0,0 +1,233 @@
Embedding the Mono runtime, preliminary version
Miguel de Icaza, Paolo Molaro.
This document describes how to embed the Mono runtime in your
application, and how to invoke CIL methods from C, and how to
invoke C code from CIL.
* Embedding the runtime.
Embedding the runtime consists of various steps:
* Compiling and linking the Mono runtime
* Initializing the Mono runtime
* Optionally expose C code to the C#/CIL universe.
These are discussed in detail next.
** Compiling and Linking
To embed the runtime, you have to link your code against the
Mono runtime libraries. To do this, you want to pass the
flags returned by pkg-config to your compiler:
pkg-config --cflags --libs mono
Like this:
gcc sample.c `pkg-config --cflags --libs mono`
You can separate the compilation flags from the linking flags, for
instance, you can use the following macros in your makefile:
CFLAGS=`pkg-config --cflags mono`
LDFLAGS=`pkg-config --libs mono`
** Initializing the Mono runtime
To initialize the runtime, call mono_jit_init, like this:
MonoDomain *domain;
domain = mono_jit_init ("domain-name");
That will return a MonoDomain where your code will be
executed. You can create multiple domains. Each domain is
isolated from the other domains and code in one domain will
not interfere with code in other domains. This is useful if
you want to host different applications in your program.
Then you can load an assembly containing code into the domain:
MonoAssembly *assembly;
assembly = mono_domain_assembly_open (domain, "file.dll");
if (!assembly)
error ();
In the above example, the contents of `file.dll' will be
loaded into the domain. This only loads the code, but it will
not execute anything yet. You can replace `file.dll' with
another transport file, like `file.exe'
To start executing code, you must invoke a method in the
assembly, or if you have provided a static Main method (an
entry point), you can use the convenience function:
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
If you want to invoke a different method, look at the
`Invoking Methods in the CIL universe' section later on.
** Shutting down the runtime
To shutdown the Mono runtime, you have to clean up all the
domains that were created, use this function:
mono_jit_cleanup (domain);
** Applications that use threads.
The Boehm GC system needs to catch your calls to the pthreads
layer, so in each file where you use pthread.h you should
include the <gc/gc.h> file.
* Exposing C code to the CIL universe
The Mono runtime provides two mechanisms to expose C code to
the CIL universe: internal calls and native C code. Internal
calls are tightly integrated with the runtime, and have the
least overhead, as they use the same data types that the
runtime uses.
The other option is to use the Platform Invoke (P/Invoke) to
call C code from the CIL universe, using the standard P/Invoke
mechanisms.
To register an internal call, use this call in the C code:
mono_add_internal_call ("Hello::Sample", sample);
Now, you need to declare this on the C# side:
using System;
using System.Runtime.CompilerServices;
class Hello {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
extern static string Sample ();
}
Since this routine returns a string, here is the C definition:
static MonoString*
Sample ()
{
return mono_string_new (mono_domain_get (), "Hello!");
}
Notice that we have to return a `MonoString', and we use the
`mono_string_new' API call to obtain this from a string.
* Invoking Methods in the CIL universe
Calling a method in the CIL universe from C requires a number of steps:
* Obtaining the MonoMethod handle to the method.
* The method invocation.
** Obtaining a MonoMethod
To get a MonoMethod there are several ways.
You can get a MonoClass (the structure representing a type)
using:
MonoClass *
mono_class_from_name (MonoImage *image, const char* name_space, const char *name);
and then loop in the returned class method array until you get
the one you're looking for. There are examples of such
searches as static functions in several C files in
metadata/*.c: we need to expose one through the API and remove
the duplicates.
The other, simpler, way is to use the functions in
debug-helpers.h: there are examples of their use in monograph,
mint and the jit as well. You basically use a string
description of the method, like:
"System.Object:GetHashCode()"
and create a MonoMethodDesc out of it with:
MonoMethodDesc* mono_method_desc_new (const char *name, gboolean include_namespace);
You can then use:
MonoMethod* mono_method_desc_search_in_class (MonoMethodDesc *desc, MonoClass *klass);
MonoMethod* mono_method_desc_search_in_image (MonoMethodDesc *desc, MonoImage *image);
to search for the method in a class or in an image. You would
tipically do this just once at the start of the program and
store the result for reuse somewhere.
** Invoking a Method
There are two functions to call a managed method:
MonoObject*
mono_runtime_invoke (MonoMethod *method, void *obj, void **params,
MonoObject **exc);
and
MonoObject*
mono_runtime_invoke_array (MonoMethod *method, void *obj, MonoArray *params,
MonoObject **exc);
obj is the 'this' pointer, it should be NULL for static
methods, a MonoObject* for object instances and a pointer to
the value type for value types.
The params array contains the arguments to the method with the
same convention: MonoObject* pointers for object instances and
pointers to the value type otherwise. The _invoke_array
variant takes a C# object[] as the params argument (MonoArray
*params): in this case the value types are boxed inside the
respective reference representation.
From unmanaged code you'll usually use the
mono_runtime_invoke() variant.
Note that this function doesn't handle virtual methods for
you, it will exec the exact method you pass: we still need to
expose a function to lookup the derived class implementation
of a virtual method (there are examples of this in the code,
though).
You can pass NULL as the exc argument if you don't want to
catch exceptions, otherwise, *exc will be set to the exception
thrown, if any. if an exception is thrown, you can't use the
MonoObject* result from the function.
If the method returns a value type, it is boxed in an object
reference.
We have plans for providing an additional method that returns
an unmanaged->managed thunk like this:
void* mono_method_get_unmanaged_thunk (MonoMethod *method);
You'll be able to store the returned pointer in a function
pointer with the proper signature and call that directly from
C:
typedef gint32 (*GetHashCode) (MonoObject *obj);
GetHashCode func = mono_method_get_unmanaged_thunk (System_Object_GetHashCode_method);
gint32 hashvalue = func (myobject);
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
* Samples
See the sample programs inmono/sample/embed for examples of
embedding the Mono runtime in your application.
+39 -1
View File
@@ -16,7 +16,7 @@ unmanaged code. That way we can recover from exceptions inside unmanaged code.
void handle_exception ((struct sigcontext *ctx, gpointer obj)
{
if (ctx->ip < mono_end_of_stack) {
if (ctx->bp < mono_end_of_stack) {
/* unhandled exception */
abort ();
}
@@ -68,3 +68,41 @@ code.
catch handler: receives the exception object in ECX. They store that
object into a local variable, so that rethrow can access the object.
gcc support for Exceptions
==========================
gcc supports exceptions in files compiled with the -fexception option. gcc
generates DWARF exceptions tables in that case, so it is possible to unwind the
stack. The method to read those exception tables is contained in libgcc.a, and
in newer versions of glibc (glibc 2.2.5 for example), and it is called
__frame_state_for(). Another usable glibc function is backtrace_symbols() which
returns the function name corresponding to a code address.
We dynamically check if those features are available using g_module_symbol(),
and we use them only when available. If not available we use the LMF as
fallback.
Using gcc exception information prevents us from saving the LMF at each native
call, so this is a way to speed up native calls. This is especially valuable
for internal calls, because we can make sure that all internal calls are
compiled with -fexceptions (we compile the whole mono runtime with that
option).
All native function are able to call function without exception tables, and so
we are unable to restore all caller saved registers if an exception is raised
in such function. Well, its possible if the previous function already saves all
registers. So we only omit the the LMF if a function has an exception table
able to restore all caller saved registers.
One problem is that gcc almost never saves all caller saved registers, because
it is just unnecessary in normal situations. But there is a trick forcing gcc
to save all register, we just need to call __builtin_unwind_init() at the
beginning of a function. That way gcc generates code to save all caller saved
register on the stack.
+64
View File
@@ -0,0 +1,64 @@
Register Allocation
===================
The current JIT implementation uses a tree matcher to generate code. We use a
simple algorithm to allocate registers in trees, and limit the number of used
temporary register to 4 when evaluating trees. So we can use 2 registers for
global register allocation.
Register Allocation for Trees
=============================
We always evaluate trees from left to right. When there are no more registers
available we need to spill values to memory. Here is the simplified algorithm.
gboolean
tree_allocate_regs (tree, exclude_reg)
{
if (!tree_allocate_regs (tree->left, -1))
return FALSE;
if (!tree_allocate_regs (tree->right, -1)) {
tree->left->spilled == TRUE;
free_used_regs (tree->left);
if (!tree_allocate_regs (tree->right, tree->left->reg))
return FALSE;
}
free_used_regs (tree->left);
free_used_regs (tree->right);
/* try to allocate a register (reg != exclude_reg) */
if ((tree->reg = next_free_reg (exclude_reg)) != -1)
return TRUE;
return FALSE;
}
The emit routing actually spills the registers:
tree_emit (tree)
{
tree_emit (tree->left);
if (tree->left->spilled)
save_reg (tree->left->reg);
tree_emit (tree->right);
if (tree->left->spilled)
restore_reg (tree->left->reg);
emit_code (tree);
}
Global Register Allocation
==========================
TODO.
+1 -1
View File
@@ -50,7 +50,7 @@ LDC.1 (5,1) [5,0]
STLOC.0 (5) [1,0]
STLOC.1 () [1,5]
The current forest generation generates:
A simple forest generation generates:
STLOC.0(LDC.1)
STLOC.1(LDLOC.0)
+98
View File
@@ -0,0 +1,98 @@
=pod
=head1 Internal design document for the mono_handle_d
This document is designed to hold the design of the mono_handle_d and
not as an api reference.
=head2 Primary goal and purpose
The mono_handle_d is a process which takes care of the (de)allocation
of scratch shared memory and handles (of files, threads, mutexes,
sockets etc. see L<WapiHandleType>) and refcounts of the
filehandles. It is designed to be run by a user and to be fast, thus
minimal error checking on input is done and will most likely crash if
given a faulty package. No effort has been, or should be, made to have
the daemon talking to machine of different endianness/size of int.
=head2 How to start the daemon
To start the daemon you either run the mono_handle_d executable or try
to attach to the shared memory segment via L<_wapi_shm_attach> which
will start a daemon if one does not exist.
=head1 Internal details
The daemon works by opening a socket and listening to clients. These
clients send packages over the socket complying to L<struct
WapiHandleRequest>.
=head2 Possible requests
=over
=item WapiHandleRequest_New
Find a handle in the shared memory segment that is free and allocate
it to the specified type. To destroy use
L</WapiHandleRequest_Close>. A L<WapiHandleResponse> with
.type=WapiHandleResponseType_New will be sent back with .u.new.handle
set to the handle that was allocated. .u.new.type is the type that was
requested.
=item WapiHandleRequestType_Open
Increase the ref count of an already created handle. A
L<WapiHandleResponse> with .type=WapiHandleResponseType_Open will be sent
back with .u.new.handle set to the handle, .u.new.type is set to the
type of handle this is.
=item WapiHandleRequestType_Close
Decrease the ref count of an already created handle. A
L<WapiHandleResponse> with .type=WapiHandleResponseType_Close will be
sent back with .u.close.destroy set to TRUE if ref count for this
client reached 0.
=item WapiHandleRequestType_Scratch
Allocate a shared memory area of size .u.scratch.length in bytes. A
L<WapiHandleResponse> with .type=WapiHandleResponseType_Scratch will be
sent back with .u.scratch.idx set to the index into the shared
memory's scratch area where to memory begins. (works just like
malloc(3))
=item WapiHandleRequestType_Scratch
Deallocate a shared memory area, this must have been allocated before
deallocating. A L<WapiHandleResponse> with
.type=WapiHandleResponseType_ScratchFree will be sent back (works just
like free(3))
=back
=head1 Why a daemon
From an email:
Dennis: I just have one question about the daemon... Why does it
exist? Isn't it better performancewise to just protect the shared area
with a mutex when allocation a new handle/shared mem segment or
changing refcnt? It will however be a less resilient to clients that
crash (the deamon cleans up ref'd handles if socket closes)
Dick: It's precisely because with a mutex the shared memory segment
can be left in a locked state. Also, it's not so easy to clean up
shared memory without it (you can't just mark it deleted when creating
it, because you can't attach any more readers to the same segment
after that). I did some minimal performance testing, and I don't
think the daemon is particularly slow.
=head1 Authors
Documentaion: Dennis Haney
Implementation: Dick Porter
=cut
+26
View File
@@ -0,0 +1,26 @@
Runtime support for Remoting
============================
The runtime supports a special objects called "TransparentProxy". You can
create objects of this type by calling GetTransparentProxy() on a "RealProxy"
object.
LDFLD/STFLD for transparent proxies
===================================
Access to fields must be redirected to the remote object. System.Object has
some special methods for that:
void FieldGetter (string typeName, string fieldName, ref object val);
void FieldSetter (string typeName, string fieldName, object val);
This methods are never called on actual object. The are only used to pack
LDFLD/STFLD operations into method call messages, which are then passed to the
RealProxy::Invoke() method.
There are two helper methods which can be used by the JIT and the interpreter
to convert LDFLD/STFLD operations into messages and then call
RealProxy::Invoke(): mono_store_remote_field() and mono_load_remote_field().
+1 -1
View File
@@ -1,4 +1,4 @@
man_MANS = mcs.1 mono.1 monostyle.1
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharpcli.1
EXTRA_DIST = $(man_MANS)
+94 -31
View File
@@ -11,6 +11,13 @@ 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
The Mono C# compiler accepts the same options than the Microsoft C#
compiler does. Those options can start with a slash or a dash
(/checked is the same as -checked). Additionally to this, the
GNU-like options are supported, those begin with "--". All
MCS-specific flags which are not available in the Microsoft C#
compiler are available only with the GNU-style options.
.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
@@ -29,17 +36,42 @@ Executables are not bound to a specific CPU or operating system.
.I \-\-about
Displays information about the Mono C# compiler
.TP
.I \-\-checked
.I -checked, -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.
.I -checked-
Sets the default compilation mode to `unchecked'. This makes all
the math operations unchecked (this is the default).
.TP
.I \-\-debug or \-g
Generate debugging information.
.I -codepage:ID
Specifies the code page used to process the input files from the
point it is specified on. By default files will be processed in the
Latin-1 code page. The compiler will also automatically detect
Unicode files that have an embedded byte mark at the beginning. The
special ID "utf8" can be used to switch to utf8 and the ID "reset"
restores the automatic handling of code pages.
.TP
.I \-define:SYMLIST, -d:SYMLIST
Defines the symbol listed by the semi-colon separeted list SYMLIST
SYMBOL. This can be tested in the source code by the pre-processor,
or can be used by methods that have been tagged with the Conditional
attribute.
.TP
.I \-debug, \-debug+, \-g
Generate debugging information. The debugging information is stored
in a file with the extension .dbg (if you install system wide
assemblies, you need to install this file as well). To get stack
traces with debugging information, you need to invoke the mono runtime
with the `--debug' flag.
.TP
.I \-debug-
Do not generate debugging information.
.TP
.I \-\-expect-error X L
The compiler will expect the code to generate an error
named `X' in line `L'. This is only used by the test suite.
.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.
@@ -48,46 +80,50 @@ generate an exception that can be caught by a debugger.
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
.TP
.I -lib:PATHLIST
Each path specified in the comma-separated list will direct the
compiler to look for libraries in that specified path.
.TP
.I \-L PATH
Directs the compiler to look for libraries in the specified path.
Multiple paths can be provided.
Multiple paths can be provided by using the option multiple times.
.TP
.I \-\-nostdlib
.I \-nostdlib, -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 \-\-noconfig
.I \-noconfig, \-noconfig+
Disables the default compiler configuration to be loaded. The
compiler by default has references to the system assemblies.
.TP
.I \-\-nowarn XXX
Makes the compiler ignore warning XXX.
.I \-nowarn:WARNLIST
Makes the compiler ignore warnings specified in the comma-separeted
list WARNLIST>
.TP
.I \-o FNAME
.I -out:FNAME, -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.
.I -resource:RESOURCE[,ID]
Embeds to the given resource file. The optional ID can be used to
give a different name to the resource. If not specified, the resource
name will be the file name.
.TP
.I \-\-recurse PATTERN
.I -linkresource:RESOURCE[,ID]
Links to the specified RESOURCE. The optional ID can be used to give
a name to the linked resource.
.TP
.I \-recurse:PATTERN, --recurse PATTERN
Does recursive compilation using the specified pattern. In Unix the
shell will perform globbing, so you migth want to use it like this:
.PP
.nf
bash$ mcs --recurse '*.cs'
bash$ mcs -recurse:'*.cs'
.fi
.TP
.I \-\-resource FILE
Adds FILE as a resource of the resulting assembly.
.TP
.I \-\-target KIND
.I \-target:KIND, \-t:KIND
Used to specify the desired target. The possible values are: exe,
winexe, library and module.
.TP
@@ -95,21 +131,24 @@ winexe, library and module.
Another debugging flag. Used to display the times at various points
in the compilation process.
.TP
.I \-\-unsafe
.I \-unsafe, -unsafe+
Enables compilation of unsafe code.
.TP
.I \-\-werror
.I \-warnaserror, \-warnaserror+
Treat warnings as errors.
.TP
.I \-\-wlevel LEVEL
.I \-warn: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
.I -r:ASSEMBLY1[,ASSEMBLY2], \-r ASSEMBLY1[,ASSEMBLY2]
Reference the named assemblies. Use this to use classes from the named
assembly in your program. The assembly will be loaded from either the
system directory where all the assemblies live, or from the path
explicitly given with the -L option.
.PP
You can also use a semicolon to separate the assemblies instead of a
comma.
.TP
.I \-v
Debugging. Turns on verbose yacc parsing.
@@ -118,6 +157,30 @@ Debugging. Turns on verbose yacc parsing.
Use this to stop option parsing, and allow option-looking parameters
to be passed on the command line.
.PP
.SH SPECIAL DEFINES
The
.B TRACE
and
.B DEBUG
defines have a special meaning to the compiler.
.PP
By default calls to methods and properties in the
System.Diagnostics.Trace class are not generated unless the TRACE
symbol is defined (either through a "#define TRACE") in your source
code, or by using the
.I "--define TRACE"
in the command line.
.PP
By default calls to methods and properties in the
System.Diagnostics.Debug class are not generated unless the DEBUG
symbol is defined (either through a "#define DEBUG") in your source
code, or by using the
.I "--define DEBUG"
in the command line.
.PP
Note that the effect of defining TRACE and DEBUG is a global setting,
even if they are only defined in a single file.
.PP
.SH DEBUGGING SUPPORT
When use the "--debug" or "-g" flag, MCS will create an assembler file
FILE-debug.s containing debugging information where FILE is the name of
@@ -129,8 +192,8 @@ During compilation the MCS compiler defines the __MonoCS__ symbol,
this can be used by pre-processor instructions to compile Mono C#
compiler specific code.
.SH AUTHORS
The Mono C# Compiler was written by Miguel de Icaza and Ravi Pratap at
Ximian.
The Mono C# Compiler was written by Miguel de Icaza, Ravi Pratap and
Martin Baulig at Ximian.
.PP
.SH LICENSE
The Mono Compiler Suite is released under the terms of the GNU GPL.
+36
View File
@@ -0,0 +1,36 @@
.\"
.\" mono configuration page.
.\" (C) Ximian, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.TH Mono "Mono 1.0"
.SH NAME
mono-config \- Mono runtime file format configuration
.SH DESCRIPTION
The Mono runtime will load configuration data from the
installation prefix /etc/mono/config file, the ~/.mono/config or from
the file pointed by the MONO_CONFIG environment variable.
.PP
This file controls the behavior of the runtime.
.PP
The file contains an XML-like file with various sections, all of them
contained inside a
.B<configuration>
section (It actually uses GMarkup
to parse the file).
.SH <dllmap> directive
You use the dllmap directive to map shared libraries referenced by
P/Invoke in your assemblies to a different shared library.
.PP
This is typically used to map Windows libraries to Unix library names.
.SH EXAMPLES
The following example maps references to the `cygwin1.dll' shared
library to the `libc.so.6' file.
.nf
<configuration>
<dllmap dll="cygwin1.dll" target="libc.so.6"/>
</configuration>
.fi
.SH SEE ALSO
.BR mono(1), monodis(1), mint(1)
+96 -25
View File
@@ -1,5 +1,5 @@
.\"
.\" mint manual page.
.\" mono manual page.
.\" (C) Ximian, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
@@ -11,7 +11,9 @@ mono \- Mono ECMA-CLI Just in Time compiler.
.PP
.B mono
[\-\-help] [\-d] [\-\-debug-asm] [\-\-debug-forest] [\-\-trace-calls]
[\-\-stabs] [\-\-compile cname] [\-\-ncompile num] [\-\-debug] [\-\-noinline] [\-\-profile]
[\-\-compile name] [\-\-ncompile num] [\-\-noinline] [\-\-profile]
[\-\-debug=[format]] [\-\-debug-args args] [\-\-break name] [\-\-precompile name]
[\-\-config filename]
program.exe [arguments...]
.SH DESCRIPTION
The \fImono\fP program is a Just in Time compiler for ECMA CLI byte
@@ -32,6 +34,15 @@ to sharing code. This results in slower code, but enables code
sharing across application domains. The default is to maximize for
speed, but disallow JITed code sharing across domains. See
System.LoaderOptimization for more information
.TP
.I "--config filename"
Load the specified configuration file instead of the default one(s).
The default files are /etc/mono/config and ~/.mono/config or the file
specified in the MONO_CONFIG environment variable, if set.
.TP
.I "--noinline"
Disables the code inliner.
.TP
.SH DEBUGGING OPTIONS
The following options are used to debug, or perfomance test the JIT
compiler:
@@ -46,40 +57,100 @@ Displays the generated code as methods are invoked.
Displays the basic blocks and the forest of trees that is
created from a stream of CIL opcodes.
.TP
.I "--stabs"
Writes out stabs debug information
.TP
.I "--dwarf"
Writes out dwarf debug information
.TP
.I "--dwarf-plus"
Uses an extended debugging information file which has been generated
by MCS. This extended debugging information will allow you to debug
C# source code rather than IL code. To use it, just run the JIT in
your debugger and call "mono_debug_make_symbols" each time the program
stops.
.TP
.I "--debug method"
Debugs the method whose name is `method'
.TP
.I "--compile"
Compiles the method on the given class (namespace.name:methodname).
.I "--compile name"
Compiles the method on the given class (namespace.name:methodname) or
all classes in the given image (@imagename).
.TP
.I "--ncompile"
Compiles the method a number of times. If no argument is specified,
the method will be compiled a thousand times.
.SH DEVELOPMENT OPTIONS
The following options are used to debug a JITed application. They're
only useful when running the JIT in a debugger:
.TP
.I "--noinline"
Disables the code inliner.
.I "--debug"
Writes out debug information in the given format or in the default format.
See DEBUGGING FORMATS for details.
.TP
.I "--debug-args args"
Comma-separated list of additional arguments for the symbol writer.
See DEBUGGING FORMATS for details.
.TP
.I "--break method"
Inserts a breakpoint before the method whose name is `method'
(namespace.class:methodname). Use `Main' as method name to insert a breakpoint on the
application's main method.
.TP
.I "--precompile name"
Compiles the given class (namespace.name), method (namespace.name:methodname)
or all classes in the given image (@imagename) before executing the main
application.
.TP
.I "--profile"
Collect profiling information and dump it at the end of the process.
.SH DEBUGGING FORMATS
The following debugging formats are currently supported:
.TP
.I "stabs"
Writes out stabs debug information.
.TP
.I "dwarf"
Writes out dwarf debug information.
.TP
.I "mono"
Use a symbol file which has been created by MCS. It can be used to get
source lines in stack traces.
.PP
The "stabs" and "dwarf" formats support the following options:
.TP
.I "filename=FILENAME"
Write debugging information into FILENAME. This file must be run through
the assembler to create an object file.
.TP
.I "objfile=FILENAME"
When automatically assembling the symbol file, write the resulting object
file into FILENAME.
.TP
.I "dont_assemble"
Normally, the symbol file is automatically assembled to an object file
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "install_il_files"
Put the generated *.il files in the same directory than the assembly they
came from. The default is to put them into the current working directory.
.TP
.I "dont_update_il_files"
Normally, the *.il files are recreated if their assemblies have changed
when you call "mono_debug_make_symbols". Use this option to disable this
behaviour.
.TP
.I "dont_create_il_files"
Update the *.il files if their assemblies have changed, but only if the
file already exists.
.PP
.SH ENVIRONMENT VARIABLES
.TP
.I "MONO_PATH"
Provides a search path to mono and mint where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.PP
.SH FILES
Assemblies are lodaed from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib.
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
Windows, the assemblies are loaded from the directory where mono and
mint live.
.PP
/etc/mono/config, ~/.mono/config
.IP
Mono runtime configuration file. See the mono-config(5) manual page
for more information.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR mint(1), monodis(1)
.BR mcs(1), mint(1), monodis(1), mono-config(5)
+456
View File
@@ -0,0 +1,456 @@
.TH sqlsharpcli 1 "30 November 2002"
.SH NAME
sqlsharpcli \- Mono SQL# Command Line SQL Query tool
.SH SYNOPSIS
.B sqlsharpcli
[option] [source-files]
.SH DESCRIPTION
sqlsharpcli is the Mono SQL# tool used for entering SQL queries
to a database using Mono ADO.NET providers.
.PP
The SQL# tool accepts commands via its command line interface. Commands
begin with a backslash followed by the command name.
.PP
Example:
.nf
\\open
.fi
.PP
Basically, there are five commands a user should know:
\\provider, \\connectionstring, \\open, \\quit, and \\help
.PP
To connect to a database, you need to do the following:
.PP
1. set your data provider via \\provider
.PP
.nf
Example:
SQL# \\provider mysql
.fi
.PP
2. set your connection string via \\connectionstring
.PP
.nf
Example:
SQL# \\connectionstring Database=test
.fi
.PP
3. open a connection to the database via \\open
.PP
.nf
Example:
SQL# \\open
.fi
.PP
.SH COMMANDS
The following commands are supported:
.PP
.TP
.I "Open"
Opens connection to database.
.nf
Example:
SQL# \\open
.fi
.TP
.I "ConnectionString"
Sets the Connection String.
.nf
Example:
SQL# \\connectionstring Database=test
.fi
.TP
.I "Provider"
Sets the data provider.
.nf
Example:
SQL# \\provider mysql
.fi
.SH CONNECTION AND PROVIDER COMMANDS
These commands are used to setup the provider,
connection string, and open/close the database connnection
.TP
.I "ConnectionString"
Sets the Connection String
.nf
Example:
SQL# \\ConnectionString Database=testdb
For more examples, see section CONNECTION STRING EXAMPLES.
.fi
.TP
.I "Provider"
Sets the Provider of the Data Source. For list of Providers, see section PROVIDERS.
.nf
Example: to set the provider for MySQL:
SQL# \\provider mysql
Note: if you need to load an external provider in SQL#,
see the SQL# command \\loadextprovider
.fi
.TP
.I "LoadExtProvider"
ASSEMBLY CLASS to load an external provider. Use the complete name
of its assembly and its Connection class.
.nf
Example: to load the MySQL provider Mono.Data.MySql
SQL# \\loadextprovider Mono.Data.MySql Mono.Data.MySql.MySqlConnection
.fi
.TP
.I "Open"
Opens a connection to the database
.nf
Example:
SQL# \\open
.fi
.TP
.I "Close"
Closes the connection to the database
.nf
Example:
SQL# \\close
.fi
.TP
.I "Default"
show default variables, such as, Provider and ConnectionString.
.nf
Example:
SQL# \\defaults
.fi
.TP
.I "Q"
Quit
.nf
Example:
SQL# \\q
.fi
.SH SQL EXECUTION COMMANDS
Commands to execute SQL statements
.PP
.TR
.I "e"
execute SQL query (SELECT)
.nf
Example: to execute a query
SQL# SELECT * FROM EMPLOYEE
SQL# \\e
Note: to get \\e to automatically work after entering a query, put a
semicolon ; at the end of the query.
Example: to enter and exectue query at the same time
SQL# SELECT * FROM EMPLOYEE;
.fi
.TP
.I "exenonquery"
execute a SQL non query (not a SELECT)
.nf
Example: to insert a row into a table:
SQL# INSERT INTO SOMETABLE (COL1, COL2) VALUES('ABC','DEF')
SQL# \\exenonquery
Note: this can be used for those providers that are new and do not have
the ability to execute queries yet.
.fi
.TP
.I "exescalar"
execute SQL to get a single row and single column.
.nf
Example: to execute a Maxium aggregate
SQL# SELECT MAX(grade) FROM class
SQL# \\exescalar
.fi
.TP
.I "exexml"
FILENAME to execute SQL and save output to XML file
.nf
Example:
SQL# SELECT fname, lname, hire_date FROM employee
SQL# \\exexml employee.xml
Note: this depends on DataAdapter, DataTable, and DataSet
to be working properly
.fi
.TP
.SH FILE COMMANDS
Commands for importing commands from file to SQL# and vice versa
.TP
.I "f"
FILENAME to read a batch of SQL# commands from file
.nf
Example:
SQL# \\f batch.sql#
Note: the SQL# commands are interpreted as they are read. If there is
any SQL statements, the are executed.
.fi
.TP
.I "o"
FILENAME to write result of commands executed to file.
.nf
Example:
SQL# \\o result.txt
.fi
.TP
.I "load"
FILENAME to load from file SQL commands into SQL buffer.
.nf
Example:
SQL# \\load commands.sql
.fi
.TP
.I "save"
FILENAME to save SQL commands from SQL buffer to file.
.nf
Example:
SQL# \\save commands.sql
.fi
.SH GENERAL PURPOSE COMMANDS
General commands to use.
.TP
.I "h"
show help (all commands).
.nf
Example:
SQL# \\h
.fi
.TP
.I "s"
TRUE, FALSE to silent messages.
.nf
Example 1:
SQL# \\s true
Example 2:
SQL# \\s false
.fi
.TP
.I "r"
reset or clear the query buffer.
.nf
Example:
SQL# \\r
.fi
.TP
.I "print"
show what's in the SQL buffer now.
.nf
Example:
SQL# \\print
.fi
SH VARIABLES WHICH CAN BE USED AS PARAMETERS
Commands to set variables which can be used as Parameters in an SQL statement. If the
SQL contains any parameters, the parameter does not have a variable set, the
user will be prompted for the value for each missing parameter.
.TP
.I "set"
NAME VALUE to set an internal variable.
.nf
Example:
SQL# \\set sFirstName John
.fi
.TP
.I "unset"
NAME to remove an internal variable.
.nf
Example:
SQL# \\unset sFirstName
.fi
.TP
.I "variable"
NAME to display the value of an internal variable.
.nf
Example:
SQL# \\variable sFirstName
.fi
.SH PROVIDER SUPPORT OPTIONS
Enable or Disble support for a particular provider option
.TP
.I "UseParameters"
TRUE,FALSE to use parameters when executing SQL which
use the variables that were set.
.PP
If this option is true, the SQL
contains parameters, and for each parameter
which does not have a SQL# variable set, the
user will be prompted to enter the value
For that parameter.
.nf
Example:
SQL# \\useparameter true
.fi
.PP
Default: false
.TP
.I "UseSimpleReader"
TRUE,FALSE to use simple reader when displaying results.
.nf
Example:
SQL# \\usesimplereader true
.fi
.PP
Default: false. Mostly, this is dependent on the provider. If the provider
does not have enough of IDataReader implemented to have
the normal reader working, then the simple reader can be used.
Providers like SqlClient, MySQL, and PostgreSQL have this
ption defaulting to true.
.PP
.SH PROVIDERS
.nf
PROVIDER NAME NAMESPACE ASSEMBLY
OleDb OLE DB System.Data.OleDb System.Data
SqlClient MS SQL 7/2000 System.Data.SqlClient System.Data
Odbc ODBC System.Data.Odbc System.Data
MySql MySQL Mono.Data.MySql Mono.Data.MySql
Sqlite SQL Lite Mono.Data.SqliteClient Mono.Data.SqliteClient
Sybase Sybase Mono.Data.SybaseClient Mono.Data.SybaseClient
Tds TDS Generic Mono.Data.TdsClient Mono.Data.TdsClient
PostgreSql PostgreSQL Mono.Data.PostgreSqlClient Mono.Data.PostgreSqlClient
.fi
.SH CONNECTION STRING SAMPLES
Example connection strings for various providers to be used via the
command \\ConnectionString
.nf
Example of usage:
\\connectionstring Database=testdb
Connection String examples:
Microsoft SQL Server via System.Data.SqlClient
or Mono.Data.TdsClient provider:
Server=DANPC;Database=pubs;User ID=saPassword=
PostgreSQL via Mono.Data.PostgreSqlClient provider:
host=localhost;dbname=test;user=postgres;pass=fun2db
or
Server=localhost;Database=test;User ID=postgres;Password=fun2db
MySQL via Mono.Data.MySql provider:
Server=localhost;Database=test;User ID=mysql;Password=
ODBC via System.Data.Odbc provider using
a DSN named "MSSQLDSN" I set up
in the Windows control panel's ODBC Data Sources
which connects to Microsoft SQL Server 2000:
DSN=MSSQLDSN;UID=danmorg;PWD=freetds
SQL Lite via Mono.Data.SqliteClient
provider which connects to the
database file SqliteTest.db; if not found,
the file is created:
URI=file:SqliteTest.db
OLE DB via System.Data.OleDb provider
which connects to a PostgreSQL database:
Provider=PostgreSQL;Addr=127.0.0.1;Database=rodrigo
.fi
.SH DEBUGGING SUPPORT
No debugging support.
.SH NOTES
No notes.
.SH AUTHORS
The Mono SQL# Tool was written
by Daniel Morgan <[email protected]>
.PP
.SH LICENSE
The Mono SQL# Tool is released under the terms of the GNU GPL.
Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian or Daniel Morgan.
.PP
.SH SEE ALSO
mono(1), mint(1), mcs(1)
.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
+3
View File
@@ -1,5 +1,7 @@
C# Compiler:
Miguel de Icaza ([email protected])
Ravi Pratap ([email protected])
Martin Baulig ([email protected])
Class Libraries:
Patrik Torstensson <[email protected]>
@@ -12,3 +14,4 @@ Class Libraries:
Garrett Rooney ([email protected])
Bob Smith ([email protected])
John Barnette ([email protected])
Daniel Morgan <[email protected]>
Executable
+340
View File
@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
+164 -1
View File
@@ -1,3 +1,166 @@
2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
interferred with "make install" on windows
* makefile: changes to get "make install" work
on windows
* class/makefile.gnu: flush
* ilasm/makefile: updated for windows build
* monoresgen/makefile: updated for windows build
* tools/SqlSharp/SqlSharpCli.build: flush
* winexe.in: add file to be template for executable assemblies
to be installed on windows via "make install" by providing
a script that runs mono and the assembly
like mcs runs mono mcs.exe
2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build
* tools/makefile.gnu: added new file to built tools and install.
dist works too. test is just blank.
2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
Please update your scripts, the `dist' target will disappear soon.
2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux
2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.
2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
directory to windows build
2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.
2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.
2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
use $(topdir)
build nunit into $(topdir)/class/lib
2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
* class/library.make:
* class/makefile.gnu:
* class/I18N/makefile.gnu
* class/corlib/makefile.gnu:
* class/corlib/Test/ChangeLog:
* class/corlib/Test/corlib_linux_test.args:
* class/corlib/Test/makefile.gnu:
* class/corlib/Test/run_test.sh:
* jay/makefile.gnu:
* mcs/makefile.gnu:
* monoresgen/makefile.gnu:
* nunit/makefile.gnu:
Allow running 'make -f makefile.gnu test' from top directory.
In the libraries makefile.gnu you just have to add TEST_DIR=dirname
with the name where tests reside.
2002-08-23 Martin Baulig <[email protected]>
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.
2002-08-13 Piers Haken <[email protected]>
* class/library.make: merge back original makefile.gnu behavior
* */makefile.gnu: merge back original makefile.gnu behavior
2002-08-12 Piers Haken <[email protected]>
* class/library.make: use 'find' to specify source files, instead of static files
* */makefile.gnu: specify include/exclude patterns for source files
2002-08-07 Peter Williams <[email protected]>
* class/library.make (.makefrag): Fix this rule a bit; was using
$^ instead of $<
2002-07-29 Peter Williams <[email protected]>
* makefile.gnu: 'make install' wasn't actually working due to $@,
fix it.
2002-07-29 Martin Baulig <[email protected]>
* makefile.gnu: Don't force people to install. The default must also
be `all' and not `install'.
2002-07-26 Alp Toker <[email protected]>
* INSTALL: Wrote a guide to mcs installation.
* README: Updated to reflect the new INSTALL guide.
2002-07-23 Alp Toker <[email protected]>
* makefile.gnu: Added an install target (which sets permissions and
respects prefix) and a dist target which produces a tarball. Also
fixed a few other makefile issues.
2002-07-22 Peter Williams <[email protected]>
* class/library.make: Oops, the deps weren't right -- touching a .cs
file didn't cause the libraries to be rebuilt.
(clean): Robustify this rule a bit.
2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.
2002-07-20 Martin Baulig <[email protected]>
* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.
* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:
2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu (DIRS): Added nunit.
2002-07-19 Martin Baulig <[email protected]>
Added the super-cool set of makefiles from Peter Williams which run on
GNU/Linux without NAnt. I named them `makefile.gnu' and not `GNUmakefile'
since this won't break the windows build.
To compile stuff on GNU/Linux, just do a `make -f makefile.gnu'.
* mcs-tool, */makefile.gnu, class/library.make: New files.
2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
`make NANT=/usr/local/bin/NAnt.exe'.
2002-05-09 Daniel Morgan <[email protected]>
* AUTHORS: add me to class libraries list
2002-03-26 Dick Porter <[email protected]>
* makefile (linux): Abandon the build if any of the subdir makes fail
@@ -18,4 +181,4 @@
2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in
* add nunit directory to the list of dirs to build in
+53
View File
@@ -0,0 +1,53 @@
Basic Installation
==================
The Mono project has developed mono, an x86-specific CL JIT compiler and
mint, a portable CLI interpreter. The build process of each of these
depends on nothing more than a C compiler, glib2 and libgc.
However, to provide a working runtime environment, these programs must
be supplemented by corlib, a CLR assembly to which they are closely
tied. This package provides the C# sources for corlib as well as some
additional assemblies and mcs, the Mono C# compiler.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
Building mcs on *NIX
====================
mcs provides a set of makefiles which make it easy to build and install
mcs on *NIX systems like Linux or FreeBSD where mcs is already
installed.
To build the compiler and class libraries, run:
make -f makefile.gnu
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run the following, where prefix identifies where you
want the files installed:
make -f makefile.gnu install prefix=/usr/local
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others. If you want to produce an easily
distributable tarball, run:
make -f makefile.gnu dist
Building mcs on Windows
=======================
It is also possible to build mcs on Windows using the Microsoft .NET
framework. This may be convenient if you do not have access to a working
mcs setup. To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/. They can then be copied to /usr/lib and
/usr/bin or wherever desired on the target system.
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

+60
View File
@@ -2,6 +2,8 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL for a guide to building and installing mcs.
Layout:
class/
@@ -19,5 +21,63 @@ Layout:
tests/
Sample tests
docs/
Some notes on the compiler and the class libraries.
nant/
A copy of nant source code, used during the build process
on Windows.
tools/
Various small development tools: CorCompare used to compare
two assemblies for differences in the API; TypeReflector is
a tool used to introspect types from assemblies from the
command line; MonoStyle helps you keep your code indendented
with the Mono programming style.
Thanks a lot to Sergey Chaban for his help during the development of
the C# compiler.
LICENSE
The mcs C# compiler and monoresgen are licensed to you under the GPL, version 2.
The complete text of the GPL is in the 'COPYING' file.
Copyright (C) 2001-2002 Ximian, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
The class libraries are licensed according to the following license:
Copyright (C) 2001-2002 Ximian, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
+566
View File
@@ -0,0 +1,566 @@
<?xml version="1.0" standalone="yes"?>
<svg width="600" height="523">
<path style="fill:#feffff" d="M600 0 L600 523 L0 523 L0 0 L600 0 z"/>
<path style="fill:#606060" d="M142 40 C142.2 41.18 140.7 41.02 140 41 C139.8 39.82 141.3 39.98 142 40 z"/>
<path style="fill:#0" d="M442 40 C441.8 41.18 443.3 41.02 444 41 L446 41 L447 42 L450 43 L451 44 L456 49 L457 50 L457 51 L458 52 L458 53 L459 54 L459 56 L459 58 L459 358 L459 360 L459 361 L458 362 L455 368 L454 369 L453 370 L452 371 L450 372 L449 373 L448 373 L447 374 L446 374 C445.3 374 443.8 373.8 444 375 L441 375 L153 374 L154 373 L157 369 L158 368 L159 367 L161 364 L162 363 L163 362 L165 359 L166 358 L167 357 L170 353 L171 352 L172 351 L174 348 L175 347 L176 346 L179 342 L180 341 L181 340 L183 337 L184 336 L185 335 L188 331 L189 330 L190 329 L192 326 L193 325 L194 324 L197 320 L198 319 L199 318 L201 315 L202 314 L203 313 L206 309 L207 308 L208 307 L210 304 L211 303 L212 302 L215 298 L216 297 L217 296 L219 293 L220 292 L221 291 C221.3 289.7 222.7 288.7 224 289 L225 290 L227 290 L228 291 L229 291 L230 292 L231 292 L232 293 L234 293 L235 294 L236 294 L237 295 L238 295 L239 296 L241 296 L242 297 L243 297 L244 298 L245 298 L246 299 L248 299 L249 300 L250 300 L251 301 L252 301 L253 302 L255 302 L256 303 L257 303 L258 304 L259 304 L260 305 L264 306 L265 307 L266 307 L267 308 L271 309 L272 310 L273 310 L274 311 L278 312 L279 313 L280 313 L281 314 L285 315 L286 316 L287 316 L288 317 L292 318 L293 319 L294 319 L295 320 L299 321 L300 322 L301 322 L302 323 L306 324 L307 325 L308 325 L309 326 L313 327 L314 328 L315 328 L316 329 L317 329 L318 330 L320 330 L321 331 L322 331 L323 332 L324 332 L325 333 L327 333 L328 334 L329 334 L330 335 L331 335 L332 336 L334 336 L335 337 L336 337 L337 338 L338 338 L339 339 L341 339 L342 340 L343 340 L344 341 L345 341 L346 342 L348 342 L349 343 L350 343 L351 344 L352 344 L353 345 L355 345 L356 346 L357 346 L358 347 L359 347 L360 348 C361.6 348.3 363.7 347.9 364 346 L365 345 L366 343 L367 342 L367 341 L368 340 L373 329 L374 328 L374 327 L375 326 L375 325 L376 324 L376 323 L377 322 L377 320 L378 319 L378 318 L379 317 L380 313 L381 312 L381 311 L382 310 L382 308 L383 307 L384 303 L385 302 L380 298 L379 297 L378 297 L377 296 L373 294 L372 293 L369 291 L368 290 L366 289 L365 288 L364 287 L361 285 L360 284 L359 283 L345 269 L344 268 L343 267 L342 266 L340 263 L339 262 L337 259 L336 258 L331 250 L330 249 L329 247 L328 246 L328 245 L327 244 L324 238 L324 237 L327 240 L328 241 L330 244 L331 245 L332 246 L333 247 L337 252 L338 253 L339 254 L340 255 L341 256 L342 257 L343 258 L344 259 L345 260 L346 261 L347 262 L348 263 L349 264 L355 269 L356 270 L357 271 L358 272 L362 275 L363 276 L366 278 L367 279 L368 280 L370 281 L371 282 L372 283 L374 284 L375 285 L377 286 L378 287 L380 288 L381 289 L383 290 L384 291 L386 292 C385.8 293.3 388.2 293.3 388 292 L388 291 C389.2 291.2 389 289.7 389 289 L389 287 C390.2 287.2 390 285.7 390 285 L390 282 C391.2 282.2 391 280.7 391 280 L391 277 C392.6 276.9 391.8 274.9 392 274 L392 272 L393 267 L393 242 L392 237 L392 233 L391 229 L391 227 L391 225 C391 224.3 391.2 222.8 390 223 L390 220 C390 219.3 390.2 217.8 389 218 L389 215 C389 214.3 389.2 212.8 388 213 L388 211 C388 210.3 388.2 208.8 387 209 L387 207 C387 206.3 387.2 204.8 386 205 L386 204 C386 203.3 386.2 201.8 385 202 L385 200 C385 199.3 385.2 197.8 384 198 L384 197 C384 196.3 384.2 194.8 383 195 L383 193 L382 192 L382 190 L381 189 L381 187 L380 186 L380 185 L379 184 L379 182 L378 181 L377 180 L376 179 L368 177 L367 176 L365 176 C365.2 174.8 363.7 175 363 175 L362 175 C362.2 173.8 360.7 174 360 174 L358 174 L357 173 L356 173 C356.2 171.8 354.7 172 354 172 L349 171 L348 170 L346 170 C346.2 168.8 344.7 169 344 169 L343 169 L344 168 L347 168 C346.8 169.2 348.3 169 349 169 L351 169 C350.8 170.2 352.3 170 353 170 L357 170 C356.8 171.2 358.3 171 359 171 L360 171 C360.1 172.6 362.1 171.8 363 172 L367 172 C366.8 173.2 368.3 173 369 173 L373 173 C373.1 174.6 375.1 173.8 376 174 L378 174 L382 175 C385.8 174.6 391.3 176.6 393 172 L394 171 L394 169 L395 165 L395 159 L394 154 L394 151 C393.8 150.1 394.6 148.1 393 148 L393 145 L393 143 C393 142.3 393.2 140.8 392 141 L391 134 C391 133.3 391.2 131.8 390 132 L390 131 C390 130.3 390.2 128.8 389 129 L389 127 C389 126.3 389.2 124.8 388 125 L388 124 C388 123.3 388.2 121.8 387 122 L387 120 C387 119.3 387.2 117.8 386 118 L386 117 C386 116.3 386.2 114.8 385 115 L385 114 C385 113.3 385.2 111.8 384 112 L383 108 L382 107 L382 106 L381 105 L381 104 L380 103 L379 100 L378 99 L378 98 L377 97 L375 95 L374 94 L372 93 L371 92 L367 91 L366 90 L364 90 L363 89 L361 89 L360 88 L358 88 C358.2 86.82 356.7 86.98 356 87 L355 87 C355.2 85.82 353.7 85.98 353 86 L351 86 C351.2 84.82 349.7 84.98 349 85 L346 85 C346.2 83.82 344.7 83.98 344 84 L341 84 C341.2 82.82 339.7 82.98 339 83 L336 83 C336.2 81.82 334.7 81.98 334 82 L331 82 C331.2 80.82 329.7 80.98 329 81 L326 81 C325.9 79.41 323.9 80.19 323 80 L319 80 C318.9 78.41 316.9 79.19 316 79 L312 79 C311.9 77.41 309.9 78.19 309 78 L302 78 L297 77 L294 77 C293.9 75.41 291.9 76.19 291 76 L285 76 L281 76 L275 75 L264 76 L254 76 L250 77 L248 77 L246 77 C245.3 76.98 243.8 76.82 244 78 L242 78 C241.3 77.98 239.8 77.82 240 79 L238 79 C237.3 78.98 235.8 78.82 236 80 Line truncated
<path style="fill:#585858" d="M444 41 C443.3 41.02 441.8 41.18 442 40 C442.7 39.98 444.2 39.82 444 41 z"/>
<path style="fill:#606060" d="M138 41 L137 42 L138 41 z"/>
<path style="fill:#606060" d="M447 42 L446 41 L447 42 z"/>
<path style="fill:#606060" d="M136 42 L135 43 L136 42 z"/>
<path style="fill:#909090" d="M134 43 L133 44 L134 43 z"/>
<path style="fill:#808080" d="M451 44 L450 43 L451 44 z"/>
<path style="fill:#606060" d="M129 48 L128 49 L129 48 z"/>
<path style="fill:#909090" d="M457 50 L456 49 L457 50 z"/>
<path style="fill:#808080" d="M127 51 L126 52 L127 51 z"/>
<path style="fill:#606060" d="M458 52 L457 51 L458 52 z"/>
<path style="fill:#787878" d="M126 53 C126 53.66 126.2 55.15 125 55 C125 54.34 124.8 52.85 126 53 z"/>
<path style="fill:#909090" d="M459 54 L458 53 L459 54 z"/>
<path style="fill:#9a9b9b" d="M125 56 L125 59 L124 59 C124.2 58.05 123.4 56.06 125 56 z"/>
<path style="fill:#909090" d="M460 58 L459 58 L459 56 C460.2 55.85 460 57.34 460 58 z"/>
<path style="fill:#404040" d="M460 58 L460 358 L459 358 L459 58 L460 58 z"/>
<path style="fill:#404040" d="M125 59 L126 171 L124 59 L125 59 z"/>
<path style="fill:#7d7d7d" d="M275 75 L275 76 L264 76 L275 75 z"/>
<path style="fill:#3a3b3b" d="M281 76 L275 76 L275 75 L281 76 z"/>
<path style="fill:#686868" d="M254 76 L250 77 L254 76 z"/>
<path style="fill:#a2a3a3" d="M291 76 L291 77 L285 76 L291 76 z"/>
<path style="fill:#4a4b4b" d="M294 77 L291 77 L291 76 C291.9 76.19 293.9 75.41 294 77 z"/>
<path style="fill:#585858" d="M246 77 L246 78 L244 78 C243.8 76.82 245.3 76.98 246 77 z"/>
<path style="fill:#a8a8a8" d="M248 77 C248.2 78.18 246.7 78.02 246 78 L246 77 L248 77 z"/>
<path style="fill:#a0a0a0" d="M302 78 L297 77 L302 78 z"/>
<path style="fill:#707070" d="M242 78 C242.2 79.18 240.7 79.02 240 79 C239.8 77.82 241.3 77.98 242 78 z"/>
<path style="fill:#606060" d="M312 79 C311.1 78.81 309.1 79.59 309 78 C309.9 78.19 311.9 77.41 312 79 z"/>
<path style="fill:#707070" d="M238 79 C238.2 80.18 236.7 80.02 236 80 C235.8 78.82 237.3 78.98 238 79 z"/>
<path style="fill:#656565" d="M319 80 C318.1 79.81 316.1 80.59 316 79 C316.9 79.19 318.9 78.41 319 80 z"/>
<path style="fill:#787878" d="M235 80 C235.2 81.18 233.7 81.02 233 81 C232.8 79.82 234.3 79.98 235 80 z"/>
<path style="fill:#606060" d="M326 81 C325.1 80.81 323.1 81.59 323 80 C323.9 80.19 325.9 79.41 326 81 z"/>
<path style="fill:#a0a0a0" d="M232 81 L231 82 L232 81 z"/>
<path style="fill:#707070" d="M331 82 C330.3 82.02 328.8 82.18 329 81 C329.7 80.98 331.2 80.82 331 82 z"/>
<path style="fill:#606060" d="M229 82 L228 83 L229 82 z"/>
<path style="fill:#909090" d="M336 83 C335.3 83.02 333.8 83.18 334 82 C334.7 81.98 336.2 81.82 336 83 z"/>
<path style="fill:#686868" d="M195 84 L191 83 L195 84 z"/>
<path style="fill:#808080" d="M227 83 L226 84 L227 83 z"/>
<path style="fill:#989898" d="M341 84 C340.3 84.02 338.8 84.18 339 83 C339.7 82.98 341.2 82.82 341 84 z"/>
<path style="fill:#606060" d="M203 85 L199 84 L203 85 z"/>
<path style="fill:#888888" d="M346 85 C345.3 85.02 343.8 85.18 344 84 C344.7 83.98 346.2 83.82 346 85 z"/>
<path style="fill:#5c5c5c" d="M211 86 L207 85 L211 86 z"/>
<path style="fill:#585858" d="M229 86 C228.3 86.02 226.8 86.18 227 85 C227.7 84.98 229.2 84.82 229 86 z"/>
<path style="fill:#606060" d="M351 86 C350.3 86.02 348.8 86.18 349 85 C349.7 84.98 351.2 84.82 351 86 z"/>
<path style="fill:#989898" d="M217 87 L213 86 L217 87 z"/>
<path style="fill:#a8a8a8" d="M236 87 C235.3 87.02 233.8 87.18 234 86 C234.7 85.98 236.2 85.82 236 87 z"/>
<path style="fill:#606060" d="M355 87 C354.3 87.02 352.8 87.18 353 86 C353.7 85.98 355.2 85.82 355 87 z"/>
<path style="fill:#a0a0a0" d="M183 87 L182 88 L183 87 z"/>
<path style="fill:#909090" d="M225 88 L221 87 L225 88 z"/>
<path style="fill:#686868" d="M240 88 C239.3 88.02 237.8 88.18 238 87 C238.7 86.98 240.2 86.82 240 88 z"/>
<path style="fill:#909090" d="M358 88 C357.3 88.02 355.8 88.18 356 87 C356.7 86.98 358.2 86.82 358 88 z"/>
<path style="fill:#909090" d="M182 88 L181 89 L182 88 z"/>
<path style="fill:#a0a0a0" d="M232 89 C231.1 88.81 229.1 89.59 229 88 C229.9 88.19 231.9 87.41 232 89 z"/>
<path style="fill:#606060" d="M245 89 C244.3 89.02 242.8 89.18 243 88 C243.7 87.98 245.2 87.82 245 89 z"/>
<path style="fill:#909090" d="M361 89 L360 88 L361 89 z"/>
<path style="fill:#606060" d="M181 89 L180 90 L181 89 z"/>
<path style="fill:#686868" d="M242 90 L238 89 L242 90 z"/>
<path style="fill:#6e6e6e" d="M252 90 C251.3 89.98 249.8 89.82 250 91 L246 90 C246.7 90.02 248.2 90.18 248 89 L252 90 z"/>
<path style="fill:#a0a0a0" d="M364 90 L363 89 L364 90 z"/>
<path style="fill:#0c0c0c" d="M252 90 L254 90 L254 91 L250 91 C249.8 89.82 251.3 89.98 252 90 z"/>
<path style="fill:#505050" d="M260 91 L260 92 L254 91 L254 90 L260 91 z"/>
<path style="fill:#909090" d="M367 91 L366 90 L367 91 z"/>
<path style="fill:#989898" d="M260 92 L260 91 L266.8 92.25 C265.8 93.41 260.9 93.72 260 92 z"/>
<path style="fill:#606060" d="M372 93 L371 92 L372 93 z"/>
<path style="fill:#808080" d="M178 93 L177 94 L178 93 z"/>
<path style="fill:#909090" d="M375 95 L374 94 L375 95 z"/>
<path style="fill:#909090" d="M176 96 L175 97 L176 96 z"/>
<path style="fill:#707070" d="M378 98 L377 97 L378 98 z"/>
<path style="fill:#707070" d="M174 99 L173 100 L174 99 z"/>
<path style="fill:#a0a0a0" d="M379 100 L378 99 L379 100 z"/>
<path style="fill:#808080" d="M173 101 L172 102 L173 101 z"/>
<path style="fill:#808080" d="M172 103 L171 104 L172 103 z"/>
<path style="fill:#a0a0a0" d="M381 104 L380 103 L381 104 z"/>
<path style="fill:#606060" d="M171 105 L170 106 L171 105 z"/>
<path style="fill:#808080" d="M382 106 L381 105 L382 106 z"/>
<path style="fill:#606060" d="M383 108 L382 107 L383 108 z"/>
<path style="fill:#989898" d="M170 108 C170 108.7 170.2 110.2 169 110 C169 109.3 168.8 107.8 170 108 z"/>
<path style="fill:#a5a5a5" d="M169 112 L169 121 C167.3 119.3 167.3 113.7 169 112 z"/>
<path style="fill:#787878" d="M385 114 C383.8 114.2 384 112.7 384 112 C385.2 111.8 385 113.3 385 114 z"/>
<path style="fill:#787878" d="M386 117 C384.8 117.2 385 115.7 385 115 C386.2 114.8 386 116.3 386 117 z"/>
<path style="fill:#787878" d="M387 120 C385.8 120.2 386 118.7 386 118 C387.2 117.8 387 119.3 387 120 z"/>
<path style="fill:#b0b0b0" d="M388 124 C386.8 124.2 387 122.7 387 122 C388.2 121.8 388 123.3 388 124 z"/>
<path style="fill:#a0a0a0" d="M170 124 L169 123 L170 124 z"/>
<path style="fill:#888888" d="M389 127 C387.8 127.2 388 125.7 388 125 C389.2 124.8 389 126.3 389 127 z"/>
<path style="fill:#606060" d="M171 127 L170 126 L171 127 z"/>
<path style="fill:#606060" d="M172 129 L171 128 L172 129 z"/>
<path style="fill:#a0a0a0" d="M390 131 C388.8 131.2 389 129.7 389 129 C390.2 128.8 390 130.3 390 131 z"/>
<path style="fill:#808080" d="M174 132 L173 131 L174 132 z"/>
<path style="fill:#606060" d="M391 134 C389.8 134.2 390 132.7 390 132 C391.2 131.8 391 133.3 391 134 z"/>
<path style="fill:#707070" d="M177 136 L176 135 L177 136 z"/>
<path style="fill:#a0a0a0" d="M178 137 L177 136 L178 137 z"/>
<path style="fill:#a0a0a0" d="M179 138 L178 137 L179 138 z"/>
<path style="fill:#a0a0a0" d="M180 139 L179 138 L180 139 z"/>
<path style="fill:#a0a0a0" d="M181 140 L180 139 L181 140 z"/>
<path style="fill:#a0a0a0" d="M182 141 L181 140 L182 141 z"/>
<path style="fill:#a0a0a0" d="M183 142 L182 141 L183 142 z"/>
<path style="fill:#585858" d="M393 143 L392 143 L392 141 C393.2 140.8 393 142.3 393 143 z"/>
<path style="fill:#909090" d="M184 143 L183 142 L184 143 z"/>
<path style="fill:#606060" d="M185 144 L184 143 L185 144 z"/>
<path style="fill:#b0b0b0" d="M393 143 L393 145 C391.8 145.2 392 143.7 392 143 L393 143 z"/>
<path style="fill:#a0a0a0" d="M189 147 L188 146 L189 147 z"/>
<path style="fill:#606060" d="M190 148 L189 147 L190 148 z"/>
<path style="fill:#a0a0a0" d="M394 151 C392.4 150.9 393.2 148.9 393 148 C394.6 148.1 393.8 150.1 394 151 z"/>
<path style="fill:#808080" d="M193 150 L192 149 L193 150 z"/>
<path style="fill:#808080" d="M196 152 L195 151 L196 152 z"/>
<path style="fill:#808080" d="M188 154 C188.2 155.2 186.7 155 186 155 C185.8 153.8 187.3 154 188 154 z"/>
<path style="fill:#909090" d="M193 155 L192 154 L193 155 z"/>
<path style="fill:#696a6a" d="M395 159 L394 159 L394 154 L395 159 z"/>
<path style="fill:#b0b0b0" d="M185 155 C185.2 156.2 183.7 156 183 156 C182.8 154.8 184.3 155 185 155 z"/>
<path style="fill:#606060" d="M196 156 L195 155 L196 156 z"/>
<path style="fill:#888888" d="M181 156 C181.2 157.2 179.7 157 179 157 C178.8 155.8 180.3 156 181 156 z"/>
<path style="fill:#808080" d="M198 157 L197 156 L198 157 z"/>
<path style="fill:#707070" d="M177 157 C177.2 158.2 175.7 158 175 158 C174.8 156.8 176.3 157 177 157 z"/>
<path style="fill:#a0a0a0" d="M200 158 L199 157 L200 158 z"/>
<path style="fill:#909090" d="M174 158 C174.2 159.2 172.7 159 172 159 C171.8 157.8 173.3 158 174 158 z"/>
<path style="fill:#606060" d="M203 159 L202 158 L203 159 z"/>
<path style="fill:#606060" d="M209 159 L208 158 L209 159 z"/>
<path style="fill:#787878" d="M170 159 C170.2 160.2 168.7 160 168 160 C167.8 158.8 169.3 159 170 159 z"/>
<path style="fill:#a0a0a0" d="M205 160 L204 159 L205 160 z"/>
<path style="fill:#606060" d="M211 160 L210 159 L211 160 z"/>
<path style="fill:#b8b8b8" d="M395 159 L395 165 L394 165 L394 159 L395 159 z"/>
<path style="fill:#a8a8a8" d="M167 160 C167.2 161.2 165.7 161 165 161 C164.8 159.8 166.3 160 167 160 z"/>
<path style="fill:#606060" d="M208 161 L207 160 L208 161 z"/>
<path style="fill:#606060" d="M213 161 L212 160 L213 161 z"/>
<path style="fill:#808080" d="M163 161 C163.2 162.2 161.7 162 161 162 C160.8 160.8 162.3 161 163 161 z"/>
<path style="fill:#808080" d="M210 162 L209 161 L210 162 z"/>
<path style="fill:#606060" d="M215 162 L214 161 L215 162 z"/>
<path style="fill:#b0b0b0" d="M160 162 C160.2 163.2 158.7 163 158 163 C157.8 161.8 159.3 162 160 162 z"/>
<path style="fill:#606060" d="M217 163 L216 162 L217 163 z"/>
<path style="fill:#909090" d="M156 163 C156.2 164.2 154.7 164 154 164 C153.8 162.8 155.3 163 156 163 z"/>
<path style="fill:#707070" d="M215 164 L214 163 L215 164 z"/>
<path style="fill:#2e2f2f" d="M226 167 L226 168 L222 167 L221 166 L217 165 L217 164 L218 163 L226 167 z"/>
<path style="fill:#707070" d="M152 164 C152.2 165.2 150.7 165 150 165 C149.8 163.8 151.3 164 152 164 z"/>
<path style="fill:#a0a0a0" d="M217 164 L217 165 L216 164 L217 164 z"/>
<path style="fill:#989898" d="M149 165 C149.2 166.2 147.7 166 147 166 C146.8 164.8 148.3 165 149 165 z"/>
<path style="fill:#929393" d="M336 166 L336 167 C331.1 167.2 332.8 162.9 336 166 z"/>
<path style="fill:#686868" d="M395 165 L394 169 L394 165 L395 165 z"/>
<path style="fill:#808080" d="M145 166 C145.2 167.2 143.7 167 143 167 C142.8 165.8 144.3 166 145 166 z"/>
<path style="fill:#909090" d="M222 167 L221 166 L222 167 z"/>
<path style="fill:#525353" d="M344 168 L343 169 L336 167 L336 166 L344 168 z"/>
<path style="fill:#606060" d="M141 167 C141.2 168.2 139.7 168 139 168 C138.8 166.8 140.3 167 141 167 z"/>
<path style="fill:#808080" d="M227 168 L227 169 L226 168 L226 167 L227 168 z"/>
<path style="fill:#888888" d="M138 168 C138.2 169.2 136.7 169 136 169 C135.8 167.8 137.3 168 138 168 z"/>
<path style="fill:#202020" d="M228 168 L228 169 L227 169 L227 168 L228 168 z"/>
<path style="fill:#7c7c7c" d="M231 170 C230.1 169.8 228.1 170.6 228 169 L228 168 L231 170 z"/>
<path style="fill:#989898" d="M349 169 C348.3 169 346.8 169.2 347 168 C347.7 168 349.2 167.8 349 169 z"/>
<path style="fill:#707070" d="M134 169 C134.2 170.2 132.7 170 132 170 C131.8 168.8 133.3 169 134 169 z"/>
<path style="fill:#808080" d="M346 170 C345.3 170 343.8 170.2 344 169 C344.7 169 346.2 168.8 346 170 z"/>
<path style="fill:#686868" d="M353 170 C352.3 170 350.8 170.2 351 169 C351.7 169 353.2 168.8 353 170 z"/>
<path style="fill:#909090" d="M131 170 C131.2 171.2 129.7 171 129 171 C128.8 169.8 130.3 170 131 170 z"/>
<path style="fill:#808080" d="M231 170 C234.2 169.3 231.7 172.5 231 170 z"/>
<path style="fill:#606060" d="M349 171 L348 170 L349 171 z"/>
<path style="fill:#a8a8a8" d="M359 171 C358.3 171 356.8 171.2 357 170 C357.7 170 359.2 169.8 359 171 z"/>
<path style="fill:#5a5b5b" d="M363 172 C362.1 171.8 360.1 172.6 360 171 C360.9 171.2 362.9 170.4 363 172 z"/>
<path style="fill:#606060" d="M394 171 L393 172 L394 171 z"/>
<path style="fill:#505050" d="M356 173 C355.3 173 353.8 173.2 354 172 C354.7 172 356.2 171.8 356 173 z"/>
<path style="fill:#989898" d="M369 173 C368.3 173 366.8 173.2 367 172 C367.7 172 369.2 171.8 369 173 z"/>
<path style="fill:#909090" d="M358 174 L357 173 L358 174 z"/>
<path style="fill:#a5a5a5" d="M376 174 C375.1 173.8 373.1 174.6 373 173 C373.9 173.2 375.9 172.4 376 174 z"/>
<path style="fill:#707070" d="M362 175 C361.3 175 359.8 175.2 360 174 C360.7 174 362.2 173.8 362 175 z"/>
<path style="fill:#646464" d="M382 175 L378 174 L382 175 z"/>
<path style="fill:#787878" d="M365 176 C364.3 176 362.8 176.2 363 175 C363.7 175 365.2 174.8 365 176 z"/>
<path style="fill:#606060" d="M368 177 L367 176 L368 177 z"/>
<path style="fill:#909090" d="M377 180 L376 179 L377 180 z"/>
<path style="fill:#707070" d="M379 182 L378 181 L379 182 z"/>
<path style="fill:#a0a0a0" d="M380 185 L379 184 L380 185 z"/>
<path style="fill:#606060" d="M381 187 L380 186 L381 187 z"/>
<path style="fill:#707070" d="M382 190 L381 189 L382 190 z"/>
<path style="fill:#707070" d="M383 193 L382 192 L383 193 z"/>
<path style="fill:#909090" d="M384 197 C382.8 197.2 383 195.7 383 195 C384.2 194.8 384 196.3 384 197 z"/>
<path style="fill:#787878" d="M385 200 C383.8 200.2 384 198.7 384 198 C385.2 197.8 385 199.3 385 200 z"/>
<path style="fill:#a0a0a0" d="M386 204 C384.8 204.2 385 202.7 385 202 C386.2 201.8 386 203.3 386 204 z"/>
<path style="fill:#707070" d="M387 207 C385.8 207.2 386 205.7 386 205 C387.2 204.8 387 206.3 387 207 z"/>
<path style="fill:#707070" d="M388 211 C386.8 211.2 387 209.7 387 209 C388.2 208.8 388 210.3 388 211 z"/>
<path style="fill:#606060" d="M389 215 C387.8 215.2 388 213.7 388 213 C389.2 212.8 389 214.3 389 215 z"/>
<path style="fill:#686868" d="M390 220 C388.8 220.2 389 218.7 389 218 C390.2 217.8 390 219.3 390 220 z"/>
<path style="fill:#585858" d="M391 225 L390 225 L390 223 C391.2 222.8 391 224.3 391 225 z"/>
<path style="fill:#a8a8a8" d="M391 225 L391 227 C389.8 227.2 390 225.7 390 225 L391 225 z"/>
<path style="fill:#707070" d="M392 233 L391 229 L392 233 z"/>
<path style="fill:#909090" d="M324 236 L323 236 C320.3 234.8 323.9 233.2 324 236 z"/>
<path style="fill:#202020" d="M324 236 L324 237 L323 237 L323 236 L324 236 z"/>
<path style="fill:#a0a0a0" d="M324 237 L324 238 L323 237 L324 237 z"/>
<path style="fill:#666666" d="M393 242 L392 237 L393 242 z"/>
<path style="fill:#a0a0a0" d="M328 241 L327 240 L328 241 z"/>
<path style="fill:#707070" d="M328 245 L327 244 L328 245 z"/>
<path style="fill:#606060" d="M331 245 L330 244 L331 245 z"/>
<path style="fill:#909090" d="M332 246 L331 245 L332 246 z"/>
<path style="fill:#909090" d="M329 247 L328 246 L329 247 z"/>
<path style="fill:#a0a0a0" d="M333 247 L332 246 L333 247 z"/>
<path style="fill:#707070" d="M331 250 L330 249 L331 250 z"/>
<path style="fill:#606060" d="M338 253 L337 252 L338 253 z"/>
<path style="fill:#606060" d="M339 254 L338 253 L339 254 z"/>
<path style="fill:#606060" d="M340 255 L339 254 L340 255 z"/>
<path style="fill:#606060" d="M341 256 L340 255 L341 256 z"/>
<path style="fill:#606060" d="M342 257 L341 256 L342 257 z"/>
<path style="fill:#606060" d="M343 258 L342 257 L343 258 z"/>
<path style="fill:#707070" d="M337 259 L336 258 L337 259 z"/>
<path style="fill:#606060" d="M344 259 L343 258 L344 259 z"/>
<path style="fill:#606060" d="M345 260 L344 259 L345 260 z"/>
<path style="fill:#606060" d="M346 261 L345 260 L346 261 z"/>
<path style="fill:#606060" d="M347 262 L346 261 L347 262 z"/>
<path style="fill:#707070" d="M340 263 L339 262 L340 263 z"/>
<path style="fill:#606060" d="M348 263 L347 262 L348 263 z"/>
<path style="fill:#606060" d="M349 264 L348 263 L349 264 z"/>
<path style="fill:#a0a0a0" d="M343 267 L342 266 L343 267 z"/>
<path style="fill:#808080" d="M344 268 L343 267 L344 268 z"/>
<path style="fill:#636363" d="M393 267 L392 272 L393 267 z"/>
<path style="fill:#606060" d="M345 269 L344 268 L345 269 z"/>
<path style="fill:#a0a0a0" d="M356 270 L355 269 L356 270 z"/>
<path style="fill:#909090" d="M357 271 L356 270 L357 271 z"/>
<path style="fill:#606060" d="M358 272 L357 271 L358 272 z"/>
<path style="fill:#a0a0a0" d="M392 274 C391.8 274.9 392.6 276.9 391 277 C391.2 276.1 390.4 274.1 392 274 z"/>
<path style="fill:#808080" d="M363 276 L362 275 L363 276 z"/>
<path style="fill:#a0a0a0" d="M367 279 L366 278 L367 279 z"/>
<path style="fill:#606060" d="M368 280 L367 279 L368 280 z"/>
<path style="fill:#a8a8a8" d="M391 280 C391 280.7 391.2 282.2 390 282 C390 281.3 389.8 279.8 391 280 z"/>
<path style="fill:#a0a0a0" d="M371 282 L370 281 L371 282 z"/>
<path style="fill:#606060" d="M372 283 L371 282 L372 283 z"/>
<path style="fill:#606060" d="M360 284 L359 283 L360 284 z"/>
<path style="fill:#a0a0a0" d="M361 285 L360 284 L361 285 z"/>
<path style="fill:#808080" d="M375 285 L374 284 L375 285 z"/>
<path style="fill:#909090" d="M390 285 C390 285.7 390.2 287.2 389 287 C389 286.3 388.8 284.8 390 285 z"/>
<path style="fill:#909090" d="M378 287 L377 286 L378 287 z"/>
<path style="fill:#606060" d="M365 288 L364 287 L365 288 z"/>
<path style="fill:#909090" d="M366 289 L365 288 L366 289 z"/>
<path style="fill:#909090" d="M381 289 L380 288 L381 289 z"/>
<path style="fill:#606060" d="M225 290 L224 289 L225 290 z"/>
<path style="fill:#808080" d="M389 289 C389 289.7 389.2 291.2 388 291 C388 290.3 387.8 288.8 389 289 z"/>
<path style="fill:#a0a0a0" d="M228 291 L227 290 L228 291 z"/>
<path style="fill:#606060" d="M369 291 L368 290 L369 291 z"/>
<path style="fill:#808080" d="M384 291 L383 290 L384 291 z"/>
<path style="fill:#606060" d="M221 291 L220 292 L221 291 z"/>
<path style="fill:#808080" d="M230 292 L229 291 L230 292 z"/>
<path style="fill:#a0a0a0" d="M220 292 L219 293 L220 292 z"/>
<path style="fill:#606060" d="M232 293 L231 292 L232 293 z"/>
<path style="fill:#606060" d="M388 292 C388.2 293.3 385.8 293.3 386 292 L388 292 z"/>
<path style="fill:#a0a0a0" d="M235 294 L234 293 L235 294 z"/>
<path style="fill:#a0a0a0" d="M373 294 L372 293 L373 294 z"/>
<path style="fill:#808080" d="M237 295 L236 294 L237 295 z"/>
<path style="fill:#606060" d="M239 296 L238 295 L239 296 z"/>
<path style="fill:#606060" d="M217 296 L216 297 L217 296 z"/>
<path style="fill:#a0a0a0" d="M242 297 L241 296 L242 297 z"/>
<path style="fill:#808080" d="M378 297 L377 296 L378 297 z"/>
<path style="fill:#909090" d="M216 297 L215 298 L216 297 z"/>
<path style="fill:#808080" d="M244 298 L243 297 L244 298 z"/>
<path style="fill:#606060" d="M380 298 L379 297 L380 298 z"/>
<path style="fill:#606060" d="M246 299 L245 298 L246 299 z"/>
<path style="fill:#a0a0a0" d="M249 300 L248 299 L249 300 z"/>
<path style="fill:#808080" d="M251 301 L250 300 L251 301 z"/>
<path style="fill:#606060" d="M253 302 L252 301 L253 302 z"/>
<path style="fill:#707070" d="M212 302 L211 303 L212 302 z"/>
<path style="fill:#a0a0a0" d="M256 303 L255 302 L256 303 z"/>
<path style="fill:#808080" d="M385 302 L384 303 L385 302 z"/>
<path style="fill:#a0a0a0" d="M211 303 L210 304 L211 303 z"/>
<path style="fill:#808080" d="M258 304 L257 303 L258 304 z"/>
<path style="fill:#606060" d="M260 305 L259 304 L260 305 z"/>
<path style="fill:#909090" d="M265 307 L264 306 L265 307 z"/>
<path style="fill:#606060" d="M208 307 L207 308 L208 307 z"/>
<path style="fill:#606060" d="M267 308 L266 307 L267 308 z"/>
<path style="fill:#909090" d="M383 307 L382 308 L383 307 z"/>
<path style="fill:#909090" d="M207 308 L206 309 L207 308 z"/>
<path style="fill:#909090" d="M272 310 L271 309 L272 310 z"/>
<path style="fill:#606060" d="M274 311 L273 310 L274 311 z"/>
<path style="fill:#606060" d="M382 310 L381 311 L382 310 z"/>
<path style="fill:#909090" d="M279 313 L278 312 L279 313 z"/>
<path style="fill:#909090" d="M381 312 L380 313 L381 312 z"/>
<path style="fill:#707070" d="M203 313 L202 314 L203 313 z"/>
<path style="fill:#606060" d="M281 314 L280 313 L281 314 z"/>
<path style="fill:#a0a0a0" d="M202 314 L201 315 L202 314 z"/>
<path style="fill:#a0a0a0" d="M286 316 L285 315 L286 316 z"/>
<path style="fill:#707070" d="M288 317 L287 316 L288 317 z"/>
<path style="fill:#707070" d="M379 317 L378 318 L379 317 z"/>
<path style="fill:#606060" d="M199 318 L198 319 L199 318 z"/>
<path style="fill:#a0a0a0" d="M293 319 L292 318 L293 319 z"/>
<path style="fill:#909090" d="M198 319 L197 320 L198 319 z"/>
<path style="fill:#707070" d="M295 320 L294 319 L295 320 z"/>
<path style="fill:#a0a0a0" d="M378 319 L377 320 L378 319 z"/>
<path style="fill:#a0a0a0" d="M300 322 L299 321 L300 322 z"/>
<path style="fill:#707070" d="M302 323 L301 322 L302 323 z"/>
<path style="fill:#606060" d="M377 322 L376 323 L377 322 z"/>
<path style="fill:#707070" d="M194 324 L193 325 L194 324 z"/>
<path style="fill:#a0a0a0" d="M307 325 L306 324 L307 325 z"/>
<path style="fill:#707070" d="M376 324 L375 325 L376 324 z"/>
<path style="fill:#a0a0a0" d="M193 325 L192 326 L193 325 z"/>
<path style="fill:#707070" d="M309 326 L308 325 L309 326 z"/>
<path style="fill:#808080" d="M375 326 L374 327 L375 326 z"/>
<path style="fill:#a0a0a0" d="M314 328 L313 327 L314 328 z"/>
<path style="fill:#808080" d="M316 329 L315 328 L316 329 z"/>
<path style="fill:#a0a0a0" d="M374 328 L373 329 L374 328 z"/>
<path style="fill:#606060" d="M190 329 L189 330 L190 329 z"/>
<path style="fill:#606060" d="M318 330 L317 329 L318 330 z"/>
<path style="fill:#909090" d="M189 330 L188 331 L189 330 z"/>
<path style="fill:#a0a0a0" d="M321 331 L320 330 L321 331 z"/>
<path style="fill:#808080" d="M323 332 L322 331 L323 332 z"/>
<path style="fill:#606060" d="M325 333 L324 332 L325 333 z"/>
<path style="fill:#a0a0a0" d="M328 334 L327 333 L328 334 z"/>
<path style="fill:#808080" d="M330 335 L329 334 L330 335 z"/>
<path style="fill:#707070" d="M185 335 L184 336 L185 335 z"/>
<path style="fill:#606060" d="M332 336 L331 335 L332 336 z"/>
<path style="fill:#a0a0a0" d="M184 336 L183 337 L184 336 z"/>
<path style="fill:#a0a0a0" d="M335 337 L334 336 L335 337 z"/>
<path style="fill:#808080" d="M337 338 L336 337 L337 338 z"/>
<path style="fill:#606060" d="M339 339 L338 338 L339 339 z"/>
<path style="fill:#a0a0a0" d="M342 340 L341 339 L342 340 z"/>
<path style="fill:#606060" d="M181 340 L180 341 L181 340 z"/>
<path style="fill:#808080" d="M344 341 L343 340 L344 341 z"/>
<path style="fill:#a0a0a0" d="M368 340 L367 341 L368 340 z"/>
<path style="fill:#a0a0a0" d="M180 341 L179 342 L180 341 z"/>
<path style="fill:#606060" d="M346 342 L345 341 L346 342 z"/>
<path style="fill:#a0a0a0" d="M349 343 L348 342 L349 343 z"/>
<path style="fill:#707070" d="M367 342 L366 343 L367 342 z"/>
<path style="fill:#808080" d="M351 344 L350 343 L351 344 z"/>
<path style="fill:#606060" d="M353 345 L352 344 L353 345 z"/>
<path style="fill:#a0a0a0" d="M356 346 L355 345 L356 346 z"/>
<path style="fill:#808080" d="M365 345 L364 346 L365 345 z"/>
<path style="fill:#808080" d="M176 346 L175 347 L176 346 z"/>
<path style="fill:#808080" d="M358 347 L357 346 L358 347 z"/>
<path style="fill:#a0a0a0" d="M175 347 L174 348 L175 347 z"/>
<path style="fill:#606060" d="M360 348 L359 347 L360 348 z"/>
<path style="fill:#606060" d="M172 351 L171 352 L172 351 z"/>
<path style="fill:#a0a0a0" d="M171 352 L170 353 L171 352 z"/>
<path style="fill:#808080" d="M167 357 L166 358 L167 357 z"/>
<path style="fill:#a0a0a0" d="M166 358 L165 359 L166 358 z"/>
<path style="fill:#a8a8a8" d="M460 358 C460 358.7 460.2 360.2 459 360 L459 358 L460 358 z"/>
<path style="fill:#606060" d="M459 361 L458 362 L459 361 z"/>
<path style="fill:#606060" d="M163 362 L162 363 L163 362 z"/>
<path style="fill:#a0a0a0" d="M162 363 L161 364 L162 363 z"/>
<path style="fill:#606060" d="M159 367 L158 368 L159 367 z"/>
<path style="fill:#808080" d="M158 368 L157 369 L158 368 z"/>
<path style="fill:#a0a0a0" d="M455 368 L454 369 L455 368 z"/>
<path style="fill:#808080" d="M454 369 L453 370 L454 369 z"/>
<path style="fill:#a0a0a0" d="M453 370 L452 371 L453 370 z"/>
<path style="fill:#707070" d="M450 372 L449 373 L450 372 z"/>
<path style="fill:#606060" d="M154 373 L153 374 L154 373 z"/>
<path style="fill:#606060" d="M448 373 L447 374 L448 373 z"/>
<path style="fill:#808080" d="M153 374 L441 375 C347.2 376 242.5 378 153 374 z"/>
<path style="fill:#787878" d="M446 374 C446.2 375.2 444.7 375 444 375 C443.8 373.8 445.3 374 446 374 z"/>
<path style="fill:#404040" d="M462 387 L462 388 L452 388 L462 387 z"/>
<path style="fill:#909090" d="M462 389 L462 388 L462 387 C463.3 386.8 463.3 389.2 462 389 z"/>
<path style="fill:#0d0e0e" d="M467 389 L468 390 L468 392 L469 393 L469 395 L470 396 L470 397 L471 399 L471 400 L469 400 L469 399 L468 398 L468 396 L467 395 L467 392 C463.7 387.1 465.4 397.8 465 400 L464 400 C464.1 396.7 462.8 382.8 467 389 z"/>
<path style="fill:#080808" d="M476 387 L475 400 L474 392 L473 391 L473 389 L474 388 C473.8 386.8 475.3 387 476 387 z"/>
<path style="fill:#868686" d="M475 400 L476 387 C477.4 389.3 478.4 401.9 475 400 z"/>
<path style="fill:#0" d="M462 388 L462 389 L459 389 L458 400 L457 400 L456 389 L452 388 L462 388 z"/>
<path style="fill:#909090" d="M474 388 L473 389 L474 388 z"/>
<path style="fill:#404040" d="M457 400 L456 400 L456 389 L457 400 z"/>
<path style="fill:#c0c0c0" d="M459 389 L458 400 L459 389 z"/>
<path style="fill:#909090" d="M468 390 L467 389 L468 390 z"/>
<path style="fill:#3b3c3c" d="M467 392 L466 400 L465 400 C465.4 397.8 463.7 387.1 467 392 z"/>
<path style="fill:#2c2c2c" d="M473 391 L474 392 L473 394 L473 396 L472 397 L472 399 L471 399 L470 397 L473 391 z"/>
<path style="fill:#7e7e7e" d="M475 400 L473 394 L474 392 L475 400 z"/>
<path style="fill:#909090" d="M469 393 L468 392 L469 393 z"/>
<path style="fill:#909090" d="M468 396 L467 395 L468 396 z"/>
<path style="fill:#909090" d="M470 396 L469 395 L470 396 z"/>
<path style="fill:#909090" d="M473 396 L472 397 L473 396 z"/>
<path style="fill:#888888" d="M166 397 C166.2 398.2 164.7 398 164 398 C163.8 396.8 165.3 397 166 397 z"/>
<path style="fill:#0" d="M175 397 C174.8 398.2 176.3 398 177 398 L179 398 L180 399 L183 400 L184 401 L185 402 L186 403 L187 404 L188 406 C187.6 407.1 189.4 407.1 189 406 L190 405 L191 404 L192 403 L195 401 L196 400 L202 398 C202.7 398 204.2 398.2 204 397 L211 397 C211.1 398.6 213.1 397.8 214 398 L217 398 L218 399 L219 399 L220 400 L222 401 L223 402 L224 403 L225 405 L226 406 L226 407 L227 408 L227 409 C227 409.7 226.8 411.2 228 411 L228 414 L228 457 L206.3 456.8 L206 421 C206 420.3 206.2 418.8 205 419 L204 417 L203 416 L202 416 L201 415 L196 415 L195 416 C193.5 416.7 191.7 418.1 192 420 L191 421 L191 422 L190 457 L168 457 L168 421 C168 420.3 168.2 418.8 167 419 L166 417 L165 416 C163 414.4 160.4 415.1 158 415 L157 416 L154 419 L153 420 L153 421 C151.8 420.8 152 422.3 152 423 L152 457 L130 457 L130 399 L150 399 C150.1 400.8 149.1 408.1 152 405 L153 404 L154 403 L155 402 L157 401 L158 400 L164 398 C164.7 398 166.2 398.2 166 397 L175 397 z"/>
<path style="fill:#707070" d="M177 398 C176.3 398 174.8 398.2 175 397 C175.7 397 177.2 396.8 177 398 z"/>
<path style="fill:#808080" d="M204 397 C204.2 398.2 202.7 398 202 398 C201.8 396.8 203.3 397 204 397 z"/>
<path style="fill:#4a4b4b" d="M214 398 C213.1 397.8 211.1 398.6 211 397 C211.9 397.2 213.9 396.4 214 398 z"/>
<path style="fill:#696a6a" d="M269 397 L264 398 L269 397 z"/>
<path style="fill:#010101" d="M276 397 L280 398 L282 398 L284 398 C283.8 399.2 285.3 399 286 399 L287 399 L288 400 L290 400 L291 401 L296 404 L297 405 L298 406 L299 407 L300 408 L303 413 L304 414 L304 416 L305 417 L305 419 C305 419.7 304.8 421.2 306 421 L306 424 L306 432 L306 434 C304.8 433.8 305 435.3 305 436 L305 438 L304 439 L304 441 L303 442 L300 447 L299 448 L298 449 L297 450 L296 451 L293 453 L292 454 L291 454 L290 455 L289 455 L288 456 L282 457 C281.1 457.2 279.1 456.4 279 458 L276 458 L269 458 L265 458 C265.2 456.8 263.7 457 263 457 L261 457 C261.2 455.8 259.7 456 259 456 L258 456 L257 455 L252 453 L251 452 L245 446 L244 445 L243 443 L242 442 L242 441 L241 440 L241 439 C241 438.3 241.2 436.8 240 437 L240 435 C240 434.3 240.2 432.8 239 433 L239 423 C240.2 423.2 240 421.7 240 421 L240 419 C241.2 419.2 241 417.7 241 417 C241.3 414 243.4 411.5 245 409 L246 408 L249 405 L250 404 L251 403 L253 402 L254 401 L255 401 L256 400 L257 400 L258 399 L260 399 C260.7 399 262.2 399.2 262 398 L264 398 L269 397 L276 397 z"/>
<path style="fill:#545454" d="M280 397 L280 398 L276 397 L280 397 z"/>
<path style="fill:#b0b0b0" d="M282 398 L280 398 L280 397 C280.7 397 282.2 396.8 282 398 z"/>
<path style="fill:#909090" d="M354 397 C354.2 398.2 352.7 398 352 398 C351.8 396.8 353.3 397 354 397 z"/>
<path style="fill:#0" d="M364 397 C363.8 398.2 365.3 398 366 398 L367 398 L368 399 L369 399 L370 400 L372 401 L373 402 L374 403 L375 404 L377 409 C377 409.7 376.8 411.2 378 411 L378 412 L378 416 L378 457 L356.3 456.8 L356 421 C356 420.3 356.2 418.8 355 419 L355 418 L354 417 L353 416 C350.4 414.5 346.6 414.5 344 416 L343 417 L342 418 L341 419 L341 420 C339.8 419.8 340 421.3 340 422 L340 423 L339 457 L317 457 L317 399 L338 399 L339 406 L340 405 L341 404 L342 403 L345 401 L346 400 L347 400 L348 399 L349 399 L350 398 L352 398 C352.7 398 354.2 398.2 354 397 L364 397 z"/>
<path style="fill:#b0b0b0" d="M366 398 C365.3 398 363.8 398.2 364 397 C364.7 397 366.2 396.8 366 398 z"/>
<path style="fill:#696a6a" d="M419 397 L414 398 L419 397 z"/>
<path style="fill:#010101" d="M426 397 L431 398 L434 398 C433.8 399.2 435.3 399 436 399 L437 399 L438 400 L440 400 L441 401 L446 404 L447 405 L448 406 L449 407 L450 408 L453 413 L454 414 L454 416 L455 417 L455 418 C455 418.7 454.8 420.2 456 420 L456 426 L456 432 L456 435 C454.8 434.8 455 436.3 455 437 L455 438 C453.8 437.8 454 439.3 454 440 L454 441 L453 442 L450 447 L449 448 L448 449 L447 450 L446 451 L445 452 L443 453 L442 454 L441 454 L440 455 L439 455 L438 456 L437 456 C436.3 456 434.8 455.8 435 457 L432 457 C431.1 457.2 429.1 456.4 429 458 L426 458 L419 458 L415 458 C415.2 456.8 413.7 457 413 457 L411 457 C411.2 455.8 409.7 456 409 456 L408 456 L407 455 L402 453 L401 452 L395 446 L394 445 L393 443 L392 442 L392 441 L391 440 L391 438 L390 437 L390 434 L389 430 L389 423 C390.2 423.2 390 421.7 390 421 L390 419 C391.2 419.2 391 417.7 391 417 L391 416 L392 415 L393 412 L394 411 L395 409 L396 408 L397 407 L398 406 L399 405 L400 404 L401 403 L403 402 L404 401 L405 401 L406 400 L407 400 C407.7 400 409.2 400.2 409 399 L410 399 C410.7 399 412.2 399.2 412 398 L414 398 L419 397 L426 397 z"/>
<path style="fill:#606060" d="M431 398 L426 397 L431 398 z"/>
<path style="fill:#808181" d="M130 398 L130 399 L130 457 C128.3 438.7 128.3 416.3 130 398 z"/>
<path style="fill:#404040" d="M150 398 L150 399 L130 399 L130 398 L150 398 z"/>
<path style="fill:#878787" d="M152 405 C149.1 408.1 150.1 400.8 150 399 L150 398 L152 405 z"/>
<path style="fill:#606060" d="M180 399 L179 398 L180 399 z"/>
<path style="fill:#909090" d="M218 399 L217 398 L218 399 z"/>
<path style="fill:#787878" d="M262 398 C262.2 399.2 260.7 399 260 399 C259.8 397.8 261.3 398 262 398 z"/>
<path style="fill:#909090" d="M286 399 C285.3 399 283.8 399.2 284 398 C284.7 398 286.2 397.8 286 399 z"/>
<path style="fill:#c0c0c0" d="M317 398 L317 399 L317 457 C315.3 438.7 315.3 416.3 317 398 z"/>
<path style="fill:#404040" d="M338 399 L317 399 L317 398 L338 399 z"/>
<path style="fill:#707070" d="M350 398 L349 399 L350 398 z"/>
<path style="fill:#808080" d="M368 399 L367 398 L368 399 z"/>
<path style="fill:#787878" d="M412 398 C412.2 399.2 410.7 399 410 399 C409.8 397.8 411.3 398 412 398 z"/>
<path style="fill:#909090" d="M436 399 C435.3 399 433.8 399.2 434 398 C434.7 398 436.2 397.8 436 399 z"/>
<path style="fill:#a0a0a0" d="M469 399 L468 398 L469 399 z"/>
<path style="fill:#808080" d="M220 400 L219 399 L220 400 z"/>
<path style="fill:#a0a0a0" d="M258 399 L257 400 L258 399 z"/>
<path style="fill:#606060" d="M288 400 L287 399 L288 400 z"/>
<path style="fill:#606060" d="M348 399 L347 400 L348 399 z"/>
<path style="fill:#707070" d="M370 400 L369 399 L370 400 z"/>
<path style="fill:#787878" d="M409 399 C409.2 400.2 407.7 400 407 400 C406.8 398.8 408.3 399 409 399 z"/>
<path style="fill:#606060" d="M438 400 L437 399 L438 400 z"/>
<path style="fill:#a0a0a0" d="M472 399 L471 400 L471 399 L472 399 z"/>
<path style="fill:#707070" d="M158 400 L157 401 L158 400 z"/>
<path style="fill:#a0a0a0" d="M184 401 L183 400 L184 401 z"/>
<path style="fill:#808080" d="M196 400 L195 401 L196 400 z"/>
<path style="fill:#808080" d="M256 400 L255 401 L256 400 z"/>
<path style="fill:#a0a0a0" d="M291 401 L290 400 L291 401 z"/>
<path style="fill:#808080" d="M346 400 L345 401 L346 400 z"/>
<path style="fill:#808080" d="M406 400 L405 401 L406 400 z"/>
<path style="fill:#a0a0a0" d="M441 401 L440 400 L441 401 z"/>
<path style="fill:#909090" d="M457 400 L458 400 C458.2 401.3 455.8 401.3 456 400 L457 400 z"/>
<path style="fill:#909090" d="M465 400 L466 400 C466.2 401.3 463.8 401.3 464 400 L465 400 z"/>
<path style="fill:#909090" d="M471 400 C471.2 401.3 468.8 401.3 469 400 L471 400 z"/>
<path style="fill:#808080" d="M185 402 L184 401 L185 402 z"/>
<path style="fill:#a0a0a0" d="M223 402 L222 401 L223 402 z"/>
<path style="fill:#909090" d="M254 401 L253 402 L254 401 z"/>
<path style="fill:#a0a0a0" d="M373 402 L372 401 L373 402 z"/>
<path style="fill:#a0a0a0" d="M404 401 L403 402 L404 401 z"/>
<path style="fill:#a0a0a0" d="M155 402 L154 403 L155 402 z"/>
<path style="fill:#808080" d="M186 403 L185 402 L186 403 z"/>
<path style="fill:#a0a0a0" d="M224 403 L223 402 L224 403 z"/>
<path style="fill:#808080" d="M374 403 L373 402 L374 403 z"/>
<path style="fill:#a0a0a0" d="M154 403 L153 404 L154 403 z"/>
<path style="fill:#a0a0a0" d="M187 404 L186 403 L187 404 z"/>
<path style="fill:#a0a0a0" d="M192 403 L191 404 L192 403 z"/>
<path style="fill:#909090" d="M251 403 L250 404 L251 403 z"/>
<path style="fill:#a0a0a0" d="M342 403 L341 404 L342 403 z"/>
<path style="fill:#a0a0a0" d="M375 404 L374 403 L375 404 z"/>
<path style="fill:#a0a0a0" d="M401 403 L400 404 L401 403 z"/>
<path style="fill:#a0a0a0" d="M153 404 L152 405 L153 404 z"/>
<path style="fill:#a0a0a0" d="M191 404 L190 405 L191 404 z"/>
<path style="fill:#606060" d="M250 404 L249 405 L250 404 z"/>
<path style="fill:#a0a0a0" d="M297 405 L296 404 L297 405 z"/>
<path style="fill:#a0a0a0" d="M341 404 L340 405 L341 404 z"/>
<path style="fill:#606060" d="M400 404 L399 405 L400 404 z"/>
<path style="fill:#909090" d="M447 405 L446 404 L447 405 z"/>
<path style="fill:#a0a0a0" d="M190 405 L189 406 L190 405 z"/>
<path style="fill:#606060" d="M226 406 L225 405 L226 406 z"/>
<path style="fill:#808080" d="M298 406 L297 405 L298 406 z"/>
<path style="fill:#a0a0a0" d="M340 405 L339 406 L340 405 z"/>
<path style="fill:#606060" d="M399 405 L398 406 L399 405 z"/>
<path style="fill:#606060" d="M448 406 L447 405 L448 406 z"/>
<path style="fill:#606060" d="M189 406 C189.4 407.1 187.6 407.1 188 406 L189 406 z"/>
<path style="fill:#808080" d="M299 407 L298 406 L299 407 z"/>
<path style="fill:#606060" d="M398 406 L397 407 L398 406 z"/>
<path style="fill:#606060" d="M449 407 L448 406 L449 407 z"/>
<path style="fill:#606060" d="M227 408 L226 407 L227 408 z"/>
<path style="fill:#a0a0a0" d="M300 408 L299 407 L300 408 z"/>
<path style="fill:#606060" d="M397 407 L396 408 L397 407 z"/>
<path style="fill:#909090" d="M450 408 L449 407 L450 408 z"/>
<path style="fill:#707070" d="M246 408 L245 409 L246 408 z"/>
<path style="fill:#808080" d="M396 408 L395 409 L396 408 z"/>
<path style="fill:#787878" d="M228 411 C226.8 411.2 227 409.7 227 409 C228.2 408.8 228 410.3 228 411 z"/>
<path style="fill:#686868" d="M378 411 C376.8 411.2 377 409.7 377 409 C378.2 408.8 378 410.3 378 411 z"/>
<path style="fill:#606060" d="M394 411 L393 412 L394 411 z"/>
<path style="fill:#909090" d="M379 416 L378 416 L378 412 L379 416 z"/>
<path style="fill:#606060" d="M269 413 L268 414 L269 413 z"/>
<path style="fill:#fdfefe" d="M276 413 L277 414 L278 414 L279 415 L280 416 L281 417 L282 419 C282 419.7 281.8 421.2 283 421 L283 423 L283 432 L283 435 L282 436 L282 437 L281 438 L278 441 L277 442 L276 442 L270 442 L268 442 L267 441 L265 439 L264 438 L263 435 L262 434 L262 431 L262 425 L262 422 C263.2 422.2 263 420.7 263 420 L263 419 L264 418 L268 414 L269 413 L276 413 z"/>
<path style="fill:#a0a0a0" d="M277 414 L276 413 L277 414 z"/>
<path style="fill:#a0a0a0" d="M304 414 L303 413 L304 414 z"/>
<path style="fill:#606060" d="M419 413 L418 414 L419 413 z"/>
<path style="fill:#fdfdfd" d="M426 413 L427 414 L428 414 L429 415 L430 416 L431 417 L432 418 L432 419 L433 420 L433 423 L433 432 L433 435 L432 436 L431 439 L430 440 L429 441 L426 442 L425 443 L421 443 C421.2 441.8 419.7 442 419 442 L417 441 L416 440 L415 439 L414 438 L413 435 C413 434.3 413.2 432.8 412 433 L412 423 C413.2 423.2 413 421.7 413 421 L413 419 L414 418 L418 414 L419 413 L426 413 z"/>
<path style="fill:#a0a0a0" d="M427 414 L426 413 L427 414 z"/>
<path style="fill:#a0a0a0" d="M454 414 L453 413 L454 414 z"/>
<path style="fill:#434343" d="M228 457 L228 414 C229.7 427 229.7 444 228 457 z"/>
<path style="fill:#808080" d="M279 415 L278 414 L279 415 z"/>
<path style="fill:#909090" d="M429 415 L428 414 L429 415 z"/>
<path style="fill:#a0a0a0" d="M158 415 L157 416 L158 415 z"/>
<path style="fill:#606060" d="M196 415 L195 416 L196 415 z"/>
<path style="fill:#a0a0a0" d="M202 416 L201 415 L202 416 z"/>
<path style="fill:#a0a0a0" d="M280 416 L279 415 L280 416 z"/>
<path style="fill:#606060" d="M392 415 L391 416 L392 415 z"/>
<path style="fill:#606060" d="M166 417 L165 416 L166 417 z"/>
<path style="fill:#606060" d="M204 417 L203 416 L204 417 z"/>
<path style="fill:#a0a0a0" d="M281 417 L280 416 L281 417 z"/>
<path style="fill:#606060" d="M305 417 L304 416 L305 417 z"/>
<path style="fill:#a0a0a0" d="M344 416 L343 417 L344 416 z"/>
<path style="fill:#808080" d="M354 417 L353 416 L354 417 z"/>
<path style="fill:#404040" d="M379 416 L378 457 L378 416 L379 416 z"/>
<path style="fill:#a0a0a0" d="M431 417 L430 416 L431 417 z"/>
<path style="fill:#606060" d="M455 417 L454 416 L455 417 z"/>
<path style="fill:#686868" d="M241 417 C241 417.7 241.2 419.2 240 419 C240 418.3 239.8 416.8 241 417 z"/>
<path style="fill:#a0a0a0" d="M343 417 L342 418 L343 417 z"/>
<path style="fill:#707070" d="M355 418 L354 417 L355 418 z"/>
<path style="fill:#787878" d="M391 417 C391 417.7 391.2 419.2 390 419 C390 418.3 389.8 416.8 391 417 z"/>
<path style="fill:#707070" d="M432 418 L431 417 L432 418 z"/>
<path style="fill:#808080" d="M264 418 L263 419 L264 418 z"/>
<path style="fill:#808080" d="M342 418 L341 419 L342 418 z"/>
<path style="fill:#606060" d="M414 418 L413 419 L414 418 z"/>
<path style="fill:#989898" d="M456 420 C454.8 420.2 455 418.7 455 418 C456.2 417.8 456 419.3 456 420 z"/>
<path style="fill:#808080" d="M154 419 L153 420 L154 419 z"/>
<path style="fill:#686868" d="M168 421 L167 421 L167 419 C168.2 418.8 168 420.3 168 421 z"/>
<path style="fill:#989898" d="M206 421 C204.8 421.2 205 419.7 205 419 C206.2 418.8 206 420.3 206 421 z"/>
<path style="fill:#888888" d="M283 421 C281.8 421.2 282 419.7 282 419 C283.2 418.8 283 420.3 283 421 z"/>
<path style="fill:#686868" d="M306 421 C304.8 421.2 305 419.7 305 419 C306.2 418.8 306 420.3 306 421 z"/>
<path style="fill:#888888" d="M356 421 C354.8 421.2 355 419.7 355 419 C356.2 418.8 356 420.3 356 421 z"/>
<path style="fill:#606060" d="M433 420 L432 419 L433 420 z"/>
<path style="fill:#a0a0a0" d="M192 420 L191 421 L192 420 z"/>
<path style="fill:#707070" d="M263 420 C263 420.7 263.2 422.2 262 422 C262 421.3 261.8 419.8 263 420 z"/>
<path style="fill:#989898" d="M341 420 C341 420.7 341.2 422.2 340 422 C340 421.3 339.8 419.8 341 420 z"/>
<path style="fill:#606060" d="M153 421 L153 423 L152 423 C152 422.3 151.8 420.8 153 421 z"/>
<path style="fill:#bfc0c0" d="M168 421 L168 457 L167 421 L168 421 z"/>
<path style="fill:#707070" d="M240 421 C240 421.7 240.2 423.2 239 423 C239 422.3 238.8 420.8 240 421 z"/>
<path style="fill:#909090" d="M390 421 C390 421.7 390.2 423.2 389 423 C389 422.3 388.8 420.8 390 421 z"/>
<path style="fill:#a0a0a0" d="M413 421 C413 421.7 413.2 423.2 412 423 C412 422.3 411.8 420.8 413 421 z"/>
<path style="fill:#7c7c7c" d="M191 422 L190 457 L191 422 z"/>
<path style="fill:#bfbfbf" d="M153 423 L152 457 L152 423 L153 423 z"/>
<path style="fill:#888989" d="M283 432 L283 423 C284.7 424.7 284.7 430.3 283 432 z"/>
<path style="fill:#7c7d7d" d="M340 423 L339 457 L340 423 z"/>
<path style="fill:#a1a2a2" d="M433 432 L433 423 C434.7 424.7 434.7 430.3 433 432 z"/>
<path style="fill:#c4c4c4" d="M306 432 L306 424 C307.6 425.3 307.6 430.7 306 432 z"/>
<path style="fill:#404040" d="M262 425 L262 431 C260.4 430.3 260.4 425.7 262 425 z"/>
<path style="fill:#a0a0a0" d="M456 432 L456 426 C457.6 426.7 457.6 431.3 456 432 z"/>
<path style="fill:#585858" d="M390 434 L389 430 L390 434 z"/>
<path style="fill:#909090" d="M240 435 C238.8 435.2 239 433.7 239 433 C240.2 432.8 240 434.3 240 435 z"/>
<path style="fill:#808080" d="M413 435 C411.8 435.2 412 433.7 412 433 C413.2 432.8 413 434.3 413 435 z"/>
<path style="fill:#707070" d="M263 435 L262 434 L263 435 z"/>
<path style="fill:#707070" d="M306 434 C306 434.7 306.2 436.2 305 436 C305 435.3 304.8 433.8 306 434 z"/>
<path style="fill:#909090" d="M283 435 L282 436 L283 435 z"/>
<path style="fill:#a0a0a0" d="M433 435 L432 436 L433 435 z"/>
<path style="fill:#989898" d="M456 435 C456 435.7 456.2 437.2 455 437 C455 436.3 454.8 434.8 456 435 z"/>
<path style="fill:#888888" d="M241 439 C239.8 439.2 240 437.7 240 437 C241.2 436.8 241 438.3 241 439 z"/>
<path style="fill:#a0a0a0" d="M282 437 L281 438 L282 437 z"/>
<path style="fill:#707070" d="M391 438 L390 437 L391 438 z"/>
<path style="fill:#909090" d="M265 439 L264 438 L265 439 z"/>
<path style="fill:#606060" d="M305 438 L304 439 L305 438 z"/>
<path style="fill:#909090" d="M415 439 L414 438 L415 439 z"/>
<path style="fill:#888888" d="M455 438 C455 438.7 455.2 440.2 454 440 C454 439.3 453.8 437.8 455 438 z"/>
<path style="fill:#a0a0a0" d="M416 440 L415 439 L416 440 z"/>
<path style="fill:#606060" d="M431 439 L430 440 L431 439 z"/>
<path style="fill:#808080" d="M242 441 L241 440 L242 441 z"/>
<path style="fill:#a0a0a0" d="M392 441 L391 440 L392 441 z"/>
<path style="fill:#a0a0a0" d="M417 441 L416 440 L417 441 z"/>
<path style="fill:#606060" d="M430 440 L429 441 L430 440 z"/>
<path style="fill:#606060" d="M268 442 L267 441 L268 442 z"/>
<path style="fill:#a0a0a0" d="M278 441 L277 442 L278 441 z"/>
<path style="fill:#a0a0a0" d="M304 441 L303 442 L304 441 z"/>
<path style="fill:#a0a0a0" d="M454 441 L453 442 L454 441 z"/>
<path style="fill:#808080" d="M243 443 L242 442 L243 443 z"/>
<path style="fill:#aaabab" d="M276 442 C275.3 443.6 270.7 443.6 270 442 L276 442 z"/>
<path style="fill:#909090" d="M393 443 L392 442 L393 443 z"/>
<path style="fill:#707070" d="M421 443 C420.3 443 418.8 443.2 419 442 C419.7 442 421.2 441.8 421 443 z"/>
<path style="fill:#808080" d="M426 442 L425 443 L426 442 z"/>
<path style="fill:#707070" d="M245 446 L244 445 L245 446 z"/>
<path style="fill:#707070" d="M395 446 L394 445 L395 446 z"/>
<path style="fill:#a0a0a0" d="M300 447 L299 448 L300 447 z"/>
<path style="fill:#909090" d="M450 447 L449 448 L450 447 z"/>
<path style="fill:#707070" d="M299 448 L298 449 L299 448 z"/>
<path style="fill:#606060" d="M449 448 L448 449 L449 448 z"/>
<path style="fill:#606060" d="M298 449 L297 450 L298 449 z"/>
<path style="fill:#606060" d="M448 449 L447 450 L448 449 z"/>
<path style="fill:#a0a0a0" d="M297 450 L296 451 L297 450 z"/>
<path style="fill:#808080" d="M447 450 L446 451 L447 450 z"/>
<path style="fill:#a0a0a0" d="M446 451 L445 452 L446 451 z"/>
<path style="fill:#909090" d="M252 453 L251 452 L252 453 z"/>
<path style="fill:#909090" d="M402 453 L401 452 L402 453 z"/>
<path style="fill:#a0a0a0" d="M293 453 L292 454 L293 453 z"/>
<path style="fill:#909090" d="M443 453 L442 454 L443 453 z"/>
<path style="fill:#808080" d="M291 454 L290 455 L291 454 z"/>
<path style="fill:#808080" d="M441 454 L440 455 L441 454 z"/>
<path style="fill:#606060" d="M258 456 L257 455 L258 456 z"/>
<path style="fill:#a0a0a0" d="M289 455 L288 456 L289 455 z"/>
<path style="fill:#606060" d="M408 456 L407 455 L408 456 z"/>
<path style="fill:#909090" d="M439 455 L438 456 L439 455 z"/>
<path style="fill:#787878" d="M261 457 C260.3 457 258.8 457.2 259 456 C259.7 456 261.2 455.8 261 457 z"/>
<path style="fill:#808080" d="M411 457 C410.3 457 408.8 457.2 409 456 C409.7 456 411.2 455.8 411 457 z"/>
<path style="fill:#a8a8a8" d="M437 456 C437.2 457.2 435.7 457 435 457 C434.8 455.8 436.3 456 437 456 z"/>
<path style="fill:#888888" d="M265 458 C264.3 458 262.8 458.2 263 457 C263.7 457 265.2 456.8 265 458 z"/>
<path style="fill:#606060" d="M282 457 C281.9 458.6 279.9 457.8 279 458 C279.1 456.4 281.1 457.2 282 457 z"/>
<path style="fill:#888888" d="M415 458 C414.3 458 412.8 458.2 413 457 C413.7 457 415.2 456.8 415 458 z"/>
<path style="fill:#606060" d="M432 457 C431.9 458.6 429.9 457.8 429 458 C429.1 456.4 431.1 457.2 432 457 z"/>
<path style="fill:#c2c2c2" d="M276 458 C275 459.6 270 459.6 269 458 L276 458 z"/>
<path style="fill:#c2c2c2" d="M426 458 C425 459.6 420 459.6 419 458 L426 458 z"/>
</svg>

After

Width:  |  Height:  |  Size: 52 KiB

+3
View File
@@ -0,0 +1,3 @@
.makefrag
.response
library-deps.stamp
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Accessibility.dll -->
<project name="System" default="build">
<property name="debug" value="false"/>
<target name="build">
<mkdir dir="../lib"/>
<csc target="library" output="../lib/Accessibility.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<!-- cor compare dies with these currently -->
<!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
<!--arg value="/r:corlib.dll"/-->
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
</csc>
<copy file="../lib/Accessibility.dll" tofile="Test/Accessibility.dll"/>
<nant basedir="Test" target="build"/>
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<nant basedir="Test" target="clean"/>
<delete file="../lib/Accessibility.dll" failonerror="false"/>
</target>
</project>
@@ -0,0 +1,3 @@
.makefrag
.response
library-deps.stamp
@@ -0,0 +1,35 @@
//
// IAccessible.cs: Interface for accessible elements
//
// What a horrible interface.
//
namespace Accessibility {
public interface IAccessible {
void accDoDefaultAction (object childID);
object accHitTest (int xLeft, int yTop);
void accLocation (out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID);
object accNavigate(int navDir, object childID);
void accSelect(int flagsSelect, object childID);
object get_accChild(object childID);
string get_accDefaultAction(object childID);
string get_accDescription(object childID);
string get_accHelp(object childID);
int get_accHelpTopic(out string pszHelpFile,object childID);
string get_accKeyboardShortcut(object childID);
string get_accName(object childID);
object get_accRole(object childID);
object get_accState(object childID);
string get_accValue(object childID);
void set_accName(object childID, string newName);
void set_accValue(object childID, string newValue);
int accChildCount { get; }
object accFocus { get; }
object accParent { get;}
object accSelection { get; }
}
}
@@ -0,0 +1,3 @@
interface IAccessibleHandler {
// Opaque for now.
}
+2
View File
@@ -0,0 +1,2 @@
Accessibility/IAccessible.cs
Accessibility/IAccessibleHandler.cs
+16
View File
@@ -0,0 +1,16 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Accessibility.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+26
View File
@@ -0,0 +1,26 @@
2002-12-08 Radek Doulik <[email protected]>
* makefile.gnu (DIRS): place System.Data before Mono.GetOptions,
Mono.GetOptions references System.Data
2002-12-07 Jackson Harper <[email protected]>
* library.build: Added Cscompmgd to the build
2002-12-02 Cesar Octavio Lopez Nataren <[email protected]>
* mcs/class: Added assembly directory System.ServiceProcess
2002-11-26 Daniel morgan <[email protected]>
* makefile.gnu: add Mono.Data.PostgreSqlClient
to Linux build
* library.build: add Mono.Data.PostgreSqlClient
to Windows build
2002-11-20 Nick Drochak <[email protected]>
* library.make: for .response allow white space at the end of
the line
+3
View File
@@ -0,0 +1,3 @@
.response
.makefrag
library-deps.stamp
+3
View File
@@ -0,0 +1,3 @@
2002-12-07 Jackson Harper <[email protected]>
* Cscompmgd.build: Added file
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Cscompmgd.dll -->
<project name="Cscompmgd" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/Cscompmgd.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
<includes name="../lib/System.dll"/>
</references>
</csc>
</target>
<target name="clean">
<delete file="../lib/Cscompmgd.dll" failonerror="false"/>
</target>
</project>
@@ -0,0 +1,48 @@
2002-13-07 Jackson Harper <[email protected]>
* Compiler.cs: Moved StreamWriter creation into a try block
2002-13-07 Jackson Harper <[email protected]>
* Compiler.cs: Source text is now implemented so you can pass strings of C# code to be compiled
2002-12-07 Jackson Harper <[email protected]>
* TODOAttribute.cs: Added file
2002-12-07 Jackson Harper <[email protected]>
* Compiler.cs CompilerError.cs: Moved file
2002-11-11 Jackson Harper <[email protected]>
* CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
2002-11-11 Jackson Harper <[email protected]>
* CompilerError.cs: Error levels are now lower case to match MS spec
2002-11-9 Jackson Harper <[email protected]>
* CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
2002-11-6 Jackson Harper <[email protected]>
* Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
crashes from buffers filling up.
2002-11-4 Jackson Harper <[email protected]>
* Compiler.cs CompilerError.cs: Fixed (C) in header
2002-11-4 Jackson Harper <[email protected]>
* Compiler.cs: Added file
2002-11-4 Jackson Harper <[email protected]>
* CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
2002-10-30 Jackson Harper <[email protected]>
* CompilerError.cs: Added class
@@ -0,0 +1,190 @@
// Microsoft.CSharp.Compiler
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2002 Jackson Harper, All rights reserved.
//
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace Microsoft.CSharp {
public class Compiler {
public Compiler()
{
}
[MonoTODO("Have not implemented bugreports")]
public static CompilerError[] Compile(string[] sourceTexts,
string[] sourceTextNames, string target, string[] imports,
IDictionary options)
{
VerifyArgs (sourceTexts, sourceTextNames, target);
string[] temp_cs_files;
CompilerError[] errors;
temp_cs_files = CreateCsFiles (sourceTexts, sourceTextNames);
try {
errors = CompileFiles (temp_cs_files, target, imports, options);
} catch {
throw;
} finally {
foreach (string temp_file in temp_cs_files) {
FileInfo file = new FileInfo (temp_file);
file.Delete ();
}
}
return errors;
}
//
// Private Methods
//
private static CompilerError[] CompileFiles (string[] cs_files,
string target, string[] imports, IDictionary options)
{
ArrayList error_list = new ArrayList ();
Process mcs = new Process ();
string mcs_output;
string[] mcs_output_lines;
mcs.StartInfo.FileName = "mcs";
mcs.StartInfo.Arguments = BuildArgs (cs_files,
target, imports, options);
mcs.StartInfo.CreateNoWindow = true;
mcs.StartInfo.UseShellExecute = false;
mcs.StartInfo.RedirectStandardOutput = true;
try {
mcs.Start ();
mcs_output = mcs.StandardOutput.ReadToEnd();
mcs.WaitForExit ();
} finally {
mcs.Close ();
}
mcs_output_lines = mcs_output.Split (
System.Environment.NewLine.ToCharArray ());
foreach (string error_line in mcs_output_lines) {
CompilerError error = CreateErrorFromString (error_line);
if (null != error)
error_list.Add (error);
}
return (CompilerError[])error_list.ToArray (typeof(CompilerError));
}
/// <summary>
/// Converts an error string into a CompilerError object
/// Return null if the line was not an error string
/// </summary>
private static CompilerError CreateErrorFromString(string error_string)
{
CompilerError error = new CompilerError();
Regex reg = new Regex (@"^((?<file>.*)\((?<line>\d*)(,(?<column>\d*))?\)\s){0,}(?<level>\w+)\sCS(?<number>\d*):\s(?<message>.*)",
RegexOptions.Compiled | RegexOptions.ExplicitCapture);
Match match = reg.Match (error_string);
if (!match.Success)
return null;
if (String.Empty != match.Result ("${file}"))
error.SourceFile = match.Result ("${file}");
if (String.Empty != match.Result ("${line}"))
error.SourceLine = Int32.Parse (match.Result ("${line}"));
if (String.Empty != match.Result ("${column}"))
error.SourceColumn = Int32.Parse (match.Result ("${column}"));
error.ErrorLevel = (ErrorLevel)Enum.Parse (typeof(ErrorLevel),
match.Result ("${level}"), true);
error.ErrorNumber = Int32.Parse (match.Result ("${number}"));
error.ErrorMessage = match.Result ("${message}");
return error;
}
private static string[] CreateCsFiles (string[] source_text, string[] source_name)
{
ArrayList temp_file_list = new ArrayList ();
for (int i=0; i<source_text.Length; i++) {
string temp_path = Path.GetTempFileName ();
StreamWriter writer = null;
try {
writer = new StreamWriter (temp_path);
writer.WriteLine (String.Format ("#line 1 \"{0}\"",
source_name[i]));
writer.Write (source_text[i]);
} catch {
} finally {
if (writer != null)
writer.Close ();
}
temp_file_list.Add (temp_path);
}
return (string[])temp_file_list.ToArray (typeof(string));
}
private static string BuildArgs(string[] source_files,
string target, string[] imports, IDictionary options)
{
StringBuilder args = new StringBuilder ();
args.AppendFormat ("/out:{0} ", target);
if (null != imports) {
foreach (string import in imports)
args.AppendFormat ("/r:{0} ", import);
}
if (null != options) {
foreach (object option in options.Keys) {
object value = options[option];
args.AppendFormat ("{0} ", OptionString (option,value));
}
}
foreach (string source in source_files)
args.AppendFormat ("{0} ", source);
return args.ToString ();
}
private static string OptionString(object option, object value)
{
if (null != value)
return String.Format ("/{0}:{1}", option, value);
return String.Format("/{0}", option);
}
private static void VerifyArgs (string[] sourceTexts,
string[] sourceTextNames, string target)
{
if (null == sourceTexts)
throw new ArgumentNullException ("sourceTexts");
if (null == sourceTextNames)
throw new ArgumentNullException ("sourceTextNames");
if (null == target)
throw new ArgumentNullException ("target");
if (sourceTexts.Length <= 0 || sourceTextNames.Length <= 0)
throw new IndexOutOfRangeException ();
}
}
}
@@ -0,0 +1,115 @@
// Microsoft.CSharp.CompilerError
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2002 Jackson Harper, All rights reserved.
//
using System;
using System.Text;
namespace Microsoft.CSharp {
public enum ErrorLevel {
None,
Warning,
Error,
FatalError,
}
public class CompilerError {
private ErrorLevel level = ErrorLevel.None;
private string message = null;
private string file = null;
private int number = 0;
private int column = 0;
private int line = 0;
public CompilerError()
{
}
~CompilerError()
{
message = null;
file = null;
}
//
// Public Properties
//
public ErrorLevel ErrorLevel {
get { return level; }
set { level = value; }
}
public string ErrorMessage {
get {
return (null == message ? String.Empty : message);
}
set {
message = value;
}
}
public int ErrorNumber {
get { return number; }
set { number = value; }
}
public int SourceColumn {
get { return column; }
set { column = value; }
}
public string SourceFile {
get {
return (null == file ? String.Empty : file);
}
set { file = value; }
}
public int SourceLine {
get { return line; }
set { line = value; }
}
//
// Public Methods
//
/// <summary>
/// Error message in form:
/// filename(line,column): AAAAA CSXXX: message
/// </summary>
public override string ToString()
{
StringBuilder builder = new StringBuilder ();
if (String.Empty != SourceFile)
builder.AppendFormat ("{0}({1},{2}) ",
SourceFile, SourceLine, SourceColumn);
builder.AppendFormat ("{0} CS{1}: {2}",
ErrorLevelString, ErrorNumber, ErrorMessage);
return builder.ToString ();
}
//
// Private Properties
//
private string ErrorLevelString {
get {
if (ErrorLevel.FatalError == ErrorLevel)
return "Error Fatal";
return ErrorLevel.ToString ().ToLower ();
}
}
}
}
@@ -0,0 +1,33 @@
//
// TODOAttribute.cs
//
// Author:
// Ravi Pratap ([email protected])
//
// (C) Ximian, Inc. http://www.ximian.com
//
using System;
namespace Microsoft.CSharp {
/// <summary>
/// The TODO attribute is used to flag all incomplete bits in our class libraries
/// </summary>
///
/// <remarks>
/// Use this to decorate any element which you think is not complete
/// </remarks>
[AttributeUsage (AttributeTargets.All)]
internal class MonoTODOAttribute : Attribute {
string comment;
public MonoTODOAttribute ()
{}
public MonoTODOAttribute (string comment)
{
this.comment = comment;
}
}
}
Loaded 100 of 5612 files, more files were not shown because too many files have changed in this diff. Show more