Compare commits

...
2173 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
Martin Baulig 7f0542b133 Importing NUnit 1.11.
svn path=/branches/NUNIT/mcs/; revision=2713
2002-02-27 09:38:21 +00:00
nobody 9f187b5dd0 This commit was manufactured by cvs2svn to create branch 'NUNIT'.
svn path=/branches/NUNIT/mcs/; revision=2712
2002-02-27 09:38:18 +00:00
4208 changed files with 374930 additions and 167463 deletions

No files matched your search

+240
View File
@@ -1,3 +1,242 @@
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
@@ -524,3 +763,4 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
* NEWS:
+2 -2
View File
@@ -1,8 +1,8 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = mono doc docs runtime scripts man
SUBDIRS = mono doc docs runtime scripts man data
EXTRA_DIST= mono.pc.in
EXTRA_DIST= mono.pc.in mono.spec.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= 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.
+3 -1
View File
@@ -5,7 +5,6 @@
#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
@@ -18,3 +17,6 @@
#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
+96 -123
View File
@@ -1,25 +1,46 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.13)
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
@@ -272,6 +305,7 @@ if test x$platform_win32 = xno; then
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>
@@ -288,87 +322,43 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *****************************
dnl *** Checks for 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 c_r, [
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
CPPFLAGS="$CPPFLAGS $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
CPPFLAGS="$CPPFLAGS $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 ********************************
@@ -402,12 +392,8 @@ if test x$platform_win32 = xno; then
fi
fi
else
AM_CONDITIONAL(THREADS_PTHREAD, false)
# 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 ****************************
@@ -475,27 +461,6 @@ 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
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)
@@ -513,8 +478,9 @@ 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;;
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
@@ -534,6 +500,10 @@ 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)
@@ -554,6 +524,7 @@ 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
@@ -568,6 +539,8 @@ 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
+223 -741
View File
@@ -1,343 +1,239 @@
* ADO.NET
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> and <a href="mailto:[email protected]">Tim Coleman</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> Initial <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
<p>The current plan to implement ADO.NET is as follows:
<ul>
* Initial implementation of System.Data.SqlClient is based on
the <a href="http://www.postgresql.org/idocs/">PostgreSQL C API</a> which is a
client API to the PostgreSQL DBMS. PostgreSQL was chosen so we could quickly
create and test the System.Data classes.
* Once the <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a>
code is functional and is usable by other people, we willl move it to
Mono.Data.PostgreSQL, and will convert the existing
System.Data.SqlClient to be just a wrapper around
Mono.Data.PostgreSQL.
</ul>
<b>Step 2:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataOleDb.asp?frame=true">System.Data.OleDb</a> Provider:
<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>
* <p>On Unix systems: System.Data.OleDb will use the
<a href="http://www.gnome-db.org/">LibGDA</a>
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
<p>LibGDA is a data access engine like ADO/OLE-DB, but for Unix. The
GDA in libGDA stands for GNU/GNOME Data Access, but it does not require GNOME.
It only requires glib2 and libxml2. LibGDA is used by
libgnomedb, GNOME-DB, and gaSQL.
<p>There is work under way to get libgda working under
Windows using Cygwin by the GNOME-DB developers.
<p>LibGDA has providers for MySQL, PostgreSQL, XML, ODBC,
and MDB Tools (MS Access support).
* On Windows systems: System.Data.OleDb will use OLE-DB as
its engine. It may have the option of using libgda too.
</ul>
<b>Step 3:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
<ul>
* <p>System.Data.SqlClient will then become a managed
provider for Microsoft SQL Server, both on Windows and
Linux, to be compatible with applications written
for the Microsoft .NET Development Framework.
<p>Once Step 1 has been completed and the PostgreSQL
provider support has been moved to its own place at
System.Data.PostgreSQL, we will use
<a href="http://www.freetds.org/">FreeTDS</a> as the basis
for providing access to Microsoft SQL Server databases.
<P>FreeTDS is a C API for Unix and Windows that implements
the TDS (Tabular Data Stream) protocol used in accessing
Microsoft SQL Server and Sybase databases. A .NET Data Provider could be
created for Sybase databases as well, but this would be put in Mono.Data.Sybase.
</ul>
<b>Step 4:</b> <a href="http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/668/msdncompositedoc.xml&frame=true">System.Data.Odbc</a> Provider:
<ul>
* We will create a .NET Managaed Provider for ODBC
in System.Data.Odbc for those using ODBC.
On Unix and Windows, <a href="http://www.unixodbc.org/">unixODBC</a> mabye used.
iODBC is an alternative to using unixODBC.
<p>unixODBC works on Unix and Windows. Well, I have not actually
used it on Cygwin, but it does build and install without problems.
<p>unixODBC has providers for:
Oracle, Microsoft SQL Server and Sybase via FreeTDS,
MySQL, PostgreSQL, Informix, IBM DB2 (Universal Database),
Interbase, miniSQL (mSQL), AdabasD, Empress, YARD SQL, and others.
</ul>
<b>Step 5:</b> Other System.Data providers:
<ul>
* <p>The idea in Microsoft .NET System.Data is to have
a managed provider for each supported DBMS. System.Data.SqlClient
for Microsoft SQL Server.
System.Data.OracleClient for Oracle 8i and 9i.
<p>We will need to have Mono.Data.MySQL, Mono.Data.PostgreSQL,
Mono.Data.DB2, and Mono.Data.miniSQL. Others,
of course, are welcomed.
<p>System.Data has been designed so
non-database providers can be created too.
<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
<p>We are working on Steps 1, 2, and 5. We have only just begun on
steps 2 and 5 though. We still have tons and tons of stuff to do.
If you have any ideas, let us know.
<p>For Step 1, the PostgreSQL is starting to come together - it
still needs a lot of work.
<p>For Step 2, Rodrigo Moya has begun System.Data.OleDb which will use libgda
which is 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. He has also
added class stubs for System.Data.OleDb to cvs.
<p>For Step 3, we need someone to start the FreeTDS .NET Data Provider so
we can have data access to Microsoft SQL Server and Sybase databases, or either
add the support in libgda.
<p>For Step 4, we need someone to start the unixODBC .NET Data Provider, or add
the support in libgda.
<p>For Step 5, we have just begun creating a Mono.Data .NET Provider - a MySQL
.NET Provider that uses the MySQL C Client Library. This provider is
found in Mono.Data.MySql. We can currently connect and do a SQL INSERT and insert
a row into a MySQL database. However, it currently only works on Cygwin because
the MySQL client library libmySQL.dll is different
from the library on Linux libmysqlclient.dll. Another problem, mysql thread functions
do not load for some reason. Also, the provider only runs if you use "mint" (the Mono
runtime interpreter). It does not work on "mono" (the Mono Just-In-Time compiler).
The C# Bindings to MySQL are thanks to Brad Meril.
<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>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
DELETE SQL commands using the ExecuteNonQuery method in SqlCommand.
<p>We can execute multiple queries and do a NextResult() in SqlDataReader()
to get the next result set.
<p>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.
<p>We are also able to retrieve data with a simple SELECT SQL query
using ExecuteReader() which returns a SqlDataReader. 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.
<p>Here is a sample of code that is based on PostgresTest.cs and
TestSqlDataReader.cs tests:
<pre>
static void SelectData (IDbConnection cnc) {
IDbCommand selectCommand = cnc.CreateCommand();
IDataReader reader;
selectCommand.CommandType = CommandType.Text;
selectCommand.CommandText =
"select * from pg_user;" +
"select * from pg_tables;" +
"select * from pg_database";
reader = selectCommand.ExecuteReader ();
do {
// get the DataTable that holds
// the schema
DataTable dt = rdr.GetSchemaTable();
if(rdr.RecordsAffected != -1) {
// Results for
// SQL INSERT, UPDATE, DELETE Commands
// have RecordsAffected >= 0
Console.WriteLine("Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
}
else if (dt == null)
Console.WriteLine("Result is from a SQL Command not (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
else {
// Results for
// SQL not INSERT, UPDATE, nor DELETE
// have RecordsAffected = -1
Console.WriteLine("Result is from a SQL SELECT Query. Records Affected: " + rdr.RecordsAffected);
// Results for a SQL Command (CREATE TABLE, SET, etc)
// will have a null reference returned from GetSchemaTable()
//
// Results for a SQL SELECT Query
// will have a DataTable returned from GetSchemaTable()
results++;
Console.WriteLine("Result Set " + results + "...");
// number of columns in the table
Console.WriteLine(" Total Columns: " +
dt.Columns.Count);
// display the schema
foreach (DataRow schemaRow in dt.Rows) {
foreach (DataColumn schemaCol in dt.Columns)
Console.WriteLine(schemaCol.ColumnName +
" = " +
schemaRow[schemaCol]);
Console.WriteLine();
}
int nRows = 0;
string output, metadataValue, dataValue;
// Read and display the rows
Console.WriteLine("Gonna do a Read() now...");
while(rdr.Read()) {
Console.WriteLine(" Row " + nRows + ": ");
for(c = 0; c < rdr.FieldCount; c++) {
// column meta data
DataRow dr = dt.Rows[c];
metadataValue =
" Col " +
c + ": " +
dr["ColumnName"];
// column data
if(rdr.IsDBNull(c) == true)
dataValue = " is NULL";
else
dataValue =
": " +
rdr.GetValue(c);
// display column meta data and data
output = metadataValue + dataValue;
Console.WriteLine(output);
}
nRows++;
}
Console.WriteLine(" Total Rows: " +
nRows);
}
} while(rdr.NextResult());
Console.WriteLine("Total Result sets: " + results);
rdr.Close();
}
</pre>
<p>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.
<p>Rows that are returned which contain columns that are NULL are handled now.
The SqlDataReader method IsDBNull() needs to be called to determine
if a field IS NULL before trying to read data from that field.
<p>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.
<p>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.
<p>ExecuteScalar() is a lightweight method in class SqlCommand that only returns
one row and one column as one object - even if there is more than row or column.
<pre>
static string GetDatabaseServerVersion (SqlConnection cnc)
{
SqlCommand cmd = cnc.CreateCommand ();
string data;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "version";
data = (string) cmd.ExecuteScalar ();
return data;
}
</pre>
<p>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.
<p>A lot of functionality in System.Data is missing, but the
infrastructure is starting to come together.
<p>A lot of Exceptions need to be thrown for various exceptions. However,
SqlException, SqlErrorCollection, and SqlError have been partially
implemented.
<p>Tim Coleman and Rodrigo Moya got the beginnings of the
SqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
the SqlDataAdapter 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.
Below, I show a snippets from the test:
<pre>
string connectionString;
string sqlQuery;
SqlDataAdapter adapter;
DataSet dataSet = null;
connectionString =
"host=localhost;" +
"dbname=test;" +
"user=postgres";
sqlQuery = "select * from pg_tables";
adapter = new SqlDataAdapter (sqlQuery,
connectionString);
dataSet = new DataSet ();
adapter.Fill (dataSet);
if (dataSet != null) {
foreach (DataRow row in dataSet.Tables["Table"].Rows)
Console.WriteLine("tablename: " + row["tablename"]);
}
</pre>
<p>We do need help on the DataSet/DataAdaptor/DataTable/DataRelation/XML
functionality so we can integrate with
the ASP.NET controls and Windows.Forms controls by allowing the controls to bind
to a data source. Gonzalo, Gaurav, Leen, Patrik, Duncan, and others are
<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>Need to add XML support in System.Data. This involves working on
the classes: DataSet and XmlDataDocument and the ExecuteXmlReader() in SqlCommand.
<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:
@@ -352,7 +248,8 @@
* compile System.Data.dll:
<pre>
cd mcs/class/System.Data<br>
mcs --target library -o System.Data.dll @list
mcs --target library -o \
System.Data.dll @list
</pre>
</ul>
@@ -370,427 +267,12 @@
../../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>
* 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>
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe clean
../../nant/NAnt.exe clean
</pre>
</ul>
* Testing
<p>In order to test System.Data.SqlClient, you will need to have
access to a remote PostgreSQL DBMS, or you will have to install
one locally. PostgreSQL is the DBMS used for the initial
implementation of System.Data.SqlClient.
<p>Why? Because it is open source, 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>
<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 to connect to, 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
</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 System.Data.SqlClient 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>
+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).
+45 -23
View File
@@ -12,11 +12,14 @@
programs can be run using the Mono runtime and the XSP page
parser.
Tim started work on the Web Services early this week.
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.
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
@@ -41,7 +44,7 @@
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 mostly written by Patrik Torstensson
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.
@@ -56,16 +59,25 @@
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation) but it is still not
ready to run.
the System.Web and on the foundation).
We are currently working on this.
** XSP
Currently XSP provides the .aspx compiler to C#. It would be
interesting to see if it makes sense to extend the ASP.NET
syntax to make it simpler to develop applications.
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.
Gonzalo is in charge of the compiler.
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
@@ -73,10 +85,11 @@
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, but needs to be finished.
hard on this namespace.
We can now render all HtmlControls and some WebControls. Work is
ongoing to make all WebControls render HTML.
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
@@ -101,22 +114,31 @@
but using our generated page.
4. Run the sample with our classes with the .NET runtime.
<b>We are here</b>.
5. Finish HttpRuntime.
5. Run the samples with our classes with the our runtime (without
using HttpRuntime).
6. Finish HttpRuntime.
6. Running our sample code with our classes with our runtime.
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
Currently we are testing and fixing HtmlControls, WebControls and
validators.
Testing and fixing HtmlControls, WebControls and validators is an
easy way to help.
In the CVS module XSP you can find the aspx to C# page parser,
a little web server used for testing and a directory containing
sample aspx pages.
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 -70
View File
@@ -14,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>
+43 -11
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
+324 -272
View File
@@ -6,72 +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 2.0</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/?cvsroot=Mono#dirlist">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="jun-7">
<b>Mono 0.13</b>
** Binaries for other platforms.
New packaged versions of the Mono C# compiler and Mono runtime
are now available. The latest version is 0.13.
Already daily volunteer's made binaries:
<ul>
* <a href="archive/mono-0.13">Mono 0.13 release notes</a>
* <a href="archive/mcs-0.13.tar.gz">mcs-0.13.tar.gz</a>
Mono C# compiler with class library source code.
* <a href="archive/mono-0.13.tar.gz">mono-0.13.tar.gz</a>
Mono runtime.
</ul>
* Snapshots
Volunteers package up daily the sources:
<ul>
* <a href="http://www.atoker.com/mono">Debian Linux</a>
* <a href="http://mono.baselabs.org/index.php/software">Red Hat Linux</a>
* <a href="http://www.debianplanet.org/mono/">DebianPlanet</a>
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
</ul>
* Snapshots
<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
@@ -92,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">
@@ -121,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
@@ -142,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>
@@ -238,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>
@@ -254,128 +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">
*** Old releases.
<ul>
<ul>
<a name="apr-24">
<b>Mono 0.11; April 24, 2002</b>
* <a href="archive/mono-0.11">Mono 0.11 release notes</a>
* <a href="archive/mcs-0.11.tar.gz">mcs-0.11.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.11.tar.gz">mono-0.11.tar.gz</a>
Mono runtime
</ul>
<ul>
<a name="mar-27">
<b>Mono 0.10; March 27, 2002</b>
* <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
</ul>
<ul>
<a name="feb-22">
<b>Mono 0.9; February 22, 2002</b>
* <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="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.
+142 -174
View File
@@ -2,12 +2,12 @@
<a href="#ximian">The Ximian Role in the Mono project</a><br>
<a href="#gnome">Mono and GNOME</a><br>
<a href="#gui">Building GUI applications with Mono</a><br>
<a href="#winforms">Mono and WinForms</a><br>
<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>
@@ -18,9 +18,10 @@
<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
href="http://www.es.gnome.org/documentacion/articulos/mono-puf/mono-puf/">Spanish
translation</a> is also available
<a name="basics"></a>
@@ -43,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?
@@ -84,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?
@@ -96,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.
@@ -118,17 +121,18 @@ Q: When will you ship it?
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 should be available at some point during 2002.
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) will
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), and
we encourage third party developers to create reusable components that
work on both Mono and Windows.
(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?
@@ -195,7 +199,7 @@ 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
@@ -224,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?
@@ -272,7 +276,7 @@ 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 mora about Gtk#?
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.
@@ -299,47 +303,11 @@ A: There is a sample file called `DbClient' in gtk-sharp/samples that you
gtk-sharp/sample/DbClient, where there is a GTK# application that uses
System.Data. It does not use DataAdapter, but DataReader though.
<a name="winforms"></a>
** Mono and WinForms
Q: Can you tell me why aren't you implementing WinForms?.
A: (This is based in an original mail to mono-list written by Miguel de
Icaza. You should read it for completion, but the core part is here).
First, Windows.Forms is packed with quirks and is not that great of a
toolkit in the first place. Up to the point of the unconfirmed rumor
that Microsoft is working on a replacement for it.
Once the runtime is done, we will very likely start contributing to
the Gtk# project ourselves, and we will likely start doing feasibility
work on getting Mono used by Gnome developers: full gnome apps and
extending existing applications.
Those interested in hacking on Windows.Forms are welcome to do so,
but Ximian will not likely look at it in the near future; if there is
enough demand, or I can be convinced that Windows.Forms is useful for
something Ximian might re-evaluate our resource allocation for this
task.
By doing native ports, we could use the same API on all those systems.
Also, Gtk is mature enough, we know this because we have built an entire
desktop (and all sorts of very window system-specific hacks), and we
have built a bunch of productivity applications with it.
Q: What about VCL?.
Someone mentioned VCL. The only problem with the VCL is that it can
only be used for GPL applications (or I guess you could license it from
Borland for your app), and would have to be ported from Delphi to C#
(or someone would have to write a CIL compiler for it).
Q: What about doing something like the eclipse project (www.eclipse.org)?
A: The Eclipse toolkit is not a general purpose toolkit.  It will require a
lot of work before it is such a thing.  It is a toolkit used to
implement a development environment.
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
@@ -364,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.
@@ -444,17 +412,17 @@ Q: Will I be able to compile a Microsoft VB.NET application and execute
A: Once we have a complete VisualBasic runtime, yes.
Q: Can mono run the WebMatrix ?
Q: Can mono run the WebMatrix?
A: No. That requires winforms (we don't have).
A: No. That requires System.Windows.Forms support which is not
currently implemented.
Q: Does mono have something like Passport ? (ie PassportIdentity class,somewhere
in System.Web ?) . Will mono have a server side Passport/Similar framework
for XSP as well as client classes ?
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
Aliance APIs. The problem is people on the web provider end that might use
Alliance APIs. The problem is people on the web provider end that might use
this for authentication.
<a name="pnpproject"></a>
@@ -473,7 +441,7 @@ A: Most of Mono is being written using C#, with only
<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
systems, while the interpreter works on SPARC, StrongARM and
PowerPC systems.
<li> Supports Linux, Windows and Solaris at this point.
@@ -481,21 +449,21 @@ A: Most of Mono is being written using C#, with only
<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 retarget the JIT engine to other
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.
book that covers LCC, the ANSI C retargetable C compiler.
<li> The JIT engine supports inlining, constant folding and propagation,
<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, ie, that
it can be fully developed with itself at this point.
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
@@ -522,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?
@@ -544,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?
@@ -608,7 +586,7 @@ 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. Usefull queues do more than serialize messages, they are
through queues. Useful queues do more than serialize messages, they are
also platform bridges.
Q: Are you supporting XMLDocument and relatives?.
@@ -619,14 +597,14 @@ A: Currently, we aren't implementing them yet. It would require updates to
Q: Is there any plan to develop an aspx server for Mono?.
A: The webserver turned out to be very simple compared to the rest of the
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?
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).
@@ -634,7 +612,7 @@ A: Yes. Some class libraries can be developed on Linux. Search for
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)
Linux)
A: Yes. Just use two installation prefixes.
@@ -644,52 +622,19 @@ 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: Is the current stage the implementation of mono_create_trampoline
function? Hence the sparc-codegen.h is reasonably complete? Is
mono/arch/x86/* the best reference material for this stuff?
A: sparc-codegen.h is basically complete. We may want to add some
convenience macros along the way, but it has all the stuff you need.
And yes, or, the ppc/ dir, since the ppc call convention is more similar
to the sparc one than the x86 one. The current issues with the sparc
code are. roughly:
1) it needs to handle overflowing the out registers (the additional
arguments need to be put on the stack)
2) it needs to flush the icache where the generated code is stored
3) it needs to implement mono_create_method_pointer to get delegates
working
4) it needs a couple of updates (mono_method_pointer_get is no longer
needed, for example)
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: How do I build corlib under Linux?
A: You can build your own (see the web site on how to get the mcs
project from cvs), but in order to build them using mcs you need a
set of working class libraries. After building the runtime (using
mono-build.sh) get them from the nightly build and put them (and
mcs.exe) in your mono/install/lib directory. Then you should be able
to do: cd mcs, then: make -f makefile.gnu, then: cp mcs/mcs.exe
class/lib/*.dll ../install/lib Also, you should know that you can
either get your dose of DLLs from MonoCharge, or from
http://primates.ximian.com/~miguel/runtime. MonoCharge is updated
automatically, while the later is only updated when Miguel is around
Once you have the DLLs, you can use `make -f makefile.gnu' as described
before to self-host.
Q: Is there a relatively straightforward way to repeat the steps taken
by Paolo to get Mono completely self-hosted on linux?
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</li>
<li>You can also specify a prefix:</li>
<li>make -f makefile.gnu install prefix=/opt</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.
@@ -707,7 +652,7 @@ 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 neeed/should use an
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?
@@ -732,7 +677,7 @@ Q: Do I need install cygwin to work on ASP.NET in mono or Linux is enough since
A: Linux is enough.
Q: Any plan to make ASP.NET in mono works with Apache in linux?.
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
@@ -755,12 +700,9 @@ Q: In developing the data architecture for the application are there and
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 MS's
implementation. We'll maybe provide extra classes to fix some things
we've found missing while developing ADO.NET in Mono, but if you keep
using the MS's System.Data classes, things will work out of the box with
no changes (or at least that's the plan :-)
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
@@ -771,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;
@@ -790,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:
@@ -813,7 +755,7 @@ 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?
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
@@ -821,15 +763,15 @@ A: No. It is quite far from the philosophy of the project. The idea of Mono
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 OpenSource-JVMs. They
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.
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.
the JavaScript compiler.
<a name="extending"></a>
** Extending Mono
@@ -860,7 +802,7 @@ A: Embracing a good technology is good. Extending technologies in
encourage you to make those classes operate correctly well in both
Mono and .NET.
Q: Is there any way I can develop the class libraries using linux yet?
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).
@@ -868,7 +810,7 @@ A: Yes. Some class libraries can be developed on Linux. Search for
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)
Linux)
A: Yes. Just use two installation prefixes.
@@ -886,7 +828,7 @@ 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.
@@ -896,21 +838,21 @@ 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.
Interpreters exist for the SPARC, PowerPC and StrongARM CPUs.
Q: Does Mono run on Windows?
A: Yes. The Compiler and the runtime both 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: When will mono and mcs compile on Linux?.
Q: Does Mono run on Linux?
A: That happend a long time ago. Know you can download and compile
them or even install them from already made binary packages for
Windows and for Linux (RPM/DEB).
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. While you'll need it to compile it, it runs without cygwin and does not even require cygwin1.dll
A: No. Cygwin is only required to build Mono.
Q: Will Mono depend on GNOME?
@@ -939,7 +881,7 @@ Q: Has anyone succeeded in building a Mac version of the C# environment.
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
should be relatively simple to get it to work on MacOS
<a name="reuse"></a>
** Reusing Existing Code
@@ -986,7 +928,7 @@ 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 behaviour, but no-one has yet volunteered.
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?
@@ -1007,7 +949,7 @@ A: if their license is compatible with mono's, yes, we'd think about porting
<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?
@@ -1073,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?
@@ -1080,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
@@ -1090,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
@@ -1116,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.
@@ -1134,48 +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?
Q: Are there any Boehm's GC binaries?
A: Yes. You can find them <a href="http://java.thn.htu.se/~toor/">here</a>
Q: I have get into trouble when trying to build the site in my Linux box, what
can I do?.
A: Try to change the line "./mono-rss.exe ../index deploy/index.rss" for
"mono ./mono-rss.exe ../index deploy/index.rss"
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 bugzilla:
http://bugzilla.ximian.com/enter_bug.cgi or simply send it to
[email protected].
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 on CVS now supports the same command line
A: The Mono C# compiler now supports the same command line
arguments as the Microsoft C# compiler does.
Q: I am thinking about making a VS.NET solution and include as
projects both the library and the System.Xml.dll project
file: is that the best way (sure at the beginning, when the
compiler was not self hosting, you made something similar...)?
A: Jason and Krall did check in VS.NET files that you can use
to compile our System.XML and even to run the System.XML tests
(which is way cool, and way simple).
Q: How about getting searchable archives on lists.ximian.com?
A: You mean like http://www.go-mono.com/mailing-lists.html?
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: I downloaded the lastest snapshot and did a make and make install on
mono which ran normal but when I tried to do the same with mcs it
errored out with a message saying Mono and Runtime out of sync.
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: You need to compile first the class libraries and install them with your
existing compiler and then the runtime.
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>
+8
View File
@@ -13,6 +13,14 @@ Some of them may start contributing because they want a mention in the
* 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
+445 -32
View File
@@ -5,12 +5,17 @@
<td>
<a href="http://www.ximian.com">Ximian</a> announced the
launch of the Mono project, an effort to create an open source
implementation of the .NET Development Framework.
implementation of the .NET Development Framework.
Mono includes: <a href="c-sharp.html">a compiler</a> for the
C# language, a <a href="runtime.html">runtime</a> for the
Common Language Infrastructure (the CLR) and a set of <a
href="class-library.html">class libraries</a>.
Common Language Infrastructure (also referred as the CLR) and a
set of <a href="class-library.html">class libraries</a>. The
runtime can be <a href="embedded-api.html">embedded</a> into your
application.
Mono has implementations of both <a href="ado-net">ADO.NET</a>
and <a href="asp-net">ASP.NET</a> as part of its distribution.
You can read our <a href="rationale.html">rationale</a> for
this project. If you have questions about the project, please
@@ -32,6 +37,11 @@
</td>
<td>
<table border=1>
<tr>
<td colspan="3">
<b><center>Mono Status</center></b>
</td>
</tr>
<tr>
<td>
<b><a href="c-sharp.html">C# Compiler</a></b>
@@ -55,8 +65,9 @@
</td>
<td>
Working:<br>
Linux/x86, Linux/PPC<br>
In progress: StrongARM, SPARC.
Linux/x86, Linux/PPC, S390<br>
In progress:<br>
StrongARM, SPARC.
</td>
</tr>
<tr>
@@ -64,7 +75,7 @@
<b><a href="class-status.html">Classes</a></b>
</td>
<td>
Corlib is self hosting.
All assemblies compile.
</td>
</tr>
<tr>
@@ -80,16 +91,418 @@
</tr>
</table>
<b>Mono Talks:</b>
@item Dec 9th, 2002: VB.NET, Oracle Provider.
<b>Valencia</b>: August 8th.
Marco has got the Mono Basic compiler up to speed (support for
classes, modules, expressions, object creation, method
invocation, local variables, and some statements). The
compiler is based on the work from Rafael Teixeira on MCS.
<b>Hong Kong:</b> August 10th. If you live in Hong
Kong, come see Duncan Mak talk about the Mono project.
Details are <a
href="http://linux.org.hk/org/event/200208-talk/">here</a>
Screenshots: <a
href="http://modgb.sourceforge.net/monobasic_snap.png">in
Windows doing Windows.Forms</a> and in Linux doing <a
ref="images/gtk-vb.png">VB with Gtk#</a> (courtesy of Alp).
<b>San Francisco</b>: August 14th. Linux World Expo.
Daniel Morgan has checked in his Oracle provider to the CVS
repository as well.
@item Nov 27th, 2002: Press release, tutorials, Windows Forms, ADO.NET, Magazine.
<a
href="http://www.business2.com/articles/mag/0,1640,45454,FF.html">The
Penguin Takes Flight</a>: an article written by Erick
Schonfeld appears on the December issue of <a
href="http://www.business2.com/">Business 2.0</a> magazine.
<a href="http://www.openlinksw.com">OpenLink</a> and <a
href="http://www.ximian.com">Ximian</a> made <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">joint
announcement</a> on the plans of OpenLink to ship their <a
href="http://www.openlinksw.com/virtuoso/index.htm">Virtuoso</a>
server on Unix using Mono.
Martin Willemoes's <a href="gnometutorial">GNOME.NET
tutorial</a> is now available from the main Mono site. This
tutorial is a collaborative effort to teach developers how to
use Mono to create Mono applications using <a href="http://gtk-sharp.sf.net">Gtk#</a>
Dennis Hayes has posted and <a
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003800.html">update</a>
on the work to get Windows.Forms working on Mono. There is a
new test application that people can use to test their
controls. If you are interested in working on Windows.Forms,
you can participate in the <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms
mailing list</a>
Brian Ritchie has been working on an ADO.NET <a
href="http://brianritchie.webhop.net/ideas/adocodegen.aspx">data
layer</a> and an <a
href="http://brianritchie.webhop.net/ideas/appserver.aspx">application
server</a> for Mono.
Dan Morgan has checked in his Oracle provider, and Tim Coleman
continues to work on the TDS implementation of the data classes.
The rest of the team has been working on bug fixing in the
runtime, the compiler, and the class libraries. Also,
compilation speed has increased recently by performing a
number of simple optimizations in the compiler.
@item Nov 19th, 2002: Crypto update; Books; Gtk# Datagrid; .NET ONE Slides
Sebastien has got DSA and RSA signatures <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003497.html">working</a>
as well as RSA <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003502.html">encryption</a>.
We now distribute Chew Keong TAN's BigInteger classes.
Brian has contributed a System.Data multiplexor in Mono, it
can be found in the Mono.Data assembly. The details of this
new technology are <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003400.html">here</a>.
It works in Mono and the .NET Framework.
Larry O'Brien has announced the candidate book for <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003500.html">
Thinking in C#</a>. The book is Mono-friendly.
Another book that covers mono (available in German only) is <a
href="http://www.databecker.de/frames.php?PHPSESSD=4948515556575049525459495248485949485348&PHPSESSID=6cc68dbcfbcbacd7b82a984b0700d5d6&t=2">
here</a>.
Dan Morgan has implemented a DataGrid widget for Gtk#, you can
see Windows screenshots for it <a
href="images/GtkSharpDataGridScreenshot.png">here</a> and <a
href="images/SqlSharpGtkScreenshot4.png">here</a>.
Slides from the Mono developers for the .NET ONE conference are available now:
<ul>
<li><a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/DotNetOneKeynote.sxi">
Mono Keynote presentation</a>
<li><a href="http://primates.ximian.com/~lupus/slides/embed/">Hosting the Mono Runtime</a><br>
The simple embedding of Mono in Perl is available <a
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">here</a>
<li><a href="http://primates.ximian.com/~lupus/slides/jit/">The Mono JIT compiler</a>
<li><a href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">
Mono C# Compiler Overview</a>
</ul>
A couple of other presentations from Miguel's trip to Europe
are available <a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/">here</a>
in Open Office file format.
@item Nov 8th, 2002: Mono s390, Database work, new JIT updates.
Neale Ferguson has contributed <a href="download.html">RPM
packages</a> of Mono for the Linux/s390.
Tim Coleman posted an <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003329.html">update</a>
on the improvements in the System.Data
The new JIT engine can run 72 out of our 154 tests for the
virtual machine, and it also got exception support this week.
@item Nov 1st, 2002: TDS, Crypto, Gtk#, Winforms, bug fixes.
Tim's SqlClient is <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003161.html">now
capable</a> of communicating with the Microsoft SQL server
using the TDS protocol. A screenshot showing a sample client
running with <a href="http://gtk-sharp.sf.net">Gtk#</a> on
Windows is shown <a
href="images/SqlSharpGtkSceenshot3.png">here</a>
Sebastien has made all symetric ciphers functional on all
supported modes; All the classes in Security.Cryptography are
present and the X590 certificates are now in too. Jackson has
been working on the Security classes.
Many bug fixes all over the place: class libraries (Dick,
Piers, Ville, Zoltan, Gonzalo, Dan, Atsushi, Nick, Phillip),
compiler, runtime engine. A big thank goes for everyone who
has been providing bug reports for us to track down.
Gaurav has been working on multiple WebControls. Gonzalo migrated
the ASP.NET engine to use POST for interaction.
In the Gtk# land saw the integration of gda, gnome-db and GStreamer
bindings.
Windows.Forms classes now build on Linux and Windows, check
out the status pages for areas of collaboration.
@item Oct 24th, 2002: S390 support, XSP/ASP.NET, Win32 contributors, TDS.
Today Neal Ferguson's support for the IBM S390 was checked
into CVS.
The XSP processor has been fully integrated into the
System.Web assembly, and Gonzalo has finished the hosting
interfaces in Mono. This means that it is possible to embed
ASP.NET with the same APIs used in Windows, and is possible to
easily embed it with Apache for example. The XSP module has
now become a shell for testing the System.Web classes.
We are looking for contributors that know Win32 to contribute
to the Windows.Forms implementation. If you want to help
write some controls using the Win32 API, get in touch with our new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">[email protected]
list</a> mailing list.
Tim's TDS System.Data set of classes can now talk to SQL
servers using the TDS protocol (version 4.2) with
connection pooling. Currently it can connect, run
transactions, update/insert/delete, and read some types. A
data adapter is also coming soon.
@item Oct 21th, 2002: Crypto, Winforms list, Database, GConf, Debugger.
Sebastien Poliot has made a lot of progress, he reports that
DES and TripleDES have been fixed; Rijndael and CFB modes
still have problems in some configurations and some areas that
are not supported by the .NET framework.
Last week we created a new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
list</a> to discuss the Mono Winforms implementation.
Tim has started a full C# implementation of the TDS protocol
and the providers, and Brian continues his work on his ODBC
binding.
Rachel Hestilow has also checked in a binding for GConf. This
binding <a
href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">is
unique</a> in that it uses some features in the CLI to support
complex data types, and allows the user to keep only one
representation of the types instead of two (the master types
is defined in CLI-land). Also Property Editors (<a
href="http://primates.ximian.com/~miguel/shots/gconf-shot.png">shot</a>)
simplify the creation of user interfaces that bind their
configuration to backend keys, following the <a
href="http://developer.gnome.org/projects/gup/hig/1.0/">GNOME
Human Interface Guidelines.</a>
Martin is now on vacation, but before leaving he produced a
number of documents detailing the state of the debugger. The
major missing feature is full support for debugging unmanaged
applications (it requires dwarf-2 handlers for types). We
will do some polishing of the user interface (<a
href="http://primates.ximian.com/~miguel/shots/debugger-4.png">new
shot</a>) to expose the existing and rich functionality to the
users and try to release a preview of the debugger at the same
time as Mono 0.17.
@item Oct 14th, 2002: Crypto, Database work, Debugger, Documentation.
Brian, Daniel and Rodrigo have been busy working on the ODBC
provider for Mono. Daniel posted some <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002755.html">updates</a>.
Brian posted <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002758.html">details
about the ODBC.NET</a> provider.
Also Sebastien Pouliot has been improving the various
cryptographic classes in Mono, something that we had not done
in quite some time. We are looking for a way to handle
big-nums. We need either a managed or unmanaged set of
classes for handling large numbers, and some volunteers to
expose this functionality to C# (Either as an internal
assembly, or as a set of P/Invoke, Internal call wrappers).
Martin has got our debugger to support adding breakpoints at
file/line combos. This was more complex than generic
breakpoints in routines, because these breakpoints are set on
routines that probably have not been JITed just yet. Martin's
focus now is on stabilizing our debugger and aim for a public
release of it.
We have also imported the ECMA documentation into a separate
module, and with the help from Scott Bronson we will have the
necessary XSLT tools to finish our native documentation
browser for Mono. This together with the work from Adam will
be the foundation for the <a href="classlib-doc.html">Mono
Documentation Tools</a>.
@item Oct 9th, 2002: Various Mono updates.
Brian Ritchie, Daniel Morgan, Rodrigo Moya and Ville Palo have
been working on various database providers. The MySQL has
seen a lot of work, and a new ODBC provider is now on CVS and
more extensive regression tests have been checked in.
Dick Porter is our background hero and keeps fixing the
low-level bugs in the portability layer. Now the Mono handle
daemon should be a lot more robust and will no longer leave IPC
regions. Gonzalo Paniagua has initiated the migration of XSP
into the System.Web class libraries now that we have a
complete HttpRuntime implementation. This means that you are
able to embed the ASP.NET processor into any web server you
want. This also includes support for the system-wide
configuration file `machine.config'.
Martin Baulig has been busy with the Mono Debugger, you can see how
it looks <a
href="http://primates.ximian.com/~miguel/debugger-1.png">here</a>
and <a
href="http://primates.ximian.com/~miguel/debugger-2.png">here</a>.
Now local variables and breakpoints are supported, and we are
working on the UI elements to simplify their use (as seen on
the screenshot).
<a href="http://gtk-sharp.sf.net">Gtk#</a> has seen a lot of
activity specially as we start to build larger applications.
Vladimir Vukicevic, Kristian Rietveld, Rachel Hestilow, Mike
Kestner and Miguel de Icaza have been busy improving it.
mPhoto which is a Photo management application for Mono and
Gtk# is seen <a
href="http://primates.ximian.com/~miguel/shots/mphoto-2.jpg">here</a>.
Chris Toshok the man behind LDAP in Evolution continues to
work on the Mono.LDAP# implementation.
Dietmar Maurer and Paolo Molaro are still busy working on our
new optimized JIT/ATC engine and are making great progress.
The code base has been designed to ease the implementation of
more advanced compiler optimizations, and optimizations can be
chosen individually so they can be tuned for a particular
processor, or use profile-based information to improve the
performance.
@item Oct 1st, 2002: Mono 0.16 released; Debugger updates.
Mono 0.16 has been released. Source and RPMs are <a
href="download.html">available</a>. The release notes are <a
href="archive/mono-0.16">here</a>.
Martin's debugger can debug both managed and unmanaged code.
Recently Martin added support for locals, parameters, and
breakpoints on top of the existing infrastructure (his
debugger supported instruction-level and source-code level
single-stepping).
@item Sep 19th, 2002: Mono Survey.
Help us plan for the future of Mono by filing out the <a
href="http://primates.ximian.com/~miguel/monosurvey">First Mono
Survey</a>
@item Sep 17th, 2002: Mono Hackers Hall of Fame: Sergey Chaban
The <a href="hackers.html">Mono Hackers Hall Of Fame</a>
continues to show our appreciation to the excellent
contributors that made <b>mono::</b> a successful free
software project.
This time the Hall of Fame welcomes Sergey Chaban. Sergey has
been a long time contributor to the project, from the early
work on the class libraries that were critical to Mono's
origin: every time you use a Hashtable in Mono, it runs
Sergey's code, to the low-level optimizations on the JIT
engine and to his work on ILASM and the PEToolkit.
@item Sep 16th, 2002: Documentation Tools, ILASM, Debugger, Mono LDAP, Winforms
Adam Treat has started moving the documentation universe again. We
have a new strategy to document our APIs (given that we have
chosen <a href="classlib-doc.html">not to document the code
inline</a>). This includes the use of a master reference file
that will hold the entry points to document. All master files
for our assemblies have been checked into CVS now.
Sergey Chaban's Mono.PEToolkit and ILASM tools have been
checked into CVS. Although ILASM is old and will soon be
updated, we wanted to get the build issues sorted out.
Martin Baulig's Mono Debugger is still on its early stages,
but you can run and run step by step your C# code and C code
(including the Mono runtime). Dwarf-2 is required to compile
your code. The regular step, step-into, and assembly-level
step and step-into are supported. And comes with a Gtk#
UI. The debugger is written mostly in C# with some C glue
code. Most of the work is on the engine, we will be working
on making a good UI in the future.
Chris Toshok of the Hungry Programmer's fame has checked in
Mono.Directory.LDAP, a C# wrapper for the LDAP libraries.
This is the substrate for implementing the
System.DirectoryServices assembly.
Andrew has also continued with some of the cryptographic
classes implementation.
After much public debate, we have chosen a new <a
href="winforms.html">strategy to implement winforms</a>.
Implementing a Gtk, Qt or Aqua based version of Winforms was
going to be almost as complex as implementing Wine itself. So
the new strategy is to only roll out a WineLib-based
implementation.
@item Sep 4th, 2002: .NET One 2002 Program available
The <a
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
ONE 2002</a> conference in Frankfurt is now available. Paolo
will be talking about the Mono JIT and embedding the Mono
runtime in your Windows and Linux applications. Mike Kestner
will talk about <a href="http://gtk-sharp.sf.net">Gtk#</a> and
the automatic binding generator used by Gtk# and Miguel will
be talking about the Mono project on Monday's keynote and on
the Mono C# compiler on Tuesday.
@item Sep 3rd, 2002: Apache integration
<a
href="http://lists.ximian.com/archives/public/mono-list/2002-September/001862.html">Sterling</a>
announced an Apache module that hosts
Mono, and allows CIL code to run from within Apache, giving the
module access to the Apache runtime. This uses the Mono embedding
API.
@item Aug 24th, 2002: Gtk# 0.4 released
Shortly after <a href="download.html">Mono 0.15</a> was
released a fresh version of <a
href="http://gtk-sharp.sf.net">Gtk#</a> was <a
href="http://lists.ximian.com/archives/public/mono-list/2002-August/001702.html">announced</a>.
@item Aug 23rd, 2002: Mono 0.15 released
Mono 0.15 has been released. Source and RPMs are <a
href="download.html">available</a>. The release notes are <a
href="archive/mono-0.15">here</a>
@item Aug 21th, 2002: Portable.NET encodings integrated into Mono.
Rhys Weatherley has contributed the Portable.NET encoders to
the Mono class libraries. This is a great step towards
cooperation between these projects. Thanks to Paolo for doing the
merger on our side.
His encoders are more complete than the iconv-based approach
that mono used, which was unreliable under certain
circumstances.
@item Aug 20th, 2002: Remoting work, Resources, SPARC checkins, ADO.NET
Mark Crichton has checked in his patches to get the SPARC port
on par with the PPC port.
Dick has checked-in the resource reader and resource writers
to the class libraries, and Dietmar checked in the C# support
code for the remoting infrastructure.
More work on System.Data: the LibGDA (our OleDB backend) based
providers are quickly maturing, and recently they executed
their first query.
@item Aug 13th, 2002: MCS news, Gtk# progress, Windows.Forms, ADO.NET
@@ -179,7 +592,7 @@
an update</a> on the ASP.NET widgets that are still pending. Patrik is back, and he is
working with Gonzalo to streamline the pipeline
Rachel quietly commited to Gtk-Sharp support for marshaling
Rachel quietly committed to Gtk-Sharp support for marshaling
structures (very important for Gtk#). This uses extensively
the new marshaling code that Dietmar added to the runtime.
@@ -222,7 +635,7 @@
@item Jul 20th, 2002: Spanish Mono Tutorial.
A spanish tutorial on using Mono is <a
A Spanish tutorial on using Mono is <a
href="http://mono.es.gnome.org/tutoriales/mono-linux/">here</a>.
Also the <a
href="http://mono.es.gnome.org/tutoriales/mono-puf/">FAQ</a>
@@ -261,7 +674,7 @@
Sergey Chaban has got Gtk# working on Windows, you can see
some screenshots: <a href="sshots/Gtksharp-1.jpg">sample apps</a> and
<a href="sshots/Gtksharp-2.jpg">running with a russian charset</a>.
<a href="sshots/Gtksharp-2.jpg">running with a Russian charset</a>.
@item Jul 16th, 2002
@@ -293,7 +706,7 @@
run the compiler on Linux.
* Martin fixed the remaining bugs in the compiler that stopped it from
compiling the `corlib'. The resuling image still contained errors though.
compiling the `corlib'. The resulting image still contained errors though.
* On July 8th, Radek got the PowerPC port to bootstrap
the C# compiler. This is important, because it exposed
@@ -441,11 +854,11 @@
bindings, that should simplify application development.
A big thanks goes to Dennis Hayes for getting the
Windows.Forms work together, and commiting so many stubs for Windows.Forms.
Windows.Forms work together, and committing so many stubs for Windows.Forms.
@item Jun 25, 2002
I am updating the Mono site from the Unesco offices in
I am updating the Mono site from the UNESCO offices in
Uruguay, the <a href="http://www.gnome.org/resources/calendar/roadshow/GNOMEenelSur.html">South-America trip</a>
to promote free software is going very well.
@@ -487,7 +900,7 @@
@item Jun 22, 2002
Mono's ASP.NET has rendered its first page on Linxu for the
Mono's ASP.NET has rendered its first page on Linux for the
first time (Gonzalo and Paolo).
Also, we are getting close to
@@ -611,7 +1024,7 @@
Lawrence has been working really hard in fixing, improving and
polishing the underlying network infrastructure.
The Rafael and Chris have commited the beginning of the
The Rafael and Chris have committed the beginning of the
VisualBasic.NET runtime support to CVS.
Jesus has contributed the beginning of the SoapFormatter
@@ -646,7 +1059,7 @@
This is another milestone for our <a
href="ado-net.html">ADO.NET implementation plans</a>
We have a little surprise for everyone tracking the news on tuesday ;-)
We have a little surprise for everyone tracking the news on Tuesday ;-)
@item May 2nd, 2002
@@ -868,7 +1281,7 @@
We are very close to have a complete self hosting environment now.
Mono is temporarly using the Bohem GC garbage collector while
Mono is temporarily using the Bohem GC garbage collector while
we deploy the more advanced ORP one.
@item Mar 5, 2002
@@ -986,7 +1399,7 @@
AppDomains have been deployed (Dietmar). Socket work is done
(Dick). Corlib compiled with no refs to mscorlib (Dan). New
comprehensive tests for colib bits (David). Nick is driving the
comprehensive tests for corlib bits (David). Nick is driving the
regression test suite efforts and class library completeness.
New System.Data work (Chris). Bug fixes (Paolo, Duncan, Ravi, Miguel)
@@ -1121,7 +1534,7 @@
here</a>
Last minute breaking news: Paolo got our compiler in Linux to
compile fib.cs, patches are comming tomorrow once we have
compile fib.cs, patches are coming tomorrow once we have
ChangeLog entries.
@item Jan 4, 2002
@@ -1300,7 +1713,7 @@
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2001-November/000013.html">
update</a> on his work on Gtk#.
Ravi commited the initial support for Attributes in the
Ravi committed the initial support for Attributes in the
compiler.
Many HTML Controls from Leen checked into CVS.
@@ -1317,7 +1730,7 @@
<blockquote>
Many clean ups have been going into the class library by Nick Drochak.
Mega patch from Dietmar: he commited the flow analysis code
Mega patch from Dietmar: he committed the flow analysis code
for the JITer.
A lot of work has been going into the WebControls by Gaurav (4
@@ -1327,7 +1740,7 @@
@item Nov 1, 2001
<blockquote>
Ravi commited the caller-side method selection of methods with
Ravi committed the caller-side method selection of methods with
variable length arguments. Now he depends on Miguel finishing
the array handling support.
</blockquote>
@@ -1335,7 +1748,7 @@
@item Oct 27, 2001
<blockquote>
Lots of classes for System.Web from Gaurav were commited this
Lots of classes for System.Web from Gaurav were committed this
morning.
Some large recent developments:
@@ -1344,7 +1757,7 @@
partially integrated (we need to put the internalcalls in
place now and compile and link the decimal code).
Derek Holden commited recently the IntegerFormatter code into
Derek Holden committed recently the IntegerFormatter code into
the CVS, so we got a pretty comprehensive integer formatting
engine that we can finally use all over the place.
@@ -1459,7 +1872,7 @@
<blockquote>
Paolo has written a section on <a href="porting.html">Porting
Mono</a> to othre architectures.
Mono</a> to other architectures.
</blockquote>
@item Sep 18, 2001
@@ -1513,7 +1926,7 @@
<b>.NET Hello World is working under Mono!</b> The latest snapshots
will let you run it.
Hello World consits of 1821 CIL instructions,
Hello World consists of 1821 CIL instructions,
performs 66 subroutine calls and loads 12 classes from the corlib.dll
Good work Mono team!
+4
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.
+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 ()
+12 -5
View File
@@ -14,7 +14,7 @@
<ul>
* <a href="#JavaScript">Java Script</a>
* <a href="java.html">Java</a>
* <a href="#java.html">Java</a>
* <a href="#c">C</a>
</ul>
@@ -24,6 +24,13 @@
* <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
@@ -101,10 +108,10 @@
Ideally GCC could be modified to generate CIL, but it is a
big task. That would give us various compilers in one pass.
Rumor is that the next version of the LCC compiler will
include an IL backend. We do not know how extensive the support
for integration with .NET will be, but it would be an interesting
excercise to add an extension to C to call into .NET code.
<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.
+9
View File
@@ -71,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:
+34 -6
View File
@@ -1,9 +1,37 @@
* Mono for beginners
Hinne Hettema has provided us a beautiful and complete
document on how to obtain, install and test Mono on
a Linux system.
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.
You can <a href="mono-beginning/t1.html">Read it online</a>,
download a <a href="mono-beginning.pdf">PDF</a> version, or get the
<a href="mono-beginning.xml">source code</a> for it.
+51 -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,6 +48,18 @@ 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}
@@ -49,8 +67,7 @@ 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
@@ -61,15 +78,17 @@ fi
# 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
@@ -96,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
@@ -110,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 ""
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.
+12
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>
@@ -144,6 +152,10 @@
* 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
+17 -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, July 8th, 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
@@ -102,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>
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
+21 -8
View File
@@ -2,16 +2,23 @@
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.Drawing,class-status-System.Drawing.html,class-status-System.Drawing.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,System.Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.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,Status,status.html,status.src
0,Download,download.html,download.src
@@ -29,7 +36,15 @@
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
@@ -41,6 +56,4 @@
1,Papers,papers.html,papers.src
1,Languages,languages.html,languages.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
0,Contact,contact.html,contact.src
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

+66 -62
View File
@@ -3,58 +3,75 @@ 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.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-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/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 \
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
@@ -65,9 +82,6 @@ all: $(OBJECTS) deploy/index.rss
tutorial: mono-beginning.html.stamp mono-beginning.pdf
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
tutorial-windows: mono-beginning-windows.html.stamp mono-beginning-windows.pdf
cp -a mono-beginning-windows.xml mono-beginning-windows.pdf deploy
mono-beginning.html.stamp: mono-beginning.xml
db2html mono-beginning.xml
touch mono-beginning.html.stamp
@@ -78,16 +92,6 @@ mono-beginning.pdf: mono-beginning.xml
mono-beginning.xml: ../mono-beginning.xml
cp ../mono-beginning.xml .
mono-beginning-windows.html.stamp: mono-beginning-windows.xml
db2html mono-beginning-windows.xml
touch mono-beginning-windows.html.stamp
mono-beginning-windows.pdf: mono-beginning-windows.xml
db2pdf mono-beginning-windows.xml
mono-beginning-windows.xml: ../mono-beginning-windows.xml
cp ../mono-beginning-windows.xml .
deploy/index.rss: mono-rss.exe ../index
./mono-rss.exe ../index deploy/index.rss
+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;
+4 -3
View File
@@ -2,10 +2,11 @@
<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; }
@@ -27,7 +28,7 @@
a.navi2:visited { color: #cccccc; }
a.navi2:hover { color: #ee9900; text-decoration: underline; }
// -->
// -->
</style>
#CSS#
#SCRIPT#
@@ -38,7 +39,7 @@
<tr>
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
<td colspan="4">
<a href="http://www.go-mono.com"><img src="images/mono.gif"
<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>
+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.
+7 -1
View File
@@ -55,7 +55,7 @@
MonoAssembly *assembly;
assembly = mono_domain_assembly_open ("file.dll");
assembly = mono_domain_assembly_open (domain, "file.dll");
if (!assembly)
error ();
@@ -80,6 +80,12 @@
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
+38
View File
@@ -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.
+1 -1
View File
@@ -1,4 +1,4 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharpcli.1
EXTRA_DIST = $(man_MANS)
+29 -11
View File
@@ -44,6 +44,14 @@ the math operations checked (the default is unchecked).
Sets the default compilation mode to `unchecked'. This makes all
the math operations unchecked (this is the default).
.TP
.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,
@@ -51,11 +59,19 @@ or can be used by methods that have been tagged with the Conditional
attribute.
.TP
.I \-debug, \-debug+, \-g
Generate debugging information.
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.
@@ -90,15 +106,14 @@ Names the output file to be generated.
.I \-\-parse
Used for benchmarking. The compiler will only parse its input files.
.TP
.I \-\-probe X L
Probes for the code to generate an error named `X' in line `L'. This
is only used by the test suite.
.TP
.I /resource:RESOURCE
Embeds to the given resource file.
.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 /linkresource:RESOURCE
Links to the given resource file.
.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
@@ -126,11 +141,14 @@ Treat warnings as errors.
Sets the warning level. 0 is the lowest warning level, and 4 is the
highest. The default is 2.
.TP
.I -r:ASSEMBLY, \-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.
+12 -11
View File
@@ -42,6 +42,7 @@ 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:
@@ -67,7 +68,7 @@ the method will be compiled a thousand times.
The following options are used to debug a JITed application. They're
only useful when running the JIT in a debugger:
.TP
.I "--debug=[format]"
.I "--debug"
Writes out debug information in the given format or in the default format.
See DEBUGGING FORMATS for details.
.TP
@@ -77,7 +78,8 @@ See DEBUGGING FORMATS for details.
.TP
.I "--break method"
Inserts a breakpoint before the method whose name is `method'
(namespace.class:methodname).
(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)
@@ -95,12 +97,9 @@ Writes out stabs debug information.
.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.
.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
@@ -130,10 +129,12 @@ behaviour.
Update the *.il files if their assemblies have changed, but only if the
file already exists.
.PP
The "dwarf-plus" format supports the following options:
.SH ENVIRONMENT VARIABLES
.TP
.I "dont_fallback"
Don't fallback to normal dwarf2 if the symbol file cannot be found.
.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
On Unix assemblies are loaded from the installation lib directory. If you set
+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
+1
View File
@@ -1,6 +1,7 @@
C# Compiler:
Miguel de Icaza ([email protected])
Ravi Pratap ([email protected])
Martin Baulig ([email protected])
Class Libraries:
Patrik Torstensson <[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.
+93
View File
@@ -1,3 +1,96 @@
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
-53
View File
@@ -1,53 +0,0 @@
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.
+58
View File
@@ -21,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.
}
View File
Whitespace-only changes.
+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;
}
}
}
+3
View File
@@ -0,0 +1,3 @@
Microsoft.CSharp/Compiler.cs
Microsoft.CSharp/CompilerError.cs
Microsoft.CSharp/TODOAttribute.cs
+15
View File
@@ -0,0 +1,15 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Cscompmgd.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r System
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+5
View File
@@ -0,0 +1,5 @@
Makefile
Makefile.in
.deps
*.dll
I18N-handlers.def
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
+849
View File
@@ -0,0 +1,849 @@
/*
* CP932.cs - Japanese (Shift-JIS) code page.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.CJK
{
using System;
using System.Text;
using I18N.Common;
public unsafe class CP932 : Encoding
{
// Magic number used by Windows for the Shift-JIS code page.
private const int SHIFTJIS_CODE_PAGE = 932;
// Internal state.
private JISConvert convert;
// Constructor.
public CP932() : base(SHIFTJIS_CODE_PAGE)
{
// Load the JIS conversion tables.
convert = JISConvert.Convert;
}
// Get the number of bytes needed to encode a character buffer.
public override int GetByteCount(char[] chars, int index, int count)
{
// Validate the parameters.
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(index < 0 || index > chars.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (chars.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
// Determine the length of the final output.
int length = 0;
int ch, value;
#if __PNET__
byte *cjkToJis = convert.cjkToJis;
byte *extraToJis = convert.extraToJis;
#else
byte[] cjkToJis = convert.cjkToJis;
byte[] extraToJis = convert.extraToJis;
#endif
while(count > 0)
{
ch = chars[index++];
--count;
++length;
if(ch < 0x0080)
{
// Character maps to itself.
continue;
}
else if(ch < 0x0100)
{
// Check for special Latin 1 characters that
// can be mapped to double-byte code points.
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
ch == 0x00D7 || ch == 0x00F7)
{
++length;
}
}
else if(ch >= 0x0391 && ch <= 0x0451)
{
// Greek subset characters.
++length;
}
else if(ch >= 0x2010 && ch <= 0x9FA5)
{
// This range contains the bulk of the CJK set.
value = (ch - 0x2010) * 2;
value = ((int)(cjkToJis[value])) |
(((int)(cjkToJis[value + 1])) << 8);
if(value >= 0x0100)
{
++length;
}
}
else if(ch >= 0xFF01 && ch <= 0xFFEF)
{
// This range contains extra characters,
// including half-width katakana.
value = (ch - 0xFF01) * 2;
value = ((int)(extraToJis[value])) |
(((int)(extraToJis[value + 1])) << 8);
if(value >= 0x0100)
{
++length;
}
}
}
// Return the length to the caller.
return length;
}
// Get the bytes that result from encoding a character buffer.
public override int GetBytes(char[] chars, int charIndex, int charCount,
byte[] bytes, int byteIndex)
{
// Validate the parameters.
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(charIndex < 0 || charIndex > chars.Length)
{
throw new ArgumentOutOfRangeException
("charIndex", Strings.GetString("ArgRange_Array"));
}
if(charCount < 0 || charCount > (chars.Length - charIndex))
{
throw new ArgumentOutOfRangeException
("charCount", Strings.GetString("ArgRange_Array"));
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
// Convert the characters into their byte form.
int posn = byteIndex;
int byteLength = bytes.Length;
int ch, value;
#if __PNET__
byte *cjkToJis = convert.cjkToJis;
byte *greekToJis = convert.greekToJis;
byte *extraToJis = convert.extraToJis;
#else
byte[] cjkToJis = convert.cjkToJis;
byte[] greekToJis = convert.greekToJis;
byte[] extraToJis = convert.extraToJis;
#endif
while(charCount > 0)
{
ch = chars[charIndex++];
--charCount;
if(posn >= byteLength)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"),
"bytes");
}
if(ch < 0x0080)
{
// Character maps to itself.
bytes[posn++] = (byte)ch;
continue;
}
else if(ch < 0x0100)
{
// Check for special Latin 1 characters that
// can be mapped to double-byte code points.
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
ch == 0x00D7 || ch == 0x00F7)
{
if((posn + 1) >= byteLength)
{
throw new ArgumentException
(Strings.GetString
("Arg_InsufficientSpace"), "bytes");
}
switch(ch)
{
case 0x00A2:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x91;
break;
case 0x00A3:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x92;
break;
case 0x00A7:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x98;
break;
case 0x00A8:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x4E;
break;
case 0x00AC:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0xCA;
break;
case 0x00B0:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x8B;
break;
case 0x00B1:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x7D;
break;
case 0x00B4:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x4C;
break;
case 0x00B6:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0xF7;
break;
case 0x00D7:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x7E;
break;
case 0x00F7:
bytes[posn++] = (byte)0x81;
bytes[posn++] = (byte)0x80;
break;
}
}
else if(ch == 0x00A5)
{
// Yen sign.
bytes[posn++] = (byte)0x5C;
}
else
{
// Invalid character.
bytes[posn++] = (byte)'?';
}
continue;
}
else if(ch >= 0x0391 && ch <= 0x0451)
{
// Greek subset characters.
value = (ch - 0x0391) * 2;
value = ((int)(greekToJis[value])) |
(((int)(greekToJis[value + 1])) << 8);
}
else if(ch >= 0x2010 && ch <= 0x9FA5)
{
// This range contains the bulk of the CJK set.
value = (ch - 0x2010) * 2;
value = ((int)(cjkToJis[value])) |
(((int)(cjkToJis[value + 1])) << 8);
}
else if(ch >= 0xFF01 && ch <= 0xFFEF)
{
// This range contains extra characters,
// including half-width katakana.
value = (ch - 0xFF01) * 2;
value = ((int)(extraToJis[value])) |
(((int)(extraToJis[value + 1])) << 8);
}
else
{
// Invalid character.
value = 0;
}
if(value == 0)
{
bytes[posn++] = (byte)'?';
}
else if(value < 0x0100)
{
bytes[posn++] = (byte)value;
}
else if((posn + 1) >= byteLength)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"),
"bytes");
}
else if(value < 0x8000)
{
// JIS X 0208 character.
value -= 0x0100;
ch = (value / 0xBC);
value = (value % 0xBC) + 0x40;
if(value >= 0x7F)
{
++value;
}
if(ch < (0x9F - 0x80))
{
bytes[posn++] = (byte)(ch + 0x81);
}
else
{
bytes[posn++] = (byte)(ch - (0x9F - 0x80) + 0xE0);
}
bytes[posn++] = (byte)value;
}
else
{
// JIS X 0212 character, which Shift-JIS doesn't
// support, but we've already allocated two slots.
bytes[posn++] = (byte)'?';
bytes[posn++] = (byte)'?';
}
}
// Return the final length to the caller.
return posn - byteIndex;
}
// Get the number of characters needed to decode a byte buffer.
public override int GetCharCount(byte[] bytes, int index, int count)
{
// Validate the parameters.
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(index < 0 || index > bytes.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (bytes.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
// Determine the total length of the converted string.
int length = 0;
int byteval;
while(count > 0)
{
byteval = bytes[index++];
--count;
++length;
if(byteval < 0x80)
{
// Ordinary ASCII/Latin1 character, or the
// single-byte Yen or overline signs.
continue;
}
else if(byteval >= 0xA1 && byteval <= 0xDF)
{
// Half-width katakana.
continue;
}
else if(byteval < 0x81 ||
(byteval > 0x9F && byteval < 0xE0) ||
byteval > 0xEF)
{
// Invalid first byte.
continue;
}
if(count == 0)
{
// Missing second byte.
continue;
}
++index;
--count;
}
// Return the total length.
return length;
}
// Get the characters that result from decoding a byte buffer.
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
char[] chars, int charIndex)
{
// Validate the parameters.
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
{
throw new ArgumentOutOfRangeException
("byteCount", Strings.GetString("ArgRange_Array"));
}
if(charIndex < 0 || charIndex > chars.Length)
{
throw new ArgumentOutOfRangeException
("charIndex", Strings.GetString("ArgRange_Array"));
}
// Determine the total length of the converted string.
int charLength = chars.Length;
int posn = charIndex;
int length = 0;
int byteval, value;
#if __PNET__
byte *table = convert.jisx0208ToUnicode;
#else
byte[] table = convert.jisx0208ToUnicode;
#endif
while(byteCount > 0)
{
byteval = bytes[byteIndex++];
--byteCount;
++length;
if(posn >= charLength)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"),
"chars");
}
if(byteval == 0x5C)
{
// Yen sign.
chars[posn++] = '\u00A5';
continue;
}
else if(byteval == 0x7E)
{
// Overline symbol.
chars[posn++] = '\u203E';
continue;
}
else if(byteval < 0x80)
{
// Ordinary ASCII/Latin1 character.
chars[posn++] = (char)byteval;
continue;
}
else if(byteval >= 0xA1 && byteval <= 0xDF)
{
// Half-width katakana.
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
continue;
}
else if(byteval >= 0x81 && byteval <= 0x9F)
{
value = (byteval - 0x81) * 0xBC;
}
else if(byteval >= 0xE0 && byteval <= 0xEF)
{
value = (byteval - 0xE0 + (0xA0 - 0x81)) * 0xBC;
}
else
{
// Invalid first byte.
chars[posn++] = '?';
continue;
}
if(byteCount == 0)
{
// Missing second byte.
chars[posn++] = '?';
continue;
}
byteval = bytes[byteIndex++];
--byteCount;
if(byteval >= 0x40 && byteval <= 0x7E)
{
value += (byteval - 0x40);
}
else if(byteval >= 0x80 && byteval <= 0xFC)
{
value += (byteval - 0x80 + 0x3F);
}
else
{
// Invalid second byte.
chars[posn++] = '?';
continue;
}
value *= 2;
value = ((int)(table[value])) |
(((int)(table[value + 1])) << 8);
if(value != 0)
{
chars[posn++] = (char)value;
}
else
{
chars[posn++] = '?';
}
}
// Return the total length.
return posn - charIndex;
}
// Get the maximum number of bytes needed to encode a
// specified number of characters.
public override int GetMaxByteCount(int charCount)
{
if(charCount < 0)
{
throw new ArgumentOutOfRangeException
("charCount",
Strings.GetString("ArgRange_NonNegative"));
}
return charCount * 2;
}
// Get the maximum number of characters needed to decode a
// specified number of bytes.
public override int GetMaxCharCount(int byteCount)
{
if(byteCount < 0)
{
throw new ArgumentOutOfRangeException
("byteCount",
Strings.GetString("ArgRange_NonNegative"));
}
return byteCount;
}
// Get a decoder that handles a rolling Shift-JIS state.
public override Decoder GetDecoder()
{
return new CP932Decoder(convert);
}
#if !ECMA_COMPAT
// Get the mail body name for this encoding.
public override String BodyName
{
get
{
return "iso-2022-jp";
}
}
// Get the human-readable name for this encoding.
public override String EncodingName
{
get
{
return "Japanese (Shift-JIS)";
}
}
// Get the mail agent header name for this encoding.
public override String HeaderName
{
get
{
return "iso-2022-jp";
}
}
// Determine if this encoding can be displayed in a Web browser.
public override bool IsBrowserDisplay
{
get
{
return true;
}
}
// Determine if this encoding can be saved from a Web browser.
public override bool IsBrowserSave
{
get
{
return true;
}
}
// Determine if this encoding can be displayed in a mail/news agent.
public override bool IsMailNewsDisplay
{
get
{
return true;
}
}
// Determine if this encoding can be saved from a mail/news agent.
public override bool IsMailNewsSave
{
get
{
return true;
}
}
// Get the IANA-preferred Web name for this encoding.
public override String WebName
{
get
{
return "shift_jis";
}
}
// Get the Windows code page represented by this object.
public override int WindowsCodePage
{
get
{
return SHIFTJIS_CODE_PAGE;
}
}
#endif // !ECMA_COMPAT
// Decoder that handles a rolling Shift-JIS state.
private sealed class CP932Decoder : Decoder
{
private JISConvert convert;
private int lastByte;
// Constructor.
public CP932Decoder(JISConvert convert)
{
this.convert = convert;
this.lastByte = 0;
}
// Override inherited methods.
public override int GetCharCount(byte[] bytes, int index, int count)
{
// Validate the parameters.
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(index < 0 || index > bytes.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (bytes.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
// Determine the total length of the converted string.
int length = 0;
int byteval;
int last = lastByte;
while(count > 0)
{
byteval = bytes[index++];
--count;
if(last == 0)
{
if((byteval >= 0x81 && byteval <= 0x9F) ||
(byteval >= 0xE0 && byteval <= 0xEF))
{
// First byte in a double-byte sequence.
last = byteval;
}
++length;
}
else
{
// Second byte in a double-byte sequence.
last = 0;
}
}
// Return the total length.
return length;
}
public override int GetChars(byte[] bytes, int byteIndex,
int byteCount, char[] chars,
int charIndex)
{
// Validate the parameters.
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
{
throw new ArgumentOutOfRangeException
("byteCount", Strings.GetString("ArgRange_Array"));
}
if(charIndex < 0 || charIndex > chars.Length)
{
throw new ArgumentOutOfRangeException
("charIndex", Strings.GetString("ArgRange_Array"));
}
// Decode the bytes in the buffer.
int posn = charIndex;
int charLength = chars.Length;
int byteval, value;
int last = lastByte;
#if __PNET__
byte *table = convert.jisx0208ToUnicode;
#else
byte[] table = convert.jisx0208ToUnicode;
#endif
while(byteCount > 0)
{
byteval = bytes[byteIndex++];
--byteCount;
if(last == 0)
{
if(posn >= charLength)
{
throw new ArgumentException
(Strings.GetString
("Arg_InsufficientSpace"), "chars");
}
if((byteval >= 0x81 && byteval <= 0x9F) ||
(byteval >= 0xE0 && byteval <= 0xEF))
{
// First byte in a double-byte sequence.
last = byteval;
}
else if(byteval == 0x5C)
{
// Yen sign.
chars[posn++] ='\u00A5';
}
else if(byteval == 0x7E)
{
// Overline symbol.
chars[posn++] ='\u203E';
}
else if(byteval < 0x80)
{
// Ordinary ASCII/Latin1 character.
chars[posn++] = (char)byteval;
}
else if(byteval >= 0xA1 && byteval <= 0xDF)
{
// Half-width katakana character.
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
}
else
{
// Invalid first byte.
chars[posn++] = '?';
}
}
else
{
// Second byte in a double-byte sequence.
if(last >= 0x81 && last <= 0x9F)
{
value = (last - 0x81) * 0xBC;
}
else
{
value = (last - 0xE0 + (0xA0 - 0x81)) * 0xBC;
}
last = 0;
if(byteval >= 0x40 && byteval <= 0x7E)
{
value += (byteval - 0x40);
}
else if(byteval >= 0x80 && byteval <= 0xFC)
{
value += (byteval - 0x80 + 0x3F);
}
else
{
// Invalid second byte.
chars[posn++] = '?';
continue;
}
value *= 2;
value = ((int)(table[value])) |
(((int)(table[value + 1])) << 8);
if(value != 0)
{
chars[posn++] = (char)value;
}
else
{
chars[posn++] = '?';
}
}
}
lastByte = last;
// Return the final length to the caller.
return posn - charIndex;
}
} // class CP932Decoder
}; // class CP932
public class ENCshift_jis : CP932
{
public ENCshift_jis() : base() {}
}; // class ENCshift_jis
}; // namespace I18N.CJK
+143
View File
@@ -0,0 +1,143 @@
/*
* CodeTable.cs - Implementation of the "System.Text.CodeTable" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.CJK
{
using System;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using I18N.Common;
// This class assists encoding classes for the large CJK character
// sets by providing pointer access to table data in the resource
// section of the current assembly.
//
// Code tables are named by their resource (e.g. "jis.table") and
// contain one or more sections. Each section has an 8-byte header,
// consisting of a 32-bit section number and a 32-bit section length.
// The alignment of the data in the table is not guaranteed.
internal unsafe sealed class CodeTable : IDisposable
{
// Internal state.
private Stream stream;
// Load a code table from the resource section of this assembly.
public CodeTable(String name)
{
stream = (Assembly.GetExecutingAssembly()
.GetManifestResourceStream(name));
if(stream == null)
{
throw new NotSupportedException
(String.Format
(Strings.GetString("NotSupp_MissingCodeTable"),
name));
}
}
// Implement the IDisposable interface.
public void Dispose()
{
if(stream != null)
{
stream.Close();
stream = null;
}
}
// Get the starting address for a particular section within
// the code table. This address is guaranteed to persist
// after "Dispose" is called.
#if __PNET__
public byte *GetSection(int num)
#else
public byte[] GetSection(int num)
#endif
{
// If the table has been disposed, then bail out.
if(stream == null)
{
return null;
}
// Scan through the stream looking for the section.
long posn = 0;
long length = stream.Length;
byte[] header = new byte [8];
int sectNum, sectLen;
while((posn + 8) <= length)
{
// Read the next header block.
stream.Position = posn;
if(stream.Read(header, 0, 8) != 8)
{
break;
}
// Decode the fields in the header block.
sectNum = ((int)(header[0])) |
(((int)(header[1])) << 8) |
(((int)(header[2])) << 16) |
(((int)(header[3])) << 24);
sectLen = ((int)(header[4])) |
(((int)(header[5])) << 8) |
(((int)(header[6])) << 16) |
(((int)(header[7])) << 24);
// Is this the section we are looking for?
if(sectNum == num)
{
#if __PNET__
return GetAddress(stream, posn + 8);
#else
byte[] buf = new byte [sectLen];
if(stream.Read(buf, 0, sectLen) != sectLen)
{
break;
}
return buf;
#endif
}
// Advance to the next section.
posn += 8 + sectLen;
}
// We were unable to find the requested section.
return null;
}
#if __PNET__
// Back door access into the engine to get the address of
// an offset within a manifest resource stream.
[MethodImpl(MethodImplOptions.InternalCall)]
extern private static byte *GetAddress(Stream stream, long position);
#endif
}; // class CodeTable
}; // namespace I18N.CJK
+97
View File
@@ -0,0 +1,97 @@
/*
* JISConvert.cs - Implementation of the "System.Text.JISConvert" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.CJK
{
using System;
// This class assists other encoding classes in converting back
// and forth between JIS character sets and Unicode. It uses
// several large tables to do this, some of which are stored in
// the resource section of the assembly for efficient access.
internal unsafe sealed class JISConvert
{
// Table identifiers.
private const int JISX0208_To_Unicode = 1;
private const int JISX0212_To_Unicode = 2;
private const int CJK_To_JIS = 3;
private const int Greek_To_JIS = 4;
private const int Extra_To_JIS = 5;
// Public access to the conversion tables.
#if __PNET__
public byte *jisx0208ToUnicode;
public byte *jisx0212ToUnicode;
public byte *cjkToJis;
public byte *greekToJis;
public byte *extraToJis;
#else
public byte[] jisx0208ToUnicode;
public byte[] jisx0212ToUnicode;
public byte[] cjkToJis;
public byte[] greekToJis;
public byte[] extraToJis;
#endif
// Constructor.
private JISConvert()
{
// Load the conversion tables.
CodeTable table = new CodeTable("jis.table");
jisx0208ToUnicode = table.GetSection(JISX0208_To_Unicode);
jisx0212ToUnicode = table.GetSection(JISX0212_To_Unicode);
cjkToJis = table.GetSection(CJK_To_JIS);
greekToJis = table.GetSection(Greek_To_JIS);
extraToJis = table.GetSection(Extra_To_JIS);
table.Dispose();
}
// The one and only JIS conversion object in the system.
private static JISConvert convert;
// Get the primary JIS conversion object.
public static JISConvert Convert
{
get
{
lock(typeof(JISConvert))
{
if(convert != null)
{
return convert;
}
else
{
convert = new JISConvert();
return convert;
}
}
}
}
}; // class JISConvert
}; // namespace I18N.CJK
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
CP932.cs
CodeTable.cs
JISConvert.cs
+13
View File
@@ -0,0 +1,13 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.CJK.dll
LIB_LIST = list.unix
LIB_FLAGS = --unsafe --resource jis.table -r corlib -r mscorlib -r I18N
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
+401
View File
@@ -0,0 +1,401 @@
/*
* ByteEncoding.cs - Implementation of the "I18N.Common.ByteEncoding" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.Common
{
using System;
using System.Text;
// This class provides an abstract base for encodings that use a single
// byte per character. The bulk of the work is done in this class, with
// subclasses providing implementations of the "ToBytes" methods to perform
// the char->byte conversion.
public abstract class ByteEncoding : Encoding
{
// Internal state.
protected char[] toChars;
protected String encodingName;
protected String bodyName;
protected String headerName;
protected String webName;
protected bool isBrowserDisplay;
protected bool isBrowserSave;
protected bool isMailNewsDisplay;
protected bool isMailNewsSave;
protected int windowsCodePage;
// Constructor.
protected ByteEncoding(int codePage, char[] toChars,
String encodingName, String bodyName,
String headerName, String webName,
bool isBrowserDisplay, bool isBrowserSave,
bool isMailNewsDisplay, bool isMailNewsSave,
int windowsCodePage)
: base(codePage)
{
this.toChars = toChars;
this.encodingName = encodingName;
this.bodyName = bodyName;
this.headerName = headerName;
this.webName = webName;
this.isBrowserDisplay = isBrowserDisplay;
this.isBrowserSave = isBrowserSave;
this.isMailNewsDisplay = isMailNewsDisplay;
this.isMailNewsSave = isMailNewsSave;
this.windowsCodePage = windowsCodePage;
}
// Get the number of bytes needed to encode a character buffer.
public override int GetByteCount(char[] chars, int index, int count)
{
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(index < 0 || index > chars.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (chars.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
return count;
}
// Convenience wrappers for "GetByteCount".
public override int GetByteCount(String s)
{
if(s == null)
{
throw new ArgumentNullException("s");
}
return s.Length;
}
// Convert an array of characters into a byte buffer,
// once the parameters have been validated.
protected abstract void ToBytes(char[] chars, int charIndex, int charCount,
byte[] bytes, int byteIndex);
// Convert a string into a byte buffer, once the parameters
// have been validated.
protected abstract void ToBytes(String s, int charIndex, int charCount,
byte[] bytes, int byteIndex);
// Get the bytes that result from encoding a character buffer.
public override int GetBytes(char[] chars, int charIndex, int charCount,
byte[] bytes, int byteIndex)
{
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(charIndex < 0 || charIndex > chars.Length)
{
throw new ArgumentOutOfRangeException
("charIndex", Strings.GetString("ArgRange_Array"));
}
if(charCount < 0 || charCount > (chars.Length - charIndex))
{
throw new ArgumentOutOfRangeException
("charCount", Strings.GetString("ArgRange_Array"));
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
if((bytes.Length - byteIndex) < charCount)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"));
}
ToBytes(chars, charIndex, charCount, bytes, byteIndex);
return charCount;
}
// Convenience wrappers for "GetBytes".
public override int GetBytes(String s, int charIndex, int charCount,
byte[] bytes, int byteIndex)
{
if(s == null)
{
throw new ArgumentNullException("s");
}
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(charIndex < 0 || charIndex > s.Length)
{
throw new ArgumentOutOfRangeException
("charIndex",
Strings.GetString("ArgRange_StringIndex"));
}
if(charCount < 0 || charCount > (s.Length - charIndex))
{
throw new ArgumentOutOfRangeException
("charCount",
Strings.GetString("ArgRange_StringRange"));
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
if((bytes.Length - byteIndex) < charCount)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"));
}
ToBytes(s, charIndex, charCount, bytes, byteIndex);
return charCount;
}
// Get the number of characters needed to decode a byte buffer.
public override int GetCharCount(byte[] bytes, int index, int count)
{
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(index < 0 || index > bytes.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (bytes.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
return count;
}
// Get the characters that result from decoding a byte buffer.
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
char[] chars, int charIndex)
{
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(chars == null)
{
throw new ArgumentNullException("chars");
}
if(byteIndex < 0 || byteIndex > bytes.Length)
{
throw new ArgumentOutOfRangeException
("byteIndex", Strings.GetString("ArgRange_Array"));
}
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
{
throw new ArgumentOutOfRangeException
("byteCount", Strings.GetString("ArgRange_Array"));
}
if(charIndex < 0 || charIndex > chars.Length)
{
throw new ArgumentOutOfRangeException
("charIndex", Strings.GetString("ArgRange_Array"));
}
if((chars.Length - charIndex) < byteCount)
{
throw new ArgumentException
(Strings.GetString("Arg_InsufficientSpace"));
}
int count = byteCount;
char[] cvt = toChars;
while(count-- > 0)
{
chars[charIndex++] = cvt[(int)(bytes[byteIndex++])];
}
return byteCount;
}
// Get the maximum number of bytes needed to encode a
// specified number of characters.
public override int GetMaxByteCount(int charCount)
{
if(charCount < 0)
{
throw new ArgumentOutOfRangeException
("charCount",
Strings.GetString("ArgRange_NonNegative"));
}
return charCount;
}
// Get the maximum number of characters needed to decode a
// specified number of bytes.
public override int GetMaxCharCount(int byteCount)
{
if(byteCount < 0)
{
throw new ArgumentOutOfRangeException
("byteCount",
Strings.GetString("ArgRange_NonNegative"));
}
return byteCount;
}
// Decode a buffer of bytes into a string.
public override String GetString(byte[] bytes, int index, int count)
{
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
if(index < 0 || index > bytes.Length)
{
throw new ArgumentOutOfRangeException
("index", Strings.GetString("ArgRange_Array"));
}
if(count < 0 || count > (bytes.Length - index))
{
throw new ArgumentOutOfRangeException
("count", Strings.GetString("ArgRange_Array"));
}
StringBuilder s = new StringBuilder();
char[] cvt = toChars;
while(count-- > 0)
{
s.Append(cvt[(int)(bytes[index++])]);
}
return s.ToString();
}
public override String GetString(byte[] bytes)
{
if(bytes == null)
{
throw new ArgumentNullException("bytes");
}
int count = bytes.Length;
int posn = 0;
StringBuilder s = new StringBuilder();
char[] cvt = toChars;
while(count-- > 0)
{
s.Append(cvt[(int)(bytes[posn++])]);
}
return s.ToString();
}
#if !ECMA_COMPAT
// Get the mail body name for this encoding.
public override String BodyName
{
get
{
return bodyName;
}
}
// Get the human-readable name for this encoding.
public override String EncodingName
{
get
{
return encodingName;
}
}
// Get the mail agent header name for this encoding.
public override String HeaderName
{
get
{
return headerName;
}
}
// Determine if this encoding can be displayed in a Web browser.
public override bool IsBrowserDisplay
{
get
{
return isBrowserDisplay;
}
}
// Determine if this encoding can be saved from a Web browser.
public override bool IsBrowserSave
{
get
{
return isBrowserSave;
}
}
// Determine if this encoding can be displayed in a mail/news agent.
public override bool IsMailNewsDisplay
{
get
{
return isMailNewsDisplay;
}
}
// Determine if this encoding can be saved from a mail/news agent.
public override bool IsMailNewsSave
{
get
{
return isMailNewsSave;
}
}
// Get the IANA-preferred Web name for this encoding.
public override String WebName
{
get
{
return webName;
}
}
// Get the Windows code page represented by this object.
public override int WindowsCodePage
{
get
{
return windowsCodePage;
}
}
#endif // !ECMA_COMPAT
}; // class ByteEncoding
}; // namespace I18N.Encoding
+198
View File
@@ -0,0 +1,198 @@
/*
* Handlers.cs - Implementation of the "I18N.Common.Handlers" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.Common
{
using System;
// This class provides an internal list of handlers, for runtime
// engines that do not implement the altered "GetFile" semantics.
// The list must be kept up to date manually.
public sealed class Handlers
{
public static readonly String[] List = {
"I18N.CJK.CP932",
"I18N.CJK.ENCshift_jis",
"I18N.MidEast.CP1254",
"I18N.MidEast.ENCwindows_1254",
"I18N.MidEast.CP1255",
"I18N.MidEast.ENCwindows_1255",
"I18N.MidEast.CP1256",
"I18N.MidEast.ENCwindows_1256",
"I18N.MidEast.CP28596",
"I18N.MidEast.ENCiso_8859_6",
"I18N.MidEast.CP28598",
"I18N.MidEast.ENCiso_8859_8",
"I18N.MidEast.CP28599",
"I18N.MidEast.ENCiso_8859_9",
"I18N.MidEast.CP38598",
"I18N.MidEast.ENCwindows_38598",
"I18N.Other.CP1251",
"I18N.Other.ENCwindows_1251",
"I18N.Other.CP1257",
"I18N.Other.ENCwindows_1257",
"I18N.Other.CP1258",
"I18N.Other.ENCwindows_1258",
"I18N.Other.CP20866",
"I18N.Other.ENCkoi8_r",
"I18N.Other.CP21866",
"I18N.Other.ENCkoi8_u",
"I18N.Other.CP28594",
"I18N.Other.ENCiso_8859_4",
"I18N.Other.CP28595",
"I18N.Other.ENCiso_8859_5",
"I18N.Other.ISCIIEncoding",
"I18N.Other.CP57002",
"I18N.Other.CP57003",
"I18N.Other.CP57004",
"I18N.Other.CP57005",
"I18N.Other.CP57006",
"I18N.Other.CP57007",
"I18N.Other.CP57008",
"I18N.Other.CP57009",
"I18N.Other.CP57010",
"I18N.Other.CP57011",
"I18N.Other.ENCx_iscii_de",
"I18N.Other.ENCx_iscii_be",
"I18N.Other.ENCx_iscii_ta",
"I18N.Other.ENCx_iscii_te",
"I18N.Other.ENCx_iscii_as",
"I18N.Other.ENCx_iscii_or",
"I18N.Other.ENCx_iscii_ka",
"I18N.Other.ENCx_iscii_ma",
"I18N.Other.ENCx_iscii_gu",
"I18N.Other.ENCx_iscii_pa",
"I18N.Other.CP874",
"I18N.Other.ENCwindows_874",
"I18N.Rare.CP1026",
"I18N.Rare.ENCibm1026",
"I18N.Rare.CP1047",
"I18N.Rare.ENCibm1047",
"I18N.Rare.CP1140",
"I18N.Rare.ENCibm01140",
"I18N.Rare.CP1141",
"I18N.Rare.ENCibm01141",
"I18N.Rare.CP1142",
"I18N.Rare.ENCibm01142",
"I18N.Rare.CP1143",
"I18N.Rare.ENCibm01143",
"I18N.Rare.CP1144",
"I18N.Rare.ENCibm1144",
"I18N.Rare.CP1145",
"I18N.Rare.ENCibm1145",
"I18N.Rare.CP1146",
"I18N.Rare.ENCibm1146",
"I18N.Rare.CP1147",
"I18N.Rare.ENCibm1147",
"I18N.Rare.CP1148",
"I18N.Rare.ENCibm1148",
"I18N.Rare.CP1149",
"I18N.Rare.ENCibm1149",
"I18N.Rare.CP20273",
"I18N.Rare.ENCibm273",
"I18N.Rare.CP20277",
"I18N.Rare.ENCibm277",
"I18N.Rare.CP20278",
"I18N.Rare.ENCibm278",
"I18N.Rare.CP20280",
"I18N.Rare.ENCibm280",
"I18N.Rare.CP20284",
"I18N.Rare.ENCibm284",
"I18N.Rare.CP20285",
"I18N.Rare.ENCibm285",
"I18N.Rare.CP20290",
"I18N.Rare.ENCibm290",
"I18N.Rare.CP20297",
"I18N.Rare.ENCibm297",
"I18N.Rare.CP20420",
"I18N.Rare.ENCibm420",
"I18N.Rare.CP20424",
"I18N.Rare.ENCibm424",
"I18N.Rare.CP20871",
"I18N.Rare.ENCibm871",
"I18N.Rare.CP21025",
"I18N.Rare.ENCibm1025",
"I18N.Rare.CP37",
"I18N.Rare.ENCibm037",
"I18N.Rare.CP500",
"I18N.Rare.ENCibm500",
"I18N.Rare.CP708",
"I18N.Rare.ENCasmo_708",
"I18N.Rare.CP852",
"I18N.Rare.ENCibm852",
"I18N.Rare.CP855",
"I18N.Rare.ENCibm855",
"I18N.Rare.CP857",
"I18N.Rare.ENCibm857",
"I18N.Rare.CP858",
"I18N.Rare.ENCibm00858",
"I18N.Rare.CP862",
"I18N.Rare.ENCibm862",
"I18N.Rare.CP864",
"I18N.Rare.ENCibm864",
"I18N.Rare.CP866",
"I18N.Rare.ENCibm866",
"I18N.Rare.CP869",
"I18N.Rare.ENCibm869",
"I18N.Rare.CP870",
"I18N.Rare.ENCibm870",
"I18N.Rare.CP875",
"I18N.Rare.ENCibm875",
"I18N.West.CP10000",
"I18N.West.ENCmacintosh",
"I18N.West.CP10079",
"I18N.West.ENCx_mac_icelandic",
"I18N.West.CP1250",
"I18N.West.ENCwindows_1250",
"I18N.West.CP1252",
"I18N.West.ENCwindows_1252",
"I18N.West.CP1253",
"I18N.West.ENCwindows_1253",
"I18N.West.CP28592",
"I18N.West.ENCiso_8859_2",
"I18N.West.CP28593",
"I18N.West.ENCiso_8859_3",
"I18N.West.CP28597",
"I18N.West.ENCiso_8859_7",
"I18N.West.CP28605",
"I18N.West.ENCiso_8859_15",
"I18N.West.CP437",
"I18N.West.ENCibm437",
"I18N.West.CP850",
"I18N.West.ENCibm850",
"I18N.West.CP860",
"I18N.West.ENCibm860",
"I18N.West.CP861",
"I18N.West.ENCibm861",
"I18N.West.CP863",
"I18N.West.ENCibm863",
"I18N.West.CP865",
"I18N.West.ENCibm865"
};
}; // class Handlers
}; // namespace I18N.Common
+342
View File
@@ -0,0 +1,342 @@
/*
* Manager.cs - Implementation of the "I18N.Common.Manager" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.Common
{
using System;
using System.IO;
using System.Text;
using System.Globalization;
using System.Collections;
using System.Reflection;
using System.Security;
// This class provides the primary entry point into the I18N
// library. Users of the library start by getting the value
// of the "PrimaryManager" property. They then invoke methods
// on the manager to obtain further I18N information.
public class Manager
{
// The primary I18N manager.
private static Manager manager;
// Internal state.
private Hashtable handlers; // List of all handler classes.
private Hashtable active; // Currently active handlers.
private Hashtable assemblies; // Currently loaded region assemblies.
// Constructor.
private Manager()
{
handlers = new Hashtable (CaseInsensitiveHashCodeProvider.Default,
CaseInsensitiveComparer.Default);
active = new Hashtable(16);
assemblies = new Hashtable(8);
LoadClassList();
}
// Get the primary I18N manager instance.
public static Manager PrimaryManager
{
get
{
lock(typeof(Manager))
{
if(manager == null)
{
manager = new Manager();
}
return manager;
}
}
}
// Normalize a name.
private static String Normalize(String name)
{
#if ECMA_COMPAT
return (name.ToLower()).Replace('-', '_');
#else
return (name.ToLower(CultureInfo.InvariantCulture))
.Replace('-', '_');
#endif
}
// Get an encoding object for a specific code page.
// Returns NULL if the code page is not available.
public Encoding GetEncoding(int codePage)
{
return (Instantiate("CP" + codePage.ToString()) as Encoding);
}
// Get an encoding object for a specific Web encoding.
// Returns NULL if the encoding is not available.
public Encoding GetEncoding(String name)
{
// Validate the parameter.
if(name == null)
{
return null;
}
// Normalize the encoding name.
name = Normalize(name);
// Try to find a class called "ENCname".
Encoding e = Instantiate ("ENC" + name) as Encoding;
if (e == null)
e = Instantiate (name) as Encoding;
return e;
}
// List of hex digits for use by "GetCulture".
private const String hex = "0123456789abcdef";
// Get a specific culture by identifier. Returns NULL
// if the culture information is not available.
public CultureInfo GetCulture(int culture, bool useUserOverride)
{
// Create the hex version of the culture identifier.
StringBuilder builder = new StringBuilder();
builder.Append(hex[(culture >> 12) & 0x0F]);
builder.Append(hex[(culture >> 8) & 0x0F]);
builder.Append(hex[(culture >> 4) & 0x0F]);
builder.Append(hex[culture & 0x0F]);
String name = builder.ToString();
// Try looking for an override culture handler.
if(useUserOverride)
{
Object obj = Instantiate("CIDO" + name);
if(obj != null)
{
return (obj as CultureInfo);
}
}
// Look for the generic non-override culture.
return (Instantiate("CID" + name) as CultureInfo);
}
// Get a specific culture by name. Returns NULL if the
// culture informaion is not available.
public CultureInfo GetCulture(String name, bool useUserOverride)
{
// Validate the parameter.
if(name == null)
{
return null;
}
// Normalize the culture name.
name = Normalize(name);
// Try looking for an override culture handler.
if(useUserOverride)
{
Object obj = Instantiate("CNO" + name.ToString());
if(obj != null)
{
return (obj as CultureInfo);
}
}
// Look for the generic non-override culture.
return (Instantiate("CN" + name.ToString()) as CultureInfo);
}
// Instantiate a handler class. Returns null if it is not
// possible to instantiate the class.
internal Object Instantiate(String name)
{
Object handler;
String region;
Assembly assembly;
Type type;
lock(this)
{
// See if we already have an active handler by this name.
handler = active[name];
if(handler != null)
{
return handler;
}
// Determine which region assembly handles the class.
region = (String)(handlers[name]);
if(region == null)
{
// The class does not exist in any region assembly.
return null;
}
// Find the region-specific assembly and load it.
assembly = (Assembly)(assemblies[region]);
if(assembly == null)
{
try
{
assembly = Assembly.Load(region);
}
catch(SystemException)
{
assembly = null;
}
if(assembly == null)
{
return null;
}
assemblies[region] = assembly;
}
// Look for the class within the region-specific assembly.
type = assembly.GetType(region + "." + name, false, true);
if(type == null)
{
return null;
}
// Invoke the constructor, which we assume is public
// and has zero arguments.
try
{
handler = type.InvokeMember
(String.Empty,
BindingFlags.CreateInstance |
BindingFlags.Public |
BindingFlags.NonPublic |
BindingFlags.Instance,
null, null, null, null, null, null);
}
catch(MissingMethodException)
{
// The constructor was not present.
return null;
}
catch(SecurityException)
{
// The constructor was inaccessible.
return null;
}
// Add the handler to the active handlers cache.
active.Add(name, handler);
// Return the handler to the caller.
return handler;
}
}
// Load the list of classes that are present in all region assemblies.
private void LoadClassList()
{
FileStream stream;
// Look for "I18N-handlers.def" in the same directory
// as this assembly. Note: this assumes that the
// "Assembly.GetFile" method can access files that
// aren't explicitly part of the assembly manifest.
//
// This is necessary because the "I18N-handlers.def"
// file is generated after the "i18n" assembly is
// compiled and linked. So it cannot be embedded
// directly into the assembly manifest.
try
{
stream = Assembly.GetExecutingAssembly()
.GetFile("I18N-handlers.def");
if(stream == null)
{
LoadInternalClasses();
return;
}
}
catch(FileLoadException)
{
// The file does not exist, or the runtime engine
// refuses to implement the necessary semantics.
// Fall back to an internal list, which must be
// kept up to date manually.
LoadInternalClasses();
return;
}
// Load the class list from the stream.
StreamReader reader = new StreamReader(stream);
String line;
int posn;
while((line = reader.ReadLine()) != null)
{
// Skip comment lines in the input.
if(line.Length == 0 || line[0] == '#')
{
continue;
}
// Split the line into namespace and name. We assume
// that the line has the form "I18N.<Region>.<Name>".
posn = line.LastIndexOf('.');
if(posn != -1)
{
// Add the namespace to the "handlers" hash,
// attached to the name of the handler class.
String name = line.Substring(posn + 1);
if(!handlers.Contains(name))
{
handlers.Add(name, line.Substring(0, posn));
}
}
}
reader.Close();
}
// Load the list of classes from the internal list.
private void LoadInternalClasses()
{
int posn;
foreach(String line in Handlers.List)
{
// Split the line into namespace and name. We assume
// that the line has the form "I18N.<Region>.<Name>".
posn = line.LastIndexOf('.');
if(posn != -1)
{
// Add the namespace to the "handlers" hash,
// attached to the name of the handler class.
String name = line.Substring(posn + 1);
if(!handlers.Contains(name))
{
handlers.Add(name, line.Substring(0, posn));
}
}
}
}
}; // class Manager
}; // namespace I18N.Common
+56
View File
@@ -0,0 +1,56 @@
/*
* Strings.cs - Implementation of the "I18N.Common.Strings" class.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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.
*/
namespace I18N.Common
{
using System;
using System.Reflection;
using System.Resources;
// This class provides string resource support to the rest
// of the I18N library assemblies.
public sealed class Strings
{
// Cached copy of the resources for this assembly.
private static ResourceManager resources = null;
// Helper for obtaining string resources for this assembly.
public static String GetString(String tag)
{
lock(typeof(Strings))
{
if(resources == null)
{
resources = new ResourceManager
("I18N", Assembly.GetExecutingAssembly());
}
return resources.GetString(tag, null);
}
}
}; // class Strings
}; // namespace I18N.Common
+4
View File
@@ -0,0 +1,4 @@
ByteEncoding.cs
Handlers.cs
Manager.cs
Strings.cs
+13
View File
@@ -0,0 +1,13 @@
topdir = ../../..
LIBRARY = $(topdir)/class/lib/I18N.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r mscorlib
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0"?>
<project name="pnetlib I18N" default="build">
<property name="debug" value="false"/>
<target name="build">
<!-- Build the primary I18N.dll library -->
<csc output="../lib/I18N.dll" target="library" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:corlib.dll"/>
<sources>
<includes name="Common/*.cs"/>
</sources>
<!--<resources>
<file name="../resources/en_US/I18N/I18N.resources"/>
</resources>-->
</csc>
<!-- Build the I18N.CJK.dll library -->
<csc output="../lib/I18N.CJK.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<arg value="/resource:CJK/jis.table"/>
<sources>
<includes name="CJK/*.cs"/>
</sources>
<!--<resources>
<file name="CJK/jis.table"/>
</resources>-->
</csc>
<!-- Build the I18N.MidEast.dll library -->
<csc output="../lib/I18N.MidEast.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="MidEast/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.Other.dll library -->
<csc output="../lib/I18N.Other.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="Other/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.Rare.dll library -->
<csc output="../lib/I18N.Rare.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="Rare/*.cs"/>
</sources>
</csc>
<!-- Build the I18N.West.dll library -->
<csc output="../lib/I18N.West.dll" target="library" debug="${debug}">
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<arg value="/r:I18N.dll"/>
<sources>
<includes name="West/*.cs"/>
</sources>
</csc>
</target>
<target name="clean">
<delete failonerror="false">
<fileset basedir="../lib">
<includes name="I18N.dll"/>
<includes name="I18N.CJK.dll"/>
<includes name="I18N.MidEast.dll"/>
<includes name="I18N.Other.dll"/>
<includes name="I18N.Rare.dll"/>
<includes name="I18N.West.dll"/>
</fileset>
</delete>
<!-- Uncomment this if build file added for those.
<nant basedir="Common" target="clean"/>
<nant basedir="CJK" target="clean"/>
<nant basedir="MidEast" target="clean"/>
<nant basedir="Other" target="clean"/>
<nant basedir="Rare" target="clean"/>
<nant basedir="West" target="clean"/>
-->
</target>
</project>
Loaded 100 of 4208 files, more files were not shown because too many files have changed in this diff. Show more