Compare commits

...
1255 Commits
Author SHA1 Message Date
nobody 3215bf8472 This commit was manufactured by cvs2svn to create branch 'C5'.
svn path=/branches/C5/mcs/; revision=32379
2004-08-16 15:34:45 +00:00
Martin Baulig dbc699595b Initial revision
svn path=/trunk/mcs/; revision=32378
2004-08-16 15:34:45 +00:00
Martin Baulig 56aad0f9d7 Protect everything in #if NET_2_0.
svn path=/trunk/mcs/; revision=32377
2004-08-16 15:32:01 +00:00
nobody 9a8905dec1 This commit was manufactured by cvs2svn to create branch 'C5'.
svn path=/branches/C5/mcs/; revision=32375
2004-08-16 15:30:03 +00:00
Martin Baulig f56011c9a3 Initial revision
svn path=/trunk/mcs/; revision=32374
2004-08-16 15:28:17 +00:00
Peter Dennis Bartok afbbb3b595 - Added ButtonBase.cs
svn path=/trunk/mcs/; revision=32373
2004-08-16 14:59:38 +00:00
Martin Baulig 9db6f795b5 2004-08-14 Martin Baulig <[email protected]>
* typemanager.cs
	(TypeManager.IsEqualGenericInstance): New static method.
	(TypeManager.IsSubclassOrNestedChildOf, IsSubclassOf): This is
	just used to check accessibility, so follow the rules of 26.1.6.

	* expression.cs (MemberAccess.ResolveAsTypeStep): Return a
	ConstructedType instead of a TypeExpression if we have type arguments.

	* cs-parser.jay (typeof_expression): Support unbound generic types.

	* ecore.cs (UnboundTypeExpression): New public class.

svn path=/trunk/mcs/; revision=32372
2004-08-16 14:56:24 +00:00
Martin Baulig aca2f3176c Ooops, this was just for testing.
svn path=/trunk/mcs/; revision=32371
2004-08-16 14:50:15 +00:00
Dick Porter 902c8d5038 Revert incorrect change.
svn path=/trunk/mono/; revision=32370
2004-08-16 14:46:54 +00:00
Martin Baulig 7a40b06bd9 New tests.
svn path=/trunk/mcs/; revision=32369
2004-08-16 14:32:49 +00:00
Martin Baulig a493e00314 2004-08-16 Martin Baulig <[email protected]>
* metadata.c (do_mono_metadata_parse_generic_inst): Store the
	MonoGenericInst, not the MonoType in the `generic_inst_cache'.

svn path=/trunk/mono/; revision=32368
2004-08-16 14:31:27 +00:00
Martin Baulig fefcf73e08 2004-08-14 Martin Baulig <[email protected]>
* class.c (dup_type): Also copy the `byref' field.

svn path=/trunk/mono/; revision=32367
2004-08-16 14:12:26 +00:00
Zoltan Varga 831395bba7 2004-08-16 Zoltan Varga <[email protected]>
* mini-x86.h mini-x86.c: Throw the correct exception on integer overflow.

svn path=/trunk/mono/; revision=32366
2004-08-16 12:59:30 +00:00
Zoltan Varga 12241c2f31 2004-08-16 Zoltan Varga <[email protected]>
* x86/x86-codegen.h: Add macros for accessing the mod/rm byte.

svn path=/trunk/mono/; revision=32365
2004-08-16 12:58:06 +00:00
Sachin Kumar b88c53b2f9 Added new tests for With Statement
svn path=/trunk/mcs/; revision=32364
2004-08-16 12:57:28 +00:00
Atsushi Eno 45c04c2290 2004-08-16 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : /language should support custom assembly qualified
	  name specification. This fixes bug #63081.
	  Also fixed usage message. "VB" is considered as valid.

svn path=/trunk/mcs/; revision=32362
2004-08-16 07:11:59 +00:00
Ravindra f47a3cd397 Added attribute.
svn path=/trunk/mcs/; revision=32361
2004-08-15 23:23:56 +00:00
Ravindra e8befedf15 Updated project for ToolBar Control.
svn path=/trunk/mcs/; revision=32360
2004-08-15 23:23:22 +00:00
Ravindra 7ee9b64541 Updated sources list for ToolBar Control.
svn path=/trunk/mcs/; revision=32359
2004-08-15 23:22:21 +00:00
Ravindra 3d211371a4 Changes to Theme for ToolBar control and also dos2unix format.
svn path=/trunk/mcs/; revision=32358
2004-08-15 23:20:54 +00:00
Ravindra 3a2d5bf687 First Implementation of ToolBar control.
svn path=/trunk/mcs/; revision=32356
2004-08-15 23:13:15 +00:00
Peter Dennis Bartok 489f087e43 - First (mostly) working version
svn path=/trunk/mcs/; revision=32355
2004-08-15 21:31:10 +00:00
Zoltan Varga c260cafdec 2004-08-15 Zoltan Varga <[email protected]>
* mini.h mini.c mini-amd64.h mini-amd64.c: Throw the correct exception
	on integer overflow.

	* mini-amd64.c: Reorganize function call code.

svn path=/trunk/mono/; revision=32354
2004-08-15 14:54:05 +00:00
Zoltan Varga 187deedfab 2004-08-15 Zoltan Varga <[email protected]>
* mini-amd64.c (peephole_pass): Merge changes from mini-x86.c.

svn path=/trunk/mono/; revision=32353
2004-08-15 08:01:46 +00:00
Bernie Solomon 4726183ead 2004-08-14 Bernie Solomon <[email protected]>
* ForEachA.vb:
	* Test.Sources: new test

svn path=/trunk/mcs/; revision=32351
2004-08-15 01:51:27 +00:00
Bernie Solomon 8ea4f403e4 2004-08-14 Bernie Solomon <[email protected]>
* mb-parser.jay: fix block used as body of For Each

svn path=/trunk/mcs/; revision=32350
2004-08-15 01:49:55 +00:00
Ben Maurer c923cebb8f 2004-08-14 Ben Maurer <[email protected]>
* inssel-x86.brg: use xor eax,eax.

	* basic.cs: new tests

svn path=/trunk/mono/; revision=32348
2004-08-14 21:26:32 +00:00
Zoltan Varga 6daddfe701 2004-08-15 Zoltan Varga <[email protected]>
* reflection.c (create_dynamic_mono_image): Revert the last change
	since it breaks bootstrap.

svn path=/trunk/mono/; revision=32347
2004-08-14 21:15:46 +00:00
Zoltan Varga 6ff0390917 2004-08-14 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_emit_epilog): Use RIP relative addressing
	in exception throwing code.

svn path=/trunk/mono/; revision=32346
2004-08-14 20:53:13 +00:00
Jackson Harper 8f27aa58e9 * Container.cs: Release all when we are supposed to release all.
svn path=/trunk/mcs/; revision=32345
2004-08-14 19:06:51 +00:00
Ben Maurer 69c0225756 hush cvs
svn path=/trunk/mono/; revision=32344
2004-08-14 18:28:26 +00:00
Ben Maurer 519b5cbfea 2004-08-14 Ben Maurer <[email protected]>
* inssel-x86.brg: use xor esi,esi.

svn path=/trunk/mono/; revision=32343
2004-08-14 17:35:22 +00:00
Zoltan Varga 66e035691a 2004-08-14 Zoltan Varga <[email protected]>
* driver.c (mono_main): Call mono_trace_parse_options earlier so it
	can trace methods compiled during mini_init () too.

svn path=/trunk/mono/; revision=32342
2004-08-14 17:21:17 +00:00
Zoltan Varga 668d2bd74a 2004-08-14 Zoltan Varga <[email protected]>
* cpu-amd64.md mini-amd64.c (mono_arch_output_basic_block): Handle
	CEE_CONV_U4.

svn path=/trunk/mono/; revision=32341
2004-08-14 16:40:42 +00:00
Zoltan Varga 8bc6344ab4 2004-08-14 Zoltan Varga <[email protected]>
* io.c (GetFileType): Fix assertion if invalid handle is passed by the
	caller.

svn path=/trunk/mono/; revision=32340
2004-08-14 16:30:33 +00:00
Ben Maurer daed24a69e 2004-08-14 Ben Maurer <[email protected]>
* Makefile.am: static link on x86 (r=zoltan)

svn path=/trunk/mono/; revision=32339
2004-08-14 16:11:02 +00:00
Zoltan Varga 1f9875f9a9 2004-08-14 Zoltan Varga <[email protected]>
* tramp-amd64.c (amd64_magic_trampoline): Avoid patching the trampoline
	code since it causes some programs to fail.

	* mini-amd64.c (bb_is_loop_start): Merge changes from mini-x86.c.

svn path=/trunk/mono/; revision=32338
2004-08-14 15:24:38 +00:00
Zoltan Varga bdcda527dd 2004-08-14 Zoltan Varga <[email protected]>
* configure.in (HAVE_KW_THREAD): Pass USE_COMPILER_TLS to libgc if
	__thread works.

svn path=/trunk/mono/; revision=32337
2004-08-14 11:31:48 +00:00
Peter Dennis Bartok 3f4e5b3caa - Fixed Anchor default
svn path=/trunk/mcs/; revision=32335
2004-08-13 22:15:46 +00:00
Peter Dennis Bartok e1c276b27f - Changed GetCursorPos signature
svn path=/trunk/mcs/; revision=32334
2004-08-13 21:43:39 +00:00
Peter Dennis Bartok fff3bf9af2 - Changed signature for GetCursorPos
svn path=/trunk/mcs/; revision=32333
2004-08-13 21:42:15 +00:00
Peter Dennis Bartok 9e356aa680 - Cleanup
- Fixed resizing/exposure handling

svn path=/trunk/mcs/; revision=32332
2004-08-13 21:25:32 +00:00
Jordi Mas i Hernandez 9c5b37204e removes redundant code and fixes issues with tickposition
svn path=/trunk/mcs/; revision=32331
2004-08-13 21:22:18 +00:00
Zoltan Varga 5bfc3d4d1f 2004-08-14 Zoltan Varga <[email protected]>
* reflection.c (create_dynamic_mono_image): Set ref_count to 1.

	* image.c (mono_image_close): Dynamic images are GC_MALLOCed, so do
	not free them with g_free.

svn path=/trunk/mono/; revision=32330
2004-08-13 21:03:32 +00:00
Jordi Mas i Hernandez 4eec8ab1bc change from wndproc to events
svn path=/trunk/mcs/; revision=32329
2004-08-13 20:55:20 +00:00
Jordi Mas i Hernandez 119d8c53ed implements PointToClient (ScreenToClient)
svn path=/trunk/mcs/; revision=32323
2004-08-13 19:00:15 +00:00
Peter Dennis Bartok 00761acb2a - Changed GetWindowPos to also provide client area size
- Fixed broken prototypes for several win32 functions

svn path=/trunk/mcs/; revision=32322
2004-08-13 18:53:57 +00:00
Peter Dennis Bartok faf712bc7d - Changed GetWindowPos to also provide client area size
svn path=/trunk/mcs/; revision=32321
2004-08-13 18:53:14 +00:00
Peter Dennis Bartok 8487650ff6 - Added generation of WM_POSCHANGED
- Changed GetWindowPos to also provide client area size

svn path=/trunk/mcs/; revision=32320
2004-08-13 18:52:59 +00:00
Peter Dennis Bartok f66493ef5e - Added Dispose() and destructor
- Fixed resizing and bounds calculation
- Fixed Layout
- Added memory savings for invisible windows

svn path=/trunk/mcs/; revision=32319
2004-08-13 18:52:07 +00:00
Jordi Mas i Hernandez bbf1bf250d adds timer and grap window
svn path=/trunk/mcs/; revision=32318
2004-08-13 18:46:26 +00:00
Marek Safar ab079c1db5 2004-08-13 Marek Safar <[email protected]>
* Assembly.cs: Made _minimum, _optional, _refuse fields internal.
	To be reusable by AssemblyBuilder.

svn path=/trunk/mcs/; revision=32316
2004-08-13 17:03:57 +00:00
Jackson Harper b32255bc8a SWF Timer
svn path=/trunk/mcs/; revision=32312
2004-08-13 16:25:01 +00:00
John Luke 45ff09083c 2004-08-13 John Luke <[email protected]>
* monop.cs: add MONO_PATH support

svn path=/trunk/mcs/; revision=32309
2004-08-13 16:02:31 +00:00
Anirban Bhattacharjee 3c7f226294 2004-08-13 Anirban Bhattacharjee <[email protected]>
* expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly

svn path=/trunk/mcs/; revision=32308
2004-08-13 15:20:31 +00:00
Dick Porter d5abeccf1c 2004-08-13 Dick Porter <[email protected]>
* StreamWriter.cs: Allow FileShare.Read access to the underlying
	FileStream, to be compatible with MS.  Fixes bug 62152.

svn path=/trunk/mcs/; revision=32306
2004-08-13 13:39:40 +00:00
Sebastien Pouliot 433faedf40 2004-08-13 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: (Partly) Fix delay-signing issue (#56621) when
	MCS is used on the MS runtime (other part of the fix is for MCS).

svn path=/trunk/mcs/; revision=32304
2004-08-13 13:21:51 +00:00
Sanja Gupta 3e09f0f69a ChangeLog: Updated ChangeLog.
GridViewDeleteEventArgs.cs: Removed extra code.

svn path=/trunk/mcs/; revision=32303
2004-08-13 11:31:08 +00:00
Anirban Bhattacharjee 1b15a62fe6 2004-08-13 Anirban Bhattacharjee <[email protected]>
* class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing

svn path=/trunk/mcs/; revision=32302
2004-08-13 11:01:31 +00:00
Umadevi S 77b8bc4bc3 2004-08-13 Umadevi S <[email protected]>
* Added File DataContainerTest

svn path=/trunk/mcs/; revision=32299
2004-08-13 07:06:45 +00:00
Umadevi S 74c155f243 2004-08-13 Umadevi S <[email protected]>
* Added standalone nunit testcases for datacontainer class.
        * Currently will use MSSQL server
        * New File
                MSSqlTestBed.cs - Base class for MSSql testing
        (similar to the mysqltestbed)

svn path=/trunk/mcs/; revision=32298
2004-08-13 07:05:24 +00:00
Anirban Bhattacharjee bd2b840481 2004-08-13 Anirban Bhattacharjee <[email protected]>
* typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function

svn path=/trunk/mcs/; revision=32295
2004-08-13 05:10:45 +00:00
Anirban Bhattacharjee 4d626c9dbb 2004-08-13 Anirban Bhattacharjee <[email protected]>
* class.cs: Trivial bug fixing to get test InterfaceB.vb going

svn path=/trunk/mcs/; revision=32294
2004-08-13 05:00:22 +00:00
John Luke 68068c46c2 2004-08-13 John Luke <[email protected]>
* outline.cs: remove unused isPointer
        * monop.cs: show information about the assembly that is being used
        - remove unused IndentedTextWriter
        - rework how Assemblies are being loaded, so that it works by trying
        in order fromfile, fullname, partialname which fixes loading
        from relative paths and generally should be more correct
        * TODO: update

svn path=/trunk/mcs/; revision=32293
2004-08-13 04:56:17 +00:00
Sebastien Pouliot 003a633b4f 2004-08-12 Sebastien Pouliot <[email protected]>
* ZoneMembershipCondition.cs: Added missing tag name validation in
	FromXml.

svn path=/trunk/mcs/; revision=32292
2004-08-12 23:07:44 +00:00
Sebastien Pouliot dae063fd0c 2004-08-12 Sebastien Pouliot <[email protected]>
* SecurityManager.cs: Change ResolvePolicy to only care about host
	provided evidence to create identity permissions.

svn path=/trunk/mcs/; revision=32291
2004-08-12 23:06:00 +00:00
Sebastien Pouliot 5cb4c33484 2004-08-12 Sebastien Pouliot <[email protected]>
* ZoneMembershipConditionTest.cs: Fixed tests that where failing too
	soon, i.e. not where I expected them to ;).
	* ZoneTest.cs: Added tests for Zone.Equals (null).

svn path=/trunk/mcs/; revision=32290
2004-08-12 23:01:19 +00:00
Peter Dennis Bartok 33cc979075 - Implemented method to get current mouse position
svn path=/trunk/mcs/; revision=32289
2004-08-12 22:59:03 +00:00
Sebastien Pouliot 63e416b0b9 2003-08-12 Sebastien Pouliot <[email protected]>
* SecurityManagerTest.cs: More policy resolution tests when using host
	or assembly provided evidences.

svn path=/trunk/mcs/; revision=32288
2004-08-12 22:58:25 +00:00
Jordi Mas i Hernandez 8555991982 Trackbar enhancement, fix mouse problems, highli thumb, etc
svn path=/trunk/mcs/; revision=32287
2004-08-12 20:29:01 +00:00
Rob Tillie 5e104281ec Added runtime conversion from String to DateTime
svn path=/trunk/mcs/; revision=32286
2004-08-12 19:46:19 +00:00
Peter Dennis Bartok 289abddb08 - Fixed Anchoring bugs
svn path=/trunk/mcs/; revision=32285
2004-08-12 19:31:19 +00:00
Martin Baulig 56bff27fca 2004-08-12 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): Use
	TypeManager.IsEqual() rather than `=='.

	* decl.cs (DeclSpace.CheckAccessLevel): Use `tb.FullName' for
	generic instances as well.

svn path=/trunk/mcs/; revision=32284
2004-08-12 19:12:59 +00:00
Jackson Harper 285005d223 Don't forget things
svn path=/trunk/mcs/; revision=32283
2004-08-12 19:01:13 +00:00
Jackson Harper a6aac1a636 Handle owner draw status bars
svn path=/trunk/mcs/; revision=32282
2004-08-12 18:54:37 +00:00
Jackson Harper fe397880c6 Implement missing properties, events, and methods. Handle mouse clicking
svn path=/trunk/mcs/; revision=32281
2004-08-12 18:54:12 +00:00
Anirban Bhattacharjee e78898c7b9 2004-08-13 Anirban Bhattacharjee <[email protected]>
* class.cs:
        * typemanager.cs:
        * pending.cs:
                Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts

svn path=/trunk/mcs/; revision=32280
2004-08-12 18:04:56 +00:00
Jackson Harper e629fe1fbe Classes for handling status bar panel click events
svn path=/trunk/mcs/; revision=32275
2004-08-12 16:19:43 +00:00
Jackson Harper 14375d6c24 Add missing properties
svn path=/trunk/mcs/; revision=32274
2004-08-12 16:10:42 +00:00
Martin Baulig 73435b957b Oooooops.
svn path=/trunk/mcs/; revision=32273
2004-08-12 16:04:41 +00:00
Martin Baulig 92baec159b Added comment.
svn path=/trunk/mcs/; revision=32272
2004-08-12 15:59:14 +00:00
Peter Dennis Bartok 7d8a5648e8 - Name changed to BindingManagerBase.cs
svn path=/trunk/mcs/; revision=32271
2004-08-12 15:46:45 +00:00
Martin Baulig 49a4670f73 2004-08-12 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferType): We can only infer method
	type parameters.  Fixes #62647.

svn path=/trunk/mcs/; revision=32270
2004-08-12 15:38:07 +00:00
Martin Baulig ae45760f68 Ignore.
svn path=/trunk/mono/; revision=32268
2004-08-12 15:32:18 +00:00
Martin Baulig af2ecc871b New test for #62647.
svn path=/trunk/mcs/; revision=32267
2004-08-12 15:30:40 +00:00
Jordi Mas i Hernandez 5af8cff02c calls ctrlbase instead of exeception
svn path=/trunk/mcs/; revision=32266
2004-08-12 15:25:49 +00:00
Sebastien Pouliot 27e5d6e8b5 2004-08-12 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System.Runtime.ConstrainedExecution/
	CER.cs, Consistency.cs, PrePrepareMethodAttribute.cs and
	ReliabilityContractAttribute.cs. Added System.Threading/
	ParameterizedThreadStart.cs. All for NET_2_0 profile.

svn path=/trunk/mcs/; revision=32265
2004-08-12 12:56:44 +00:00
Sebastien Pouliot 80d81ecdcd 2004-08-12 Sebastien Pouliot <[email protected]>
* CompressedStackSwitcher.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.
	* ExecutionContext.cs: Added missing [ComVisible] and
	[Serializable] attributes.
	* HostExecutionContext.cs: Added missing [ComVisible] attribute.
	* HostExecutionContextManager.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.
	* HostExecutionContextSwitcher.cs: Added missing Equals and
	GetHashCode methods and [ComVisible] and [ReliabilityContract] attrs.
	* ParameterizedThreadStart.cs: New delegate in NET_2_0.
	* SendOrPostCallback.cs: Added missing [ComVisible] attribute.
	* SynchronizationContext.cs: Added new (2.0 beta1) methods Copy and
	WaitHelper. Added missing [ComVisible] and [ReliabilityContract] attrs.
	* SynchronizationContextSwitcher.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.

svn path=/trunk/mcs/; revision=32264
2004-08-12 12:53:35 +00:00
Sebastien Pouliot 5b60b8d64a 2004-08-12 Sebastien Pouliot <[email protected]>
* SecurityContextSwitcher.cs: Added missing [ReliabilityContract] to
	Undo method.

svn path=/trunk/mcs/; revision=32263
2004-08-12 12:45:51 +00:00
Sebastien Pouliot 81a5a952f6 2004-08-12 Sebastien Pouliot <[email protected]>
* CER.cs: Copied from System.Runtime.Reliability. Fixed attributes.
	* Consistency.cs: Copied from System.Runtime.Reliability. Fixed
	attributes.
	* PrePrepareMethodAttribute.cs: Copied from System.Runtime.Reliability.
	Fixed attributes.
	* CriticialFinalizerObject.cs: Added missing finalizer and attributes.
	* ReliabilityContractAttribute.cs: Copied from System.Runtime.
	Reliability. Fixed attributes.

svn path=/trunk/mcs/; revision=32262
2004-08-12 12:44:02 +00:00
Sanja Gupta 6c5c4e350d ChangeLog: Updated ChangeLog.
IField.cs:
IFilter.cs:
IParameters.cs:
IPersonalizable.cs:
IRow.cs:
ITable.cs:
ITrackingPersonalizable.cs:
ITransformerConfigurationControl.cs:
IVersioningPersonalizable.cs:
IWebActionable.cs:
IWebEditable.cs:
IWebPart.cs:
IWebPartHttpHandler.cs: Added new interfaces.

svn path=/trunk/mcs/; revision=32261
2004-08-12 12:01:58 +00:00
Sachin Kumar 5f681faa0f Added new tests for With Statement
svn path=/trunk/mcs/; revision=32260
2004-08-12 11:06:17 +00:00
Sanja Gupta ce001f349a ChangeLog: Updated ChangeLog.
ConnectionConsumerCallback.cs:
ConnectionProviderCallback.cs:
WebPartAuthorizationEventArgs.cs:
WebPartAuthorizationEventHandler.cs:
WebPartCancelEventArgs.cs:
WebPartCancelEventHandler.cs:
WebPartConnectionsEventArgs.cs:
WebPartConnectionsEventHandler.cs:
WebPartDisplayModeCancelEventArgs.cs:
WebPartDisplayModeCancelEventHandler.cs:
WebPartDisplayModeEventArgs.cs:
WebPartDisplayModeEventHandler.cs:
WebPartEventArgs.cs:
WebPartEventHandler.cs:
WebPartVerbsEventArgs.cs:
WebPartVerbsEventHandler.cs: Added new EventArgs and EventHandlers.

svn path=/trunk/mcs/; revision=32259
2004-08-12 10:06:22 +00:00
Sureshkumar T 10ea22496f 2004-08-12 Sureshkumar T <[email protected]>
* SqlDataReader.cs - In Close method, the remaining resultsets are drained
			     out, to read output parameters & to avoid stream overlap

svn path=/trunk/mcs/; revision=32258
2004-08-12 09:44:48 +00:00
Sachin Kumar 1e9ffc63fe Added new tests for Local Declaration Statements
svn path=/trunk/mcs/; revision=32256
2004-08-12 08:13:39 +00:00
Sanja Gupta e0e3217879 ChangeLog: Updated ChangeLog.
SendMailErrorEventArgs.cs:
SendMailErrorEventHandler.cs:
SiteMapNodeItemEventArgs.cs:
SiteMapNodeItemEventHandler.cs:
SqlDataSourceSelectingEventArgs.cs:
SqlDataSourceSelectingEventHandler.cs:
TreeNodeEventArgs.cs:
TreeNodeEventHandler.cs:
WizardNavigationEventArgs.cs:
WizardNavigationEventHandler.cs: Added new event args and handlers.

svn path=/trunk/mcs/; revision=32255
2004-08-12 08:00:10 +00:00
Anirban Bhattacharjee 97dfb2ac06 2004-08-05 Anirban Bhattacharjee <[email protected]>
* InheritanceJ.vb: New test case
        * InheritanceA.vb: made corrections
        * InterfaceC.vb: Enhanced

svn path=/trunk/mcs/; revision=32254
2004-08-12 05:53:43 +00:00
Anirban Bhattacharjee 331ee0c951 2004-08-12 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Implements support in Abstract methods

svn path=/trunk/mcs/; revision=32253
2004-08-12 05:39:02 +00:00
Anirban Bhattacharjee 8d2b1fbf56 2004-08-12 Anirban Bhattacharjee <[email protected]>
* class.cs: Support for abstract method resolution
        * pending.cs: Type of pending_implementations is set to base type
                      Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful

svn path=/trunk/mcs/; revision=32252
2004-08-12 04:09:38 +00:00
Bernie Solomon aaa5213fe7 2004-08-11 Bernie Solomon <[email protected]>
* mini.c: ovfops_op_map - add STACK_OBJ case for
	CONV_I
	* basic.cs: add test_0_pin_string as test
	case for above.

svn path=/trunk/mono/; revision=32251
2004-08-12 00:12:49 +00:00
Bernie Solomon a15a172e08 2004-08-11 Bernie Solomon <[email protected]>
* TypeOf.vb:
	* Test.Sources: New test

svn path=/trunk/mcs/; revision=32250
2004-08-11 23:46:32 +00:00
Peter Dennis Bartok 509ae706c1 - Never check in before compiling. Fixes the last check-in
svn path=/trunk/mcs/; revision=32249
2004-08-11 22:28:02 +00:00
Peter Dennis Bartok 18c834d887 - More signature fixes
svn path=/trunk/mcs/; revision=32248
2004-08-11 22:26:14 +00:00
Peter Dennis Bartok 7c5352cb07 - Signature fixes
svn path=/trunk/mcs/; revision=32247
2004-08-11 22:20:59 +00:00
Peter Dennis Bartok c664b2a343 - Fixed Signature
- Added .Net 1.1 method

svn path=/trunk/mcs/; revision=32246
2004-08-11 22:16:50 +00:00
Peter Dennis Bartok a16bfe5b22 - Fixed BindingManagerBase.cs filename
svn path=/trunk/mcs/; revision=32245
2004-08-11 21:25:42 +00:00
Peter Dennis Bartok 3c8680348a - Fixed filename for BindingManagerBase.cs
- Alphabetized files

svn path=/trunk/mcs/; revision=32244
2004-08-11 21:24:52 +00:00
Peter Dennis Bartok 0ec0829957 - Was checked in with wrong filename
svn path=/trunk/mcs/; revision=32243
2004-08-11 21:22:27 +00:00
Duncan Mak 760e3adff8 Use XML_DEP.
svn path=/trunk/mcs/; revision=32242
2004-08-11 21:04:47 +00:00
Bernie Solomon c5d727a80f 2004-08-11 Bernie Solomon <[email protected]>
* Makefile.am: build C# if srcdir != builddir

svn path=/trunk/mono/; revision=32241
2004-08-11 20:56:36 +00:00
Peter Dennis Bartok 0bc158b74f - Updated
svn path=/trunk/mcs/; revision=32240
2004-08-11 20:50:13 +00:00
Gonzalo Paniagua Javier a0a3cdd4ce 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
* Cookie.cs: don't fail when using default constructor. Fixes bug
	#62890.

svn path=/trunk/mcs/; revision=32238
2004-08-11 20:34:56 +00:00
Gonzalo Paniagua Javier 5f80f81cd4 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
	than once and have multiple values. Don't rely on string.split when
	parsing cookie values.

	* WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
	Fixed GetValues (it was splitting values that contained a comma) and
	changed SetInternal to handle multi-value headers.

	Fixes bug #62744.

svn path=/trunk/mcs/; revision=32235
2004-08-11 20:03:15 +00:00
Jordi Mas i Hernandez aac6e4079a Fixes ClientRect
svn path=/trunk/mcs/; revision=32234
2004-08-11 19:41:38 +00:00
Duncan Mak a1aa3831cc * ProtectedConfigurationProvider.cs:
* ProviderBase.cs: Implemented.

* ConfigurationPropertyAttribute.cs: Implemented attribute.

* ConfigurationAllowDefinition.cs:
* ConfigurationUserLevel.cs:
* PathLevel.cs: Added enumerations.

svn path=/trunk/mcs/; revision=32233
2004-08-11 19:28:55 +00:00
Peter Dennis Bartok 51ea6a75d7 - We had SetWindowPos and MoveWindow to set window positions and size,
removed MoveWindow. We have GetWindowPos, so it made sense to keep
  SetWindowPos as matching counterpart
- Added some X11 sanity checking

svn path=/trunk/mcs/; revision=32232
2004-08-11 19:19:44 +00:00
Peter Dennis Bartok 6e9b93d740 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
(It seems that SetBounds is just a front for SetBoundsCore and
   SetBoundsCore updates the underlying window system and UpdateBounds is
   responsible for updating the variables associated with the Control and
   sending the events)
- Major cleanup of Size handling; we now have two sizes, client_size and
  bounds. Bounds defines the window with decorations, client_size without
  them.

svn path=/trunk/mcs/; revision=32231
2004-08-11 18:59:45 +00:00
Peter Dennis Bartok 39371c0079 - Added method to calculate difference between decorated window and raw
client area

svn path=/trunk/mcs/; revision=32230
2004-08-11 18:55:46 +00:00
Peter Dennis Bartok 84f41b6be1 - Forcing redraw on resize
svn path=/trunk/mcs/; revision=32229
2004-08-11 18:54:11 +00:00
Marek Safar ca6cfaea2f 2004-08-11 Marek Safar <[email protected]>
* AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
	Added call to AddPermissionRequests to pass permissions
	arguments.
	* Environment.cs: Added a few Fx 2.0 methods

svn path=/trunk/mcs/; revision=32228
2004-08-11 18:41:50 +00:00
Peter Dennis Bartok 0ce3c9d42d - Removed disposing of the actual images when the list is disposed
svn path=/trunk/mcs/; revision=32227
2004-08-11 17:43:08 +00:00
Zoltan Varga 5ee5f3c700 2004-08-11 Zoltan Varga <[email protected]>
* configure.in: Fix __thread test.

svn path=/trunk/mono/; revision=32226
2004-08-11 17:15:23 +00:00
Marek Safar 718bf99fc6 2004-08-11 Marek Safar <[email protected]>
* AssemblyBuilder.cs: Added AddPermissionRequests method
	used be mcs for SecurityPermissionAttribute handling.

svn path=/trunk/mcs/; revision=32225
2004-08-11 17:14:46 +00:00
Marek Safar dee7307e2a new error tests
svn path=/trunk/mcs/; revision=32224
2004-08-11 17:03:41 +00:00
Sebastien Pouliot a6cdac22f8 2004-08-11 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Basic implementation for Demand (without
	full stack trace, i.e. Assert, Deny and PermitOnly aren't considered).
	Added TODO to unimplemented NET_2_0 methods.
	* HostSecurityManager.cs: Added comments (as it looked not implemented
	even to myself).
	* PermissionSet.cs: Fixed Unrestricted when copied. Changed exception
	ordering in Copy (ArgumentNullException couldn't work). Made IsEmpty
	more robust.
	* SecurityManager.cs: Implemented IsGranted using Assembly.Demand.
	Basic implementation for policy resolution.

svn path=/trunk/mcs/; revision=32223
2004-08-11 16:54:45 +00:00
Bernie Solomon 463ef66d17 2004-08-11 Bernie Solomon <[email protected]>
* mb-parser.jay: first cut at TypeOf ... Is

svn path=/trunk/mcs/; revision=32222
2004-08-11 16:49:20 +00:00
Sebastien Pouliot 8cd6e29fd7 2004-08-11 Sebastien Pouliot <[email protected]>
* ApplicationSecurityInfo.cs: Added missing interfaces.
	* PolicyLevel.cs: Load policies from files, using *.default files if
	policy is missing (like Fx 2.0). Fixed Resolve never to return null.
	Added hardcoded policy defaults (to be updated as CAS progress) in
	case no policy file, nor default files, are available.
	* PolicyStatement.cs: Fixed AttributeString. Added internal static
	Empty method (helper).

svn path=/trunk/mcs/; revision=32221
2004-08-11 16:47:00 +00:00
Bernie Solomon bc8e30a10a Forgot Test.Sources, use Tabs in EnumB.vb
svn path=/trunk/mcs/; revision=32220
2004-08-11 16:43:03 +00:00
Bernie Solomon c88e696ae2 2004-08-11 Bernie Solomon <[email protected]>
* expression.cs:
	* ecore.cs: More enum changes to handle
	implicit conversions better

svn path=/trunk/mcs/; revision=32219
2004-08-11 15:47:49 +00:00
Bernie Solomon d8328bfece 2004-08-11 Bernie Solomon <[email protected]>
* EnumB.vb:
	* Test.Sources: New test

svn path=/trunk/mcs/; revision=32218
2004-08-11 15:47:22 +00:00
Peter Dennis Bartok 452ff1a7c0 - Now properly reparents windows
svn path=/trunk/mcs/; revision=32215
2004-08-11 15:13:32 +00:00
Martin Baulig 388d37ab53 2004-08-11 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineType): Create the TypeBuilder
	before resolving the base classes.

svn path=/trunk/mcs/; revision=32214
2004-08-11 15:06:27 +00:00
Martin Baulig 90ea2dd956 2004-08-11 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): Also call
	mono_class_setup_mono_type() if we already have a `tb->type.type'.

svn path=/trunk/mono/; revision=32213
2004-08-11 14:58:41 +00:00
Peter Dennis Bartok c2e2cb4617 - Duh!
svn path=/trunk/mcs/; revision=32210
2004-08-11 14:37:11 +00:00
Sanja Gupta b7539f8ab0 ChangeLog: Updated ChangeLog.
ImageMapEventArgs.cs:
ImageMapEventHandler.cs:
MailMessageEventArgs.cs:
MailMessageEventHandler.cs:
MenuEventArgs.cs:
MenuEventHandler.cs:
ObjectDataSourceDisposingEventArgs.cs:
ObjectDataSourceDisposingEventHandler.cs:
ObjectDataSourceEventArgs.cs:
ObjectDataSourceEventHandler.cs:
ObjectDataSourceMethodEventArgs.cs:
ObjectDataSourceMethodEventHandler.cs:
ObjectDataSourceSelectingEventArgs.cs:
ObjectDataSourceSelectingEventHandler.cs:
ObjectDataSourceStatusEventArgs.cs:
ObjectDataSourceStatusEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32209
2004-08-11 14:18:43 +00:00
Peter Dennis Bartok f25344ee8e - Rewrote the collection stuff. Might not be as fast now, not keeping
the number of children around and accessible directly, but it's more
  straightforward

svn path=/trunk/mcs/; revision=32208
2004-08-11 13:47:22 +00:00
Peter Dennis Bartok 1f5b2f883e - Fixed to match ControlCollection rewrite
svn path=/trunk/mcs/; revision=32207
2004-08-11 13:44:33 +00:00
Peter Dennis Bartok 50411aaf20 - Added missing creation of the collection list
svn path=/trunk/mcs/; revision=32206
2004-08-11 13:43:13 +00:00
Sachin Kumar a60e918475 Added new tests for Local Variables Statements
svn path=/trunk/mcs/; revision=32205
2004-08-11 13:30:47 +00:00
Sebastien Pouliot 34b3978bd1 2004-08-11 Sebastien Pouliot <[email protected]>
* UnionCodeGroupTest.cs: Added unit tests for Resolve. Converted
	existing unit tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=32204
2004-08-11 13:14:38 +00:00
Dick Porter 70190c712f 2004-08-11 Dick Porter <[email protected]>
* sockets.c:
	* io.c: Returned handle values are the file descriptor the handle
	encapsulates

	* handles.c:
	* handles-private.h:
	* daemon.c: Reserve the range of handles that can have the same
	values as file descriptors.  These won't be used, but the values
	will be used as file, console, pipe or socket handles.  The fd to
	handle mapping is done internally and is invisible to users.
	Fixes bug 61828.

	* wapi-private.h (_WAPI_HANDLE_VERSION): Increment, because we now
	reserve a chunk of handle space.

svn path=/trunk/mono/; revision=32203
2004-08-11 13:07:13 +00:00
Sanja Gupta cbc44ae269 ChangeLog: Updated ChangeLog.
DetailsViewCommandEventArgs.cs:
FormViewCommandEventArgs.cs:
GridViewCommandEventArgs.cs: Corrected constructor.

svn path=/trunk/mcs/; revision=32202
2004-08-11 12:44:33 +00:00
Sanja Gupta 2099b0b117 ChangeLog: Updated ChangeLog.
GridViewCancelEditEventArgs.cs:
GridViewCancelEditEventHandler.cs:
GridViewCommandEventArgs.cs:
GridViewCommandEventHandler.cs:
GridViewDeletedEventArgs.cs:
GridViewDeletedEventHandler.cs:
GridViewDeleteEventArgs.cs:
GridViewDeleteEventHandler.cs:
GridViewEditEventArgs.cs:
GridViewEditEventHandler.cs:
GridViewPageEventArgs.cs:
GridViewPageEventHandler.cs:
GridViewRowEventArgs.cs:
GridViewRowEventHandler.cs:
GridViewSelectEventArgs.cs:
GridViewSelectEventHandler.cs:
GridViewSortEventArgs.cs:
GridViewSortEventHandler.cs:
GridViewUpdatedEventArgs.cs:
GridViewUpdatedEventHandler.cs:
GridViewUpdateEventArgs.cs:
GridViewUpdateEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32199
2004-08-11 11:36:04 +00:00
Sanja Gupta edbb878276 ChangeLog: Updated ChangeLog.
FormViewUpdatedEventArgs.cs: Corrected constructor.

svn path=/trunk/mcs/; revision=32198
2004-08-11 11:15:15 +00:00
Anirban Bhattacharjee df79a5481d 2004-08-11 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Interface inheritance made better

svn path=/trunk/mcs/; revision=32197
2004-08-11 09:18:55 +00:00
Anirban Bhattacharjee 12e8a1f7c2 The fixes were by Rob Tillie
svn path=/trunk/mcs/; revision=32196
2004-08-11 09:04:31 +00:00
Sanja Gupta a33fbf2002 ChangeLog: Updated ChangeLog.
FormViewCommandEventArgs: Corrected name of the class.

svn path=/trunk/mcs/; revision=32195
2004-08-11 08:15:41 +00:00
Anirban Bhattacharjee 886552bb80 2004-08-11 Anirban Bhattachartjee <[email protected]>
* Strings.cs: - Bug fix (#62235) - by Pedro Cardoso<[email protected]>
                      - Excetion handling in Join
                      - Support for Hex in format function (not sure whether this fix is a complete one)

svn path=/trunk/mcs/; revision=32194
2004-08-11 08:07:16 +00:00
Anirban Bhattacharjee 4c92f27508 2004-08-11 Anirban Bhattachartjee <[email protected]>
* Interaction.cs: Bug fix (#62234) - by Pedro Cardoso<[email protected]>

svn path=/trunk/mcs/; revision=32193
2004-08-11 07:48:59 +00:00
Jambunathan K aec1656cbf Fixed NormalizeArgs so that when an option starts
with a '/' or a '-', the option and the argument pair gets split
at the first ':' or '='. For example /out:"C:\HelloWorld.exe"
gets split up as /out and "C:\HelloWorld.exe".

svn path=/trunk/mcs/; revision=32189
2004-08-11 03:24:51 +00:00
Sachin Kumar 48ac4eb221 Added new tests for Block Statements
svn path=/trunk/mcs/; revision=32188
2004-08-11 02:49:53 +00:00
Jackson Harper 79257968c5 Get the paint message from WndProc
svn path=/trunk/mcs/; revision=32187
2004-08-11 02:08:53 +00:00
Jackson Harper 47b5257d7b Create Brushes as little as possible
svn path=/trunk/mcs/; revision=32186
2004-08-11 01:31:35 +00:00
Jackson Harper 27f0167c4d Add Flags attribute
svn path=/trunk/mcs/; revision=32185
2004-08-11 01:20:34 +00:00
Jackson Harper 132e3f3a56 Signature cleanup
svn path=/trunk/mcs/; revision=32184
2004-08-11 01:19:14 +00:00
Jackson Harper 0a2657d88e Add StatusBarDrawItem stuff to build
svn path=/trunk/mcs/; revision=32183
2004-08-11 01:11:17 +00:00
Jackson Harper 2ed9740a31 Initial implementation of status bar item drawing
svn path=/trunk/mcs/; revision=32182
2004-08-11 01:10:09 +00:00
Jordi Mas i Hernandez 0c71149b28 add missing methods, properties, and restructure to hide extra ones
svn path=/trunk/mcs/; revision=32181
2004-08-10 23:27:12 +00:00
Jackson Harper 36c596330d Add flags attribute
svn path=/trunk/mcs/; revision=32180
2004-08-10 22:24:21 +00:00
Sebastien Pouliot c894be6da9 2004-08-10 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Added new policy resolution tests (related to
	Zone). Converted existing unit tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=32178
2004-08-10 20:15:49 +00:00
Gonzalo Paniagua Javier bc9587697a 2004-08-10 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: multipart mails default body format is now the same as
	the one used for single part mails instead of being forced to
	"text/plain".

svn path=/trunk/mcs/; revision=32174
2004-08-10 19:35:44 +00:00
Jordi Mas i Hernandez ae9abbbc8a scrollbar enhancements and standarize on win colors defaults
svn path=/trunk/mcs/; revision=32173
2004-08-10 19:21:27 +00:00
Jackson Harper 786a41858d Add Draw Item
svn path=/trunk/mcs/; revision=32168
2004-08-10 18:59:57 +00:00
Jackson Harper f94eb2fa15 Implement DrawItem functionality
svn path=/trunk/mcs/; revision=32167
2004-08-10 18:52:30 +00:00
Jordi Mas i Hernandez 51f53262d2 Calls InvalidateRect before UpdateWindow
svn path=/trunk/mcs/; revision=32166
2004-08-10 18:47:16 +00:00
Jordi Mas i Hernandez e350def529 throw ontextchange event
svn path=/trunk/mcs/; revision=32165
2004-08-10 18:32:10 +00:00
Gonzalo Paniagua Javier ea94b27094 2004-08-10 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
	bug #62726.

svn path=/trunk/mcs/; revision=32163
2004-08-10 18:05:08 +00:00
Jackson Harper 74be589a7b * SystemColors.cs: Make Highlight colour match colour from windows
classic color scheme.

svn path=/trunk/mcs/; revision=32161
2004-08-10 18:04:01 +00:00
Peter Dennis Bartok fce8234921 - Added more to the still unfinished Dock/Anchor layout code
svn path=/trunk/mcs/; revision=32160
2004-08-10 17:43:04 +00:00
Peter Dennis Bartok 3e995afa8c - Added GetWindowPos method
svn path=/trunk/mcs/; revision=32159
2004-08-10 17:39:22 +00:00
Peter Dennis Bartok b0e0f2d6bb - Implemented several methods
svn path=/trunk/mcs/; revision=32158
2004-08-10 17:36:17 +00:00
Paolo Molaro 72cf920dea Tue Aug 10 19:23:47 CEST 2004 Paolo Molaro <[email protected]>
* dominators.c, mini.h, mini-x86.c: fix loop alignment with
	fall-through blocks.

svn path=/trunk/mono/; revision=32157
2004-08-10 16:21:40 +00:00
Jackson Harper 7a4771cb02 Allow control to handle buffering
svn path=/trunk/mcs/; revision=32155
2004-08-10 15:47:11 +00:00
Jackson Harper d06c75404b Allow control to handle buffering
svn path=/trunk/mcs/; revision=32154
2004-08-10 15:41:50 +00:00
Jackson Harper 1c63bec5de Let Control handle buffering.
svn path=/trunk/mcs/; revision=32153
2004-08-10 15:24:35 +00:00
Duncan Mak 4146c753e5 (PrintRequires): Since assembly versions are not changing with
releases, use "=" instead of ">=" to ensure that 2.0 packages will not
be picked over 1.0 packages.

svn path=/trunk/mcs/; revision=32151
2004-08-10 15:22:08 +00:00
Sebastien Pouliot 2c690a4c14 2004-08-10 Sebastien Pouliot <[email protected]>
* X509Store.cs: Now returns empty collection/list for certificates/
	CRL when access to a store is denied.

svn path=/trunk/mcs/; revision=32150
2004-08-10 15:14:35 +00:00
Sebastien Pouliot 45aa840540 2004-08-10 Sebastien Pouliot <[email protected]>
* certmgr.cs: Added option '-m' to add certificates to the machine
	stores (default to user store). Added better handling for
	UnauthorizedAccessException (e.g. non-root access to machine store).

svn path=/trunk/mcs/; revision=32149
2004-08-10 15:11:35 +00:00
Jackson Harper 57fad89730 Let Control handle all the buffering.
svn path=/trunk/mcs/; revision=32148
2004-08-10 15:09:29 +00:00
Jackson Harper b608bdd390 Control will now handle the buffering code, so each control does not have to implement this.
svn path=/trunk/mcs/; revision=32147
2004-08-10 15:08:05 +00:00
Jackson Harper 0fe398dfd0 Use default colors from the theme
svn path=/trunk/mcs/; revision=32146
2004-08-10 14:34:15 +00:00
Atsushi Eno 6dd3946949 2004-08-10 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : Replaced XmlSchemaCollection with
	  XmlSchemaSet. Added Settings property override

svn path=/trunk/mcs/; revision=32145
2004-08-10 14:27:57 +00:00
Atsushi Eno 82cf0449af 2004-08-10 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : replaced XmlSchemaCollection with
	  XmlSchemaSet. Removed unused code.

svn path=/trunk/mcs/; revision=32144
2004-08-10 14:26:46 +00:00
Atsushi Eno e91b293dbc 2004-08-10 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Replace XmlSchemaCollection with XmlSchemaSet that
	  used to maintain compiled schema state.
	  Simplified code a bit (Include processing).
	  Set IsCompiled = true only when successfully compiled.
	* XmlSchemaCollection.cs : Now it totally delegates its processing
	  to XmlSchemaSet. Removed unused methods.
	* XmlSchemaElement.cs : Added post-compiled information initializer
	  method, and call it before (re)Compile().
	* XmlSchemaSet.cs :
	  - Replaced internal store from Dictionary to List, since schema
	    resources for one target namespace can be more than one (that's why
	  - Schemas(string targetNamespace) returns ICollection).
	  - Now global schemaset members are added per schema addition (it is
	    more MS compatible than before).
	  - Use GetSafeNs() to do targetNamespace comparison correctly.

	  XmlSchemaSet looks still unstable, so it will be changed again.

	* XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaSimpleTypeUnion.cs,
	* XmlSchemaUtil.cs : Consider xdt namespace.

svn path=/trunk/mcs/; revision=32143
2004-08-10 14:25:39 +00:00
Atsushi Eno 4fe7d6d0e2 2004-08-10 Atsushi Enomoto <[email protected]>
* XmlSchemaCollection.cs : replaced CRLF to LF (they were mixed).

svn path=/trunk/mcs/; revision=32142
2004-08-10 14:08:10 +00:00
Atsushi Eno ac50fa24b0 2004-08-10 Atsushi Enomoto <[email protected]>
* DTDReader.cs : Replacing XmlSchemaDatatype .FromName(string) with
	  .FromName(string, string) [going to remove former one; it is not
	  good to support xdt:blah datatypes].

svn path=/trunk/mcs/; revision=32141
2004-08-10 13:52:25 +00:00
Paolo Molaro c1d0433ffe Tue Aug 10 16:18:22 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: enable loop by default again and include abcrem in -O=all.

svn path=/trunk/mono/; revision=32140
2004-08-10 13:15:49 +00:00
Sanja Gupta a36c2fc646 ChangeLog: Updated ChangeLog.
FormViewCommandEventArgs.cs:
FormViewCommandEventHandler.cs:
FormViewDeletedEventArgs.cs:
FormViewDeletedEventHandler.cs:
FormViewDeleteEventArgs.cs:
FormViewDeleteEventHandler.cs:
FormViewInsertedEventArgs.cs:
FormViewInsertedEventHandler.cs:
FormViewInsertEventArgs.cs:
FormViewInsertEventHandler.cs:
FormViewModeEventArgs.cs:
FormViewModeEventHandler.cs:
FormViewPageEventArgs.cs:
FormViewPageEventHandler.cs:
FormViewUpdatedEventArgs.cs:
FormViewUpdatedEventHandler.cs:
FormViewUpdateEventArgs.cs:
FormViewUpdateEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32139
2004-08-10 12:55:59 +00:00
Sanja Gupta f425d4040a ChangeLog: Update ChangeLog.
DetailsViewCommandEventArgs.cs:
DetailsViewCommandEventHandler.cs:
DetailsViewDeletedEventArgs.cs:
DetailsViewDeletedEventHandler.cs:
DetailsViewDeleteEventArgs.cs:
DetailsViewDeleteEventHandler.cs:
DetailsViewInsertedEventArgs.cs:
DetailsViewInsertedEventHandler.cs:
DetailsViewInsertEventArgs.cs:
DetailsViewInsertEventHandler.cs:
DetailsViewModeEventArgs.cs:
DetailsViewModeEventHandler.cs:
DetailsViewPageEventArgs.cs:
DetailsViewPageEventHandler.cs:
DetailsViewUpdatedEventArgs.cs:
DetailsViewUpdatedEventHandler.cs:
DetailsViewUpdateEventArgs.cs:
DetailsViewUpdateEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32138
2004-08-10 12:45:35 +00:00
Paolo Molaro dad96e1504 Link with all the needed libs.
svn path=/trunk/mono/; revision=32137
2004-08-10 10:12:11 +00:00
Paolo Molaro 1d5e22e40b Don't require config.h.in changes.
svn path=/trunk/mono/; revision=32136
2004-08-10 09:58:05 +00:00
Paolo Molaro c74a25cdc4 Handle old compilers in array init.
svn path=/trunk/mono/; revision=32134
2004-08-10 08:56:49 +00:00
Paolo Molaro 3a80172e9a Detect old compilers.
svn path=/trunk/mono/; revision=32133
2004-08-10 08:56:24 +00:00
Atsushi Eno 2fe23db0c0 2004-08-10 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : code reformatting. convert CRLF to LF.
	  Use String.Format() instead of +. Removed commented code.

svn path=/trunk/mcs/; revision=32132
2004-08-10 05:56:33 +00:00
Peter Dennis Bartok 9dc25f157d - Fixed several bugs Ravindra pointed out
svn path=/trunk/mcs/; revision=32124
2004-08-09 23:12:13 +00:00
Marek Safar 1a7ccfee39 2004-08-09 Marek Safar <[email protected]>
* corlib.dll.sources: Added System/EnvironmentVariableTarget.cs
	for NET_2_0.

svn path=/trunk/mcs/; revision=32123
2004-08-09 22:32:44 +00:00
Peter Dennis Bartok c590d8a650 - Added incomplete dock layout code
- Added support for mouse wheel

svn path=/trunk/mcs/; revision=32120
2004-08-09 22:11:25 +00:00
Peter Dennis Bartok c30768fb5c - Added handling for middle and right mousebutton
- Added handling for mouse wheel
- Added handling for key state and mouse state and position
- Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL messages

svn path=/trunk/mcs/; revision=32118
2004-08-09 22:09:47 +00:00
Jackson Harper 19e9ab0488 Add status bar panel files to the build
svn path=/trunk/mcs/; revision=32116
2004-08-09 21:40:50 +00:00
Jackson Harper 4b4fd0bd31 Initial checkin
svn path=/trunk/mcs/; revision=32115
2004-08-09 21:40:17 +00:00
Jackson Harper 66ac7f0512 Initial implementation of StatusBar
svn path=/trunk/mcs/; revision=32114
2004-08-09 21:37:49 +00:00
Jackson Harper 4c2d146205 Add support for drawing status bar and getting status bar item sizes
svn path=/trunk/mcs/; revision=32113
2004-08-09 21:36:34 +00:00
Peter Dennis Bartok aaf76eb8fe - Fixed values
svn path=/trunk/mcs/; revision=32112
2004-08-09 21:35:34 +00:00
Jackson Harper 24d3826971 Add support for drawing status bar and get status bar item sizes
svn path=/trunk/mcs/; revision=32111
2004-08-09 21:34:54 +00:00
Jackson Harper 174c6b79ec Use known colors for default control colours
svn path=/trunk/mcs/; revision=32110
2004-08-09 21:21:49 +00:00
Jackson Harper a9da021cb0 Make the default font static, it is static in control so this doesn't change functionality and creating fonts is sloooooow.
svn path=/trunk/mcs/; revision=32107
2004-08-09 21:12:15 +00:00
Peter Dennis Bartok c38dc05ad3 - Added GrabMode enum
svn path=/trunk/mcs/; revision=32106
2004-08-09 20:56:18 +00:00
Peter Dennis Bartok b394c29b0b - Removed Run method, was only required for initial development
svn path=/trunk/mcs/; revision=32105
2004-08-09 20:55:59 +00:00
Peter Dennis Bartok f2b50c46da - Implemented GrabWindow/ReleaseWindow methods to allow pointer capture
svn path=/trunk/mcs/; revision=32103
2004-08-09 20:51:25 +00:00
Peter Dennis Bartok 2248c9b534 - Fixed default sizing for child windows
svn path=/trunk/mcs/; revision=32101
2004-08-09 19:48:08 +00:00
Peter Dennis Bartok 55f4296278 - Added generation of WM_DESTROY message
- Added handling of window manager induced shutdown

svn path=/trunk/mcs/; revision=32095
2004-08-09 18:56:55 +00:00
Sebastien Pouliot 04b52a2d4e 2004-08-09 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
	references). Added (non-obsolete) Fx 2.0 properties and methods.
	* AppDomainSetup.cs: Added internal copy constructor.
	* DomainManagerInitializationFlags.cs: Fixed values.

svn path=/trunk/mcs/; revision=32094
2004-08-09 18:04:49 +00:00
Sebastien Pouliot 765e0f5ebd 2004-08-09 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added System/ApplicationIdentityTest.cs and
	ApplicationIdTest.cs unit tests for NET_2_0.

svn path=/trunk/mcs/; revision=32093
2004-08-09 17:36:44 +00:00
Jackson Harper a3cac0de94 New names for control properties
svn path=/trunk/mcs/; revision=32092
2004-08-09 17:31:13 +00:00
Sebastien Pouliot eb5a286079 2004-08-09 Sebastien Pouliot <[email protected]>
* ApplicationIdTest.cs: New. Unit tests for ApplicationId (NET_2_0).
	* ApplicationIdentityTest.cs: New. Unit tests for ApplicationIdentity
	(NET_2_0).
	* AppDomainTest.cs: Added new unit tests for AppDomain (both fx 1.1
	and 2.0).

svn path=/trunk/mcs/; revision=32090
2004-08-09 17:28:46 +00:00
Jackson Harper 924b583cc8 Use new color names
svn path=/trunk/mcs/; revision=32089
2004-08-09 17:25:56 +00:00
Atsushi Eno 1c4f8a680a 2004-08-09 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs :
	  Don't initialize output more than once. TextWriter is wrapped twice.

svn path=/trunk/mcs/; revision=32088
2004-08-09 17:24:51 +00:00
Jackson Harper 755c7b6d17 Get default window properties from the theme
svn path=/trunk/mcs/; revision=32086
2004-08-09 17:02:29 +00:00
Jackson Harper 56e07c699d The theme engine now controls default window properties
svn path=/trunk/mcs/; revision=32085
2004-08-09 17:01:02 +00:00
Jackson Harper 40f74c8777 Add default window color properties
svn path=/trunk/mcs/; revision=32084
2004-08-09 17:00:00 +00:00
Gonzalo Paniagua Javier 58dba0999f 2004-08-09 Gonzalo Paniagua Javier <[email protected]>
* CodeEntryPointMethod.cs: patch by Fawad Halim that makes the entry
	point method public.

svn path=/trunk/mcs/; revision=32082
2004-08-09 16:29:28 +00:00
Jackson Harper e6839a4a96 Use correct default back color
svn path=/trunk/mcs/; revision=32081
2004-08-09 16:17:19 +00:00
Jackson Harper 4c29cabc96 These properties are handled by the theme now.
svn path=/trunk/mcs/; revision=32080
2004-08-09 16:05:16 +00:00
Jackson Harper e53747b622 Remove defaults, these are handled by the theme now.
svn path=/trunk/mcs/; revision=32079
2004-08-09 15:56:44 +00:00
Jackson Harper 51b167dce0 Get default properties from the theme.
svn path=/trunk/mcs/; revision=32078
2004-08-09 15:54:51 +00:00
Jackson Harper c5155ce999 Themes now handle default control properties
svn path=/trunk/mcs/; revision=32077
2004-08-09 15:53:58 +00:00
Jackson Harper cd297e7627 Themes now handle default control properties so coloring will be consistent
svn path=/trunk/mcs/; revision=32076
2004-08-09 15:53:12 +00:00
Jambunathan K 5fa410a8ee Regex pattern in CreateErrorFromString() now
reads (?<level>error|warning) instead of (?<level>\w*). This is
so that mbas's ALPHA message doesn't get captured as a error
string.

svn path=/trunk/mcs/; revision=32075
2004-08-09 15:41:35 +00:00
Sebastien Pouliot 2b70629dce 2004-08-09 Sebastien Pouliot <[email protected]>
* appdomain.c: Fix ves_icall_System_AppDomain_getDomainByID when
	called during default (first) AppDomain creation. Keep track of
	Evidence when loading assemblies.

svn path=/trunk/mono/; revision=32074
2004-08-09 14:41:30 +00:00
Sebastien Pouliot ec8543ce07 2004-08-09 Sebastien Pouliot <[email protected]>
* ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.

svn path=/trunk/mcs/; revision=32073
2004-08-09 14:18:01 +00:00
Paolo Molaro efdb67f5e6 Missing from commit.
svn path=/trunk/mono/; revision=32072
2004-08-09 14:01:32 +00:00
Sebastien Pouliot b433d83cc1 2004-08-09 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System/ApplicationId.cs,
	System.Reflection/ImageFileMachine.cs and PortableExecutableKind.cs,
	and System.Security.Policy/ApplicationSecurityInfo.cs for NET_2_0.

svn path=/trunk/mcs/; revision=32071
2004-08-09 13:41:30 +00:00
Sebastien Pouliot c447c5945e 2004-08-09 Sebastien Pouliot <[email protected]>
* ApplicationSecurityInfo.cs: New. Stub for NET_2_0.

svn path=/trunk/mcs/; revision=32070
2004-08-09 13:39:30 +00:00
Sebastien Pouliot 17b07496ae 2003-08-09 Sebastien Pouliot <[email protected]>
* AssemblyTest.cs: Added new tests for 1.1 and 2.0 features. Converted
	existing tests to NUnit 2.2.

svn path=/trunk/mcs/; revision=32069
2004-08-09 13:32:12 +00:00
Sebastien Pouliot 36271751e0 l2004-08-09 Sebastien Pouliot <[email protected]>
* Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
	properties (required for compiling the new unit tests).
	* PortableExecutableKind.cs: New. Flags for NET_2_0.
	* ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.

svn path=/trunk/mcs/; revision=32068
2004-08-09 13:29:45 +00:00
Sanja Gupta d5f6ed77e6 ChangeLog: Updated ChangeLog.
AuthenticateEventArgs.cs:
AuthenticateEventHandler.cs:
CreateUserErrorEventArgs.cs:
CreateUserErrorEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32067
2004-08-09 13:23:54 +00:00
Paolo Molaro ac212882fa Mon Aug 9 14:41:45 CEST 2004 Paolo Molaro <[email protected]>
* opcodes.c, opcodes.h: reduce runtime relocations.

svn path=/trunk/mono/; revision=32066
2004-08-09 11:41:12 +00:00
Jambunathan K c19423cd7d Sanitized parser's generic error message
svn path=/trunk/mcs/; revision=32065
2004-08-09 11:40:47 +00:00
Sanja Gupta c747bccb09 ChangeLog: Updated ChaneLog.
ControlSkinProc.cs:
DataSourceViewOperationCallback.cs:
DataSourceViewSelectCallback.cs:
ExtractTemplateValuesMethod.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32064
2004-08-09 11:33:29 +00:00
Paolo Molaro 9bff00c59f Mon Aug 9 13:30:53 CEST 2004 Paolo Molaro <[email protected]>
* culture-info.h, locales.c: fixes and chages to sue the new
	optimized format of the locale data.
	* culture-info-tables.h: regenerated.

svn path=/trunk/mono/; revision=32063
2004-08-09 10:31:36 +00:00
Sanja Gupta d911399a3a ChangeLog: Updated ChangeLog.
SessionStateItemExpireCallback.cs: Added delegate.
SessionStateStoreData.cs: Added a new class.

svn path=/trunk/mcs/; revision=32062
2004-08-09 10:26:46 +00:00
Paolo Molaro a90972a127 Mon Aug 9 13:24:09 CEST 2004 Paolo Molaro <[email protected]>
* Driver.cs, Entry.cs, CultureInfoEntry.cs, DateTimeFormatEntry.cs,
	NumberFormatEntry.cs: create a more compact representation of the
	data.

svn path=/trunk/mono/; revision=32061
2004-08-09 10:23:38 +00:00
Sureshkumar T 0abe4411e7 2004-08-09 Sureshkumar T <[email protected]>
* Tds70.cs - Prepare Method stored procedure handle read problem fixed.

svn path=/trunk/mcs/; revision=32060
2004-08-09 08:10:22 +00:00
Jordi Mas i Hernandez 8dc8d8bc16 Label BorderStyles
svn path=/trunk/mcs/; revision=32058
2004-08-08 22:54:21 +00:00
Jordi Mas i Hernandez d4b4a511f9 fixes keyboard crash
svn path=/trunk/mcs/; revision=32057
2004-08-08 21:08:10 +00:00
Jordi Mas i Hernandez 3c836a47c1 add cvs header info
svn path=/trunk/mcs/; revision=32056
2004-08-08 19:47:41 +00:00
Rafael Teixeira f89180be7e oops, forgot to yank some writeline-debugging lines
svn path=/trunk/mcs/; revision=32055
2004-08-08 18:51:12 +00:00
Rafael Teixeira f208b1f595 2004-08-08 Rafael Teixeira <[email protected]>
* OptionDetails.cs : Well format options longform with a double-dash only if parsingMode has OptionsParsingMode.GNU_DoubleDash set
	* new OptionsParsingMode.cs source, extracted from OptionList.cs - added GNU_DoubleDash member to the enum
	* Mono.GetOptions.dll.sources: added OptionsParsingMode.cs

svn path=/trunk/mcs/; revision=32054
2004-08-08 18:48:29 +00:00
Jackson Harper a70bd89519 Add pen_buttonface
svn path=/trunk/mcs/; revision=32052
2004-08-08 18:09:53 +00:00
Jordi Mas i Hernandez e36705a650 *** empty log message ***
svn path=/trunk/mcs/; revision=32051
2004-08-08 17:52:12 +00:00
Jordi Mas i Hernandez f477bbe241 Use Windows Standard Colours
svn path=/trunk/mcs/; revision=32050
2004-08-08 17:34:28 +00:00
Marek Safar f443ce64ff New test support file
svn path=/trunk/mcs/; revision=32048
2004-08-08 16:49:19 +00:00
Miguel de Icaza f9a3c61812 Remove all non-implemented bit from the output
svn path=/trunk/mcs/; revision=32046
2004-08-08 16:01:59 +00:00
Sebastien Pouliot 1bf39f1afd 2004-08-08 Sebastien Pouliot <[email protected]>
* AppDomainManager.cs: Commented line to fix NET_2_0 build - as it
	depends on some stuff not yet commited.

svn path=/trunk/mcs/; revision=32045
2004-08-08 15:57:24 +00:00
Sebastien Pouliot 8321b3d403 2004-08-08 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System/AppDomainInitializer.cs,
	AppDomainManager.cs, ApplicationActivator.cs and
	DomainManagerInitializationFlags.cs. Added System.Threading/
	HostExecutionContext.cs, HostExecutionContextManager.cs and
	HostExecutionContextSwitcher.cs for NET_2_0.

svn path=/trunk/mcs/; revision=32044
2004-08-08 15:02:36 +00:00
Sebastien Pouliot 5ba8fb6765 2004-08-08 Sebastien Pouliot <[email protected]>
* AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
	* AppDomainManager.cs: New Fx 2.0 class for AppDomain.
	* ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
	* ApplicationId.cs: New Fx 2.0 class.
	* ApplicationIdentity.cs: Fixed ToString.
	* DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.

svn path=/trunk/mcs/; revision=32043
2004-08-08 14:58:48 +00:00
Sebastien Pouliot 0fa12c2f85 2004-08-08 Sebastien Pouliot <[email protected]>
* Assembly.cs: Get default evidences when no evidences have been
	supplied. Added internal methods for CAS.
	* AssemblyName.cs: New constructor for NET_2_0.

svn path=/trunk/mcs/; revision=32042
2004-08-08 14:50:05 +00:00
Sebastien Pouliot f7ddf923fb 2004-08-08 Sebastien Pouliot <[email protected]>
* HostExecutionContext.cs: Fx 2.0 stub required for AppDomain.
	* HostExecutionContextManager.cs: Fx 2.0 stub required for AppDomain.
	* HostExecutionContextSwitcher.cs: Fx 2.0 stub required for AppDomain.

svn path=/trunk/mcs/; revision=32041
2004-08-08 14:44:25 +00:00
Sebastien Pouliot c8bbc414b8 2004-08-08 Sebastien Pouliot <[email protected]>
* Evidence.cs: Added new static internal method to create default
	host evidences for an assembly.
	* FileCodeGroup.cs: Added incomplete (no children) policy resolution
	in order to load more complex policies.
	* Hash.cs: Added ISerialization support (required for cross-domain
	evidence support, like nunit).
	* NetCodeGroup.cs: Added incomplete (no children) policy resolution in
	order to load more complex policies.

svn path=/trunk/mcs/; revision=32040
2004-08-08 14:41:52 +00:00
Zoltan Varga 3ccd776134 2004-08-08 Zoltan Varga <[email protected]>
* get.c (get_typespec): Append '*' to pointer types. Fixes #62331.

svn path=/trunk/mono/; revision=32039
2004-08-08 10:25:04 +00:00
Zoltan Varga d6f0d67056 2004-08-08 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Add regression test for #62237.

svn path=/trunk/mcs/; revision=32038
2004-08-08 10:17:35 +00:00
Zoltan Varga 2153ab5b16 2004-08-08 Zoltan Varga <[email protected]>
* EnumBuilder.cs: Call setup_enum_type () in the constructor. Fixes
	#62237.

svn path=/trunk/mcs/; revision=32037
2004-08-08 10:16:59 +00:00
Zoltan Varga c3f3eabfba 2004-08-08 Zoltan Varga <[email protected]>
* iltests.il: Add some localloc tests.

svn path=/trunk/mono/; revision=32036
2004-08-08 09:48:09 +00:00
Zoltan Varga aac006f04e 2004-08-08 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Set stack type of LOCALLOC correctly.

	* inssel-amd64.brg inssel-x86.brg: Set dreg of LOCALLOC correctly.
	Fixes #62574.

	* inssel-amd64.brg: Add some optimizations.

svn path=/trunk/mono/; revision=32035
2004-08-08 09:44:20 +00:00
Anirban Bhattacharjee 3b1f800511 2004-08-07 Anirban Bhattacharjee <[email protected]>
* enum.cs: Enum members became enum type now, instead of underlying type

svn path=/trunk/mcs/; revision=32034
2004-08-08 09:31:13 +00:00
Zoltan Varga f4f1dcc27b 2004-08-08 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_setup_jit_tls_data): Add tls offset detection
	for gcc-3.4.

	* Makefile.am: Statically link mono against libmono on AMD64.

svn path=/trunk/mono/; revision=32033
2004-08-08 08:48:54 +00:00
Bernie Solomon 63de54ce7e forgot it in last checkin
svn path=/trunk/mcs/; revision=32031
2004-08-08 03:41:15 +00:00
Bernie Solomon 3d179cf35f 2004-08-07 Bernie Solomon <[email protected]>
* GetType.vb:
	* Test.sources: add a test for GetType

svn path=/trunk/mcs/; revision=32030
2004-08-08 03:24:04 +00:00
Bernie Solomon cd8cf93016 * mb-parser.jay:
implement Is as equals for the moment so it can be used

svn path=/trunk/mcs/; revision=32029
2004-08-08 02:33:57 +00:00
Jackson Harper ff3ae81a48 * AssemblyBuilder.cs: "neutral" culture is invariant culture
(String.Empty).

svn path=/trunk/mcs/; revision=32028
2004-08-08 00:02:41 +00:00
Miguel de Icaza 4fb43ec63c Do not use a single line
svn path=/trunk/mcs/; revision=32027
2004-08-07 23:45:53 +00:00
Miguel de Icaza fc462036af Document -addmodule
svn path=/trunk/mcs/; revision=32026
2004-08-07 23:42:54 +00:00
Jordi Mas i Hernandez ec2cc2ef0f throw exceptions of invalid enums values
svn path=/trunk/mcs/; revision=32025
2004-08-07 23:32:26 +00:00
Jordi Mas i Hernandez d292d296f8 fixes label bug and draw method name
svn path=/trunk/mcs/; revision=32024
2004-08-07 23:31:15 +00:00
Jackson Harper 9872300292 Add HorizontalAlignment enum to build
svn path=/trunk/mcs/; revision=32023
2004-08-07 23:01:17 +00:00
Jackson Harper 75ce8f4e21 Initial checkin
svn path=/trunk/mcs/; revision=32022
2004-08-07 22:56:34 +00:00
Zoltan Varga b28646c117 2004-08-08 Zoltan Varga <[email protected]>
* mini-amd64.c inssel-amd64.brg: Optimizations.

svn path=/trunk/mono/; revision=32021
2004-08-07 21:03:17 +00:00
Jordi Mas i Hernandez 042363455e throw exceptions, fixes events, missing methods
svn path=/trunk/mcs/; revision=32020
2004-08-07 19:16:31 +00:00
Jordi Mas i Hernandez 9d58a22168 Theme colour support and GetSysColor defines
svn path=/trunk/mcs/; revision=32019
2004-08-07 19:05:44 +00:00
Zoltan Varga 91ee07cdda 2004-08-07 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_emit_prolog): Optimize lmf saving a bit.

	* tramp-amd64.c: Patch calling code in trampolines.

svn path=/trunk/mono/; revision=32018
2004-08-07 17:14:05 +00:00
Atsushi Eno 0dbee2ebaa 2004-08-07 Atsushi Enomoto <[email protected]>
* ConfigurationElement.cs,
	  ConfigurationProperty.cs,
	  ConfigurationPropertyCollection.cs,
	  ConfigurationValidationAttribute.cs : use XML_DEP.

svn path=/trunk/mcs/; revision=32016
2004-08-07 16:59:29 +00:00
Bernie Solomon b8a05dfe98 2004-08-07 Bernie Solomon <[email protected]>
* mb-parser.jay: Implement GetType(x)

svn path=/trunk/mcs/; revision=32014
2004-08-07 16:15:27 +00:00
Atsushi Eno b2517827a6 2004-08-07 Atsushi Enomoto <[email protected]>
* OpCodes.cs : csc complains CS1034 Line cannot exceed 2046 characters.

svn path=/trunk/mcs/; revision=32013
2004-08-07 16:02:46 +00:00
Atsushi Eno c47479a795 2004-08-07 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : /generator (/g) option didn't work, since it usually
	  ends with .dll (or .exe) and regarded as mere assembly filename.

svn path=/trunk/mcs/; revision=32012
2004-08-07 14:42:08 +00:00
Anirban Bhattacharjee 3236b3608b 2004-08-07 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Check for empty enum declaration

svn path=/trunk/mcs/; revision=32011
2004-08-07 13:02:24 +00:00
Anirban Bhattacharjee 932f0579e6 Anirban Bhattacharjee <[email protected]>
* class.cs:
        * mb-parser.jay:
                Multiple Implements for a particular type member got implemented

svn path=/trunk/mcs/; revision=32010
2004-08-07 11:31:50 +00:00
Anirban Bhattacharjee c8e9583a94 2004-08-05 Anirban Bhattacharjee <[email protected]>
* InterfaceH.vb: New test case

svn path=/trunk/mcs/; revision=32009
2004-08-07 06:55:26 +00:00
Jackson Harper 6a472f7b51 Add flags and serializable attributes.
svn path=/trunk/mcs/; revision=32008
2004-08-07 00:02:04 +00:00
Peter Dennis Bartok 1edbfb45e5 - Fixed some rounding issues with float/int
svn path=/trunk/mcs/; revision=32007
2004-08-07 00:01:39 +00:00
Peter Dennis Bartok 18412aee76 - Implemented GetParent
svn path=/trunk/mcs/; revision=32006
2004-08-06 23:46:56 +00:00
Peter Dennis Bartok 78107fcae5 - Fixed some rounding issues with float/int
svn path=/trunk/mcs/; revision=32005
2004-08-06 23:18:06 +00:00
Peter Dennis Bartok d00b65c93a - Fixed Refresh and Invalidate
svn path=/trunk/mcs/; revision=32004
2004-08-06 23:17:44 +00:00
Zoltan Varga ee2d584b83 2004-08-07 Zoltan Varga <[email protected]>
* configure.in: Add proper checks for the 'undefined reference to '__tls_get_addr' problem.

svn path=/trunk/mono/; revision=32003
2004-08-06 21:58:28 +00:00
Geoff Norton 227f2168ac Patch for bug #62532 implemention of a kqueue/kevent based FileSystemWatcher.
svn path=/trunk/mono/; revision=32002
2004-08-06 21:42:00 +00:00
Geoff Norton 2ede344b8f Patch for bug #62532 implemention of a kqueue/kevent based FileSystemWatcher.
svn path=/trunk/mcs/; revision=32002
2004-08-06 21:42:00 +00:00
Peter Dennis Bartok babdf19db1 - Fixed recursive loop when resizing
- Improved/fixed redrawing on expose messages

svn path=/trunk/mcs/; revision=32001
2004-08-06 21:30:56 +00:00
Martin Baulig 423999a489 Make it compile.
svn path=/trunk/mcs/; revision=32000
2004-08-06 21:10:26 +00:00
Marek Safar 19d65e011c 2004-08-06 Marek Safar <[email protected]>
* report.cs: Renamed Error_T to Error and changed all
	references.

svn path=/trunk/mcs/; revision=31999
2004-08-06 20:51:38 +00:00
Gonzalo Paniagua Javier 0880d1c9b8 2004-08-06 Gonzalo Paniagua Javier <[email protected]>
* executable.make:
	* library.make: install/clean .mdb files.

svn path=/trunk/mcs/; revision=31997
2004-08-06 20:01:26 +00:00
Bernie Solomon b117062fe4 2004-08-06 Bernie Solomon <[email protected]>
* Dll1.vb:
	* Import1.vb: test importing a DLL with a byref arg
	* Makefile: build support DLLs
	* Test.Sources: add new test

svn path=/trunk/mcs/; revision=31995
2004-08-06 18:44:53 +00:00
Duncan Mak f37536547d * ConfigurationElement.cs: Added stubs.
* ConfigurationProperty.cs:
* ConfigurationPropertyCollection.cs:
* ConfigurationValidationAttribute.cs: Added.

* ConfigurationPropertyFlags.cs:
* ConfigurationUpdateMode.cs: Added 2.0 enumerations.

svn path=/trunk/mcs/; revision=31989
2004-08-06 18:36:13 +00:00
Bernie Solomon 362d423325 2004-08-06 Bernie Solomon <[email protected]>
* support.cs: Make ReflectionParameter behave
	like InternalParameter for byref args.
	* expression.cs: Cope with byref args in
	an imported DLL

svn path=/trunk/mcs/; revision=31988
2004-08-06 18:29:34 +00:00
Gonzalo Paniagua Javier 17e12ece4b 2004-08-06 Gonzalo Paniagua Javier <[email protected]>
* Makefile: install .mdb file too.

svn path=/trunk/mcs/; revision=31987
2004-08-06 18:15:55 +00:00
Sebastien Pouliot 8c75888d9d 2004-08-06 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Update version number for Mono 1.1.1 (HEAD ;).

svn path=/trunk/mcs/; revision=31986
2004-08-06 18:08:19 +00:00
Neale Ferguson f8a9d4bb11 Support the MEMCPY(base, base) rule and add initial ARGLIST support
svn path=/trunk/mono/; revision=31985
2004-08-06 16:28:23 +00:00
Zoltan Varga ca192b2565 2004-08-06 Zoltan Varga <[email protected]>
* mini-amd64.c: pinvoke struct passing fixes.

svn path=/trunk/mono/; revision=31984
2004-08-06 16:06:03 +00:00
Jordi Mas i Hernandez e74459ee87 X11 keyboard navigation
svn path=/trunk/mcs/; revision=31982
2004-08-06 15:53:39 +00:00
Zoltan Varga fcfcab94f5 2004-08-06 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add AMD64 structs-by-value tests.

svn path=/trunk/mono/; revision=31981
2004-08-06 15:50:33 +00:00
Peter Dennis Bartok 920a726e4b - Fixed reparenting
- Fixed window border creation

svn path=/trunk/mcs/; revision=31980
2004-08-06 14:02:33 +00:00
Sachin Kumar 13b24a81dc Added new tests for Operators
svn path=/trunk/mcs/; revision=31979
2004-08-06 13:33:09 +00:00
Sanja Gupta 73e1bd915e ChangeLog: Updated ChangeLog.
IBindableTemplate.cs ICallbackEventHandler.cs
IControlBuilderAccessor.cs IControlDesignerAccessor.cs
IControlTypeFilter.cs IDataItemContainer.cs
IDataSourceViewSchemaAccessor.cs
IDReferencePropertyAttribute.cs IExpressionsAccessor.cs
IFilterResolutionService.cs IItemPaginationInfo.cs
IMobileTextWriter.cs IPageHeader.cs IPaginationContainer.cs
IPaginationInfo.cs IResourceResolutionService.cs
IResourceUrlGenerator.cs IStateFormatter.cs IStyleSheet.cs
IThemeResolutionService.cs IUrlResolutionService.cs
IUserControlTypeResolutionService.cs: Added new files for interfaces.

svn path=/trunk/mcs/; revision=31977
2004-08-06 11:55:53 +00:00
Anirban Bhattacharjee 0c776256a6 2004-08-06 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Small bug fix in Event grammar

svn path=/trunk/mcs/; revision=31976
2004-08-06 10:50:02 +00:00
Jambunathan K 316af31ffb Added 'mkdir -p $$logpath' to the make rules
svn path=/trunk/mcs/; revision=31975
2004-08-06 10:11:24 +00:00
Marek Safar bea1859bba 2004-08-06 Marek Safar <[email protected]>
* class.cs (TypeContainer.IndexerArrayList): New inner class
	container for indexers.
	(TypeContainer.DefaultIndexerName): New constant for default
	indexer name. Replaced all "Item" with this constant.
	(TypeContainer.DefineIndexers): Moved to IndexerArrayList class.

	* typemanager.cs (TypeManager.default_member_ctor): Cache here
	DefaultMemberAttribute constructor.

svn path=/trunk/mcs/; revision=31974
2004-08-06 10:00:11 +00:00
Jambunathan K 00e0347b4d Changed expression grammar so that it now has a
better semblance to those defined in section 11 of VB.NET spec.
The 'expression' rule as it is now could possibly be buggy. So
another iteration is a must.

svn path=/trunk/mcs/; revision=31973
2004-08-06 09:46:06 +00:00
Anirban Bhattacharjee 75e5749624 2004-08-06 Anirban Bhattacharjee <[email protected]>
* class.cs: Event still needed to have a constructor which takes value of Implements clause.
        * mb-parser.jay: Passing Implements clause value to the constructor

svn path=/trunk/mcs/; revision=31972
2004-08-06 09:32:13 +00:00
Anirban Bhattacharjee 65f0e3fb44 Anirban Bhattacharjee <[email protected]>
* decl.cs:
        * rootcontext.cs:
                Exception number made aligned to VB .net

svn path=/trunk/mcs/; revision=31971
2004-08-06 08:30:30 +00:00
Anirban Bhattacharjee 783abc48fc 2004-08-06 Anirban Bhattacharjee <[email protected]>
* class.cs: Improvements in the implementation of Implements clause in Type members

svn path=/trunk/mcs/; revision=31970
2004-08-06 08:24:53 +00:00
John Luke f3b9ce2319 2004-08-06 John Luke <[email protected]>
* outline.cs: add field support

svn path=/trunk/mcs/; revision=31969
2004-08-06 05:30:58 +00:00
Atsushi Eno 6b8ec755f9 2004-08-06 Atsushi Enomoto <[email protected]>
* DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.

svn path=/trunk/mcs/; revision=31967
2004-08-06 01:48:25 +00:00
Miguel de Icaza 180e9850f1 Add s390x
svn path=/trunk/mono/; revision=31966
2004-08-05 23:28:29 +00:00
Miguel de Icaza 7b8cf5c7af Remove removed files
svn path=/trunk/mono/; revision=31961
2004-08-05 22:43:05 +00:00
Bernie Solomon 916a956992 2004-08-05 Bernie Solomon <[email protected]>
* interp.c: (mono_interp_init) use g_thread_supported
	to stop multiple g_thread_init calls.
	Also attach domain to thread like mono_jit_init

svn path=/trunk/mono/; revision=31959
2004-08-05 22:28:05 +00:00
Miguel de Icaza e7006ecdeb update
svn path=/trunk/mcs/; revision=31958
2004-08-05 22:09:46 +00:00
Miguel de Icaza fa41b5bc6b 1.1.1
svn path=/trunk/mono/; revision=31957
2004-08-05 22:08:04 +00:00
Peter Dennis Bartok b332b45bed - Attempted fix for reparenting problems
svn path=/trunk/mcs/; revision=31956
2004-08-05 21:38:02 +00:00
Bernie Solomon ced2f3e901 forgot to use tabs
svn path=/trunk/mono/; revision=31955
2004-08-05 21:16:52 +00:00
Bernie Solomon d786edddc5 2004-08-05 Bernie Solomon <[email protected]>
* mini-sparc.c: redo change, make mono_arch_cpu_init call
	mono_arch_cpu_optimizazions so sparcv9 is initialized when embedded

svn path=/trunk/mono/; revision=31954
2004-08-05 21:12:34 +00:00
Bernie Solomon 45de0d4d05 2004-08-05 Bernie Solomon <[email protected]>
* mini-sparc.c: move detection of V9 to mono_arch_cpu_init
	so it happens when mono is embedded too.

svn path=/trunk/mono/; revision=31953
2004-08-05 20:55:50 +00:00
Martin Baulig fbc517791b Update my entry.
svn path=/trunk/mono/; revision=31951
2004-08-05 18:31:50 +00:00
Martin Baulig c222eff5a8 Don't crash here.
svn path=/trunk/mcs/; revision=31950
2004-08-05 17:36:14 +00:00
Duncan Mak 8baec9ec4d (TakesSingleByteArgument): Add this back.
svn path=/trunk/mcs/; revision=31949
2004-08-05 17:26:13 +00:00
Duncan Mak 94c09fe29c Forgot to add OpCodeNames to the build.
svn path=/trunk/mcs/; revision=31948
2004-08-05 17:23:46 +00:00
Martin Baulig 9e311eed70 2004-08-05 Martin Baulig <[email protected]>
* test-154.cs: Added test case for #59429.

svn path=/trunk/mcs/; revision=31947
2004-08-05 17:23:24 +00:00
Martin Baulig aad7dd045e 2004-08-05 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.UsageVector.MergeJumpOrigins):
	Fix bug #59429.

svn path=/trunk/mcs/; revision=31946
2004-08-05 17:22:43 +00:00
Martin Baulig 45b673a2f0 New generics test.
svn path=/trunk/mcs/; revision=31945
2004-08-05 17:00:02 +00:00
Duncan Mak 5f2e43356f * OpCodes.cs: Instead pushing the data onto the stack when each OpCode
is initialized, pack the data into 2 ints and store only that.
Furthermore, the names of each OpCode are stored in a separate string
array in the new OpCodeNames class.

* OpCodeNames.cs: The names of each OpCode are moved here to delay the
initialization of the strings, as they are not used frequently.

* OpCode.cs: Rewrote this to take in everything as 2 ints.

svn path=/trunk/mcs/; revision=31944
2004-08-05 16:59:36 +00:00
Sebastien Pouliot 1bd3862997 2004-08-05 Sebastien Pouliot <[email protected]>
* Assembly.cs: Added new fields for CAS to match the runtime (v23).

svn path=/trunk/mcs/; revision=31943
2004-08-05 16:57:16 +00:00
Sebastien Pouliot 62cd7e4f1f 2004-08-05 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Added a new icall, getDomainByID, to get the an
	AppDomain using it's Id. Completed SetAppDomainPolicy.
	* Environment.cs: Bumped mono_corlib_version to 23.

svn path=/trunk/mcs/; revision=31942
2004-08-05 16:55:24 +00:00
Bernie Solomon 59f8128700 2004-08-05 Bernie Solomon <[email protected]>
* interp.c: (mono_interp_init) use g_thread_supported
	to stop multiple g_thread_init calls

svn path=/trunk/mono/; revision=31941
2004-08-05 16:54:45 +00:00
Sebastien Pouliot c6161999b0 2004-08-05 Sebastien Pouliot <[email protected]>
* appdomain.c: Bumped MONO_CORLIB_VERSION to 23. Added new icall
	ves_icall_System_AppDomain_getDomainByID to get an AppDomain by Id.
	* domain-internals.h: icall declaration.
	* icall.c: icall registration.
	* object-internals.h: New fields in MonoAssembly for CAS.

svn path=/trunk/mono/; revision=31940
2004-08-05 16:54:41 +00:00
Duncan Mak 04f9de7dd9 * cil-opcodes.xml:
* opcode.def: Rename "stelem" to "stelem.any" and "ldelem" to "ldelem.any".

* verify.c: Renamed CEE_STELEM to CEE_STELEM_ANY and CEE_LDELEM to CEE_LDELEM_ANY.

* mini.c: Renamed CEE_STELEM to CEE_STELEM_ANY and CEE_LDELEM to CEE_LDELEM_ANY.

r=lupus

svn path=/trunk/mono/; revision=31939
2004-08-05 16:31:52 +00:00
Sebastien Pouliot 30efeb9bcd 2004-08-05 Sebastien Pouliot <[email protected]>
* PrincipalPermission.cs: Added Equals/GetHashCode for NET_2_0.
	* SecurityPermissionAttribute.cs: Added new BindingRedirects property
	for NET_2_0.

svn path=/trunk/mcs/; revision=31938
2004-08-05 15:58:54 +00:00
Martin Baulig b02c2793e3 2004-08-05 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): If we're resolving a field
	initializer, the current type is just the TypeBuilder, not the
	instantiated generic type.
	(FieldExpr.IsFieldInitializer): New public property.

svn path=/trunk/mcs/; revision=31937
2004-08-05 14:18:47 +00:00
Paolo Molaro fdb5081b07 Thu Aug 5 17:11:44 CEST 2004 Paolo Molaro <[email protected]>
* reflection.c: fix to deal with object[] arrays in custom ctors
	(bug #62550).

svn path=/trunk/mono/; revision=31936
2004-08-05 14:13:16 +00:00
Sachin Kumar 70767c3721 Added new tests for Operators
svn path=/trunk/mcs/; revision=31935
2004-08-05 14:12:33 +00:00
Martin Baulig 71a3e8e802 2004-08-05 Martin Baulig <[email protected]>
* class.c (mono_class_array_element_size): Added support for
	generic instances and correctly handle "recursive" types.

svn path=/trunk/mono/; revision=31933
2004-08-05 14:03:24 +00:00
Zoltan Varga 572ee3e862 2004-08-05 Zoltan Varga <[email protected]>
* mini-amd64.c (emit_move_return_value): Move return value for normal
	calls too.

svn path=/trunk/mono/; revision=31932
2004-08-05 13:56:18 +00:00
Martin Baulig 52af6027c1 2004-08-05 Martin Baulig <[email protected]>
* mini.c (ret_type_to_call_opcode): Don't use a `t' variable for
	`type->type'; just modify `type' itself when dealing with enums
	and generic instances.
	(check_call_signature): Make `simple_type' a `MonoType *'.

svn path=/trunk/mono/; revision=31931
2004-08-05 13:50:31 +00:00
Martin Baulig e01886448b 2004-08-05 Martin Baulig <[email protected]>
* class.cs (TypeContainer.EmitFieldInitializers): Set
	`ec.IsFieldInitializer' while resolving the FieldExpr.

	* ecore.cs (FieldExpr.DoResolveLValue): If we're resolving a field
	initializer, the current type is just the TypeBuilder, not the
	instantiated generic type.

svn path=/trunk/mcs/; revision=31930
2004-08-05 13:48:17 +00:00
Sanja Gupta 99cb39366a ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new interfaces to System.Web.UI.WebControls and
        a class to System.Web.UI.

svn path=/trunk/mcs/; revision=31928
2004-08-05 13:08:06 +00:00
Sanja Gupta 91fdf47471 ChangeLog: Updated ChangeLog.
IButtonControl.cs:
ICallbackContainer.cs:
ICompositeControlDesignerAccessor.cs:
IPostBackContainer.cs: Added new interfaces.

svn path=/trunk/mcs/; revision=31927
2004-08-05 13:04:38 +00:00
Sanja Gupta 5df2a6ed5e ChangeLog: Updated ChangeLog.
PostBackOptions.cs: Added new file and implemented the class.

svn path=/trunk/mcs/; revision=31926
2004-08-05 13:00:30 +00:00
Anirban Bhattacharjee e5c41d9c85 2004-08-05 Anirban Bhattacharjee <[email protected]>
* InterfaceA.vb: Test now covers all Interface members.

svn path=/trunk/mcs/; revision=31925
2004-08-05 12:32:22 +00:00
Anirban Bhattacharjee a31c1f0787 2004-08-05 Anirban Bhattacharjee <[email protected]>
* mb-parser,jay: Implements clause added to Event grammar

svn path=/trunk/mcs/; revision=31924
2004-08-05 12:21:37 +00:00
Anirban Bhattacharjee 6a6be0b368 2004-08-05 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Interface event declaration grammar rewritten

svn path=/trunk/mcs/; revision=31923
2004-08-05 12:12:35 +00:00
Zoltan Varga 01cb131e32 2004-08-05 Zoltan Varga <[email protected]>
* mini.c: Use OP_PADD to add offsets to addresses.

	* mini-amd64.h: Disable SIGSEGV_ON_ALTSTACK.

svn path=/trunk/mono/; revision=31922
2004-08-05 12:08:03 +00:00
Sebastien Pouliot 8bd9f0d726 2004-08-05 Sebastien Pouliot <[email protected]>
* StackTrace.cs: Added missing exceptions. Added globalization. Now
	using StringBuilder in ToString (fusioned FrameToString).

svn path=/trunk/mcs/; revision=31921
2004-08-05 11:42:26 +00:00
Sebastien Pouliot 9cc68b836e 2004-08-05 Sebastien Pouliot <[email protected]>
* StackFrameTest.cs: Added new unit tests to validate exceptions.
	Converted existing unit tests to NUnit 2.2.

svn path=/trunk/mcs/; revision=31920
2004-08-05 11:41:03 +00:00
Atsushi Eno 1fee0497c8 2004-08-05 Atsushi Enomoto <[email protected]>
* XmlConstants.cs : Added constants for "msprop" support.
	* DataSet.cs : ExtendedProperties should be written in the schema.
	  This fixes bug #61233.

svn path=/trunk/mcs/; revision=31919
2004-08-05 11:18:12 +00:00
Sanja Gupta 2ecf64849f ChangeLog: Updated ChangeLog.
IHttpSessionState.cs:
ISessionIDModule.cs:
ISessionStateItemCollection.cs: Added new interfaces.

svn path=/trunk/mcs/; revision=31918
2004-08-05 10:42:53 +00:00
Marek Safar 3c48c97073 2004-08-05 Marek Safar <[email protected]>
* mcs.exe.sources: $(EXTRA_SOURCES) are now here to avoid
	multi platforms problem.

	* compiler.csproj: Included shared files.

svn path=/trunk/mcs/; revision=31917
2004-08-05 10:34:29 +00:00
Geoff Norton cea7136c5d Fix a missing \ to resolve make clean in HEAD.
Approved by miguel.

svn path=/trunk/mono/; revision=31916
2004-08-05 04:18:13 +00:00
Neale Ferguson bbdba13c4f Fix conv.u8 description
svn path=/trunk/mono/; revision=31915
2004-08-05 01:57:22 +00:00
Sebastien Pouliot 9b147a8f7c 2004-08-04 Sebastien Pouliot <[email protected]>
* SecurityAction.cs: Added new "Choice" enums for NET_2_0. Removed old
	and empty XML comments.

svn path=/trunk/mcs/; revision=31914
2004-08-05 00:26:48 +00:00
Sebastien Pouliot 6e9dbfba63 2004-08-04 Sebastien Pouliot <[email protected]>
* StackTrace.cs: Implemented GetFrames as public virtual for NET_2_0
	and internal for NET_1_0/NET_1_1 so it can be used for CAS. Removed
	XML documentation and mono-ized the source code.

svn path=/trunk/mcs/; revision=31913
2004-08-05 00:24:21 +00:00
Zoltan Varga 56da9784f1 2004-08-05 Zoltan Varga <[email protected]>
* exceptions-amd64.c (mono_arch_get_throw_exception_by_name): Allocate
	helper methods using the code manager.

svn path=/trunk/mono/; revision=31912
2004-08-04 23:53:14 +00:00
Bernie Solomon a1a19fd38d 2004-08-04 Bernie Solomon <[email protected]>
* mini-sparc.c (mono_arch_emit_epilog): fix check
	for folding last op into restore instruction

svn path=/trunk/mono/; revision=31911
2004-08-04 23:28:10 +00:00
Zoltan Varga 2c24183d02 2004-08-05 Zoltan Varga <[email protected]>
* exceptions-amd64.c (mono_arch_get_throw_exception_by_name): Allocate
	helper methods using the code manager.

svn path=/trunk/mono/; revision=31910
2004-08-04 23:26:32 +00:00
Zoltan Varga 30909f6055 2004-08-05 Zoltan Varga <[email protected]>
* exceptions-amd64.c (mono_arch_get_throw_exception): Fix maximum length.

	* mini-amd64.c (mono_arch_allocate_vars): Fix tls offset detection.

svn path=/trunk/mono/; revision=31909
2004-08-04 22:50:40 +00:00
Sebastien Pouliot 8aee11a6cc 2004-08-04 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System.Security.Permissions/
	GacIdentityPermission.cs and GacIdentityPermissionAttribute.cs, and
	System.Security.Policy/Gac.cs and GacMembershipCondition.cs to NET_2_0
	* corlib_test.dll.sources: Added /Test/System.Security.Policy/
	GacMembershipConditionTest.cs, GacTest.cs to unit tests.

svn path=/trunk/mcs/; revision=31908
2004-08-04 22:24:57 +00:00
Zoltan Varga 5b68e0bacc 2004-08-05 Zoltan Varga <[email protected]>
* assembly.c: Fix warnings.

svn path=/trunk/mono/; revision=31907
2004-08-04 22:20:26 +00:00
Sebastien Pouliot a0534b3aaf 2004-08-04 Sebastien Pouliot <[email protected]>
* GacIdentityPermission.cs: New. for NET_2_0
	* GacIdentityPermissionAttribute.cs: New. for NET_2_0

svn path=/trunk/mcs/; revision=31906
2004-08-04 22:19:23 +00:00
Sebastien Pouliot 37246e9536 2004-08-04 Sebastien Pouliot <[email protected]>
* Gac.cs: New. Implemented Gac evidence for NET_2_0.
	* GacMembershipCondition.cs: New. for NET_2_0.
	* ZoneMembershipCondition.cs: Added missing "class" attribute in ToXml.

svn path=/trunk/mcs/; revision=31905
2004-08-04 22:16:03 +00:00
Sebastien Pouliot 7b75fde1e2 2003-08-04 Sebastien Pouliot <[email protected]>
* SecurityManagerTest.cs: Added more unit tests.

svn path=/trunk/mcs/; revision=31904
2004-08-04 22:11:19 +00:00
Sebastien Pouliot 6619acec63 2004-08-04 Sebastien Pouliot <[email protected]>
* GacMembershipConditionTest.cs: New. Unit tests in NUnit 2.2 format.
	* GacTest.cs: New. Unit tests in NUnit 2.2 format.

svn path=/trunk/mcs/; revision=31903
2004-08-04 22:08:45 +00:00
Marek Safar 8696ab81ce 2004-08-04 Marek Safar <[email protected]>
Fix bug 60333, 55971 in the more general way
	* attribute.cs (Attribute.GetAttributeArgumentExpression):
	Added arg_type argument for constant conversion.
	(Attribute.Resolve): Reuse GetAttributeArgumentExpression.

svn path=/trunk/mcs/; revision=31902
2004-08-04 21:21:50 +00:00
Peter Dennis Bartok 635027ee33 - Fixed Invalidation bug (calculated wrong client area)
- Added ClientSize setter

svn path=/trunk/mcs/; revision=31901
2004-08-04 21:14:26 +00:00
Peter Dennis Bartok 4e96a17f37 - Added AutoScale properties
svn path=/trunk/mcs/; revision=31900
2004-08-04 21:13:47 +00:00
Peter Dennis Bartok 9d40a901bf - Added latest files
svn path=/trunk/mcs/; revision=31899
2004-08-04 21:13:16 +00:00
Neale Ferguson ea0385c659 Further 64-bit S/390 updates
svn path=/trunk/mono/; revision=31898
2004-08-04 20:43:11 +00:00
Duncan Mak d4005bed02 Add a hack to work around the issue with a 2.0 corlib.
svn path=/trunk/mcs/; revision=31896
2004-08-04 20:26:33 +00:00
Peter Dennis Bartok 61ebd1f0a5 - Added Invalidate handling
svn path=/trunk/mcs/; revision=31895
2004-08-04 20:11:24 +00:00
Miguel de Icaza 9753b620ed Add
svn path=/trunk/mcs/; revision=31889
2004-08-04 19:46:09 +00:00
Miguel de Icaza 20b780499e 2004-08-04 Marek Safar <[email protected]>
Fix bug #59760
	* class.cs (TypeContainer ): New inner classes MethodArrayList,

svn path=/trunk/mcs/; revision=31888
2004-08-04 19:45:54 +00:00
Miguel de Icaza 93a3c2a032 Add
svn path=/trunk/mcs/; revision=31884
2004-08-04 19:44:06 +00:00
Marek Safar 7778ab8a68 2004-08-04 Marek Safar <[email protected]>
Fix bug #59760
	* class.cs (TypeContainer ): New inner classes MethodArrayList,
	OperatorArrayList, MethodCoreArrayList for typecontainer
	containers. Changed class member types to these new types.
	(MethodArrayList.DefineMembers): Added test for CS0659.

svn path=/trunk/mcs/; revision=31883
2004-08-04 19:37:26 +00:00
Sebastien Pouliot 59b9c82b33 2004-08-04 Sebastien Pouliot <[email protected]>
* Zone.cs: (Very) basic implementation of CreateFromUrl so we can
	create a Zone evidence using an assembly location (file://...).
	* ZoneMembershipCondition.cs: Fixed implementation wrt new unit tests.

svn path=/trunk/mcs/; revision=31882
2004-08-04 19:33:56 +00:00
Sebastien Pouliot cbef446bea 2004-08-04 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added /Test/System.Security.Policy/
	ZoneMembershipConditionTest.cs to unit tests.

svn path=/trunk/mcs/; revision=31879
2004-08-04 18:55:36 +00:00
Sebastien Pouliot 6a0c3b591a 2004-08-03 Sebastien Pouliot <[email protected]>
* ZoneMembershipConditionTest.cs: New. Unit tests in NUnit 2.2 format.

svn path=/trunk/mcs/; revision=31878
2004-08-04 18:53:52 +00:00
John Luke 0b64d850d3 2004-08-04 John Luke <[email protected]>
* monop.cs: add PrintUsage so that it is reused in the few
        places it is needed, add PrintHelp to display --help information

svn path=/trunk/mcs/; revision=31877
2004-08-04 17:20:33 +00:00
Miguel de Icaza d37940b471 Flush
svn path=/trunk/mcs/; revision=31874
2004-08-04 16:59:58 +00:00
Gonzalo Paniagua Javier 5576e9532e 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: don't invoke the callback if the period changes before the
	due time. Fixes bug #62421.

svn path=/trunk/mcs/; revision=31873
2004-08-04 16:58:52 +00:00
Miguel de Icaza b5ec4aef9b 2004-08-04 Miguel de Icaza <[email protected]>
* attribute.cs: Revert patch from Raja, it introduced a regression
	while building Blam-1.2.1 (hard to isolate a test case).

svn path=/trunk/mcs/; revision=31872
2004-08-04 16:40:27 +00:00
Gonzalo Paniagua Javier 51e1c6d00c 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriterTag.cs: readded author name.

svn path=/trunk/mcs/; revision=31871
2004-08-04 16:11:57 +00:00
Marek Safar e4cadfcaf4 2004-08-04 Marek Safar <[email protected]>
Fix for #55382
	* class.cs:
	(TypeContainer.Define): Renamed to DefineContainerMembers because of
	name collision.
	(MethodCore.parent_method): New member. The method we're overriding
	if this is an override method.
	(MethodCore.CheckBase): Moved from Method class and made common.
	(MethodCore.CheckMethodAgainstBase): Moved from MemberBase and made
	private.
	(MethodCore.CheckForDuplications): New abstract method. For custom
	member duplication search in a container
	(MethodCore.FindOutParentMethod): New abstract method. Gets parent
	method and its return type.
	(Event.conflict_symbol): New member. Symbol with same name in the
	parent class.

	* decl.cs:
	(MemberCache.FindMemberWithSameName): New method. The method
	is looking for conflict with inherited symbols.

svn path=/trunk/mcs/; revision=31870
2004-08-04 16:06:39 +00:00
Anirban Bhattacharjee fad57cbdae 2004-08-04 Anirban Bhattacharjee <[email protected]>
* class.cs: Introduced check for valid interface name in Implements clause.

svn path=/trunk/mcs/; revision=31868
2004-08-04 14:52:28 +00:00
Marek Safar 6094dea7af 2004-08-04 Marek Safar <[email protected]>
* 62 new error tests.

svn path=/trunk/mcs/; revision=31867
2004-08-04 14:04:42 +00:00
Jambunathan K babecb6d8b * RegionDirectivesC5.vb:
* ConditionalCompilation9.vb:
* ConditionalCompilation10.vb: Removed all these redundant test
  cases

svn path=/trunk/mcs/; revision=31866
2004-08-04 14:00:56 +00:00
Jambunathan K e87c729e76 Included the newly added pre-processor test cases
svn path=/trunk/mcs/; revision=31865
2004-08-04 13:52:13 +00:00
Jambunathan K a571c38cb9 * mb-tokenizer.cs:
* mb-parser.jay:

3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
   spec.

4) Introduced opt_argument_list - section 5.2 of VB.NET spec

5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec

svn path=/trunk/mcs/; revision=31864
2004-08-04 13:09:02 +00:00
Dick Porter 32ba645fab 2004-08-04 Dick Porter <[email protected]>
* Socket.cs: Update Connected state in Select and Poll; this is
	when we find out that non-blocking Connects succeed.  Fixes bug
	62398.

svn path=/trunk/mcs/; revision=31862
2004-08-04 12:41:49 +00:00
Sanja Gupta 57e6589f97 ConnectionPointType.cs PartChromeState.cs
PartChromeType.cs PersonalizationScope.cs
WebPartExportMode.cs WebPartHelpMode.cs: Minor, coding style.

svn path=/trunk/mcs/; revision=31861
2004-08-04 12:05:41 +00:00
Sebastien Pouliot b609d948eb 2004-08-04 Sebastien Pouliot <[email protected]>
* ZoneIdentityPermission.cs: NoZone is a subset of all SecurityZone.

svn path=/trunk/mcs/; revision=31860
2004-08-04 11:52:24 +00:00
Sebastien Pouliot 722a8562be 2003-08-04 Sebastien Pouliot <[email protected]>
* ZoneIdentityPermissionTest.cs: Added tests to check that NoZone is a
	subset of every SecurityZone.

svn path=/trunk/mcs/; revision=31859
2004-08-04 11:50:02 +00:00
Sanja Gupta cf8feb4b23 AdType.cs AutoCompleteType.cs ContentDirection.cs
DataControlCellType.cs DataControlRowState.cs
DataControlRowType.cs DetailsViewMode.cs
DynamicImageParameterMode.cs FormViewMode.cs HotSpotMode.cs
ImageFieldMode.cs LiteralMode.cs LogoutAction.cs
Orientation.cs PagerButtons.cs PathDirection.cs ScrollBars.cs
SiteMapNodeItemType.cs SiteMapNodeType.cs SiteMapViewType.cs
SortDirection.cs TableCaptionAlign.cs TableHeaderScope.cs
TableViewMode.cs TreeNodeSelectAction.cs TreeNodeTypes.cs
TreeViewImageSet.cs WizardStepType.cs: Minor, style check.

svn path=/trunk/mcs/; revision=31858
2004-08-04 11:14:28 +00:00
Sachin Kumar ec23c7006a Makefile: Create clean set of test results log files
svn path=/trunk/mcs/; revision=31857
2004-08-04 11:00:12 +00:00
Sanja Gupta 602b3b0d0e ImageScaleMode.cs:
ImageType.cs:
StorageType.cs: Minor, coding guidelines.

svn path=/trunk/mcs/; revision=31856
2004-08-04 09:50:58 +00:00
Umadevi S 18599ae4de 2004-08-04 Umadevi S ([email protected])
* OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.

svn path=/trunk/mcs/; revision=31855
2004-08-04 09:50:50 +00:00
Sanja Gupta 559cc96bf4 WmlPostFieldType.cs: Minor, coding guidelines.
svn path=/trunk/mcs/; revision=31853
2004-08-04 09:47:37 +00:00
Sanja Gupta d0e3f72738 ChangeLog: Updated ChangeLog.
HtmlTextWriteAttribute.cs:
HtmlTextWriterStyle.cs:
HtmlTextWriterTag.cs: Added .Net 2.0 enumerations
CompilationMode.cs:
ConflictOptions.cs:
DataSourceCacheExpiry.cs:
DataSourceCapabilities.cs:
DataSourceOperation.cs:
TemplateContentType.cs:
TemplateInstance.cs:
UrlTypes.cs:
VerificationConditionalOperator.cs:
VerificationReportLevel.cs:
VerificationRule.cs:
XhtmlMobileDocType.cs: Added enumerations.

svn path=/trunk/mcs/; revision=31852
2004-08-04 09:44:29 +00:00
Jambunathan K 5437fa41de * mb-tokenizer.cs:
* mb-parser.jay:

1) Fixed the Attributes grammar starting with
   opt_attributes. Introduced new rules starting with
   opt_global_attributes rule - section 5.2 of VB.NET spec

2) Introduced new Tokens that correspond to reserved but unused
   VB.NET keywords. Added some comments as appropriate in the
   keywords hashtable of tokenizer - section 2.3 of VB.NET spec.

svn path=/trunk/mcs/; revision=31851
2004-08-04 09:32:03 +00:00
Jochen Wezel 4eedf9cd55 Reenabled parts of test scenarios which had run into trouble in the past
svn path=/trunk/mcs/; revision=31847
2004-08-04 08:08:04 +00:00
Umadevi S 4a34266eaa 2004-08-04 Umadevi S ([email protected])
* OdbcDataReader.cs - Fixed bug 61405 - Handling smallint column type.

svn path=/trunk/mcs/; revision=31846
2004-08-04 08:01:44 +00:00
Anirban Bhattacharjee 782b78b23d 2004-08-04 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Added support for modifiers and attributes in interface member grammar

svn path=/trunk/mcs/; revision=31844
2004-08-04 06:03:13 +00:00
Anirban Bhattacharjee 930a78f892 2004-08-04 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Property types made optional

svn path=/trunk/mcs/; revision=31843
2004-08-04 05:38:37 +00:00
Neale Ferguson 1cf10953e6 Enable S/390 64-bit JIT
svn path=/trunk/mono/; revision=31842
2004-08-04 03:13:17 +00:00
Neale Ferguson 365eb7b043 Update comments
svn path=/trunk/mono/; revision=31841
2004-08-04 02:57:51 +00:00
Neale Ferguson e54afad344 S/390 64-bit support
tailc processing fix for S/390 32-bit

svn path=/trunk/mono/; revision=31840
2004-08-04 02:54:52 +00:00
Martin Baulig e5ff6b9800 2004-08-04 Martin Baulig <[email protected]>
* codegen.cs (VariableStorage.EmitLoadAddress): New public method.

	* statement.cs (Foreach.EmitFinally): Make this work for valuetypes.

svn path=/trunk/mcs/; revision=31839
2004-08-03 23:11:45 +00:00
Jordi Mas i Hernandez 3866706606 fixes spelling mistake
svn path=/trunk/mcs/; revision=31838
2004-08-03 23:09:02 +00:00
Martin Baulig dc2576955e 2004-08-04 Martin Baulig <[email protected]>
* List.cs (List<T>.Enumerator): Made this a struct.
	(List<T>.GetEnumerator): The public method now returns the
	`Enumerator' struct.

svn path=/trunk/mcs/; revision=31837
2004-08-03 23:08:33 +00:00
Martin Baulig d43d9cd06c 2004-08-04 Martin Baulig <[email protected]>
* Makefile (test-generic-3): New target to run all the generic
	tests.

svn path=/trunk/mcs/; revision=31836
2004-08-03 22:32:41 +00:00
Martin Baulig 84132662fc 2004-08-04 Martin Baulig <[email protected]>
* class.c
	(mono_type_get_name_recurse): Added `gboolean include_arity'
	argument specifying whether or not we should include the generic
	arity in the type name.
	(_mono_type_get_name): New static function.
	(mono_class_setup_vtable): If we're a generic instance, don't
	include the generic arity in the names of explicit method
	implementations.

svn path=/trunk/mono/; revision=31835
2004-08-03 22:24:46 +00:00
Marek Safar bb8073c9db Removed wrong files
svn path=/trunk/mcs/; revision=31834
2004-08-03 21:57:02 +00:00
Marek Safar 189d928f73 2004-08-03 Marek Safar <[email protected]>
* report.cs (Message): New enum for better error, warning reference in
	the code.
	(MessageData): New inner abstract class. It generally handles printing of
	error and warning messages.
	Removed unused Error, Warning, Message methods.

svn path=/trunk/mcs/; revision=31833
2004-08-03 21:55:03 +00:00
Martin Baulig 53362b055c 2004-08-03 Martin Baulig <[email protected]>
* class.cs (MethodData.Define): If we're an explicit
	implementation, remove the generic arity from the type name.

svn path=/trunk/mcs/; revision=31830
2004-08-03 20:46:22 +00:00
Marek Safar 23b02e2482 2004-08-03 Marek Safar <[email protected]>
Fix for cs0592-8.cs test
	* attribute.cs
	(Attributable.ValidAttributeTargets): Made public.
	(Attribute.ExplicitTarget): New member for explicit target value.
	(Attribute.CheckTargets): Now we translate explicit attribute
	target to Target here.

svn path=/trunk/mcs/; revision=31829
2004-08-03 20:14:15 +00:00
Martin Baulig f322e4e9ef 2004-08-03 Martin Baulig <[email protected]>
* dump.c (method_dor_to_token): Moved to get.c and made public.

	* get.c (get_method_override): New public function.

	* main.c (dis_code): Added `.override' for override methods.

svn path=/trunk/mono/; revision=31828
2004-08-03 20:06:29 +00:00
Martin Baulig f66aa393c5 2004-08-03 Martin Baulig <[email protected]>
* class.c (mono_type_get_name_recurse): Enclose the generic type
	arguments in `<', '>'.

svn path=/trunk/mono/; revision=31827
2004-08-03 20:05:08 +00:00
Ben Maurer 09ef4df55e 2004-08-03 Ben Maurer <[email protected]>
* ecore.cs (MethodGroupExpr): new IsBase property.

	* expression.cs (BaseAccess): Set IsBase on MethodGroupExpr.

	* delegate.cs (DelegateCreation): store a MethodGroupExpr
	rather than an instance expr.

	(DelegateCreation.Emit): Use the method group rather than
	the instance expression. Also, if you have base.Foo as the
	method for a delegate, make sure to emit ldftn, not ldftnvirt.

	(ResolveMethodGroupExpr): Use the MethodGroupExpr.

	(NewDelegate.DoResolve): Only check for the existance of Invoke
	if the method is going to be needed. Use MethodGroupExpr.

	(NewDelegate.Emit): Remove, DelegateCreation implements this.

svn path=/trunk/mcs/; revision=31823
2004-08-03 19:32:57 +00:00
Ben Maurer 77c55d78d5 2004-08-03 Ben Maurer <[email protected]>
* test-283.cs: for 62275.

svn path=/trunk/mcs/; revision=31822
2004-08-03 19:32:12 +00:00
Sebastien Pouliot 3a2c9fdf6a *** empty log message ***
svn path=/trunk/mcs/; revision=31821
2004-08-03 18:48:45 +00:00
Sebastien Pouliot 0718f687d5 2004-08-03 Sebastien Pouliot <[email protected]>
* CriticialFinalizerObject.cs: Moved to System.Runtime.
	ConstrainedExecution to match Fx 2.0 beta 1.

svn path=/trunk/mcs/; revision=31820
2004-08-03 18:48:22 +00:00
Sebastien Pouliot a9ed4563e3 2004-08-03 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added PermissionSetCollection and SecureString
	in System.Security. Moved CriticalFinalizerObject to System.Runtime.
	ConstrainedExecution.

svn path=/trunk/mcs/; revision=31819
2004-08-03 18:46:18 +00:00
Sebastien Pouliot 9a778ca428 2004-08-03 Sebastien Pouliot <[email protected]>
* PermissionSetCollection.cs: New class in Fx 2.0.
	* SecureString.cs: New class in Fx 2.0. Not yet encrypted.

svn path=/trunk/mcs/; revision=31818
2004-08-03 18:43:50 +00:00
Sebastien Pouliot fe8e7c71e7 2004-08-03 Sebastien Pouliot <[email protected]>
* CriticalFinalizerObject.cs: Moved from System.Runtime.Reliability to
	match Fx 2.0 beta 1.

svn path=/trunk/mcs/; revision=31817
2004-08-03 18:36:01 +00:00
Sebastien Pouliot 2e6376961d 2004-08-03 Sebastien Pouliot <[email protected]>
* ZoneIdentityPermission.cs: Fixed buglets wrt new unit tests. Added
	globalization to exceptions.

svn path=/trunk/mcs/; revision=31816
2004-08-03 18:23:50 +00:00
Ben Maurer 60bf77af62 fix
svn path=/trunk/mcs/; revision=31815
2004-08-03 18:22:49 +00:00
Sebastien Pouliot e45d6f09ee 2004-08-03 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added /Test/System.Security.Permissions/
	ZoneIdentityPermissionTest.cs to unit tests.

svn path=/trunk/mcs/; revision=31814
2004-08-03 18:21:53 +00:00
Sebastien Pouliot 6bb4b366c5 2003-08-03 Sebastien Pouliot <[email protected]>
* ZoneIdentityPermissionTest.cs: New. NUnit 2.2 format.

svn path=/trunk/mcs/; revision=31813
2004-08-03 18:19:31 +00:00
Sebastien Pouliot 28e3852214 2004-08-03 Sebastien Pouliot <[email protected]>
* CodeGroup.cs: Added PolicyLevel parameter to internal
	constructor. Added support for attribute PermissionSetName in
	FromXml.
	* FileCodeGroup.cs: Added PolicyLevel parameter to internal
	constructor.
	* FirstMatchCodeGroup.cs: Added PolicyLevel parameter to internal
	constructor.
	* NetCodeGroup.cs: Added PolicyLevel parameter to internal
	constructor.
	* PolicyLevel.cs: Throw a PolicyException when asked to save a
	AppDomain policy. Use new CodeGroup constructor with "this".
	* UnionCodeGroup.cs: Added PolicyLevel parameter to internal
	constructor. Added Copy(bool) to copy, or not, the childs.

svn path=/trunk/mcs/; revision=31812
2004-08-03 15:59:42 +00:00
Ben Maurer 13686008cb 2004-08-03 Ben Maurer <[email protected]>
* unsafe-9.cs: new test for #62263.

svn path=/trunk/mcs/; revision=31809
2004-08-03 15:43:40 +00:00
Ben Maurer 3a10721e04 2004-08-03 Ben Maurer <[email protected]>
* expression.cs: For pointer arith., make sure to use
	the size of the type, not the size of the pointer to
	the type.

svn path=/trunk/mcs/; revision=31808
2004-08-03 15:43:31 +00:00
Sebastien Pouliot d7d607b56d 2004-08-03 Sebastien Pouliot <[email protected]>
* ZoneIdentityPermission.cs: Reordered attributes in ToXml and added
	missing Zone attribute.

svn path=/trunk/mcs/; revision=31807
2004-08-03 15:02:43 +00:00
Paolo Molaro ff09444aaf Tue Aug 3 17:54:17 CEST 2004 Paolo Molaro <[email protected]>
* gc.c: make GC warning messages use the trace API, they are just
	noise to most of the users.

svn path=/trunk/mono/; revision=31804
2004-08-03 14:54:16 +00:00
Miguel de Icaza 4cd8d82d23 Update with some comments from Zoltan
svn path=/trunk/mono/; revision=31803
2004-08-03 14:36:14 +00:00
Anirban Bhattacharjee 444f45db1f 2004-08-03 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Interface method and property grammar got changed
                         Support for multiple implements in class
        * interface.cs: Interface class has got changed
                        All other interface types have been removed
        * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
        * pending.cs: few related changes
        * attribute.cs: few related changes

svn path=/trunk/mcs/; revision=31802
2004-08-03 13:58:07 +00:00
Sanja Gupta cf3e18f829 ChangeLog: Updated ChangeLog.
MembershipSortOptions.cs:
MembershipPasswordFormat.cs:
MembershipOnlineStatus.cs:
MembershipCreateStatus.cs:
CookieProtection.cs: minor modifications.

svn path=/trunk/mcs/; revision=31800
2004-08-03 13:36:46 +00:00
Sanja Gupta 64fa4cc158 ChangeLog: Updated ChangeLog.
SessionStateActionFlags.cs: Added enumeration.

svn path=/trunk/mcs/; revision=31799
2004-08-03 13:30:50 +00:00
Sanja Gupta 6639731abf ChangeLog: Updated ChangeLog.
WmlPostFieldType.cs : Added enumeration

svn path=/trunk/mcs/; revision=31798
2004-08-03 13:24:32 +00:00
Sanja Gupta e1ebe27cd0 ChangeLog: Updated ChangeLog.
ImageScaleMode.cs:
ImageType.cs:
StorageType.cs: Added enumerations.

svn path=/trunk/mcs/; revision=31797
2004-08-03 13:20:56 +00:00
Marek Safar 7c8c8c2b67 2004-08-03 Marek Safar <[email protected]>
Fix for #60722
	* class.cs (Class): Added error CS0502 test.

svn path=/trunk/mcs/; revision=31796
2004-08-03 13:20:19 +00:00
Atsushi Eno 63ef683fdf 2004-08-03 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs,
	  XmlValidatingReader.cs : implemented IXmlNamespaceResolver.
	* XmlNamespaceManager.cs,
	  XmlNodeReader.cs : implemented GetNamespacesInScope().

svn path=/trunk/mcs/; revision=31795
2004-08-03 13:20:17 +00:00
Atsushi Eno b4e63bb741 2004-08-03 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : implemented 2.0 IXmlNamespaceResolver.

svn path=/trunk/mcs/; revision=31794
2004-08-03 13:19:35 +00:00
Sanja Gupta bcc2ebb814 ChangeLog: Updated ChangeLog.
DataControlCellType.cs
DataControlRowType.cs
DataControlRowState.cs
DetailsViewMode.cs
DynamicImageParameterMode.cs
FormViewMode.cs
HotSpotMode.cs
ImageFieldMode.cs
LiteralMode.cs
LogoutAction.cs
Orientation.cs
PagerButtons.cs
PathDirection.cs
ScrollBars.cs
SiteMapNodeItemType.cs
SiteMapNodeType.cs
SiteMapViewType.cs
SortDirection.cs
TableCaptionAlign.cs
TableHeaderScope.cs
TableViewMode.cs
TreeNodeSelectAction.cs
TreeNodeTypes.cs
TreeViewImageSet.cs
WizardStepType.cs: Added enumerations.

svn path=/trunk/mcs/; revision=31793
2004-08-03 13:10:54 +00:00
Sanja Gupta d9b47dcbab ChangeLog: Created ChangeLog
ConnectionPointType.cs : Implemented enumeration.
PartChromeState.cs : Implemented enumeration.
PartChromeType.cs : Implemented enumeration.
PersonalizationScope.cs : Implemented enumeration.
WebPartExportMode.cs : Implemented enumeration.
WebPartHelpMode.cs : Implemented enumeration.

svn path=/trunk/mcs/; revision=31792
2004-08-03 12:51:04 +00:00
Atsushi Eno 0562042171 2004-08-03 Atsushi Enomoto <[email protected]>
* XmlCharacterData.cs,
	  XmlDocument.cs,
	  XmlNodeChangedEventArgs.cs :
	  Implemented XmlNodeChangedEventArgs.OldValue and .NewValue.

svn path=/trunk/mcs/; revision=31791
2004-08-03 11:52:49 +00:00
Jambunathan K f01a725db7 Reworded and Reformatted the Readme
svn path=/trunk/mcs/; revision=31790
2004-08-03 08:27:21 +00:00
Satya Sudha K 43081d8686 Fix for bug #61749
svn path=/trunk/mcs/; revision=31785
2004-08-03 07:45:57 +00:00
Paolo Molaro 683fff36d8 Tue Aug 3 01:35:44 PDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: mul.ovf.un exception name fix.

svn path=/trunk/mono/; revision=31784
2004-08-03 07:35:23 +00:00
Raja R Harinath 4da3f84a33 Fix for #60997.
(Attribute.complained_before): New flag.
(Attribute.ResolveType, Attribute.Resolve),
(Attribute.DefinePInvokeMethod): Set it.
(Attributes.Search): Pass 'complain' to Attribute.ResolveType.

svn path=/trunk/mcs/; revision=31783
2004-08-03 07:10:41 +00:00
Atsushi Eno 665527a682 2004-08-03 Atsushi Enomoto <[email protected]>
* xml-classes : some updates on 2.0 stuff.

svn path=/trunk/mono/; revision=31782
2004-08-03 06:51:00 +00:00
Atsushi Eno 1331b09b01 2004-08-03 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : implemented settings-less Create().
	* XmlWriterSettings.cs : added some comments.

svn path=/trunk/mcs/; revision=31781
2004-08-03 06:49:58 +00:00
Atsushi Eno 4cef0e0346 2004-08-03 Atsushi Enomoto <[email protected]>
* XPathEditableNavigator.cs : implemented some editor support methods.

svn path=/trunk/mcs/; revision=31780
2004-08-03 06:48:05 +00:00
Martin Baulig 8257f6edef 2004-08-03 Martin Baulig <[email protected]>
* debug-mono-symfile.c (read_string): Correctly read the string.

svn path=/trunk/mono/; revision=31779
2004-08-03 05:02:37 +00:00
Atsushi Eno b270952aec 2004-08-03 Atsushi Enomoto <[email protected]>
* IApplicationHost.cs : missing namespace import.

svn path=/trunk/mcs/; revision=31773
2004-08-03 03:52:57 +00:00
Martin Baulig 394a15ab9b 2004-08-03 Martin Baulig <[email protected]>
* test-282.cs: New test for #62322.

svn path=/trunk/mcs/; revision=31772
2004-08-03 03:42:28 +00:00
Martin Baulig 15bd9360bc 2004-08-03 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Don't abort if we can't
	use a user-defined operator; we still need to do numeric
	promotions in case one argument is a builtin type and the other
	one has an implicit conversion to that type.  Fixes #62322.

svn path=/trunk/mcs/; revision=31771
2004-08-03 03:41:51 +00:00
Duncan Mak 2d249597b6 (MapPath): Add [In] attribute.
svn path=/trunk/mcs/; revision=31770
2004-08-03 02:23:41 +00:00
Martin Baulig 11060570a1 2004-08-03 Martin Baulig <[email protected]>
* mini-x86.c (mono_arch_call_opcode): Correctly handle generic
	instances; before jumping to `handle_enum', also modify `ptype'.

svn path=/trunk/mono/; revision=31769
2004-08-03 01:56:34 +00:00
Duncan Mak 8bd2a78db0 * ApplicationShutdownReason.cs: Fixed typos.
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added [Serializable] attribute.

svn path=/trunk/mcs/; revision=31768
2004-08-03 01:56:09 +00:00
Duncan Mak b49ad50825 * RuleFiringRecord.cs:
* WebApplicationInformation:
* WebEventFormatter: Signature fixes, hide the constructor.

* IRegiisUtility.cs: Fixed name.

* EventNotificationType.cs:
* SessionStateType.cs:
* SqlFeatures.cs: Added missing attributes.

svn path=/trunk/mcs/; revision=31767
2004-08-03 01:55:15 +00:00
Martin Baulig 413a382865 2004-08-03 Martin Baulig <[email protected]>
* gen-64.cs: New test.

svn path=/trunk/mcs/; revision=31766
2004-08-03 01:54:40 +00:00
Duncan Mak ab7b6946d8 * IAppManagerAppDomainFactory.cs:
* IProcessHostSupportFunction.cs: signature fixes.

svn path=/trunk/mcs/; revision=31765
2004-08-03 01:53:41 +00:00
Martin Baulig caaf2f1454 2004-08-02 Martin Baulig <[email protected]>
* class.cs (TypeContainer.ifaces): Make this a `Type[]', not a
	`TypeExpr[]' array.
	(TypeContainer.GetClassBases): Return the unexpanded list of
	interfaces; we expand them later.
	(TypeContainer.DefineType): After creating the TypeBuilder, call
	TypeManager.ExpandInterfaces() to get an expanded and resolved
	list of interfaces.

	* ecore.cs (TypeExpr.GetInterfaces): Removed

	* generics.cs (Constraints.InterfaceConstraints): Remove.
	(TypeParameter.DefineType): Call TypeManager.RegisterBuilder() to
	register the interface constraints.

	* typemanager.cs
	(TypeManager.AddUserType): Removed the `ifaces' argument.
	(TypeManager.AddTypeParameter): Likewise.
	(TypeManager.AddUserInterface): Removed, was unused.
	(TypeManager.RegisterBuilder): Take a `Type[]' instead of a
	`TypeExpr[]' array for the interfaces.
	(TypeManager.ExpandInterfaces): Call this after the TypeBuilder
	has been defined, returns a list of the resolved interfaces types.
	(TypeManager.GetInterfaces): Return a `Type[]', not a `TypeExpr[]'.
	(TypeManager.GetExplicitInterfaces): Likewise.

svn path=/trunk/mcs/; revision=31764
2004-08-03 01:53:34 +00:00
Duncan Mak a4ff3cf732 * System.Web.dll.sources: Added new enums.
* ButtonType.cs:
* LoginFailureAction.cs:
* LoginTextLayout.cs: Added enumerations.

svn path=/trunk/mcs/; revision=31763
2004-08-03 01:38:34 +00:00
Duncan Mak 9df123bb15 * ApplicationShutdownReason.cs:
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added 2.0 enumerations.

svn path=/trunk/mcs/; revision=31762
2004-08-03 01:00:24 +00:00
Duncan Mak 8dbd3f63b7 2004-08-02 Duncan Mak <[email protected]>
* ProfileAuthenticationOption.cs: Added enumeration.

svn path=/trunk/mcs/; revision=31761
2004-08-03 00:59:04 +00:00
Duncan Mak d8d2120624 2004-08-02 Duncan Mak <[email protected]>
* EventNotificationType.cs:
	* SessionStateType.cs:
	* SqlFeatures.cs: Added enumerations.

	* IRegissUtility.cs:
	* IRegisterCreateITypeLib.cs: Added interfaces.

	* RuleFiringRecord.cs:
	* WebApplicationInformation.cs:
	* WebBaseEvent.cs:
	* WebEventFormatter.cs: Stubbed out classes.

svn path=/trunk/mcs/; revision=31760
2004-08-03 00:57:57 +00:00
Duncan Mak c6232a2da4 * IAppManagerAppDomainFactory.cs:
* IApplicationHost.cs:
* IHttpWorkerRequestHandler.cs:
* IProcessHost.cs:
* IProcessHostFactoryHelper.cs:
* IProcessHostSupportFunction.cs:
* IProcessPingCallback.cs:
* IQueueHost.cs:
* IRegisteredObject.cs: Added interfaces.

svn path=/trunk/mcs/; revision=31759
2004-08-03 00:55:45 +00:00
Duncan Mak 55d695fbdb 2004-08-02 Duncan Mak <[email protected]>
* AuthorizationRuleAction.cs:
	* BuildProviderAppliesTo.cs:
	* CustomErrorsMode.cs:
	* MachineKeyValidation.cs:
	* PagesEnableSessionState.cs:
	* PagesToCountAction.cs:
	* ProcessModelComAuthenticationLevel.cs:
	* ProcessModelComImpersonationLevel.cs:
	* ProcessModelLogLevel.cs;
	* SerializationMode.cs:
	* TraceDisplayMode.cs: Added enumerations.

	* IRemoteWebConfigarationHostServer.cs: Added interface.

svn path=/trunk/mcs/; revision=31758
2004-08-03 00:53:06 +00:00
Duncan Mak 7021764f55 * BuildProviderResultFlags.cs:
* IImplicitResourceProvider.cs:
* ImplicitResourceKey.cs:
* IResourceReader.cs: Added.

svn path=/trunk/mcs/; revision=31757
2004-08-03 00:50:18 +00:00
Duncan Mak dcdd3874f5 2004-08-02 Duncan Mak <[email protected]>
* WebAdminUserControl.cs (DatabaseType): Added.

svn path=/trunk/mcs/; revision=31756
2004-08-03 00:49:22 +00:00
Duncan Mak c57e364fed Added new enums and interfaces and re-ordered alphabetically.
svn path=/trunk/mcs/; revision=31755
2004-08-03 00:48:53 +00:00
Sebastien Pouliot 5dfa717844 2004-08-02 Sebastien Pouliot <[email protected]>
* CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
	on level of children.
	* HashMembershipCondition.cs: Added empty constructor so Activator.
	CreateInstance can work.
	* PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
	* PublisherMembershipCondition.cs: Added empty constructor so
	Activator.CreateInstance can work.
	* SiteMembershipCondition.cs: Added empty constructor so Activator.
	CreateInstance can work.
	* StrongNameMembershipCondition.cs: Added empty constructor so
	Activator.CreateInstance can work.
	* UnionCodeGroup.cs: Partial implementation for Resolve (missing
	children support). Implemented ResolveMatchingCodeGroups.
	* ZoneMembershipCondition.cs: Added empty constructor so Activator.
	CreateInstance can work. Removed "class" validation in FromXml.

svn path=/trunk/mcs/; revision=31754
2004-08-02 23:08:29 +00:00
Sebastien Pouliot 4dae860b56 2004-08-02 Sebastien Pouliot <[email protected]>
* PolicyTypeLevel.cs: Removed duplicate license.
	* SecurityManager.cs: Moved secuirty demands as attributes (but mcs
	doesn't seem to encode them properly as they show up in corcompare).
	Implemented IsGranted, ResolvePolicy (but some code is still missing
	in related classes) and SavePolicy/SavePolicyLevel.

svn path=/trunk/mcs/; revision=31753
2004-08-02 23:01:07 +00:00
Sebastien Pouliot 5556cbeef3 2003-08-02 Sebastien Pouliot <[email protected]>
* UnionCodeGroupTest.cs: Added tests for ResolveMatchingCodeGroups.

svn path=/trunk/mcs/; revision=31752
2004-08-02 22:45:49 +00:00
Sebastien Pouliot 7fb547a17a 2003-08-02 Sebastien Pouliot <[email protected]>
* SecurityManagerTest.cs: Added bunch of tests for null usage.
	Converted to NUnit 2.2.

svn path=/trunk/mcs/; revision=31751
2004-08-02 22:43:24 +00:00
Martin Baulig e0dd549db1 2004-08-02 Martin Baulig <[email protected]>
Started to do some API review.

	* ICollection.cs (ICollection<T>): Added IsReadOnly, Add, Clear,
	Contains and Remove.

	* IList.cs (IList<T>): Removed Add, Clear, Constains, Remove,
	IsReadOnly and IsFixedSize.

svn path=/trunk/mcs/; revision=31749
2004-08-02 20:54:35 +00:00
Bernie Solomon 8d5c1e2e89 2004-08-02 Bernie Solomon <[email protected]>
* cpu-sparc.md: fcall maximal length too small.

svn path=/trunk/mono/; revision=31748
2004-08-02 20:10:11 +00:00
Zoltan Varga b0e9118e70 2004-08-02 Zoltan Varga <[email protected]>
* mini-amd64.c mini.h: Add initial support for passing/returning
	structures to/from pinvoked methods.

svn path=/trunk/mono/; revision=31747
2004-08-02 19:09:28 +00:00
Martin Baulig 2c9f64b685 Don't use iterators.
svn path=/trunk/mcs/; revision=31746
2004-08-02 18:44:29 +00:00
Paolo Molaro 642d293889 Mon Aug 2 11:59:35 PDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: reg allocator fix.

svn path=/trunk/mono/; revision=31745
2004-08-02 17:59:29 +00:00
Martin Baulig 575809a45b 2004-08-02 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): If we're invoking a method
	on a type parameter, use the new `Constrained' prefix opcode.
	(New.DoEmit): Also use the `Newobj' opcode for generic instances.

svn path=/trunk/mcs/; revision=31744
2004-08-02 17:15:39 +00:00
Sebastien Pouliot 3666796d50 2004-08-02 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Update version number for Mono 1.0.1.
	* sn.cs: Warn for missing machine.config (if quiet isn't specified).

svn path=/trunk/mcs/; revision=31743
2004-08-02 16:31:36 +00:00
Martin Baulig 8b4a5065be 2004-08-02 Martin Baulig <[email protected]>
* IList.cs (IList.Add): Changed return type to void.

	* List.cs (List.Add): Likewise.

svn path=/trunk/mcs/; revision=31741
2004-08-02 15:30:57 +00:00
Rafael Teixeira 9db927db00 2004/08/01 Rafael Teixeira <[email protected]>
* mb-parser.jay : Some correction as pointed by Jambunathan,
		to allow preprocessor directives after a label that may
		leave it orphaned (without a explicit statement)
	* testmbas/WriteOK.vb : some vb code to test this case

svn path=/trunk/mcs/; revision=31740
2004-08-02 14:59:49 +00:00
Rafael Teixeira faf29bd2a0 2004/08/01 Rafael Teixeira <[email protected]>
* mb-parser.jay : Some correction as pointed by Jambunathan,
		to allow intermixing preprocessor directives between
		the label and it's associated statement

svn path=/trunk/mcs/; revision=31737
2004-08-02 12:07:02 +00:00
Rafael Teixeira 588a740351 oops: forgot to add them
svn path=/trunk/mcs/; revision=31736
2004-08-02 11:56:08 +00:00
Jambunathan K e97b965d99 Renaming Changelog to ChangeLog.
svn path=/trunk/mcs/; revision=31734
2004-08-02 08:20:40 +00:00
Jambunathan K 5c17301983 * mb-tokenizer.cs: Oops. Also pulled out all of the old
pre-processor code that is no more used.

svn path=/trunk/mcs/; revision=31733
2004-08-02 08:03:18 +00:00
Jambunathan K 2bdd1d7fca * mb-tokenizer.cs: Fixed a bug where line nos were
failing to get incremented when the line continuation
character was appearing by itself on contiguous lines.

* mb-parser.jay: Fixed the #ExternalSource actions
so that ExternalSourceDirectivesC4.vb compiles and
reports source & line nos as expected.

* location.cs: Replaced the existing unintuitive, not
so efficient implementation of struct Location {} with
the one available in mcs with one minor difference: The
number of bits reserved for a file index in the Token
is statically fixed at 8 bits.

svn path=/trunk/mcs/; revision=31732
2004-08-02 07:53:44 +00:00
Martin Baulig 60fcf54fe3 2004-08-02 Martin Baulig <[email protected]>
* get.c (dis_stringify_object_with_class): Include our generic
	arguments in the method's class name.

	* main.c (dis_generic_param_and_constraints): Use the new
	constraints syntax.

svn path=/trunk/mono/; revision=31728
2004-08-02 04:35:54 +00:00
Raja R Harinath 89af189c98 * Makefile.am (opcode.def): Make $(srcdir)!=$(builddir) safe.
* make-opcodes-def.pl (OUTPUT): Use $ARGV[1].
(parsefile): Parse $ARGV[0].

svn path=/trunk/mono/; revision=31727
2004-08-02 04:16:47 +00:00
Martin Baulig 269cc32eba 2004-08-02 Martin Baulig <[email protected]>
* dump.c (dump_stream_blob): Format this nicely.
	(dump_table_standalonesig): New public function.

	* main.c (dis_locals): If --show-tokens was requested, print the
	standalone signature token.
	(table_list): Added "--standalonesig".

svn path=/trunk/mono/; revision=31726
2004-08-02 03:52:29 +00:00
Atsushi Eno 806622d4ea 2004-08-02 Atsushi Enomoto <[email protected]>
* XPathDocument.cs :
	  - For .NET 2.0, added a switch to support new XPathDocument2.
	    If switch is off, then it uses DTM.
	  - Implemented remaining 2.0 bits (except for Obsolete ones).

	To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
	(It is still too unstable to pass all nunit tests and standalone XSLT
	tests).

svn path=/trunk/mcs/; revision=31724
2004-08-02 03:26:41 +00:00
Atsushi Eno 337548f326 2004-08-02 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added those files:
	  - Mono.Xml.XPath/XPathDocument2.cs
	  - Mono.Xml.XPath/XPathDocument2Navigator.cs
	  - Mono.Xml.XPath/XPathDocument2Editable.cs

svn path=/trunk/mcs/; revision=31723
2004-08-02 03:23:20 +00:00
Atsushi Eno 73141276fb 2004-08-02 Atsushi Enomoto <[email protected]>
* XPathDocument2.cs : new IXPathNavigable implementation
	  XPathDocument2Navigator.cs : new XPathNavigator implementation
	  XPathDocument2Editable.cs : new XPathEditableNavigator implementation

	To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
	(It is still too unstable to pass all nunit tests and standalone XSLT
	tests).

svn path=/trunk/mcs/; revision=31722
2004-08-02 03:21:55 +00:00
Martin Baulig 52747ee054 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31720
2004-08-02 00:13:14 +00:00
Martin Baulig cb6ea5f9c3 2004-08-02 Martin Baulig <[email protected]>
* statement.cs (LocalInfo.Flags): Added `IsThis'.
	(LocalInfo.IsThis): New public property.
	(Block.EmitMeta): Don't create a LocalBuilder for `this'.

svn path=/trunk/mcs/; revision=31719
2004-08-02 00:12:26 +00:00
Martin Baulig 3898bb0c92 Be more quiet.
svn path=/trunk/mcs/; revision=31718
2004-08-01 22:00:29 +00:00
Martin Baulig ef83a18939 2004-08-02 Martin Baulig <[email protected]>
* DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.

svn path=/trunk/mcs/; revision=31717
2004-08-01 21:57:52 +00:00
Martin Baulig dec4053ba2 Improved constraints checking.
svn path=/trunk/mcs/; revision=31716
2004-08-01 21:54:07 +00:00
Atsushi Eno 21c732ca14 2004-08-01 Atsushi Enomoto <[email protected]>
* DebuggingInfo.cs : csc build fix (see bug #62230).

svn path=/trunk/mcs/; revision=31715
2004-08-01 16:16:18 +00:00
Rafael Teixeira 402f0a3ffc 2004-08-01 Rafael Teixeira <[email protected]>
* LabelA.vb, LabelB.vb, LabelC.vb, LabelD.vb : new positive tests for labelled statements

svn path=/trunk/mcs/; revision=31714
2004-08-01 13:49:31 +00:00
Rafael Teixeira b0165dcb19 2004/08/01 Rafael Teixeira <[email protected]>
* mb-parser.jay : Revised patch from Jo��o Viegas for the labeled_statement accepting integer literals as labels

svn path=/trunk/mcs/; revision=31713
2004-08-01 13:24:11 +00:00
Martin Baulig d7a20c7379 New test.
svn path=/trunk/mcs/; revision=31712
2004-08-01 12:34:47 +00:00
Martin Baulig a0293a5f91 Moved the marker.
svn path=/trunk/mcs/; revision=31711
2004-08-01 12:34:03 +00:00
Martin Baulig ca428481ba Ooops.
svn path=/trunk/mcs/; revision=31710
2004-08-01 12:33:28 +00:00
Martin Baulig 962346a138 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31709
2004-08-01 12:33:08 +00:00
Martin Baulig 4662fbdc1d 2004-08-01 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Don't set the default
	here since we may get called from GetPartialBases().
	(TypeContainer.DefineType): If GetClassBases() didn't return a
	parent, use the default one.

svn path=/trunk/mcs/; revision=31708
2004-08-01 12:31:33 +00:00
Bernie Solomon 8ff3b7fe00 2004-07-31 Bernie Solomon <[email protected]>
* interp.h: add mono_interp_ftnptr_to_delegate

	* transform.c (generate): use mono_interp_ftnptr_to_delegate
	as ical function.

	* interp.c: add mono_interp_ftnptr_to_delegate to create
	interpreter style delegate. fixes pinvoke3

svn path=/trunk/mono/; revision=31705
2004-08-01 02:46:06 +00:00
Zoltan Varga c2c306d98a 2004-07-31 Zoltan Varga <[email protected]>
* configure.in: Enable AMD64 JIT.

svn path=/trunk/mono/; revision=31696
2004-07-31 17:51:52 +00:00
Zoltan Varga a33f3caf9f 2004-07-31 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_output_basic_block): Fix OP_X86_PUSH_OBJ.

svn path=/trunk/mono/; revision=31695
2004-07-31 17:49:12 +00:00
Zoltan Varga f376501e51 2004-07-31 Zoltan Varga <[email protected]>
* inssel.brg: Optimize memset on 64 bit machines.

svn path=/trunk/mono/; revision=31694
2004-07-31 16:39:37 +00:00
Zoltan Varga 81f2b84588 2004-07-31 Zoltan Varga <[email protected]>
* mini-amd64.c: Fix some vararg cases.

svn path=/trunk/mono/; revision=31693
2004-07-31 16:38:43 +00:00
Jambunathan K 7c9d3708ff * Makefile: Added /unsafe switch to the compiler command line.
This is required as setting of Today and TimeOfDay makes a libc
call - stime(). Thanks to Pablo Cardona for submitting this patch.

* Strings.cs: Fixed a bug in Format()
* DateAndTime.cs: Added support for setting Today and
TimeOfDay properties. Thanks to Pablo Cardona for
submitting a patch.

svn path=/trunk/mcs/; revision=31692
2004-07-31 14:40:54 +00:00
Duncan Mak c08009c118 (mcs2.exe, mcs3.exe): add $(EXTRA_SOURCES).
svn path=/trunk/mcs/; revision=31691
2004-07-30 23:26:35 +00:00
Neale Ferguson cd5c1c4cb2 Add some s390 specific tests
svn path=/trunk/mono/; revision=31690
2004-07-30 23:11:29 +00:00
Martin Baulig 4c257f1a7a It's now called Mono.CompilerServices.SymbolWriter.
svn path=/trunk/mono/; revision=31689
2004-07-30 22:35:49 +00:00
Duncan Mak e954dca2af Forgot to add this type for "contrained."
svn path=/trunk/mono/; revision=31688
2004-07-30 20:57:18 +00:00
Zoltan Varga 5c3deb94d1 2004-07-30 Zoltan Varga <[email protected]>
* exceptions-amd64.c (mono_arch_find_jit_info): Fix restoring of
	caller saved regs.

svn path=/trunk/mono/; revision=31686
2004-07-30 19:44:48 +00:00
Zoltan Varga 5b48960b44 2004-07-30 Zoltan Varga <[email protected]>
* basic.cs: Add a test for add.ovf.un.

svn path=/trunk/mono/; revision=31685
2004-07-30 18:31:28 +00:00
Martin Baulig f23235b9ba 2004-07-30 Martin Baulig <[email protected]>
* Makefile.am: The symbol writer is now called
	Mono.CompilerServices.SymbolWriter.dll.

svn path=/trunk/mono/; revision=31684
2004-07-30 18:24:40 +00:00
Neale Ferguson f413f4e3bd Optimize code generation macros and standardize
svn path=/trunk/mono/; revision=31683
2004-07-30 18:23:23 +00:00
Zoltan Varga 2566ab6a7c 2004-07-30 Zoltan Varga <[email protected]>
* mini-amd64.c mini-amd64.h mini.c: Add support for vararg pinvoke calls.

svn path=/trunk/mono/; revision=31682
2004-07-30 18:08:58 +00:00
Zoltan Varga 64987bdcf0 2004-07-30 Zoltan Varga <[email protected]>
* marshal.c (signature_dup_add_this): Fix bug in previous patch.

svn path=/trunk/mono/; revision=31680
2004-07-30 17:38:17 +00:00
Martin Baulig f200e0990c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31679
2004-07-30 17:28:56 +00:00
Bernie Solomon 17f2f318cc 2004-07-30 Bernie Solomon <[email protected]>
* mini-sparc.c: add case for OP_IDIV_UN

svn path=/trunk/mono/; revision=31678
2004-07-30 17:22:44 +00:00
Zoltan Varga db2c07c6c9 2004-07-30 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_icall_wrapper): Add support for vararg
	icalls.
	(mono_marshal_get_runtime_invoke): Correctly handle valuetype methods.

svn path=/trunk/mono/; revision=31677
2004-07-30 17:19:46 +00:00
Martin Baulig b762d47e69 2004-07-30 Martin Baulig <[email protected]>
* debug-mono-symfile.c, mono-debug.c, mono-debug-debugger.c:
	Reflect latest symbol writer changes.

svn path=/trunk/mono/; revision=31676
2004-07-30 17:08:32 +00:00
Martin Baulig 113bb5ef3c Ignore *.mdb.
svn path=/trunk/mcs/; revision=31675
2004-07-30 17:06:43 +00:00
Martin Baulig 676d266864 Use the new symbol writer API.
svn path=/trunk/mcs/; revision=31674
2004-07-30 17:01:05 +00:00
Martin Baulig 01079d0a51 Ignore *.mdb.
svn path=/trunk/mcs/; revision=31673
2004-07-30 16:59:10 +00:00
Martin Baulig d1549c2298 2004-07-30 Martin Baulig <[email protected]>
* Makefile (EXTRA_SOURCES): List the symbol writer's sources here.

	* class.cs (SourceMethod): New public class, derive from the
	symbol writer's ISourceMethod.
	(Method): Use the new symbol writer API.

	* codegen.cs (CodeGen.InitializeSymbolWriter): Take the filename
	as argument and use the new symbol writer.

	* location.cs
	(SourceFile): Implement the symbol writer's ISourceFile.
	(Location.SymbolDocument): Removed.
	(Location.SourceFile): New public property.

	* symbolwriter.cs: Use the new symbol writer API.

svn path=/trunk/mcs/; revision=31672
2004-07-30 16:58:31 +00:00
Zoltan Varga c173d9b3c5 2004-07-30 Zoltan Varga <[email protected]>
* mini-amd64.c cpu-amd64.md: Ongoing JIT work.

svn path=/trunk/mono/; revision=31671
2004-07-30 16:56:33 +00:00
Martin Baulig 0ccc93ad14 2004-07-30 Martin Baulig <[email protected]>
* executable.make (EXTRA_SOURCES): New variable to add extra
	sources to the program.

svn path=/trunk/mcs/; revision=31670
2004-07-30 16:54:30 +00:00
Martin Baulig 082132ef56 2004-07-30 Martin Baulig <[email protected]>
The library is now called Mono.CompilerServices.SymbolWriter.dll
	and is in the Mono.CompilerServices.SymbolWriter namespace.

	* MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): New public
	static method.
	(MonoSymbolFile.WriteString): Use the BinaryWriter's method.
	(MonoSymbolFile.ReadString): Use the BinaryReader's method.
	(MonoSymbolFile.Write): Write the module's Guid into the symbol
	file.

	* MonoSymbolTable.cs, MonoSymbolWriter.cs: Reworked the API.

svn path=/trunk/mcs/; revision=31669
2004-07-30 16:52:07 +00:00
Duncan Mak 736152c699 it's OpCodeType, not OperandType
svn path=/trunk/mono/; revision=31668
2004-07-30 16:32:19 +00:00
Duncan Mak d12d4b0bf7 Added OperandType information to each of the public opcodes with the
new "type" attribute. Removed mono_func_* from the opcodes and updated
the "o2" attribute for the mono_* opcodes to match the values in the
existing opcode.def. Added "mono_save_lmf" and mono_restore_lmf",
which were listed in opcode.def, but not in the XML file.

r=lupus

svn path=/trunk/mono/; revision=31667
2004-07-30 16:31:06 +00:00
Ben Maurer cd0fefdde0 2004-07-30 Ben Maurer <[email protected]>
* basic.cs: regression tests.

	* inssel-x86.brg: Disable cmp BYTE PTR [eax], imm, it causes various

svn path=/trunk/mono/; revision=31666
2004-07-30 16:16:32 +00:00
Zoltan Varga 367274f764 2004-07-30 Zoltan Varga <[email protected]>
* basic.cs: Add a new test.

svn path=/trunk/mono/; revision=31665
2004-07-30 16:02:37 +00:00
Zoltan Varga dbc9b4d429 2004-07-30 Zoltan Varga <[email protected]>
* amd64/amd64-codegen.h: Ongoing JIT work.

svn path=/trunk/mono/; revision=31664
2004-07-30 16:01:49 +00:00
Zoltan Varga d1df6b7555 2004-07-30 Zoltan Varga <[email protected]>
* mini-amd64.c aot.c cpu-amd64.md: Add support for tracing, profiling
	and AOT. Various fixes and optimizations.

svn path=/trunk/mono/; revision=31663
2004-07-30 16:00:43 +00:00
Zoltan Varga 5ea87c85d7 2004-07-30 Zoltan Varga <[email protected]>
* inssel.brg (CALL_REG): Add 64 bit versions of call_reg rules.

svn path=/trunk/mono/; revision=31662
2004-07-30 15:59:04 +00:00
Zoltan Varga 3e87e3b706 2004-07-30 Zoltan Varga <[email protected]>
* mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.

svn path=/trunk/mono/; revision=31660
2004-07-30 15:23:58 +00:00
Jambunathan K 922ac9aa87 Enhanced or Fixed tests for externalsource and conditional
compilation pre-processor directives

svn path=/trunk/mcs/; revision=31658
2004-07-30 15:05:34 +00:00
Atsushi Eno 5954799e05 The ChangeLog description was ambiguous, so rewritten.
svn path=/trunk/mcs/; revision=31657
2004-07-30 15:05:20 +00:00
Atsushi Eno f430da5aa0 2004-07-30 Atsushi Enomoto <[email protected]>
* DTMXPathNavigator.cs :
	  Fixed IsSamePosition(). currentAttr and currentNS are not always
	  the same when current is attribute or current is namespace.
	* XPathNavigatorReader.cs : Fixed NodeType - 1) When attribute value is
	  being consumed, then node type should be Text, and 2) Root node is
	  usually mapped to Document, but XmlReader never returns Document,
	  just None (both on Initial state and EndOfFile state).

svn path=/trunk/mcs/; revision=31656
2004-07-30 15:01:08 +00:00
Jambunathan K c6e6c89b4e Fixed miscellaneous bugs in handling of
pre-processor directives. There are two positive test
cases that fail currently: ExternalSourceDirectivesC4.vb
and RegionDirectivesC1.vb
 ----------------------------------------------------------------------

svn path=/trunk/mcs/; revision=31655
2004-07-30 14:43:41 +00:00
Ravindra 290bee44af * Font.cs: Fixed Height property implementation and implemented
GetHeight method and its overloads.

svn path=/trunk/mcs/; revision=31654
2004-07-30 14:20:22 +00:00
Paolo Molaro fefa7a1678 Fri Jul 30 16:49:05 CEST 2004 Paolo Molaro <[email protected]>
* object.c: always create an object if null is passed
	to Invoke() where a valuetype is expected.

svn path=/trunk/mono/; revision=31652
2004-07-30 13:51:38 +00:00
Atsushi Eno b0d04ed331 2004-07-30 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : fixed GetAttributeNavigator() that
	  incorrectly used MoveToNextAttribute().

svn path=/trunk/mcs/; revision=31651
2004-07-30 12:53:50 +00:00
Paolo Molaro 28160a127a Fri Jul 30 15:49:26 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: make sure temp regs are not used for global reg
	allocation.

svn path=/trunk/mono/; revision=31650
2004-07-30 12:49:43 +00:00
Sureshkumar T f833b9e06b 2004-07-30 Sureshkumar T ([email protected])
* OdbcCommand.cs: ExecuteNonQuery Closed statement handle to fix memory leak
        * OdbcDataReader.cs: Closed statement handle to fix memory leak
			     Removed SQLState login in GetBytes coz OdbcError provides the same.

svn path=/trunk/mcs/; revision=31649
2004-07-30 11:35:08 +00:00
Ravindra 8e04177ab1 Flushing.
svn path=/trunk/mcs/; revision=31647
2004-07-30 08:17:56 +00:00
Jambunathan K fbb31cd2f9 *** empty log message ***
svn path=/trunk/mcs/; revision=31646
2004-07-30 08:12:56 +00:00
Jambunathan K ebdbfc8d2c (Module): Oops. Reversed unintended checkin.
svn path=/trunk/mcs/; revision=31645
2004-07-30 08:07:51 +00:00
Raja R Harinath 2d43bd4992 (monoone_DATA): Add mcs.exe.config.
(gmcs_exe): Add gmcs.exe.config.
($(monoone_DATA) $(monotwo_DATA) ...): Add location of the .config files too.

svn path=/trunk/mono/; revision=31644
2004-07-30 07:43:09 +00:00
Raja R Harinath 4807ad9cdc (install-local): Remove. Functionality moved to executable.make.
svn path=/trunk/mcs/; revision=31643
2004-07-30 07:36:52 +00:00
Raja R Harinath 4d0f22424d (PROGRAM_config): New auto-detecting define.
Defined if $(PROGRAM).config exists.
(install-local): Install $(PROGRAM_config) if it exists.

svn path=/trunk/mcs/; revision=31642
2004-07-30 07:33:13 +00:00
Sachin Kumar 4df76ae0a7 Added tests for Shift Operators
svn path=/trunk/mcs/; revision=31641
2004-07-30 07:32:18 +00:00
Raja R Harinath 182832ce7d (IfElseStateMachine.State, IfElseStateMachine.Token): Remove [Flags] attribute.
svn path=/trunk/mcs/; revision=31640
2004-07-30 07:28:11 +00:00
Jochen Wezel a4e86ce34b CVhangeLog for added System.Serializable attribute to NET_2_0, fixed usage of System.Flags instead of System.FlagsAttribute
svn path=/trunk/mcs/; revision=31639
2004-07-30 07:26:58 +00:00
Jochen Wezel 9978b0380c updated ChangeLog for added System.Serializable attribute to NET_2_0, fixed usage of System.Flags instead of System.FlagsAttribute
svn path=/trunk/mcs/; revision=31638
2004-07-30 07:26:07 +00:00
Jochen Wezel 5f711e8b6e Serializable only in NET_2_0 and not in NET_1_x
svn path=/trunk/mcs/; revision=31637
2004-07-30 07:10:10 +00:00
Jochen Wezel 994a01dd0d Serializable attributes only in NET_2_0 instead of in all versions
svn path=/trunk/mcs/; revision=31636
2004-07-30 07:08:22 +00:00
Jambunathan K ef17cc6fcf * mb-parser.jay: The original checkin hits a bug in mcs but
compiles fine with csc. This checkin is to workaround the mcs
bug so that cvs builds are not broken.

svn path=/trunk/mcs/; revision=31635
2004-07-30 06:48:48 +00:00
Bernie Solomon 79d41d0d79 2004-07-29 Bernie Solomon <[email protected]>
* cpu-sparc.md: conv_i8 fix for 64bits

	* mini-sparc.c: add cases for OP_IXXX codes for 64bits

svn path=/trunk/mono/; revision=31633
2004-07-30 01:15:02 +00:00
Bernie Solomon dbbedeb76e 2004-07-29 Bernie Solomon <[email protected]>
* marshal.c (mono_marshal_init): make managed
	signatures match native ones better for 64bits.

svn path=/trunk/mono/; revision=31632
2004-07-30 01:11:31 +00:00
César Natarén cee285ec20 2004-07-29 Cesar Lopez Nataren <[email protected]>
* Parser.cs: Added ClauseType enum. Added all the statements to current_script_or_fn,
	building the other block was not needed. Build the ast's for the
	expressions and statements, keep track of the parent relationship.

svn path=/trunk/mcs/; revision=31631
2004-07-29 22:38:15 +00:00
Gonzalo Paniagua Javier fd38a7548c 2004-07-29 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: in Validate(), when the control is not visible or
	enabled, return inmediately after setting IsValid to true. Fixes bug
	#61831.

svn path=/trunk/mcs/; revision=31629
2004-07-29 20:25:57 +00:00
Gonzalo Paniagua Javier 3c959a31e7 2004-07-29 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: hack to build correctly the private bin path on windows.
	Fixes bug #61991.

svn path=/trunk/mono/; revision=31626
2004-07-29 19:04:30 +00:00
Jambunathan K 14cf871da4 * mb-parser.jay:
* mb-tokenizer.cs: Added support for #region, #externalsource
and conditional compilation pre-processor directives.
Conditonal directives currently accept only boolean literals
as conditonal expressions.

svn path=/trunk/mcs/; revision=31625
2004-07-29 18:27:57 +00:00
Jambunathan K 76c8e0642c * RegionDirectivesC1.vb:
* RegionDirectives.vb:
* ExternalSourceDirectivesC1.vb:
* ExternalSourceDirectives.vb:
* ConditionalCompilationE.vb:
* ConditionalCompilationD.vb:
* ConditionalCompilationC.vb:
* ConditionalCompilationA.vb:
* ConditionalCompilation.vb:
* RegionDirectivesC5.vb:
* RegionDirectivesC4.vb:
* RegionDirectivesC3.vb:
* RegionDirectivesC2.vb:
* PreProcessorDirectiveC1.vb:
* PreProcessorDirective.vb:
* ExternalSourceDirectivesC4.vb:
* ExternalSourceDirectivesC3.vb:
* ExternalSourceDirectivesC2.vb:
* ConditionalCompilationC9.vb:
* ConditionalCompilationC8.vb:
* ConditionalCompilationC7.vb:
* ConditionalCompilationC6.vb:
* ConditionalCompilationC5.vb:
* ConditionalCompilationC4.vb:
* ConditionalCompilationC3.vb:
* ConditionalCompilation9.vb:
* ConditionalCompilation10.vb:

Added or modified tests for region externalsource and
conditional compilation pre-processor directives

svn path=/trunk/mcs/; revision=31624
2004-07-29 17:56:29 +00:00
Ben Maurer ba794d5eb4 head -n4 ChangeLog
svn path=/trunk/mono/; revision=31623
2004-07-29 17:12:22 +00:00
Ben Maurer 26a054fda9 2004-07-29 Ben Maurer <[email protected]>
* x86/x86-codegen.h: Add opcodes for cmp BYTE PTR [eax], imm

svn path=/trunk/mono/; revision=31622
2004-07-29 17:10:53 +00:00
Ben Maurer 8569a52fd4 2004-07-29 Ben Maurer <[email protected]>
* inssel.brg: Make memcpy and memset takes bases.

svn path=/trunk/mono/; revision=31621
2004-07-29 17:07:08 +00:00
Martin Baulig 00b4f4be2e Ignore *.mdb everywhere.
svn path=/trunk/mcs/; revision=31616
2004-07-29 16:18:38 +00:00
Martin Baulig 31159b11ef Ignore *.mdb.
svn path=/trunk/mcs/; revision=31615
2004-07-29 16:14:20 +00:00
Martin Baulig 78b9c7623e 2004-07-29 Martin Baulig <[email protected]>
* PEAPI.cs (Module.Guid): New public property.

svn path=/trunk/mcs/; revision=31614
2004-07-29 16:13:10 +00:00
Martin Baulig 34123bd464 2004-07-29 Martin Baulig <[email protected]>
* Module.cs (Mono_GetGuid): Make this static.

svn path=/trunk/mcs/; revision=31613
2004-07-29 16:10:05 +00:00
Martin Baulig 25030496b0 2004-07-29 Martin Baulig <[email protected]>
* ILGenerator.cs (ILGenerator.Mono_GetCurrentOffset): New static
	internal method.

	* ModuleBuilder.cs (ModuleBuilder.Mono_GetGuid): New static
	internal method.

svn path=/trunk/mcs/; revision=31612
2004-07-29 16:06:37 +00:00
Atsushi Eno f6d978f6f4 2004-07-29 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : implemented WriteNode(XPathNavigator, bool)
	  incompletely, using XPathNavigator.ReadSubtree().

svn path=/trunk/mcs/; revision=31611
2004-07-29 15:22:25 +00:00
Atsushi Eno 06d12486a7 2004-07-29 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : Implemented ReadSubtree().

svn path=/trunk/mcs/; revision=31609
2004-07-29 14:33:04 +00:00
Atsushi Eno 6e23efaa6e 2004-07-29 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs :
	  - it is used only in 2.0 classes.
	  - It now behaves as a fragment reader.
	  - Depth is optimized not to call Clone() and MoveToParent().
	  - AttributeCount could be counted only once in Read().
	  - ReadState transition is adjusted to be same as other XmlReaders.
	  - name strings now return "" on initial state.

svn path=/trunk/mcs/; revision=31608
2004-07-29 14:32:10 +00:00
Atsushi Eno 4145811456 2004-07-29 Atsushi Enomoto <[email protected]>
* Environment.cs : GacPath on windows is based on mscorlib.dll, and
	  now its location is changed.

svn path=/trunk/mcs/; revision=31607
2004-07-29 12:07:51 +00:00
Sachin Kumar f479d53a2e Added tests for logical operators
svn path=/trunk/mcs/; revision=31606
2004-07-29 12:00:15 +00:00
Sanja Gupta e6cd22cb7c ChangeLog: Updated ChangeLog.
gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
        P/Invoke function for Image.
Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.

svn path=/trunk/mcs/; revision=31605
2004-07-29 11:55:39 +00:00
Sanja Gupta 170ec7391f ChangeLog: Updated ChangeLog.
gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
        GdipGetAllPropertyItems P/Invoke function for Image.
gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
Image.cs: Corrected implementation of PropertyItems property.

svn path=/trunk/mcs/; revision=31604
2004-07-29 10:58:50 +00:00
Lluis Sanchez f06de0e0fc * MonoWSDL2.cs: New wrapper for wsdl 2.0.
* wsdl2.exe.sources: source list for wsdl 2.0.
	* Makefile: Changed executable name for 2.0 profile.

svn path=/trunk/mcs/; revision=31603
2004-07-29 09:33:25 +00:00
Atsushi Eno bc7c9c9488 2004-07-29 Atsushi Enomoto <[email protected]>
* XmlReader.cs : Implemented new 2.0 virtual members that used to be
	  abstract in 1.x. Implemented ReadSubtree().

svn path=/trunk/mcs/; revision=31602
2004-07-29 09:28:52 +00:00
Atsushi Eno 2039a670a7 2004-07-29 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added Mono.Xml/SubtreeXmlReader.cs

svn path=/trunk/mcs/; revision=31601
2004-07-29 09:27:12 +00:00
Atsushi Eno ccc689909f 2004-07-29 Atsushi Enomoto <[email protected]>
* Added SubtreeXmlReader.cs.

svn path=/trunk/mcs/; revision=31600
2004-07-29 09:25:31 +00:00
Sachin Kumar 029a2f067d Added tests for Operators
svn path=/trunk/mcs/; revision=31599
2004-07-29 09:13:20 +00:00
Lluis Sanchez af16fd3755 * Makefile.am: Copy machine.config in the correct _tmpinst subdirectory.
svn path=/trunk/mono/; revision=31598
2004-07-29 08:47:47 +00:00
Umadevi S 918c727edb 2004-07-29 Umadevi S <[email protected]>
* OdbcCommandTest.cs - Added testcase for bug 62046. ExecuteNonQuery

svn path=/trunk/mcs/; revision=31597
2004-07-29 06:17:49 +00:00
Umadevi S eb1711a918 2004-07-29 Umadevi S ([email protected])
* OdbcCommand.cs - Fixed bug 62046. ExecuteNonQuery implemented correctly

svn path=/trunk/mcs/; revision=31596
2004-07-29 06:14:03 +00:00
Sanja Gupta f4a1c98054 ChangeLog: Updated ChangeLog.
gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
        P/Invoke function for Image.
Image.cs: Changed implementation of PropertyIdList property.

svn path=/trunk/mcs/; revision=31593
2004-07-29 05:49:59 +00:00
Neale Ferguson 03c6080fbd Fix move instruction to handle large offsets
svn path=/trunk/mono/; revision=31592
2004-07-29 00:32:20 +00:00
Lluis Sanchez bccfdd1a16 * RuntimeEnvironment.cs: Implemented SystemConfigurationFile and
GetSystemVersion().

svn path=/trunk/mcs/; revision=31590
2004-07-28 22:16:25 +00:00
Zoltan Varga 40f3568d36 2004-07-28 Zoltan Varga <[email protected]>
* *-amd64.*: More AMD64 work.

svn path=/trunk/mono/; revision=31588
2004-07-28 20:26:37 +00:00
Zoltan Varga c2f3514c4d 2004-07-28 Zoltan Varga <[email protected]>
* amd64/amd64-codegen.h: Ongoing JIT work.

svn path=/trunk/mono/; revision=31586
2004-07-28 20:14:03 +00:00
Lluis Sanchez f5fbcf9890 * Makefile: Install mcs.exe.config file together with mcs.exe.
* mcs.exe.config: Added supportedRuntime entry to make sure it runs in the
	correct runtime version.

svn path=/trunk/mcs/; revision=31585
2004-07-28 19:28:11 +00:00
Lluis Sanchez e9eb1f5ccf * Makefile: Use the new FRAMEWORK_VERSION variable to build the destination
path for mscorlib.

svn path=/trunk/mcs/; revision=31584
2004-07-28 19:24:59 +00:00
Lluis Sanchez 2a97b00400 * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
Added FRAMEWORK_VERSION var.

svn path=/trunk/mcs/; revision=31583
2004-07-28 19:22:40 +00:00
Ben Maurer 3a49d3035a 2004-07-28 Ben Maurer <[email protected]>
* cpu-pentium.md, inssel-x86.brg, mini-ops.h, mini-x86.c:

svn path=/trunk/mono/; revision=31582
2004-07-28 19:19:29 +00:00
Lluis Sanchez 40fac876a0 runtime/net_1_1/Makefile.am, runtime/net_2_0/Makefile.am: Install mscorlib
at the correct version specific directory.

svn path=/trunk/mono/; revision=31581
2004-07-28 19:19:10 +00:00
Lluis Sanchez 281e1c0ace * interp.c: Use mono_init_from_assembly instead of mono_init.
svn path=/trunk/mono/; revision=31580
2004-07-28 19:16:23 +00:00
Lluis Sanchez 5178a5dbf2 * mini.c: Use mono_init_from_assembly instead of mono_init.
svn path=/trunk/mono/; revision=31579
2004-07-28 19:15:21 +00:00
Lluis Sanchez 4acbe1e536 * assembly.c: Load mscorlib from the correct framework directory
(mono/<version>/mscorlib.dll).
	* appdomain.h: Added prototypes for new functions.
	* internals.h: Added some prototypes.
	* domain.c: When initializing the runtime, get from the executable and
	  the configuration files the runtime version that the app supports.
	  Added support methods for reading app.exe.config. Added list of versions
	  supported by the JIT. Added two new methods: mono_init_from_assembly,
	  which initializes the runtime and determines the required version from
	  the provided exe file, and mono_init_version, which initializes
	  the runtime using the provided version.
	* icall.c: Get machine.config from version-specific directory.
	* reflection.c: When generating an image, embed the version number
	  of the current runtime.

svn path=/trunk/mono/; revision=31578
2004-07-28 19:11:47 +00:00
Zoltan Varga ea1364a1df 2004-07-28 Zoltan Varga <[email protected]>
* mini.c: Fix opcode mapping for STACK_MP on 64 bit platforms.

	* mini.c (CEE_NEWOBJ): Call mono_array_new_va using the correct signature.

	* mini.c: Use MONO_ARCH_SIGACTION on AMD64 as well.

svn path=/trunk/mono/; revision=31577
2004-07-28 19:06:11 +00:00
Zoltan Varga 1f429d93a5 2004-07-28 Zoltan Varga <[email protected]>
* inssel.brg: 64 bit fixes.

	* mini.h (MonoCallInst): Add some AMD64 specific data.

	* mini.h: Add some OP_P opcodes.

svn path=/trunk/mono/; revision=31576
2004-07-28 18:58:53 +00:00
Lluis Sanchez 5f67448fa5 * configure.in: Added data/net_1_1 and data/net_2_0 to the build.
* data/Makefile.am: Removed installation of machine.config and
	  DefaultWsdlHelpGenerator.aspx. Those now are in a version-specific
	  directory.
	* data/net_1_1/Makefile.am, data/net_2_0/Makefile.am: new makefiles for
	  installing 1.1 and 2.0 makefiles.
	* runtime/net_1_1/Makefile.am, runtime/net_2_0/Makefile.am: Install mscorlib
	  at the correct version specific directory.

svn path=/trunk/mono/; revision=31573
2004-07-28 18:34:52 +00:00
Lluis Sanchez f426954758 * BasicProfileChecker.cs, ConformanceChecker.cs,
WebServicesInteroperability.cs: Fixed build errors. I commited before
	  it was ready :-(.

svn path=/trunk/mcs/; revision=31571
2004-07-28 17:39:28 +00:00
John Merryweather Cooper 79bb82d2e3 * mono/configure.in: Correct host regexes for FreeBSD. Fix TLS issue with
-CURRENT.  Fix library detection for FreeBSD in both -STABLE and -CURRENT.

svn path=/trunk/mono/; revision=31565
2004-07-28 16:28:17 +00:00
Ben Maurer ddb03c17ac 2004-07-28 Ben Maurer <[email protected]>
* basic.cs: tests for 61797 and 61740

svn path=/trunk/mono/; revision=31563
2004-07-28 15:46:39 +00:00
Dick Porter 07fbaf3262 2004-07-28 Dick Porter <[email protected]>
* Socket.cs: ReceiveFrom might not return a valid EndPoint.  Patch
	by Nick Vaughan ([email protected]), fixes bug 61608.

svn path=/trunk/mcs/; revision=31560
2004-07-28 15:44:10 +00:00
Dick Porter 7012ba5b86 2004-07-28 Dick Porter <[email protected]>
* socket-io.c
	(ves_icall_System_Net_Sockets_Socket_RecvFrom_internal): Check
	returned sockaddr size before creating the remote address object.
	Patch by Nick Vaughan ([email protected]), fixes bug
	61608.

svn path=/trunk/mono/; revision=31559
2004-07-28 15:44:06 +00:00
Lluis Sanchez 1a0e5c12dd * XmlTextReader.cs: Stop parsing when a null character is found.
svn path=/trunk/mcs/; revision=31558
2004-07-28 15:08:04 +00:00
Jackson Harper 845dcfe807 * driver.cs: Check for and install .mdb (debuger symbol
files).

svn path=/trunk/mcs/; revision=31557
2004-07-28 14:46:43 +00:00
Sanja Gupta 9e18802ff7 ChangeLog: Updated ChangeLog.
gdipStructs.cs: Implementing PropertyItem property in Image.cs.
Image.cs: Implemented PropertyItems and PropertyIdList properties.

svn path=/trunk/mcs/; revision=31556
2004-07-28 14:32:57 +00:00
Atsushi Eno bf7fcf52d0 2004-07-28 Atsushi Enomoto <[email protected]>
* XmlReader.cs : Implemented missing MoveToNextSibling() and
	  MoveToDescendant().
	* XmlTextReader.cs : Added missing ReadValueAs() override (hmm...
	  are they really worth overriding?)

svn path=/trunk/mcs/; revision=31555
2004-07-28 14:04:04 +00:00
Atsushi Eno 821d167198 2004-07-28 Atsushi Enomoto <[email protected]>
* XmlQueryCompileException.cs : removed extra GetObjectData().
	* XsltCommand.cs : fixed signatures of Compile() and Execute() methods.

svn path=/trunk/mcs/; revision=31554
2004-07-28 13:31:58 +00:00
Dick Porter b05f184a53 2004-07-28 Dick Porter <[email protected]>
* ComparerTest.cs: Test for invariant compares (bug 61458.)

svn path=/trunk/mcs/; revision=31553
2004-07-28 12:46:34 +00:00
Atsushi Eno e186f33ef2 2004-07-28 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : Added new WriteStartAttribute(string).

svn path=/trunk/mcs/; revision=31551
2004-07-28 11:53:56 +00:00
Dick Porter 37f654c53e 2004-07-28 Dick Porter <[email protected]>
* locales.c (string_invariant_compare_char): Fix invariant char
	compares between upper and lower cases.  Fixes bug 61458.

svn path=/trunk/mono/; revision=31549
2004-07-28 11:46:24 +00:00
Atsushi Eno 920a2a0482 2004-07-28 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : for .ctor() and .ctor(XmlNameTable), now it
	  creates Mono.Xml.XPath.XPathEditableDocument and thus supports
	  IXPathEditable.CreateEditor().

svn path=/trunk/mcs/; revision=31548
2004-07-28 11:22:18 +00:00
Atsushi Eno 73ba874528 2004-07-28 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added Mono.Xml.XPath/XPathEditableDocument.cs

svn path=/trunk/mcs/; revision=31547
2004-07-28 11:21:47 +00:00
Atsushi Eno 1610596c23 2004-07-28 Atsushi Enomoto <[email protected]>
* Added XPathEditableDocument.cs.
	  - XPathEditableDocument provides IXPathEditable.
	  - XmlDocumentEditableNavigator implements XPathEditableNavigator
	    that supports CreateAttributes(), AppendChild() and so on.

	  It is nothing more than hack, and as an XPathEditableNavigator
	  provider for XPathDocument, it will be replaced by something.

svn path=/trunk/mcs/; revision=31546
2004-07-28 11:18:27 +00:00
Zoltan Varga 86b7995d07 2004-07-28 Zoltan Varga <[email protected]>
* marshal10.cs libtest.c: Remove incorrect time_t custom marshalling
	test.

svn path=/trunk/mono/; revision=31544
2004-07-28 10:21:47 +00:00
Zoltan Varga 9e1450e5d4 2004-07-28 Zoltan Varga <[email protected]>
* mono-codeman.c (mono_code_manager_invalidate): Invalidate with
	x86 break on AMD64 too.

svn path=/trunk/mono/; revision=31543
2004-07-28 09:59:18 +00:00
Atsushi Eno 03a0f59d34 2004-07-28 Atsushi Enomoto <[email protected]>
* XPathEditableNavigator.cs : Implemented InsertAfter() and
	  PrependChild(); they are virtual, not abstract.
	* XPathNavigator.cs :
	  Implemented many 2.0 virtual properties and methods that were
	  abstract in 1.x.
	  Implemented some Select() methods that uses IXmlNamespaceResolver.
	  Implemented most of ValueAsXxx() using XQueryConvert.
	  IsNode is always true. Implemented OuterXml and WriteSubtree() (but
	  actually they don't work because it depends on ReadSubtree()).

svn path=/trunk/mcs/; revision=31542
2004-07-28 09:17:27 +00:00
Atsushi Eno af9ff658c4 2004-07-28 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : use XmlQualifiedName.Parse().

svn path=/trunk/mcs/; revision=31541
2004-07-28 09:12:16 +00:00
Atsushi Eno 2d70b54516 2004-07-28 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
	* XmlQualifiedName.cs : Added internal static Parse().
	* XmlReader.cs : use XmlQualifiedName.Parse().
	* XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
	* XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
	  Implemented 2.0 virtual methods that used to be abstract in 1.x.

svn path=/trunk/mcs/; revision=31540
2004-07-28 09:10:34 +00:00
Lluis Sanchez 52620b29fb * BasicProfileChecker.cs: Added checks for R2101, R2102, R2105, R2110, R2111
* ConformanceChecker.cs: Added check methods for schema objects.
	* WebServicesInteroperability.cs: Added checks for schema objects.

svn path=/trunk/mcs/; revision=31539
2004-07-28 09:07:44 +00:00
Lluis Sanchez 08f98cbb46 * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
SoapHttpClientProtocol.cs: Implemented support for the new async model.
	* InvokeCompletedEventArgs.cs: Implemented.

svn path=/trunk/mcs/; revision=31538
2004-07-28 09:07:00 +00:00
Lluis Sanchez 1f05d4996e * corlib.dll.sources: Added new files for NET_2_0 profile:
System.Threading/ExecutionContext.cs
		System.Threading/ExecutionContextSwitcher.cs
		System.Threading/SynchronizationContext.cs
		System.Threading/SynchronizationContextSwitcher.cs

svn path=/trunk/mcs/; revision=31537
2004-07-28 09:05:42 +00:00
Lluis Sanchez ca0d337e32 * ExecutionContext.cs, ExecutionContextSwitcher.cs,
SynchronizationContext.cs, SynchronizationContextSwitcher.cs: Added 2.0
	  stubs.

svn path=/trunk/mcs/; revision=31536
2004-07-28 09:04:08 +00:00
Umadevi S a7ce4f61dd 2004-07-28 Umadevi S <[email protected]>
* OdbcCommandTest.cs - Added testcase for bug 61968. String values passed with quotes

svn path=/trunk/mcs/; revision=31535
2004-07-28 08:21:45 +00:00
Umadevi S ca6eab23b1 2004-07-28 Umadevi S ([email protected])
* OdbcParameter.cs - fixed bug 61968. String values passed with quotes

svn path=/trunk/mcs/; revision=31534
2004-07-28 08:16:02 +00:00
Ben Maurer 94a31d2c5b 2004-07-27 Ben Maurer <[email protected]>
* marshal.c: actually cache stelem.ref wrappers.

svn path=/trunk/mono/; revision=31528
2004-07-27 19:20:58 +00:00
Bernie Solomon 105825b19f 2004-07-27 Bernie Solomon <[email protected]>
* transform.c (mono_interp_transform_method):
	quick fix to cope with the fake ptr classes

svn path=/trunk/mono/; revision=31527
2004-07-27 17:42:09 +00:00
Atsushi Eno 0d16cd0f97 2004-07-27 Atsushi Enomoto <[email protected]>
* XQueryParser.jay,
	  XPath2Expression.cs,
	  XQueryModuleProlog.cs,
	  XQueryTokenizer.cs :
	  Removed SchemaContext. StepExpr and XPathAxis redesign.
	  (Partially) updated Prolog to match with XQuery 7/23/2004 spec.
	  XML comment/PI/CDATA recognition in tokenizer.

svn path=/trunk/mcs/; revision=31526
2004-07-27 16:56:41 +00:00
Jackson Harper 9a9f840c60 * Driver.cs: Make debug switch compatible with MS's add debug to
the usage.

svn path=/trunk/mcs/; revision=31525
2004-07-27 16:46:47 +00:00
Gonzalo Paniagua Javier 13c31c48e8 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: s/HasChildren/HasControls()/.

svn path=/trunk/mcs/; revision=31524
2004-07-27 16:17:22 +00:00
Jordi Mas i Hernandez 1bc1e63899 fixes trackbar events, def classname, methods signature
svn path=/trunk/mcs/; revision=31523
2004-07-27 15:53:02 +00:00
Jordi Mas i Hernandez 807e4c29b5 fixes scrollbar events
svn path=/trunk/mcs/; revision=31522
2004-07-27 15:29:40 +00:00
Gonzalo Paniagua Javier 0992d44ba8 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: style.

svn path=/trunk/mcs/; revision=31521
2004-07-27 15:03:49 +00:00
Gonzalo Paniagua Javier 34b3941698 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: style. Reverted previous patch modification of
	TemplateSourceDirectory (failed when the control is reparented). Use
	HasControls() and Controls all over instead of _controls, as Controls
	property and HasControls() might be overriden.

svn path=/trunk/mcs/; revision=31520
2004-07-27 14:51:56 +00:00
Paolo Molaro 293b459644 Tue Jul 27 16:56:55 CEST 2004 Paolo Molaro <[email protected]>
* class.c, image.c, loader.c, cil-coff.h: lazily mmap the image
	sections and remove the mono_cli_rva_map () function.

svn path=/trunk/mono/; revision=31519
2004-07-27 14:06:30 +00:00
Carlos Guzmán Álvarez 7eac467cd8 2004-07-27 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs:

		- Fixed usage of the private key selection
		delegate (Thanks to Matthijs ter Woord for his feedback)

svn path=/trunk/mcs/; revision=31518
2004-07-27 13:24:42 +00:00
Paolo Molaro 53e5e3fbc7 Tue Jul 27 16:05:19 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, mini-sparc.c, mini-s390.c: keep track of line
	numbers in the debug info (spotted by Geoff Norton, <[email protected]>).

svn path=/trunk/mono/; revision=31516
2004-07-27 13:12:48 +00:00
Paolo Molaro f6c682f3fa Tue Jul 27 15:58:19 CEST 2004 Paolo Molaro <[email protected]>
* debug-mono-symfile.c: fix one more endianess issue, from a patch
	by Geoff Norton (<[email protected]>).

svn path=/trunk/mono/; revision=31514
2004-07-27 13:11:34 +00:00
Paolo Molaro ade27644b0 Tue Jul 27 15:47:17 CEST 2004 Paolo Molaro <[email protected]>
* class.c: fix class loads for pointer types (typeof(int) !=
	typeof(int*)).

svn path=/trunk/mono/; revision=31511
2004-07-27 12:54:15 +00:00
Jordi Mas i Hernandez 85c9a776da changes to be able to run winforms samples
svn path=/trunk/mcs/; revision=31508
2004-07-27 10:38:17 +00:00
Jochen Wezel 10b6e8d57f Fixed API: added missing attribute System.Serializable
svn path=/trunk/mcs/; revision=31507
2004-07-27 09:49:44 +00:00
Jochen Wezel 77151c5120 Ooops: use System.Serializable instead of System.SerializableAttribute and System.Flags instead of System.FlagAttribute
svn path=/trunk/mcs/; revision=31506
2004-07-27 09:46:46 +00:00
Jochen Wezel fcd008e54d Fixed API: removed public constructor
svn path=/trunk/mcs/; revision=31505
2004-07-27 09:22:11 +00:00
Jochen Wezel 82bc8e37f4 Fixed API: removed public constructors
svn path=/trunk/mcs/; revision=31504
2004-07-27 09:21:09 +00:00
Jochen Wezel 73e673d6a1 Fixed API: removed public constructor
svn path=/trunk/mcs/; revision=31503
2004-07-27 09:12:05 +00:00
Jochen Wezel 72f2be0bf1 Fixed API: Added missing attribute System.SerializableAttribute to all enumerations
svn path=/trunk/mcs/; revision=31502
2004-07-27 09:09:01 +00:00
Jochen Wezel 29f2b3be89 Fixed API: removed public constructor
svn path=/trunk/mcs/; revision=31501
2004-07-27 08:56:55 +00:00
Alon Gazit 33482d662f Replaced foreach statement with for statement,in order to improve performence.
svn path=/trunk/mcs/; revision=31500
2004-07-27 08:01:13 +00:00
Alon Gazit 80496539cb WebControl.cs: changed RenderBeginTag()to use TagKey instead of TagName.
Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
switch statements in order to improve performance.

svn path=/trunk/mcs/; revision=31499
2004-07-27 07:38:30 +00:00
Jochen Wezel 9afa8a4b52 Fixed Cr and Lf assignments
svn path=/trunk/mcs/; revision=31498
2004-07-27 07:03:13 +00:00
Alon Gazit a54490991c Changed the implementation of TemplateSourceDirectory and GetDefaultName().
replaced foreach statements with for statements, in order to improve
performence.

svn path=/trunk/mcs/; revision=31497
2004-07-27 06:56:25 +00:00
Alon Gazit 35835d1b08 changed the implementation of GetViewStateString().
if the view state object is null there is no need to perform Serialization.

svn path=/trunk/mcs/; revision=31496
2004-07-27 06:24:33 +00:00
Atsushi Eno cbe75fb35e 2004-07-27 Atsushi Enomoto <[email protected]>
* DataSet.cs : on serialization to XmlWriter, XmlConvert should be
	  used. There were also some culture dependency problems to write int.

svn path=/trunk/mcs/; revision=31494
2004-07-27 04:37:43 +00:00
Bernie Solomon 266aedcc78 2004-07-26 Bernie Solomon <[email protected]>
* mintops.def: more options on ICALL op code

	* interp.c: cope with exception in ICALL ops, more of them

	* transforms.c: more ICALL opcodes

svn path=/trunk/mono/; revision=31490
2004-07-27 02:08:30 +00:00
Martin Baulig 8539fb80be 2004-07-27 Martin Baulig <[email protected]>
Added debugging support to ilasm :-)

	* Makefile: Depend on Mono.CSharp.Debugger.dll (this is only
	exposed in DebuggingInfo.cs, so we can easily change that).

	* Driver.cs: Added --debug command line argument to create
	debugging info; this'll create a .mdb symbol file.

svn path=/trunk/mcs/; revision=31489
2004-07-26 23:10:38 +00:00
Martin Baulig db685f3c5c 2004-07-27 Martin Baulig <[email protected]>
* IInstr.cs (IInstr): Made this an abstract class and not an
	interface, added a .ctor which takes a Location.
	(IInstr.Location): New public readonly field.

	* CodeGen.cs (CodeGen.SymbolWriter): New public property.
	(CodeGen.BeginSourceFile, EndSourceFile): New public methods.
	(CodeGen.EndMethodDef): Take a `Location' argument.
	(CodeGen.Write): Create debugging info if the user requested it.

	* MethodDef.cs (MethodDef.ctor): Added `CodeGen codegen' and
	`Location start' arguments.  If the user requested debugging
	information, register ourselves with the symbol writer.
	(MethodDef.WriteCode): Emit debugging information.

	* DebuggingInfo.cs: New file.

svn path=/trunk/mcs/; revision=31488
2004-07-26 23:10:09 +00:00
Martin Baulig cff9ebd5c6 2004-07-27 Martin Baulig <[email protected]>
* ILTokenizer.cs (ILTokenizer.Location): New public property.

svn path=/trunk/mcs/; revision=31487
2004-07-26 23:09:25 +00:00
Martin Baulig e5d3fefab7 2004-07-27 Martin Baulig <[email protected]>
* PEAPI.cs (CILInstructions.Offset): New public property.

svn path=/trunk/mcs/; revision=31486
2004-07-26 22:58:24 +00:00
Martin Baulig 8cfc5fecb2 2004-07-27 Martin Baulig <[email protected]>
* debug-mono-symfile.c (mono_debug_open_mono_symbol_file): Support
	reading the debugging information from an external ".mdb" file.

svn path=/trunk/mono/; revision=31485
2004-07-26 22:55:35 +00:00
Martin Baulig 4569968014 2004-07-27 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the methods
	according to their token values.
	(MonoSymbolFile.ReadSymbolFile): Support reading the debugging
	information from an external ".mdb" file.

	* MonoSymbolTable.cs
	(SourceFileEntry): Make the .ctor protected, not internal.
	(SourceFileEntry.DefineMethod): This is no longer specific to
	System.Reflection(.Emit).
	(MethodEntry): We don't need the class and parameter types, the
	JIT is already getting this information automatically.
	(MethodEntry.ClassTypeIndex): Make this obsolete.
	(MethodEntry.ParamTypeIndicies): Likewise.

svn path=/trunk/mcs/; revision=31484
2004-07-26 22:53:23 +00:00
Martin Baulig 0796ced4f9 Use my correct email address in the copyright info.
svn path=/trunk/mcs/; revision=31481
2004-07-26 18:21:57 +00:00
Lluis Sanchez 65bd7e1e63 * MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
no need to add it after the call.
	* SoapSchemaImporter.cs: Implemented 2.0 constructors.

svn path=/trunk/mcs/; revision=31480
2004-07-26 18:18:43 +00:00
Lluis Sanchez 7e9f3e17a2 * HttpSimpleProtocolImporter.cs: Implemented internal method to support
the new asyc model.
	* ProtocolImporter.cs: Generate code for the new async model.
	  Added support for generating server skeletons in addition to client
	  proxies.
	* ServiceDescriptionImporter.cs: Removed unneded check.
	* SoapProtocolImporter.cs: Added support for generating server skeletons in
	  addition to client proxies.

svn path=/trunk/mcs/; revision=31479
2004-07-26 18:18:02 +00:00
Gonzalo Paniagua Javier 5ded01db1e 2004-07-26 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
	([email protected]).

svn path=/trunk/mcs/; revision=31477
2004-07-26 18:02:17 +00:00
Martin Baulig cb670640c1 Merged.
svn path=/trunk/mcs/; revision=31476
2004-07-26 17:48:36 +00:00
Martin Baulig 84cd139e90 Removed unneeded using clause.
svn path=/trunk/mcs/; revision=31475
2004-07-26 17:45:53 +00:00
Jordi Mas i Hernandez 0fe0119e67 Theme support
svn path=/trunk/mcs/; revision=31474
2004-07-26 17:42:03 +00:00
Martin Baulig 1cd1371268 Removed unneeded using.
svn path=/trunk/mcs/; revision=31473
2004-07-26 17:40:07 +00:00
Rafael Teixeira df8d43409a misplaced line in vb source, causing a System.ArgumentNullException in the synclock execution during test
svn path=/trunk/mcs/; revision=31472
2004-07-26 15:25:30 +00:00
Rafael Teixeira 536f366d53 2004/07/26 Rafael Teixeira <[email protected]>
* mb-parser.jay : First try at SyncLock Statement #53230

svn path=/trunk/mcs/; revision=31471
2004-07-26 15:18:51 +00:00
Jackson Harper f355746067 fix changelog entry
svn path=/trunk/mcs/; revision=31470
2004-07-26 14:15:59 +00:00
Atsushi Eno 785c451928 2004-07-26 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : added missing && not-likely-to-be-removed members.
	* XPathEditableNavigator.cs : added BuildSubTree().
	* XPathException.cs : added missing methods. Hide Message in NET_2_0.

svn path=/trunk/mcs/; revision=31469
2004-07-26 14:00:15 +00:00
Atsushi Eno 94832930cf 2004-07-26 Atsushi Enomoto <[email protected]>
* XmlReader.cs : Implemented ReadValueAsXxx() except for
	  ReadValueAsList().
	* XmlTextReader.cs : implemented them as well, just invoking
	  base.ReadValueAsXxx ().
	* XmlWriter.cs : implemented some WriteValue() methods.

svn path=/trunk/mcs/; revision=31468
2004-07-26 13:59:43 +00:00
Atsushi Eno 63f6c7b37c oops, forgot to commit ChangeLog.
svn path=/trunk/mcs/; revision=31467
2004-07-26 13:50:58 +00:00
Lluis Sanchez b1672ecc12 * SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
return value to the SoapMessage even if it is null. This fixes bug #61837.

svn path=/trunk/mcs/; revision=31464
2004-07-26 13:10:55 +00:00
Jordi Mas i Hernandez 2faf474654 initial messagebox implementation
svn path=/trunk/mcs/; revision=31463
2004-07-26 11:41:35 +00:00
Atsushi Eno 5d8774e1ec 2004-07-26 Atsushi Enomoto <[email protected]>
* Makefile: added System.Data.SqlXml.dll as a working target.

svn path=/trunk/mcs/; revision=31462
2004-07-26 10:46:25 +00:00
Atsushi Eno 81ed35d738 2004-07-26 Atsushi Enomoto <[email protected]>
* Makefile : added call to jay for creating XQueryParser.cs.
	* System.Xml.dll.sources : added XQueryParser.cs, XQueryTokenizer.cs,
	  XQueryModuleProlog.cs, XPath2Expression.cs and XQueryExpression.cs.

svn path=/trunk/mcs/; revision=31461
2004-07-26 10:39:42 +00:00
Atsushi Eno 3306d34b98 2004-07-26 Atsushi Enomoto <[email protected]>
* skelton-2.0.cs,
	  XQueryParser.jay,
	  XQueryTokenizer.cs,
	  XQueryModuleProlog.cs,
	  XPath2Expression.cs,
	  XQueryExpression.cs : added.

svn path=/trunk/mcs/; revision=31460
2004-07-26 10:35:51 +00:00
Anirban Bhattacharjee 0ea420e9a2 2004-07-26 Anirban Bhattacharjee <[email protected]>
* InheritanceC3.vb: Little correction in the test

svn path=/trunk/mcs/; revision=31458
2004-07-26 08:35:47 +00:00
Martin Baulig 372221bfa2 2004-07-25 Martin Baulig <[email protected]>
* Makefile (test-generic): Correctly set the MONO_PATH to run
	things in the v2.0 environment.
	(test-generic-2): New target.
	(test-everything): New target to run everything.

svn path=/trunk/mcs/; revision=31455
2004-07-25 17:25:26 +00:00
Martin Baulig 7e14f7a271 Small fix.
svn path=/trunk/mcs/; revision=31454
2004-07-25 16:09:49 +00:00
Martin Baulig c1412ab126 Ooops, I broke this last time I merged.
svn path=/trunk/mcs/; revision=31452
2004-07-25 05:46:03 +00:00
Martin Baulig 03a1d6aec1 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31451
2004-07-25 05:12:59 +00:00
Martin Baulig 6b95f23ba8 2004-07-25 Martin Baulig <[email protected]>
* 2test-12.cs, 2test-13.cs: New tests for partial classes.

svn path=/trunk/mcs/; revision=31450
2004-07-25 01:45:13 +00:00
Martin Baulig 77e4de32ac 2004-07-25 Martin Baulig <[email protected]>
* class.cs
	(TypeContainer.RegisterOrder): Removed, this was unused.
	(TypeContainer, interface_order): Removed.
	(TypeContainer.AddClass, AddStruct, AddInterface): Take a
	TypeContainer as argument since we can also be called with a
	`PartialContainer' for a partial class/struct/interface.
	(TypeContainer.IsInterface): Use `Kind == Kind.Interface' instead
	of checking whether we're an `Interface' - we could be a
	`PartialContainer'.
	(PartialContainer.Register): Override; call
	AddClass()/AddStruct()/AddInterface() on our parent.

	* cs-parser.jay (interface_member_declaration): Add things to the
	`current_container', not the `current_class'.

	* rootcontext.cs (RegisterOrder): The overloaded version which
	takes an `Interface' was unused, removed.

	* typemanager.cs (TypeManager.LookupInterface): Return a
	`TypeContainer', not an `Interface'.
	(TypeManager.IsInterfaceType): The `builder_to_declspace' may
	contain a `PartialContainer' for an interface, so check it's
	`Kind' to figure out what it is.

svn path=/trunk/mcs/; revision=31449
2004-07-25 01:44:09 +00:00
Martin Baulig 9852a8730a 2004-07-25 Martin Baulig <[email protected]>
* class.cs (Class.DefaultTypeAttributes): New public constant.
	(Struct.DefaultTypeAttributes): Likewise.
	(Interface.DefaultTypeAttributes): Likewise.
	(PartialContainer.TypeAttr): Override this and add the
	DefaultTypeAttributes.

svn path=/trunk/mcs/; revision=31447
2004-07-24 23:12:54 +00:00
Martin Baulig c76f6d1add 2004-07-25 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.Emit): Removed the `TypeContainer' argument,
	we can just use the `Parent' field instead.

svn path=/trunk/mcs/; revision=31446
2004-07-24 22:52:07 +00:00
Martin Baulig 665e8f6487 2004-07-25 Martin Baulig <[email protected]>
* class.cs (TypeContainer.Emit): Renamed to EmitType().

svn path=/trunk/mcs/; revision=31445
2004-07-24 22:10:06 +00:00
Martin Baulig 3e58e0f978 2004-07-25 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineMembers): Call DefineMembers() on
	our parts before defining any methods.
	(TypeContainer.VerifyImplements): Make this virtual.
	(ClassPart.VerifyImplements): Override and call VerifyImplements()
	on our PartialContainer.

svn path=/trunk/mcs/; revision=31444
2004-07-24 22:02:19 +00:00
Ben Maurer ebea1b8959 docs
svn path=/trunk/mcs/; revision=31443
2004-07-24 21:15:46 +00:00
Martin Baulig 671876b396 2004-07-25 Martin Baulig <[email protected]>
* iterators.cs (Iterator.Define): Renamed to DefineIterator().

	* decl.cs (DeclSpace.Define): Removed the `TypeContainer'
	argument, we can just use the `Parent' field instead.

	* class.cs
	(MemberBase.CheckBase): Removed the `TypeContainer' argument.
	(MemberBase.DoDefine): Likewise.

svn path=/trunk/mcs/; revision=31442
2004-07-24 21:08:36 +00:00
Martin Baulig 4b618e5a49 2004-07-24 Martin Baulig <[email protected]>
* decl.cs (MemberCore.Parent): New public field.
	(DeclSpace.Parent): Moved to MemberCore.

	* class.cs (MethodCore.ds): Removed; use `Parent' instead.
	(MemberBase.ctor): Added TypeContainer argument, pass it to our
	parent's .ctor.
	(FieldBase, Field, Operator): Likewise.
	(EventProperty.ctor): Take a TypeContainer instead of a DeclSpace.
	(EventField, Event): Likewise.

svn path=/trunk/mcs/; revision=31441
2004-07-24 20:20:03 +00:00
Martin Baulig 1c8f1952e9 Finally go back to backticks again.
svn path=/trunk/mcs/; revision=31440
2004-07-24 19:15:52 +00:00
Martin Baulig e9f6d6126b 2004-07-24 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Set this to 0
	and initialize it to 0 everywhere.

svn path=/trunk/mcs/; revision=31437
2004-07-24 19:11:50 +00:00
Martin Baulig 051ff83952 2004-07-24 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_type_info): Only write a class
	layout entry if we actually have a size or a packing size.

svn path=/trunk/mono/; revision=31434
2004-07-24 19:11:46 +00:00
Zoltan Varga e2becf58a9 2004-07-24 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Add CEE_CONV_U8/I8.

svn path=/trunk/mono/; revision=31433
2004-07-24 18:48:23 +00:00
Zoltan Varga ed8732872b 2004-07-24 Zoltan Varga <[email protected]>
* *-amd64*.*: Ongoing AMD64 work.

svn path=/trunk/mono/; revision=31432
2004-07-24 18:31:53 +00:00
Zoltan Varga a04ffadd7e 2004-07-24 Zoltan Varga <[email protected]>
* amd64/amd64-codegen.h: Ongoing JIT work.

svn path=/trunk/mono/; revision=31431
2004-07-24 18:29:32 +00:00
Zoltan Varga 54d3a8f59e 2004-07-23 zovarga <[email protected]>
* monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
	64 bit platforms.

svn path=/trunk/mono/; revision=31428
2004-07-23 20:08:45 +00:00
Zoltan Varga 617d43420c 2004-07-23 Zoltan Varga <[email protected]>
* inssel-long.brg: Implement CONV_I8/CONV_U8 in the backends.

	* *-amd64*: Ongoing AMD64 work.

svn path=/trunk/mono/; revision=31427
2004-07-23 20:07:41 +00:00
Zoltan Varga e395c57b2a 2004-07-23 Zoltan Varga <[email protected]>
* amd64/amd64-codegen.h: Ongoing JIT work.

svn path=/trunk/mono/; revision=31426
2004-07-23 20:05:59 +00:00
Dick Porter 37123e347e 2004-07-23 Dick Porter <[email protected]>
* configure.in: Changes for FreeBSD thread support by John
	Merryweather Cooper <[email protected]>.

svn path=/trunk/mono/; revision=31424
2004-07-23 19:32:10 +00:00
Jackson Harper c76c5a2be9 * MethodDef.cs: Params are 1 based if the method is static.
svn path=/trunk/mcs/; revision=31423
2004-07-23 19:17:05 +00:00
Jackson Harper fcef4ebc68 * PEAPI.cs: Make the type index modifiable so ClassRefInsts will
be emitted properly. This is in desperate need of some API
	love.

svn path=/trunk/mcs/; revision=31422
2004-07-23 19:14:30 +00:00
Zoltan Varga a0c137790b 2004-07-23 zovarga <[email protected]>
* mini-arch.h: Add AMD64 support.

svn path=/trunk/mono/; revision=31421
2004-07-23 16:16:17 +00:00
Zoltan Varga 8fd846bf0a 2004-07-23 zovarga <[email protected]>
* mini-sparc.c (mono_arch_is_inst_imm): New arch dependent function.

svn path=/trunk/mono/; revision=31420
2004-07-23 16:15:32 +00:00
Zoltan Varga b173582247 2004-07-23 zovarga <[email protected]>
* mini.h: Add new arch dependent function mono_arch_is_inst_imm.

	* mini-ops.h: Add new opcodes.

	* Makefile.am: Add AMD64 support.

svn path=/trunk/mono/; revision=31419
2004-07-23 16:13:03 +00:00
Zoltan Varga b6fe7eeddd 2004-07-23 zovarga <[email protected]>
* inssel.brg inssel-long32.brg inssel-long.brg: Move mul/div and shift
	rules into the inssel-long*.brg files.

svn path=/trunk/mono/; revision=31418
2004-07-23 16:11:34 +00:00
Zoltan Varga edf77a4a9a 2004-07-23 zovarga <[email protected]>
* *-amd64.*: Add beginnings of AMD64 backend.

svn path=/trunk/mono/; revision=31417
2004-07-23 16:08:49 +00:00
Zoltan Varga a18e604768 2004-07-23 zovarga <[email protected]>
* amd64/amd64-codegen.h: Ongoing JIT work.

svn path=/trunk/mono/; revision=31416
2004-07-23 16:07:08 +00:00
Atsushi Eno adb3e06e63 2004-07-23 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Added internal XdtNamespace constant. don't fill
	  schemaset compoenents here.
	* XmlSchemaAttribute.cs : Implemented AttributeSchemaType.
	* XmlSchemaElement.cs : Implemented ElementSchemaType.
	* XmlSchemaSimpleType.cs : Added predefined simple types
	* XmlSchemaType.cs : Implemented GetBuiltInSimpleType().
	* XmlSchemaDatatype.cs : Allow Xdt namespaces too (not completed;
	  quick fix for GetBuiltInSimpleType()).

svn path=/trunk/mcs/; revision=31415
2004-07-23 16:07:03 +00:00
Atsushi Eno 00b474ee98 2004-07-23 Atsushi Enomoto <[email protected]>
* XmlQueryCompileException.cs, XmlQueryException.cs :
	  added internal constructor that supplies error location.
	  Removed Message property.

svn path=/trunk/mcs/; revision=31414
2004-07-23 16:03:50 +00:00
Atsushi Eno 219c2e2923 2004-07-23 Atsushi Enomoto <[email protected]>
* XQueryCommand.cs : Implemented a bit (added nonexposed xquery
	  parser call).

svn path=/trunk/mcs/; revision=31413
2004-07-23 15:44:04 +00:00
Atsushi Eno a359e84040 2004-07-23 Atsushi Enomoto <[email protected]>
* System.Data.SqlXml.dll.sources : Removed UpdateEventArgs.cs,
	  XmlAdapter.cs, XmlUpdateEventArgs.cs, SqlQueryOptions.cs,
	  SqlQueryPlan.cs, XmlMapping.cs and XmlMappingDictionary.cs.

svn path=/trunk/mcs/; revision=31412
2004-07-23 15:43:24 +00:00
Atsushi Eno be620c3408 2004-07-23 Atsushi Enomoto <[email protected]>
* started ChangeLog.
	* DBObject.cs : XmlQueryArgumentList is now XmlArgumentList.

svn path=/trunk/mcs/; revision=31411
2004-07-23 15:35:30 +00:00
Lluis Sanchez 30fe4d3cb5 * CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
* ImportContext.cs: Implemented.
	* MapCodeGenerator.cs, SoapCodeExporter.cs, XmlCodeExporter.cs: Added new
	  options for 2.0. Implemented support for generating properties instead of
	  fields.
	* XmlSchemaImporter.cs: Added support for sharing types.

svn path=/trunk/mcs/; revision=31410
2004-07-23 15:21:14 +00:00
Lluis Sanchez e944d50cef * ServiceDescriptionImporter.cs: Fixed bug when getting documents from a
reference.
	* SoapProtocolImporter.cs: Create code exportes using the corrent generation
	  options. Added final attribute to the generated methods (so generated
	  methods are not virtual any more).
	* WebServicesInteroperability.cs: Fixed bug when getting documents from a
	  reference. Added check for Import elements.

svn path=/trunk/mcs/; revision=31409
2004-07-23 15:19:33 +00:00
Neale Ferguson 5c810089c1 Fix locked operations.
svn path=/trunk/mono/; revision=31406
2004-07-23 13:42:06 +00:00
Atsushi Eno aa7574acdb 2004-07-23 Atsushi Enomoto <[email protected]>
* XPathNodeIterator.cs : implemented 2.0 GetEnumerator().

svn path=/trunk/mcs/; revision=31405
2004-07-23 06:30:05 +00:00
Martin Baulig 8ba518e76f 2004-07-23 Martin Baulig <[email protected]>
* class.cs (PartialContainer): New public class.
	(ClassPart): New public class.
	(TypeContainer): Added support for partial classes.
	(TypeContainer.GetClassBases): Splitted some of the functionality
	out into GetNormalBases() and GetPartialBases().

	* cs-tokenizer.cs (Token.PARTIAL): New token.
	(Tokenizer.consume_identifier): Added some hacks to recognize
	`partial', but only if it's immediately followed by `class',
	`struct' or `interface'.

	* cs-parser.jay: Added support for partial clases.

svn path=/trunk/mcs/; revision=31403
2004-07-23 04:23:16 +00:00
Martin Baulig d760e66977 2004-07-23 Martin Baulig <[email protected]>
* class.cs (MethodCore.ds): Made this a `TypeContainer' instead of
	a `DeclSpace' and also made it readonly.
	(MethodCore.ctor): Take a TypeContainer instead of a DeclSpace.
	(Method.ctor, Constructor.ctor, Destruktor.ctor): Likewise.
	(PropertyBase.ctor, Property.ctor, Indexer.ctor): Likewise.

	* cs-parser.jay: Pass the `current_class', not the
	`current_container' (at the moment, this is still the same thing)
	to a new Method, Property, Event, Indexer or Constructor.

svn path=/trunk/mcs/; revision=31401
2004-07-23 03:55:13 +00:00
Martin Baulig d625202604 2004-07-23 Martin Baulig <[email protected]>
* cs-parser.jay (CSharpParser): Added a new `current_class' field
	and removed the `current_interface' one.
	(struct_declaration, class_declaration, interface_declaration):
	Set `current_class' to the newly created class/struct/interface;
	set their `Bases' and call Register() before parsing their body.

svn path=/trunk/mcs/; revision=31398
2004-07-23 03:11:04 +00:00
Martin Baulig 168c288631 2004-07-23 Martin Baulig <[email protected]>
* class.cs (Kind): New public enum.
	(TypeContainer): Made this class abstract.
	(TypeContainer.Kind): New public readonly field.
	(TypeContainer.CheckDef): New public method; moved here from
	cs-parser.jay.
	(TypeContainer.Register): New public abstract method.
	(TypeContainer.GetPendingImplementations): New public abstract
	method.
	(TypeContainer.GetClassBases): Removed the `is_class' and
	`is_iface' parameters.
	(TypeContainer.DefineNestedTypes): Formerly known as
	DoDefineType().
	(ClassOrStruct): Made this class abstract.

	* tree.cs (RootTypes): New public type.

svn path=/trunk/mcs/; revision=31397
2004-07-23 02:45:15 +00:00
Martin Baulig 4e6f20adb3 Another test for partial classes.
svn path=/trunk/mcs/; revision=31396
2004-07-23 02:00:59 +00:00
Martin Baulig 3d3dd9eb8e 2004-07-23 Martin Baulig <[email protected]>
* 2test-10.cs, 1test-11.cs: New tests for partial classes.

svn path=/trunk/mcs/; revision=31395
2004-07-23 01:54:28 +00:00
Martin Baulig ce6ee30fe4 2004-07-23 Martin Baulig <[email protected]>
* cs0260.cs, cs0260-2.cs, cs0261.cs, cs0262.cs, cs0263.cs: New
	tests for partial classes.

svn path=/trunk/mcs/; revision=31394
2004-07-22 23:06:24 +00:00
Miguel de Icaza 5e963bcf5d Up
svn path=/trunk/mcs/; revision=31392
2004-07-22 22:13:49 +00:00
Geoff Norton b287d431b5 Patch for bug #61802 (Approved by miguel)
svn path=/trunk/mcs/; revision=31389
2004-07-22 19:30:21 +00:00
Ben Maurer b286bf5179 2004-07-22 Ben Maurer <[email protected]>
* mini.c (print_dfn): commenting out the code that prints
	the cil. With -O=deadce, this makes -v -v crash.

	* cpu-pentium.md: make checkthis have a length of 2

svn path=/trunk/mono/; revision=31388
2004-07-22 19:29:49 +00:00
Dick Porter 9a7d3973b2 2004-07-22 Dick Porter <[email protected]>
* timed-thread.c:
	* threads.c: Move the destruction of the internal thread data to
	after the thread has been joined.  Fixes bug 61418.

svn path=/trunk/mono/; revision=31386
2004-07-22 19:28:41 +00:00
Martin Baulig 13f40a38f3 2004-07-22 Martin Baulig <[email protected]>
* ILGenerator.cs (ILGenerator.BeginFaultBlock): Implemented.

svn path=/trunk/mcs/; revision=31385
2004-07-22 18:39:43 +00:00
Ben Maurer 26082385ee 2004-07-22 Ben Maurer <[email protected]>
* mini.c (print_dfn): commenting out the code that prints
	the cil. With -O=deadce, this makes -v -v crash.

svn path=/trunk/mono/; revision=31384
2004-07-22 18:09:45 +00:00
Duncan Mak 7ac6994303 2004-07-21 Duncan Mak <[email protected]>
* DictionaryBase.cs: Rename the dictionary field to hashtable,
	which causes a serialization interop bug. Fixes bug #61721.

svn path=/trunk/mcs/; revision=31382
2004-07-22 18:06:00 +00:00
Lluis Sanchez d1e3e4a4ec * Makefile: Install gmcs.exe.config file together with gmcs.exe.
* gmcs.exe.config: Renamed from mcs.exe.config. Added supportedRuntime
	entry to make sure it runs in the correct runtime version.

svn path=/trunk/mcs/; revision=31381
2004-07-22 18:01:58 +00:00
Martin Baulig 589971802b Oooops.
svn path=/trunk/mcs/; revision=31380
2004-07-22 17:51:53 +00:00
Lluis Sanchez 3a8023de4a * ProtocolImporter.cs: Added some internal properties needed for 2.0
features.
	* ServiceDescriptionImporter.cs: Implemented some 2.0 methods.
	* SoapProtocolImporter.cs: Create xml importers using the correct
	  ImportContext and generation options.
	* WebReference.cs: It is now internal for 1.1 profile. Implemented some
	  properties.
	* CodeGenerationOptions.cs: Made internal in 1.1 profile.
	* ImportContext.cs: Implemented.
	* XmlSchemaImporter.cs: Implemented some 2.0 constructors.

svn path=/trunk/mcs/; revision=31379
2004-07-22 17:48:00 +00:00
Lluis Sanchez 6ac70f813a * CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
svn path=/trunk/mcs/; revision=31378
2004-07-22 17:36:52 +00:00
Jordi Mas i Hernandez 51e69e4674 link label: check link overlapping, implement events, and fixes
svn path=/trunk/mcs/; revision=31377
2004-07-22 15:22:19 +00:00
Martin Baulig ca782149cd Fixed and enabled test-280.
svn path=/trunk/mcs/; revision=31376
2004-07-22 14:27:15 +00:00
Martin Baulig a0a7d7e255 2004-07-22 Martin Baulig <[email protected]>
* test-281.cs: New test.

svn path=/trunk/mcs/; revision=31375
2004-07-22 13:56:14 +00:00
Martin Baulig a3b0e4b652 2004-07-20 Martin Baulig <[email protected]>
* tree.cs (Tree.RecordNamespace): Removed.
	(Tree.Namespaces): Removed.

	* rootcontext.cs (RootContext.IsNamespace): Removed.

	* cs-parser.jay (namespace_declaration): Just create a new
	NamespaceEntry here.

svn path=/trunk/mcs/; revision=31374
2004-07-22 13:51:24 +00:00
Martin Baulig 27f8787c6c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31372
2004-07-22 13:43:10 +00:00
Sachin Kumar 534c7a2c2a Added license
svn path=/trunk/mcs/; revision=31371
2004-07-22 09:37:39 +00:00
Lluis Sanchez c7229c7551 * ObjRef.cs: Fixed type check in in ObjRef constructor. The requested class
must be the object class or a base class. This fixes bug #61249.

svn path=/trunk/mcs/; revision=31368
2004-07-22 09:24:36 +00:00
Lluis Sanchez fee3f7c382 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
NET_2_0 profile.

svn path=/trunk/mcs/; revision=31367
2004-07-22 08:20:11 +00:00
Sachin Kumar 0fe27d146d Script to executes exe's and store results in html format.
svn path=/trunk/mcs/; revision=31364
2004-07-22 08:15:53 +00:00
Lluis Sanchez 9ced887f71 * MethodCall.cs: Use RemotingServices.GetMethodBaseFromName to get the
MethodBase from the method name. This fixes bug #61774.

svn path=/trunk/mcs/; revision=31363
2004-07-22 08:14:36 +00:00
Lluis Sanchez a54b2d7817 * RemotingServices.cs: Changed GetMethodBaseFromMethodMessage so its code
can be reused internally. Also fixed bug when gettting a method from an
	  interface.

svn path=/trunk/mcs/; revision=31362
2004-07-22 08:14:10 +00:00
Sachin Kumar 4054f4d83f Added VB runtime tests
svn path=/trunk/mcs/; revision=31361
2004-07-22 08:05:47 +00:00
Anirban Bhattacharjee 8156b22f87 2004-07-22 Anirban Bhattacharjee <[email protected]>
* argument.cs:
        * expression.cs:
                Little betterment in resolution of parameter with Addressof operator in method argumen

svn path=/trunk/mcs/; revision=31360
2004-07-22 05:30:20 +00:00
Ravindra 0c09ab72e5 Some formatting
svn path=/trunk/mcs/; revision=31359
2004-07-22 05:23:07 +00:00
Ravindra 12b2f0e7c7 Flushing
svn path=/trunk/mcs/; revision=31358
2004-07-22 05:14:52 +00:00
Jambunathan K 23824f11f1 Fixed the vbCr, vbLf, vbCrLf and vbNewLine
strings

svn path=/trunk/mcs/; revision=31355
2004-07-22 03:27:51 +00:00
Ravindra 9904f37266 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
	* GraphicsPath.cs: Implemented Dispose method and added error
	checking in constructors.
	* GraphicsPathIterator.cs: Fixed CopyData and Enumerate methods.

svn path=/trunk/mcs/; revision=31353
2004-07-22 02:23:44 +00:00
Bernie Solomon effb5efcac 2004-04-21 Bernie Solomon <[email protected]>
* mini-sparc.h: fix implementations of __builtin
	functions for Sun compiler for V9.

svn path=/trunk/mono/; revision=31350
2004-07-21 23:09:23 +00:00
Bernie Solomon f23a2c4a33 2004-07-21 Bernie Solomon <[email protected]>
* mintops.def: rename the ICALL op codes to give a better
	clue about their signature.

	* transform.c (generate): use new ICALL types and add
	a case for two args + a result

	* interp.c (ves_exec_method_with_context): new ICALL
	op codes.

svn path=/trunk/mono/; revision=31349
2004-07-21 20:35:14 +00:00
Jackson Harper f4bdfe7e7c * PEAPI.cs: Do all the index size checks. I always wondered why
the code was like that and finally realized today that it was like
	that because it was wrong. Wait until the opportune momement to
	calculate the index sizes (after everything has been added to the
	streams, and before writing anything).

svn path=/trunk/mcs/; revision=31348
2004-07-21 19:26:52 +00:00
Bernie Solomon 7dc4ecf189 forgot Changelog first time
svn path=/trunk/mono/; revision=31347
2004-07-21 19:17:39 +00:00
Bernie Solomon ec12d06a98 2004-07-21 Bernie Solomon <[email protected]>
* mintops.def: add MINT_DUP_VT

	* transform.c (generate): cope with CEE_DUP on value type

	* interp.c (ves_exec_method_with_context): implement MINT_DUP_VT
	(interp_mono_runtime_invoke): don't unbox this for valuetypes
	here as it is now done in the callers.

svn path=/trunk/mono/; revision=31346
2004-07-21 19:07:55 +00:00
César Natarén 951f759f1b Added ChangeLog for dir
svn path=/trunk/mcs/; revision=31345
2004-07-21 17:52:11 +00:00
César Natarén f3dd797697 added error test
svn path=/trunk/mcs/; revision=31344
2004-07-21 17:32:41 +00:00
César Natarén 3e1171f36a added error test
svn path=/trunk/mcs/; revision=31343
2004-07-21 17:23:13 +00:00
César Natarén 607c16cb86 added error test
svn path=/trunk/mcs/; revision=31342
2004-07-21 17:07:39 +00:00
Bernie Solomon 1e9e7d9ee7 2004-07-21 Bernie Solomon <[email protected]>
* reflection.c (type_get_fully_qualified_name):
	insert cast to get type checking of ?: with non-gcc compilers

svn path=/trunk/mono/; revision=31341
2004-07-21 16:31:31 +00:00
Bernie Solomon ac8704eed0 2004-07-21 Bernie Solomon <[email protected]>
* rand.c: use g_getenv for both lookups of
	MONO_EGD_SOCKET

svn path=/trunk/mono/; revision=31340
2004-07-21 16:29:23 +00:00
Jordi Mas i Hernandez 5eccec4f8d fixes comments filenames
svn path=/trunk/mcs/; revision=31339
2004-07-21 16:28:05 +00:00
Jordi Mas i Hernandez 54c7a9cbfb LinkLabel control implementation
svn path=/trunk/mcs/; revision=31338
2004-07-21 16:22:04 +00:00
Atsushi Eno 48b6668436 2004-07-21 Atsushi Enomoto <[email protected]>
* XPathExpression.cs, Expression.cs :
	  Added SetContext(IXmlNamespaceResolver).
	* NodeChangedEventArgs.cs : Added missing [MonoTODO].
	* XPathAtomicValue.cs : Halfly implemented.
	* XPathDocument.cs : Added 2.0 members.
	* XPathDocumentNodeChangedAction.cs : updated member names.
	* XPathEditableNavigator.cs : Added missing 2.0 members and MonoTODO.
	* XPathNavigator.cs : Added missing 2.0 members.
	  Fixed some members as virtual->override.

svn path=/trunk/mcs/; revision=31337
2004-07-21 15:00:11 +00:00
Atsushi Eno 36ae1a4488 2004-07-21 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: Added XQueryConvert.cs. Removed
	  XmlFactory.cs, XmlQualifiedNameTable.cs, IXPathChangeNavigable.cs,
	  XPathChangeNavigator.cs and IXmlType.cs that are removed or going to
	  be removed.

svn path=/trunk/mcs/; revision=31336
2004-07-21 14:58:56 +00:00
Atsushi Eno 6c7ace253c 2004-07-21 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : updated including answer excerpts from MS team.
	* BUGS.txt : it turned out that some bugs I wrote as "MS bugs" are
	  actually my bug. Noted them.
	* BuiltInDatatype.cs :
	  Commented out extraneous [CLSCompliant].
	  Switch ParseValue() argument as IXmlNamespaceResolver for 2.0, and
	  XmlNamespaceManager for 1.x.
	  Added TypeCode overrides.
	* XmlSchemaDatatype.cs : Added 2.0 members.
	  Switch IXmlNamespaceResolver and XmlNamespaceManager.
	* XmlSchemaType.cs : Added some NET_2_0 members. removed old 1.2 stuff.

svn path=/trunk/mcs/; revision=31335
2004-07-21 14:52:25 +00:00
Atsushi Eno 6284c84eb7 2004-07-20 Atsushi Enomoto <[email protected]>
* XsltCommand.cs, XmlArgumentList.cs : sealed. Added missing MonoTODO.
	* XQueryConvert.cs : added. (namespace is temporarily MS.Internal.Xml)

svn path=/trunk/mcs/; revision=31334
2004-07-21 14:45:58 +00:00
Atsushi Eno 243ec2f2a7 2004-07-21 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : added internal ToBinHexString() (BTW according to
	  MSDN documentation it should be public).
	* XmlReader.cs : fixed one incorrect Create() overload. Added
	  LookupNamespace (string, bool) (public for 2.0, internal for 1.x).
	* XmlTextReader.cs : Mostly implemented IXmlNamespaceResolver
	  interface. Fixed HasLineInfo() access modifier on 2.0.
	* XmlNodeReader.cs : Mostly implemented IXmlNamespaceResolver
	  interface. Wrote common namespace node lookup method and rewrote
	  existing LookupNamespace().
	* XmlValidatingReader.cs : Fixed 2.0 IXmlLineInfo members' signatures.

svn path=/trunk/mcs/; revision=31333
2004-07-21 14:44:44 +00:00
Jackson Harper 877e17230a typo on last commit
svn path=/trunk/mcs/; revision=31332
2004-07-21 14:28:37 +00:00
Jackson Harper 0e2fcdce63 * ILParser.jay: Clones ExternTypeRefInsts as well as
ExternTypeRefs, wrap this check into a method so things are
	somewhat clean.

svn path=/trunk/mcs/; revision=31331
2004-07-21 14:07:32 +00:00
Jackson Harper 8995defef7 * ExternTypeRefInst.cs: Use the PeapiType so that modified types
will actually work. Add a Clone method so that type ref insts
	aren't duplicated making them modified multiple times.

svn path=/trunk/mcs/; revision=31330
2004-07-21 14:02:49 +00:00
Jackson Harper 6ab44a36cb * PEAPI.cs: Create ClassRefInsts with types not just
ClassRefs. This way modified types can be used. I am having alot
	of trouble remembering why I actually even need this class
	though.

svn path=/trunk/mcs/; revision=31329
2004-07-21 13:59:23 +00:00
Jordi Mas i Hernandez e60d0e2982 fixes Graphics.MeasureCharacterRanges and StringFormat.MeasurableCharacterRanges
svn path=/trunk/mcs/; revision=31328
2004-07-21 13:06:29 +00:00
Lluis Sanchez 238f2ff322 * HttpWebClientProtocol.cs: Add received cookies to cookieContainer when
getting the response, do not wait for the next request to do it.

svn path=/trunk/mcs/; revision=31326
2004-07-21 12:42:15 +00:00
Gonzalo Paniagua Javier 9c5f90d9c4 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: the file not found might be a
	dependency.

	* System.Web.Compilation/AspGenerator.cs: the path for file was treated
	as virtual, but it's physical. Fixes bug #61524.

svn path=/trunk/mcs/; revision=31324
2004-07-21 03:39:17 +00:00
Anirban Bhattacharjee cfcca8f235 2004-07-20 Anirban Bhattacharjee <[email protected]>
* expression.cs: Resolution of fully qualified type names - bug fixed

svn path=/trunk/mcs/; revision=31322
2004-07-21 03:31:35 +00:00
Umadevi S a724f82493 2004-07-21 Umadevi S <[email protected]>
* DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null

svn path=/trunk/mcs/; revision=31320
2004-07-21 02:54:27 +00:00
Gonzalo Paniagua Javier 1dfdef5631 hit ]
svn path=/trunk/mcs/; revision=31318
2004-07-20 17:49:09 +00:00
Gonzalo Paniagua Javier 7006de857a 2004-07-20 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: don't pass double slash when the path begins with a
	tilde. Fixes bug #61654.

svn path=/trunk/mcs/; revision=31317
2004-07-20 17:42:16 +00:00
Gonzalo Paniagua Javier 1e9a55cf9e 2004-07-20 Gonzalo Paniagua Javier <[email protected]>
* HttpCookie.cs: use invariant when formatting expires date. Fixes bug
	#61690.

svn path=/trunk/mcs/; revision=31315
2004-07-20 16:47:23 +00:00
Martin Baulig 0dea85d6fe 2004-07-20 Martin Baulig <[email protected]>
* Makefile: Enable 2test-7.

svn path=/trunk/mcs/; revision=31312
2004-07-20 09:33:40 +00:00
Martin Baulig d4516d8678 Fixed two little iterator bugs.
svn path=/trunk/mcs/; revision=31311
2004-07-20 09:33:27 +00:00
Umadevi S 9624b29657 2004-07-20 Umadevi S <[email protected]>
* SqlInt16Test.cs,SqlInt32Test.cs, SqlInt64Test.cs - added testcase for Modulus method (.NET            2.0)

svn path=/trunk/mcs/; revision=31310
2004-07-20 08:29:02 +00:00
Umadevi S d50e91d67f 2004-07-21 Umadevi S <[email protected]>
* SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0

svn path=/trunk/mcs/; revision=31309
2004-07-20 08:27:30 +00:00
Martin Baulig 2b0d5288b7 Small fix.
svn path=/trunk/mcs/; revision=31308
2004-07-20 08:22:01 +00:00
Martin Baulig 4635491b7e 2004-07-20 Martin Baulig <[email protected]>
* 2test-9.cs: New test for iterators.

svn path=/trunk/mcs/; revision=31307
2004-07-20 07:39:47 +00:00
Anirban Bhattacharjee 74cebebcb5 2004-07-20 Anirban Bhattacharjee <[email protected]>
* assign.cs: Added new argument to Expression.ConvertExplicit function cal

Missed this in last check-in.

svn path=/trunk/mcs/; revision=31306
2004-07-20 07:35:15 +00:00
Martin Baulig 998fd8c065 2004-07-20 Martin Baulig <[email protected]>
* 2test-8.cs: New test for iterators.

svn path=/trunk/mcs/; revision=31305
2004-07-20 07:33:44 +00:00
Martin Baulig 4d06e628f8 2004-07-20 Martin Baulig <[email protected]>
* statement.cs (ExceptionStatement): New abstract class.  This is
	now used as a base class for everyone who's using `finally'.
	(Using.ResolveLocalVariableDecls): Actually ResolveLValue() all
	our local variables before using them.

	* flowanalysis.cs (FlowBranching.StealFinallyClauses): New public
	virtual method.  This is used by Yield.Resolve() to "steal" an
	outer block's `finally' clauses.
	(FlowBranchingException): The .ctor now takes an ExceptionStatement
	argument.

	* codegen.cs (EmitContext.StartFlowBranching): Added overloaded
	version which takes an ExceptionStatement.  This version must be
	used to create exception branchings.

	* iterator.cs
	(Yield.Resolve): "Steal" all `finally' clauses from containing blocks.
	(Iterator.EmitMoveNext): Added exception support; protect the
	block with a `fault' clause, properly handle 'finally' clauses.
	(Iterator.EmitDispose): Run all the `finally' clauses here.

svn path=/trunk/mcs/; revision=31304
2004-07-20 07:32:21 +00:00
Anirban Bhattacharjee 1e73251274 2004-07-20 Anirban Bhattacharjee <[email protected]>
* expression.cs: Fixed resolution of overloaded functions with delegate as parameter
        * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
        * statement.cs: Added new argument to Expression.ConvertExplicit function call

svn path=/trunk/mcs/; revision=31303
2004-07-20 07:32:08 +00:00
Atsushi Eno 901d0ff658 2004-07-20 Atsushi Enomoto <[email protected]>
* Signature.cs : Fixed NextElementPos() that incorrectly examined
	  node matching.

svn path=/trunk/mcs/; revision=31301
2004-07-20 07:25:35 +00:00
Atsushi Eno 63bd1901a0 2004-07-20 Atsushi Enomoto <[email protected]>
* XmlNode.cs : When the argument node being inserted is the existing
	  document element, it should not result in an error (since it should
	  be first removed from document, thus no error should happen).

svn path=/trunk/mcs/; revision=31299
2004-07-20 03:40:04 +00:00
Martin Baulig 921bb1fdb4 2004-07-20 Martin Baulig <[email protected]>
* test-281.cs: New test for iterators.

svn path=/trunk/mcs/; revision=31298
2004-07-20 02:38:14 +00:00
Martin Baulig e7ecb4c4d0 Use an enum instead of magic numbers to make the code more readable.
svn path=/trunk/mcs/; revision=31297
2004-07-19 22:32:01 +00:00
Martin Baulig 1a06c0238c 2004-07-20 Martin Baulig <[email protected]>
* iterator.cs: This is the first of a set of changes in the
	iterator code.  Match the spec more closely: if we're an
	IEnumerable, then GetEnumerator() must be called.  The first time
	GetEnumerator() is called, it returns the current instance; all
	subsequent invocations (if any) must create a copy.

svn path=/trunk/mcs/; revision=31296
2004-07-19 22:22:17 +00:00
Miguel de Icaza 0990f55340 2004-07-19 Miguel de Icaza <[email protected]>
* expression.cs: Resolve the constant expression before returning
	it.

svn path=/trunk/mcs/; revision=31294
2004-07-19 20:42:56 +00:00
Jordi Mas i Hernandez 01502f2526 label control re-written: added missing functionlity, events, and properties
svn path=/trunk/mcs/; revision=31293
2004-07-19 19:09:42 +00:00
César Natarén e94d4efa94 2004-07-19 Cesar Lopez Nataren <[email protected]>
* Added Token.cs, TokenStream.cs, Parser.cs which are the port of
	Mozilla/Rhino's  parser.

svn path=/trunk/mcs/; revision=31291
2004-07-19 18:26:53 +00:00
César Natarén 1dc8ef4391 port of rhino's parser for Mono
svn path=/trunk/mcs/; revision=31290
2004-07-19 18:24:49 +00:00
César Natarén cc495bc616 port of rhino's lexer for Mono
svn path=/trunk/mcs/; revision=31289
2004-07-19 18:24:05 +00:00
César Natarén 8f534540ce token class for new lexer
svn path=/trunk/mcs/; revision=31288
2004-07-19 18:22:58 +00:00
Jordi Mas i Hernandez 567704a032 fixes SetBounds logic
svn path=/trunk/mcs/; revision=31287
2004-07-19 16:49:23 +00:00
Martin Baulig f0c3de7298 2004-07-19 Martin Baulig <[email protected]>
* iterators.cs (Iterator.MapVariable): Don't define fields twice.
	(Iterator.MoveNextMethod.DoEmit): Use `TypeManager.int32_type' as
	the return type of the new EmitContext.

svn path=/trunk/mcs/; revision=31284
2004-07-19 14:16:25 +00:00
Jordi Mas i Hernandez 2868f1e62d Call RefreshWindow only if the window has created
svn path=/trunk/mcs/; revision=31283
2004-07-19 07:29:35 +00:00
Martin Baulig 6073498a99 2004-07-18 Martin Baulig <[email protected]>
* class.cs (Property.Define): Fix iterators.

svn path=/trunk/mcs/; revision=31280
2004-07-18 20:14:14 +00:00
Martin Baulig 60c4e915b8 2004-07-18 Martin Baulig <[email protected]>
* iterators.cs (Iterator.Define): Moved the
	`container.AddInterator (this)' call here from the .ctor; only do
	it if we resolved successfully.

svn path=/trunk/mcs/; revision=31279
2004-07-18 20:05:13 +00:00
Martin Baulig 64c18b175d 2004-07-18 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Improved
	constraints checking.

svn path=/trunk/mcs/; revision=31278
2004-07-18 19:02:41 +00:00
Anirban Bhattacharjee 4bb4c32cf5 2004-07-18 Anirban Bhattacharjee <[email protected]>
* DelegateA.vb: The test for passing AddressOf operator in method parameter is added.

svn path=/trunk/mcs/; revision=31275
2004-07-18 06:05:55 +00:00
Anirban Bhattacharjee 5c547851a1 2004-07-18 Anirban Bhattacharjee <[email protected]>i
* argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
        * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
        * mb-parser.jay: Omitted two delegate creation expression grammar. This is now taken care by normal object creation expressions since Argument is capable of handling AddressOf operator now
                This is a fix for bug #59555

svn path=/trunk/mcs/; revision=31274
2004-07-18 05:53:44 +00:00
Martin Baulig 2e0a8f65ae 2004-07-18 Martin Baulig <[email protected]>
* Array.cs: Ben Maurer implemented all the new generic methods
	here :-)

svn path=/trunk/mcs/; revision=31272
2004-07-17 22:57:02 +00:00
Martin Baulig 09625a5c5e 2004-07-18 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterMethod): Call
	TypeManager.TypeToCoreType() on all types and removed my previous
	hack; we're already doig the right thing here.

svn path=/trunk/mcs/; revision=31271
2004-07-17 22:56:06 +00:00
Martin Baulig ac47537db2 Improved the test.
svn path=/trunk/mcs/; revision=31270
2004-07-17 22:55:37 +00:00
Martin Baulig 5addfa6d64 Copy&paste bug.
svn path=/trunk/mcs/; revision=31269
2004-07-17 22:05:14 +00:00
Martin Baulig ef6a384543 2004-07-18 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterMethod): If no type arguments
	were giving explicitly, a non-generic method is better than a
	method whose type arguments we infered.

svn path=/trunk/mcs/; revision=31268
2004-07-17 21:52:13 +00:00
Martin Baulig 3e70582560 2004-07-18 Martin Baulig <[email protected]>
* gen-63.cs: New test.

svn path=/trunk/mcs/; revision=31267
2004-07-17 21:49:49 +00:00
Martin Baulig 1329f66618 2004-07-17 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_method_parameters):
	Set `gmethod->reflection_info'.

svn path=/trunk/mono/; revision=31266
2004-07-17 19:04:33 +00:00
Martin Baulig 2e4c675be7 2004-07-17 Martin Baulig <[email protected]>
* Decimal.cs: Implement IComparable<Decimal>.

svn path=/trunk/mcs/; revision=31264
2004-07-17 18:02:51 +00:00
Martin Baulig cf42d05cbd 2004-07-17 Martin Baulig <[email protected]>
* class.c (mono_class_create_from_typedef): Insert the newly
	created class into the hash table before computing the interfaces
	since we could be called recursively.

svn path=/trunk/mono/; revision=31263
2004-07-17 17:51:08 +00:00
Martin Baulig b26f3e034a 2004-07-17 Martin Baulig <[email protected]>
* Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
	UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.

svn path=/trunk/mcs/; revision=31261
2004-07-17 17:06:07 +00:00
Martin Baulig 4fcdc1838f Added a newline at the end of the file.
svn path=/trunk/mcs/; revision=31260
2004-07-17 16:56:51 +00:00
Martin Baulig beae31c28d 2004-07-17 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Use -1, not 0.

svn path=/trunk/mcs/; revision=31259
2004-07-17 16:49:14 +00:00
Martin Baulig 1d4eff3e3f Ooops, I'm too stupid for this world ;-)
svn path=/trunk/mcs/; revision=31258
2004-07-17 16:43:18 +00:00
Martin Baulig 70b90169ac Ooops, forgot this here.
svn path=/trunk/mcs/; revision=31257
2004-07-17 16:29:52 +00:00
Miguel de Icaza 572c5dd0dc 2004-07-17 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (handle_preprocessing_directive): Do not return
	`true' for preprocessing directives that we parse.  The return
	value indicates whether we should return to regular tokenizing or
	not, not whether it was parsed successfully.

	In the past if we were in: #if false ... #line #endif, we would
	resume parsing after `#line'.  See bug 61604.

svn path=/trunk/mcs/; revision=31255
2004-07-17 16:22:33 +00:00
Miguel de Icaza e5e4d5f30a Fix
svn path=/trunk/mcs/; revision=31252
2004-07-17 16:15:01 +00:00
Miguel de Icaza 1b4b569bd7 Add new test
svn path=/trunk/mcs/; revision=31251
2004-07-17 16:14:27 +00:00
Martin Baulig 68710d1662 2004-07-17 Martin Baulig <[email protected]>
* decl.cs (MemberName.MakeName): Create the "class`1" names here;
	use an exclamation mark (!) instead of backticks (`) again.

svn path=/trunk/mcs/; revision=31249
2004-07-17 16:02:52 +00:00
Miguel de Icaza 521e6d4a3b 2004-07-17 Miguel de Icaza <[email protected]>
* typemanager.cs: Removed an old hack from Gonzalo to get corlib
	building: IsEnumType should return true only for enums, not for
	enums or System.Enum itself.  This fixes #61593.

	Likely what happened is that corlib was wrong: mcs depended on
	this bug in some places.  The bug got fixed, we had to add the
	hack, which caused bug 61593.

	* expression.cs (ArrayAccess.GetStoreOpCode): Remove an old hack
	that was a workaround for the older conditions.

svn path=/trunk/mcs/; revision=31248
2004-07-17 16:02:51 +00:00
Jackson Harper 642e198e29 Add MDTable.Field to the list of tables that can
increase the CustomAttributeType shift. TODO: What else should be
	here?

svn path=/trunk/mcs/; revision=31244
2004-07-17 00:12:01 +00:00
Ben Maurer ee18084318 comment this
svn path=/trunk/mcs/; revision=31243
2004-07-17 00:10:12 +00:00
Jackson Harper e5b15494b2 * PEAPI.cs: make sure small index sizes get set properly. Use a
continue to reduce nesting a little and make code almost mildly
	readable.

svn path=/trunk/mcs/; revision=31242
2004-07-17 00:03:41 +00:00
Ben Maurer 524f401e02 2004-07-16 Ben Maurer <[email protected]>
* assign.cs: IAssignMethod has a new interface, as documented
	inline. All assignment code now uses this new api.

	* ecore.cs, expression.cs: All classes which implement
	IAssignMethod now use the new interface.

	* expression.cs (Invocation): add a hack to EmitCall so that
	IndexerAccess can be the target of a compound assignment without
	evaluating its arguments twice.

	* statement.cs: Handle changes in Invocation api.

svn path=/trunk/mcs/; revision=31240
2004-07-16 22:16:53 +00:00
Jackson Harper f69764238b * ILTokenizer.cs: Handle slashes in multiline comments
properly. Make the multiline comment eater loop a little more
	readable.

svn path=/trunk/mcs/; revision=31238
2004-07-16 18:46:29 +00:00
Jackson Harper c21729f6ca slashes in multiline comments
svn path=/trunk/mcs/; revision=31237
2004-07-16 18:14:09 +00:00
Ravindra e63e0963f8 * GraphicsPathIterator.cs: New implementation using GDI+ APIs.
This change makes this class fit into the rest of the design well
	and also it takes care of a scenario when path gets modified. Old
	implementation was not taking care of this.

svn path=/trunk/mcs/; revision=31236
2004-07-16 16:43:41 +00:00
Ravindra 80ec54d87a * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
svn path=/trunk/mcs/; revision=31235
2004-07-16 16:43:07 +00:00
Ravindra c6714c6bfe Minor changes in the script.
svn path=/trunk/mcs/; revision=31233
2004-07-16 16:11:22 +00:00
Ben Maurer 89c42ecd9d 2004-07-16 Ben Maurer <[email protected]>
* mini.c: use the new stelem.ref wrapper
	* exceptions.cs, arrays.cs: new stelem.ref tests

svn path=/trunk/mono/; revision=31232
2004-07-16 14:16:53 +00:00
Ben Maurer 84dc0f3135 2004-07-16 Ben Maurer <[email protected]>
* marshal.[ch] (mono_marshal_get_stelemref): a new wrapper
	function to implement stelem.ref in managed code
	* class-internals.h, debug-helpers.c: a new wrapper type
	for the above.

svn path=/trunk/mono/; revision=31231
2004-07-16 14:15:34 +00:00
Martin Baulig 582e3b313f Cosmetic fix.
svn path=/trunk/mcs/; revision=31230
2004-07-16 13:47:54 +00:00
Martin Baulig 4592e1fca4 System.Collections.Generic/IComparable is gone.
svn path=/trunk/mcs/; revision=31229
2004-07-16 13:46:16 +00:00
Martin Baulig 1748763acc 2004-07-16 Martin Baulig <[email protected]>
* IComparable.cs: Removed, it's in System.

svn path=/trunk/mcs/; revision=31228
2004-07-16 13:45:36 +00:00
Martin Baulig 05adac8f24 2004-07-16 Martin Baulig <[email protected]>
* Stack.cs, Queue.cs, List.cs: Use iterators.

svn path=/trunk/mcs/; revision=31227
2004-07-16 13:37:47 +00:00
Martin Baulig 702724fd19 Correctly generate our proxy name.
svn path=/trunk/mcs/; revision=31226
2004-07-16 13:34:57 +00:00
Martin Baulig 8a1d910f40 Correctly generate a name for our proxy class.
svn path=/trunk/mcs/; revision=31225
2004-07-16 13:33:23 +00:00
Martin Baulig ccbb8e3b50 Another small fix.
svn path=/trunk/mcs/; revision=31224
2004-07-16 13:27:06 +00:00
Martin Baulig 74ac0aa7b1 Small fix.
svn path=/trunk/mcs/; revision=31223
2004-07-16 13:16:47 +00:00
Martin Baulig 4354a1b8fb 2004-07-16 Martin Baulig <[email protected]>
* gen-62.cs: New test for generic iterators.

svn path=/trunk/mcs/; revision=31222
2004-07-16 12:54:15 +00:00
Martin Baulig 7a32a29c20 2004-07-16 Martin Baulig <[email protected]>
* iterators.cs: Added generics support.

svn path=/trunk/mcs/; revision=31221
2004-07-16 12:47:40 +00:00
Martin Baulig c884cdbe40 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31220
2004-07-16 12:47:22 +00:00
Martin Baulig 699527a6f6 Moved the marker.
svn path=/trunk/mcs/; revision=31219
2004-07-16 12:46:27 +00:00
Martin Baulig a71b1eca06 2004-07-16 Martin Baulig <[email protected]>
* iterators.cs: Rewrote this.  We're now using one single Proxy
	class for both the IEnumerable and the IEnumerator interface and
	`Iterator' derives from Class so we can use the high-level API.

	* class.cs (TypeContainer.AddIterator): New method.
	(TypeContainer.DoDefineType): New protected virtual method, which
	is called from DefineType().
	(TypeContainer.DoDefineMembers): Call DefineType() and
	DefineMembers() on all our iterators.
	(TypeContainer.Emit): Call Emit() on all our iterators.
	(TypeContainer.CloseType): Call CloseType() on all our iterators.

	* codegen.cs (EmitContext.CurrentIterator): New public field.

svn path=/trunk/mcs/; revision=31218
2004-07-16 12:37:37 +00:00
Jordi Mas i Hernandez 9ca70719ad add ImageList, ImageListStreamer, and ColorDepth to the build process
svn path=/trunk/mcs/; revision=31216
2004-07-16 11:18:31 +00:00
Atsushi Eno c539cf49a2 2004-07-15 Peter Williams <[email protected]>
* CodeGenerator.cs: Have the basic generator create line pragmas
	for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
	which had LinePragma members which were going unused.

svn path=/trunk/mcs/; revision=31213
2004-07-16 10:03:56 +00:00
Atsushi Eno 4a29148533 2004-07-16 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed several problems on ReadBase64();
	  Whitespaces should be ignored, and '=' was not skipped correctly.
	  It caused "unexpected end of document" error at immediate close tag.

svn path=/trunk/mcs/; revision=31209
2004-07-16 06:47:43 +00:00
Gonzalo Paniagua Javier 3a58628a3b 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: detect changes in scheme or port when redirecting.
	Fixes las take on bug 61218.

svn path=/trunk/mcs/; revision=31207
2004-07-16 04:48:18 +00:00
Gonzalo Paniagua Javier 33297ac713 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: fixed case-sensitivity issues with #include and its
	attributes. Closes #61429.

svn path=/trunk/mcs/; revision=31205
2004-07-16 04:33:26 +00:00
Gonzalo Paniagua Javier 447590f787 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: don't include private methods of base classes when
	auto-attaching events. Fixes bug 61569.

svn path=/trunk/mcs/; revision=31203
2004-07-16 04:10:27 +00:00
Neale Ferguson 70753f8feb Fix instruction length and correct register setting
svn path=/trunk/mono/; revision=31202
2004-07-16 01:57:48 +00:00
Jackson Harper e5e6203b9b * man/gacutil.1: MONO_GAC_PREFIX not MONO_GAC_PATH
svn path=/trunk/mono/; revision=31201
2004-07-16 01:24:23 +00:00
Jackson Harper cff7c392ce * driver.cs: MONO_GAC_PREFIX not MONO_GAC_PATH.
svn path=/trunk/mcs/; revision=31200
2004-07-16 01:20:56 +00:00
Peter Dennis Bartok f8c8d81e7f - Implemented ImageList and ImageList.ImageCollection classes
- Added ColorDepth enumeration
- Updated SWF VS.Net project

svn path=/trunk/mcs/; revision=31198
2004-07-15 20:05:28 +00:00
Sebastien Pouliot 99b4cb33d9 2004-07-15 Sebastien Pouliot <[email protected]>
* KeyUsageExtension.cs: Added Encode to extension so it can be used
	by makecert. Fix bug # 61240. Patch provided by Ianier Munoz.

svn path=/trunk/mcs/; revision=31196
2004-07-15 19:34:30 +00:00
Sebastien Pouliot 2b4e73ad1c 2004-07-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: Support for E (email) in FromString.
	* X520Attributes.cs: Added X520.EmailAddress.
	Both patches fix bug #61241 and were contributed by Ianier Munoz.

svn path=/trunk/mcs/; revision=31194
2004-07-15 19:15:14 +00:00
Sebastien Pouliot b6bec0c78f 2004-07-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: Support for E (email) in FromString.

svn path=/trunk/mcs/; revision=31193
2004-07-15 19:07:04 +00:00
Rafael Teixeira c683c2cd1a 2004/07/15 Rafael Teixeira <[email protected]>
* driver.cs : Implemented support for -pkg to match mcs (bug #58673)

svn path=/trunk/mcs/; revision=31190
2004-07-15 17:29:33 +00:00
Dick Porter 23c64685e5 Revert this part, it broke things.
svn path=/trunk/mcs/; revision=31188
2004-07-15 17:23:30 +00:00
Jordi Mas i Hernandez 99e82424c8 added MsgButons enum
svn path=/trunk/mcs/; revision=31187
2004-07-15 17:06:48 +00:00
Jordi Mas i Hernandez 630914904f added basic mouse handeling events
svn path=/trunk/mcs/; revision=31186
2004-07-15 17:03:35 +00:00
Rafael Teixeira 53dbd17ba1 2004/07/15 Rafael Teixeira <[email protected]>
* driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option

svn path=/trunk/mcs/; revision=31185
2004-07-15 16:52:07 +00:00
Martin Baulig bd597361e0 Fixed a typo.
svn path=/trunk/mcs/; revision=31184
2004-07-15 16:34:01 +00:00
Martin Baulig 611316845b 2004-07-15 Martin Baulig <[email protected]>
* typemanager.cs
	(TypeManager.not_supported_exception_type): New type.

svn path=/trunk/mcs/; revision=31183
2004-07-15 16:29:01 +00:00
Dick Porter f614b228dc 2004-07-15 Dick Porter <[email protected]>
* Thread.cs: Hold a lock in GetNamedDataSlot.  Fixes bug 61582,
	based on patch by S�bastien Robitaille
	([email protected]).  Also fix instances of
	lock(typeof(Thread)) to lock a private object instead.

svn path=/trunk/mcs/; revision=31181
2004-07-15 14:28:40 +00:00
Neale Ferguson 5e0a4df0d8 Fix ckfinite logic
svn path=/trunk/mono/; revision=31180
2004-07-15 14:26:58 +00:00
Dick Porter 2aba10408a 2004-07-15 Dick Porter <[email protected]>
* Socket.cs: Don't try and dereference a null array in Select()
	(possible if a descriptor list of length 0 was passed.)  Patch by
	Nick Vaughan ([email protected]), fixes bug 61595.

svn path=/trunk/mcs/; revision=31178
2004-07-15 13:52:18 +00:00
Neale Ferguson ee751dc4e9 Implement CEE_JMP
svn path=/trunk/mono/; revision=31177
2004-07-15 11:46:01 +00:00
Ravindra 54916e1a88 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
svn path=/trunk/mcs/; revision=31176
2004-07-15 11:22:13 +00:00
Ravindra a44076d1a4 Correction to my previous checkin.
svn path=/trunk/mcs/; revision=31175
2004-07-15 11:19:12 +00:00
Ravindra 051d8814cc * GraphicsPath.cs: Implemented PathData property and some formatting.
svn path=/trunk/mcs/; revision=31174
2004-07-15 11:12:03 +00:00
Lluis Sanchez 56b8f97ad6 * ChannelServices.cs: In RegisterChannel, ignore name colisions if the
channel name is "". This fixes bug #61592.

svn path=/trunk/mcs/; revision=31172
2004-07-15 09:43:56 +00:00
Jordi Mas i Hernandez e5b1a479fd Horizontal and Vertical TrackBar control implementation
svn path=/trunk/mcs/; revision=31171
2004-07-15 09:38:02 +00:00
Lluis Sanchez 3cafdf69c5 * TcpServerChannel.cs: Set channel name from the provided properties.
This fixes bug #61592.

svn path=/trunk/mcs/; revision=31169
2004-07-15 09:30:22 +00:00
Lluis Sanchez 1b6cb3b0ad * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for base64. This
xsd type is not part of the last schema specification, but the google api
	  uses it and ms.net accepts it.

svn path=/trunk/mcs/; revision=31167
2004-07-15 09:13:12 +00:00
Ravindra 2a54f7ba41 Code cleaning: Changed format of various files to unix from dos.
Also, changed access of instance variables to private in
	some classes.

svn path=/trunk/mcs/; revision=31166
2004-07-15 05:53:10 +00:00
Neale Ferguson 2bf7791b27 Correct definitions of CONV_R_UN and a couple of LCONVs
svn path=/trunk/mono/; revision=31163
2004-07-15 01:03:54 +00:00
Neale Ferguson 9c2848e25f Just when I thought there were no more ABI issues there is. This one is
for cases when structures greater than regsize are passed as parameters
on the stack.

svn path=/trunk/mono/; revision=31161
2004-07-14 20:36:53 +00:00
Dick Porter 2db32943b5 2004-07-14 Dick Porter <[email protected]>
* wait.c (test_and_own): When not waiting for all handles to
	become signalled, only own and return the lowest.  All the
	documentation suggests that the old way was correct, but
	experimentation shows it actually works like this.  Patch by
	S�bastien Robitaille
	([email protected]), fixes bug 61511.

svn path=/trunk/mono/; revision=31157
2004-07-14 18:37:24 +00:00
Carlos Guzmán Álvarez ace223bbfe 2004-07-14 Carlos Guzman Alvarez <[email protected]>
* Updated license head in c# source files for use
	always the same format.

svn path=/trunk/mcs/; revision=31156
2004-07-14 17:30:59 +00:00
Carlos Guzmán Álvarez 00b1c549a7 2004-07-14 Carlos Guzman Alvarez <[email protected]>
* Removed duplicate license header file from
	all source files.

svn path=/trunk/mcs/; revision=31155
2004-07-14 17:26:18 +00:00
Sebastien Pouliot bdf7e29582 2004-07-14 Sebastien Pouliot <[email protected]>
* SslClientStream.cs: Changed lock to "new object()" and not
	String.Empty (as the read/write locks points becomes the same).
	* SslServerStream.cs: Changed lock to "new object()" and not
	String.Empty (as the read/write locks points becomes the same).

svn path=/trunk/mcs/; revision=31151
2004-07-14 16:35:46 +00:00
Paolo Molaro debbf709d1 Wed Jul 14 19:28:57 CEST 2004 Paolo Molaro <[email protected]>
* GCHandle.cs: throw exception if the result from AddrOfPinnedObject()
	is -1 (special value returned by the runtime).

svn path=/trunk/mcs/; revision=31150
2004-07-14 16:33:15 +00:00
Paolo Molaro b86c32b401 Wed Jul 14 19:26:05 CEST 2004 Paolo Molaro <[email protected]>
* gc.c: allow GC handles to work even when no GC is compiled in.
	Fix part of bug #61134 (GetAddrOfPinnedObject).

svn path=/trunk/mono/; revision=31149
2004-07-14 16:30:53 +00:00
Paolo Molaro 0a5b6171d7 Wed Jul 14 19:08:41 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: cleanups and fixes (the
	new XSP should work with these changes).

svn path=/trunk/mono/; revision=31148
2004-07-14 16:18:49 +00:00
Martin Baulig 8db26e413f 2004-07-14 Martin Baulig <[email protected]>
* typemanager.cs
	(TypeManager.generic_ienumerable_type): New type.
	(TypeManager.generic_ienumerator_type): New type.

	* rootcontext.cs
	(RootContext.interfaces_first_stage): Added
	"System.Collections.Generic.IEnumerator`1" and
	"System.Collections.Generic.IEnumerable`1".

svn path=/trunk/mcs/; revision=31147
2004-07-14 16:14:01 +00:00
Dick Porter 4dda2de1de 2004-07-13 Peter Williams <[email protected]>
* process.c (complete_path): Make sure we don't attempt to execute
	directories.

svn path=/trunk/mono/; revision=31145
2004-07-14 15:22:55 +00:00
Atsushi Eno 8e3706c559 2004-07-14 Atsushi Enomoto <[email protected]>
* System.dll.sources:
	  Added IChangeTracking.cs and IRevertibleChangeTracking.cs

svn path=/trunk/mcs/; revision=31144
2004-07-14 15:19:07 +00:00
Atsushi Eno 215f375fb4 2004-07-14 Atsushi Enomoto <[email protected]>
* Added IChangeTracking.cs and IRevertibleChangeTracking.cs.

svn path=/trunk/mcs/; revision=31143
2004-07-14 15:17:43 +00:00
Atsushi Eno 6caf6203c3 2004-07-14 Atsushi Enomoto <[email protected]>
* RelaxngGrammar.cs : When definition is missing, the error message
	  should show what definition is missing.

svn path=/trunk/mcs/; revision=31142
2004-07-14 14:33:52 +00:00
Martin Baulig e45d10831c 2004-07-14 Martin Baulig <[email protected]>
* cs1623.cs, cs1624.cs, cs1625.cs, cs1631.cs: New tests for
	iterators.

svn path=/trunk/mcs/; revision=31139
2004-07-14 14:28:04 +00:00
Martin Baulig da88e6b66e 2004-07-14 Martin Baulig <[email protected]>
* iterators.cs: Use real error numbers.

svn path=/trunk/mcs/; revision=31138
2004-07-14 14:25:16 +00:00
Martin Baulig 103552c72c 2004-07-14 Martin Baulig <[email protected]>
* iterators.cs: Use real error numbers.

svn path=/trunk/mcs/; revision=31137
2004-07-14 14:24:12 +00:00
Ben Maurer 6dde15ed4f 2004-07-14 Ben Maurer <[email protected]>
* inssel-{long32,x86,}.brg: trivial optimizations.

svn path=/trunk/mono/; revision=31136
2004-07-14 14:23:20 +00:00
Gonzalo Paniagua Javier 4110f272ba 2004-07-14 Gonzalo Paniagua Javier <[email protected]>
* Mono.Security/Mono.Security.Protocol.Tls/HttpsClientStream.cs: get
	an HttpWebRequest so that we can use the ServicePoint it has. No
	need to get the host now.

	* System/System.Net/WebConnection.cs: moved loading of the ssl stream
	Type to its own method. Don't create a new ssl stream if we're reusing
	the connection.

	* System/System.Net/WebConnectionStream.cs: ensure the number of bytes
	copied in ReadAll is the expected even if the dta from the server has
	extra bytes.

	Partial fix for bug #61218. Still problems with POST.

svn path=/trunk/mcs/; revision=31134
2004-07-14 13:52:29 +00:00
Alon Gazit 8667d75a4b changed the Hashtables to case insensitive.
the reason for this change is performance improvements.

svn path=/trunk/mcs/; revision=31133
2004-07-14 12:26:32 +00:00
Sebastien Pouliot 693d902e4b 2004-07-14 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new files for NET_2_0 profile:
		System.Security/HostProtectionException.cs
		System.Security/HostSecurityManager.cs
		System.Security/HostSecurityManagerFlags.cs
		System.Security/SecurityContext.cs
		System.Security/SecurityContextSwitcher.cs
		System.Security.Permissions/HostProtectionResource.cs
		System.Threading/AsyncFlowControl.cs
		System.Threading/CompressedStackSwitcher.cs
		System.Threading/ContextCallback.cs

svn path=/trunk/mcs/; revision=31132
2004-07-14 12:20:21 +00:00
Sebastien Pouliot 9dc920b0c6 2004-07-14 Sebastien Pouliot <[email protected]>
* AsyncFlowControl.cs: New structure in Fx 2.0 required in
	System.Security namespace.
	* CompressedStackSwitcher.cs: New structure in Fx 2.0 required in
	System.Security namespace.
	* ContextCallback.cs: New delegate in Fx 2.0 required in
	System.Security namespace.
	* CompressedStack.cs: Updated API for NET_2_0 profile.

svn path=/trunk/mcs/; revision=31131
2004-07-14 12:16:05 +00:00
Sebastien Pouliot 7eea926385 2004-07-14 Sebastien Pouliot <[email protected]>
* NetCodeGroup.cs: Added Equals/GetHashCode methods to NET_2_0 profile.
	* PolicyLevel.cs: Added internal constructor to load a policy file
	from SecurityManager.

svn path=/trunk/mcs/; revision=31130
2004-07-14 12:11:57 +00:00
Sebastien Pouliot 8a5ab90026 2004-07-14 Sebastien Pouliot <[email protected]>
* HostProtectionResource.cs: New enum for Fx 2.0.

svn path=/trunk/mcs/; revision=31129
2004-07-14 12:08:36 +00:00
Sebastien Pouliot 488ecc889f 2004-07-14 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Added CheckAssert, CheckDemand, CheckDeny,
	CheckPermitOnly, Equals and GetHashCode to NET_2_0 profile. Actualized
	TODOs. Removed duplicate license.
	* NamedPermissionSet.cs: Added Equals/GetHashCode to NET_2_0 profile.
	Removed duplicate license.
	* PermissionSet.cs: Added Equals/GetHashCode to NET_2_0 profile.
	Removed duplicate license.
	* SecurityElement.cs: Added Copy and FromString methods to NET_2_0
	profile. Removed duplicate license.
	* SecurityException.cs: Added new constructors and properties to
	NET_2_0 profile. Removed duplicate license.
	* SecurityManager.cs: Added GetZoneAndOrigin and ResolvePolicy to
	NET_2_0 profile. Removed duplicate license.
	* VerificationException.cs: Implements _Exception for NET_2_0 profile.
	Removed duplicate license.
	* XmlSyntaxException.cs: Implements _Exception for NET_2_0 profile.
	Removed duplicate license.

svn path=/trunk/mcs/; revision=31128
2004-07-14 12:06:25 +00:00
Sebastien Pouliot 748a1ef357 2004-07-14 Sebastien Pouliot <[email protected]>
* HostProtectionException.cs: New class in Fx 2.0.
	* HostSecurityManager.cs: New class in Fx 2.0.
	* HostSecurityManagerFlags.cs: New enum in Fx 2.0.
	* SecurityContext.cs: New class in Fx 2.0.
	* SecurityContextSwitcher.cs: New structure in Fx 2.0.

svn path=/trunk/mcs/; revision=31127
2004-07-14 11:53:49 +00:00
Lluis Sanchez 38cbdd968a * System.Web.Services.dll.sources: Added new files:
System.Web.Services.Description/BasicProfileChecker.cs
		System.Web.Services.Description/ConformanceChecker.cs

svn path=/trunk/mcs/; revision=31125
2004-07-14 10:52:00 +00:00
Lluis Sanchez 18de07ff81 * ConformanceChecker.cs, BasicProfileChecker.cs: New files that implement
the basic infrastructure for basic profile conformance checking.
	* BasicProfileViolation.cs: Take normative information from the rule object.
	* BasicProfileViolationCollection.cs: Added Add method.
	* ServiceDescriptionFormatExtension.cs: Little fix.
	* WebServicesInteroperability.cs: Implemented basic support for conformance
	  checking.

svn path=/trunk/mcs/; revision=31124
2004-07-14 10:51:41 +00:00
Umadevi S 044db990c6 2004-07-14 Umadevi S <[email protected]>
* Added System.Data.SqlTypes/StorageState.cs to System.data.dll.sources

svn path=/trunk/mcs/; revision=31123
2004-07-14 09:16:53 +00:00
Umadevi S a05becde80 2004-07-14 Umadevi S <[email protected]>
* Added new Enum StorageState.cs

svn path=/trunk/mcs/; revision=31122
2004-07-14 09:14:12 +00:00
Umadevi S edce75b667 2004-07-14 Umadevi S <[email protected]>
* SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
        * Added new Enum StorageState.cs

svn path=/trunk/mcs/; revision=31121
2004-07-14 09:13:29 +00:00
Umadevi S ed222fc830 2004-07-14 Umadevi S <[email protected]>
* SqlStringTest.cs - Added testcase for Add method (.NET2.0)

svn path=/trunk/mcs/; revision=31119
2004-07-14 08:21:40 +00:00
Umadevi S 3413a7f302 2004-07-14 Umadevi S <[email protected]>
* SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
                        Implemented Add and CompareTo methods from .NET2.0

svn path=/trunk/mcs/; revision=31118
2004-07-14 08:18:08 +00:00
Paolo Molaro fe135d95dc Put the MONO_GC_REGISTER_ROOT macro in the right spot.
svn path=/trunk/mono/; revision=31117
2004-07-14 07:43:18 +00:00
Geoff Norton f4bc6fe6eb Patch for #61112 aproved by eno.
svn path=/trunk/mono/; revision=31115
2004-07-14 02:14:03 +00:00
Atsushi Eno 1bb01d3e28 2004-07-13 Peter Williams <[email protected]>
* CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
	counter in the extension so that batch compilations work.
	(CompileAssemblyFromSourceBatch): Same.

svn path=/trunk/mcs/; revision=31111
2004-07-14 00:10:12 +00:00
Martin Baulig 9fdc65a259 Merged again.
svn path=/trunk/mcs/; revision=31110
2004-07-13 23:22:04 +00:00
Martin Baulig 875edd6d8d **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31109
2004-07-13 23:21:49 +00:00
Martin Baulig d7651a163c 2004-07-14 Martin Baulig <[email protected]>
* iterator.cs (IteratorHandle.IsIEnumerable): The spec explicitly
	requires this to be a System.Collection.IEnumerable and not a
	class implementing that interface.
	(IteratorHandle.IsIEnumerator): Likewise, for IEnumerator.

svn path=/trunk/mcs/; revision=31107
2004-07-13 23:19:37 +00:00
Martin Baulig 4affca0e04 2004-07-14 Martin Baulig <[email protected]>
* decl.cs, expression.cs, generic.cs: Use a backqoute (`) and not
	an exclamation mark (!) for the generic arity to reflect the
	latest spec changes; ie. use "System.Collections.Generic.IList`1".

svn path=/trunk/mcs/; revision=31106
2004-07-13 23:08:08 +00:00
Neale Ferguson d248e18508 Fix single float handling
svn path=/trunk/mono/; revision=31104
2004-07-13 19:45:37 +00:00
Marek Safar 5757fa30be 2004-07-13 Marek Safar <[email protected]>
* test-279.cs: New test for #61293.

svn path=/trunk/mcs/; revision=31103
2004-07-13 19:28:30 +00:00
Marek Safar d54df3e29d 2004-07-13 Marek Safar <[email protected]>
* class.cs: Fixed previous fix, it broke some error tests.

svn path=/trunk/mcs/; revision=31102
2004-07-13 19:20:50 +00:00
Sebastien Pouliot 47cd320811 2004-07-13 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new files for NET_2_0 profile:
		System/ActivationContext.cs
		System/ApplicationIdentity.cs
		System/IApplicationDescription.cs
		System/IHostContext.cs
		System.Security.Policy/ApplicationDefaultCodeGroup.cs
		System.Security.Policy/ApplicationInstallScope.cs
		System.Security.Policy.Security.Policy/ApplicationTrust.cs
		System.Security.Policy/ApplicationVersionMatch.cs
		System.Security.Policy/CodeConnectAccess.cs
		System.Security.Policy/CodeGroupGrantScope.cs
		System.Security.Policy/IApplicationTrustManager.cs
		System.Security.Policy/ITrustLicenseIssuerCollection.cs
		System.Security.Policy/ITrustManager.cs
		System.Security.Policy/ITrustManagerConfig.cs
		System.Security.Policy/PromptingLevel.cs
		System.Security.Policy/ProvideAssemblyEvidenceEventArgs.cs
		System.Security.Policy/TrustLicenseIssuer.cs
		System.Security.Policy/TrustManagerContext.cs
		System.Security.Policy/TrustManagerUIContext.cs
		System.Security.Policy/TrustManagerZoneConfig.cs

svn path=/trunk/mcs/; revision=31097
2004-07-13 16:52:50 +00:00
Sebastien Pouliot 8e48cbb8ff 2004-07-13 Sebastien Pouliot <[email protected]>
* Evidence.cs: Implemented Equals/GetHashCode and added Clear and
	RemoveType methods for NET_2_0 profile.
	* FileCodeGroup.cs: Added Scope property for NET_2_0 profile.
	* Hash.cs: Added static CreateMD5 and CreateSHA1 for NET_2_0 profile.
	* HashMembershipCondition.cs: Implements IDeserializationCallback and
	ISerializable for NET_2_0 profile.
	* NetCodeGroup.cs: Add methods related to CodeConnectAccess for
	NET_2_0 profile.
	* PolicyException.cs: Implements _Exception for NET_2_0 profile.
	* PolicyLevel.cs: Added Type property for NET_2_0 profile.
	* PolicyStatement.cs: Implemented Equals/GetHashCode for NET_2_0
	profile.

svn path=/trunk/mcs/; revision=31096
2004-07-13 16:46:35 +00:00
Sebastien Pouliot 14a9440bd3 2004-07-13 Sebastien Pouliot <[email protected]>
* ApplicationDefaultCodeGroup.cs: New class in Fx 2.0.
	* ApplicationInstallScope.cs: New enum in Fx 2.0.
	* ApplicationTrust.cs: New class in Fx 2.0.
	* ApplicationVersionMatch.cs: New enum in Fx 2.0.
	* CodeConnectAccess.cs: New class in Fx 2.0.
	* CodeGroupGrantScope.cs: New enum in Fx 2.0.
	* IApplicationTrustManager.cs: New interface in Fx 2.0.
	* ITrustLicenseIssuerCollection.cs: New interface in Fx 2.0.
	* ITrustManager.cs: New interface in Fx 2.0.
	* ITrustManagerConfig.cs: New interface in Fx 2.0.
	* PromptingLevel.cs: New enum in Fx 2.0.
	* ProvideAssemblyEvidenceEventArgs.cs: New class in Fx 2.0.
	* TrustLicenseIssuer.cs: New class in Fx 2.0.
	* TrustManagerContext.cs: New class in Fx 2.0.
	* TrustManagerUIContext.cs: New enum in Fx 2.0.
	* TrustManagerZoneConfig.cs: New class in Fx 2.0.

svn path=/trunk/mcs/; revision=31095
2004-07-13 16:40:03 +00:00
Sebastien Pouliot d33c1759a7 2004-07-13 Sebastien Pouliot <[email protected]>
* ActivationContext.cs: New class in Fx 2.0. Required for
	System.Security.Policy.
	* ApplicationIdentity.cs: New class in Fx 2.0. Required for
	System.Security.Policy.
	* IApplicationDescription.cs: New interface in Fx 2.0. Required for
	System.Security.Policy.
	* IHostContext.cs: New interface in Fx 2.0. Required for
	System.Security.Policy.

svn path=/trunk/mcs/; revision=31094
2004-07-13 16:35:31 +00:00
Atsushi Eno 4565e2ec31 2004-07-13 Atsushi Enomoto <[email protected]>
* XmlNodeChageType.cs, XmlChangeFilters.cs : fixed enum values.
	* XPathResultType.cs : marked [MonoFIX] on .Navigator.

svn path=/trunk/mcs/; revision=31093
2004-07-13 16:10:02 +00:00
Martin Baulig 02d6c381dc 2004-07-13 Martin Baulig <[email protected]>
* cs-tokenizer.cs (Tokenizer.parse_less_than): Allow array rank
	specifiers being part of a type argument.

svn path=/trunk/mcs/; revision=31092
2004-07-13 16:07:46 +00:00
Jordi Mas i Hernandez 9c847de0a2 vertical and hort. classes commit
svn path=/trunk/mcs/; revision=31091
2004-07-13 15:33:46 +00:00
Jordi Mas i Hernandez 1f09c72d4d commit: new properties and fixes form size problems
svn path=/trunk/mcs/; revision=31090
2004-07-13 15:31:45 +00:00
Martin Baulig 111f13ecbe New test.
svn path=/trunk/mcs/; revision=31089
2004-07-13 15:19:48 +00:00
Jackson Harper 2c73c8d166 * PEAPI.cs: Use a byte array hash code provider and comprarer, so
checking the byte hashtable for duplicate entries actually
	works. Old method was valid but created larger then needed
	binaries.

svn path=/trunk/mcs/; revision=31088
2004-07-13 15:14:17 +00:00
Martin Baulig 2a5d0a47b4 2004-07-13 Martin Baulig <[email protected]>
* gen-60.cs: New test for #58305.

svn path=/trunk/mcs/; revision=31087
2004-07-13 15:03:31 +00:00
Atsushi Eno 1e9d99a951 2004-07-13 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: Added MonoFIXAttribute.cs

svn path=/trunk/mcs/; revision=31086
2004-07-13 14:55:41 +00:00
Atsushi Eno ed57714a5f 2004-07-13 Atsushi Enomoto <[email protected]>
* Added MonoFIXAttribute.cs

svn path=/trunk/mcs/; revision=31085
2004-07-13 14:53:15 +00:00
Martin Baulig e3abc83acb New test.
svn path=/trunk/mcs/; revision=31084
2004-07-13 14:42:11 +00:00
Martin Baulig 6cbebe399d 2004-07-13 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveAsTypeStep): Use the full `!'
	name for generic types.

svn path=/trunk/mcs/; revision=31083
2004-07-13 14:41:19 +00:00
Miguel de Icaza f2f9a94bce Two perl files gone
svn path=/trunk/mono/; revision=31082
2004-07-13 14:34:47 +00:00
Martin Baulig ceb4f95251 2004-07-13 Martin Baulig <[email protected]>
* assign.cs (Assign.DoResolve): Moved the CS0131 check up a little
	bit to fix #60119.

svn path=/trunk/mcs/; revision=31081
2004-07-13 14:03:25 +00:00
Martin Baulig b66e1b253b New test.
svn path=/trunk/mcs/; revision=31080
2004-07-13 14:02:30 +00:00
Atsushi Eno c396b3e156 2004-07-13 Atsushi Enomoto <[email protected]>
* XmlSchemaBuiltInType.cs, XmlSchemaValidity.cs, XmlTypeCode.cs
	  : fixed annoying enum errors.
	* XmlSchemaCollection.cs : completely delegate to XmlSchemaSet.
	* XmlSchemaSet.cs : sealed classes. Use ListDictionary (avoid annoying
	  order preservation matter). NameTable null check for .ctor().
	  Fill GlobalAttributes, GlobalElements, GlobalTypes correctly.
	  Add(string, XmlReader) checks namespace conflicts, while
	  Add(XmlSchema) does not. Fixed Schemas() return type.

svn path=/trunk/mcs/; revision=31079
2004-07-13 13:42:32 +00:00
Atsushi Eno 3733f8ba87 2004-07-13 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : Added Create() stubs.
	* XmlWriterSettings.cs : Added missing property setters.
	* XmlValidatingReader.cs : added internal schemas setter.
	* XmlTextReader.cs : added internal XmlReaderSettings property setter.
	* XmlReader.cs :  Halfly implemented Create().
	* DTDValidatingReader.cs : author information was missing.

svn path=/trunk/mcs/; revision=31078
2004-07-13 12:36:32 +00:00
Atsushi Eno b81061ba4c 2004-07-13 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources:
	  Added XmlFilterReader.cs and XPathNavigatorReader.cs

svn path=/trunk/mcs/; revision=31077
2004-07-13 12:33:33 +00:00
Ravindra 4b1eded31b * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
This was redundant. It was kept in previous checkin to avoid
	build breakage.

svn path=/trunk/mcs/; revision=31076
2004-07-13 12:17:40 +00:00
Ravindra dcbb59b493 * PathGradientBrush.cs: Removed all the private variables.
Now, we get/set everything from libgdiplus. This is cleaner.

svn path=/trunk/mcs/; revision=31075
2004-07-13 12:07:52 +00:00
Ravindra a68a817312 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
svn path=/trunk/mcs/; revision=31074
2004-07-13 12:05:37 +00:00
Atsushi Eno 657c877302 2004-07-13 Atsushi Enomoto <[email protected]>
* Added XPathNavigatorReader.cs.

svn path=/trunk/mcs/; revision=31073
2004-07-13 12:02:15 +00:00
Atsushi Eno 5c5fdf4a98 2004-07-13 Atsushi Enomoto <[email protected]>
* Added XmlFilterReader.cs.

svn path=/trunk/mcs/; revision=31072
2004-07-13 12:01:22 +00:00
Lluis Sanchez df6591d7f3 * System.Web.Services.dll.sources: Added new files:
System.Web.Services.Description/BasicProfileViolation.cs
		System.Web.Services.Description/BasicProfileViolationCollection.cs
		System.Web.Services.Description/NamedItem.cs
		System.Web.Services.Description/Soap12AddressBinding.cs
		System.Web.Services.Description/Soap12Binding.cs
		System.Web.Services.Description/Soap12BodyBinding.cs
		System.Web.Services.Description/Soap12FaultBinding.cs
		System.Web.Services.Description/Soap12HeaderBinding.cs
		System.Web.Services.Description/Soap12OperationBinding.cs
		System.Web.Services.Description/WebReference.cs
		System.Web.Services.Description/WebReferenceCollection.cs
		System.Web.Services.Description/WebServicesInteroperability.cs

svn path=/trunk/mcs/; revision=31070
2004-07-13 10:16:33 +00:00
Lluis Sanchez e792c7c5cd * HttpWebClientProtocol.cs, Soap12FaultCodes.cs, SoapClientMessage.cs,
SoapException.cs, SoapHeader.cs, SoapHeaderException.cs,
	  SoapHttpClientProtocol.cs, SoapMessage.cs, SoapRpcMethodAttribute.cs,
	  SoapRpcServiceAttribute.cs, SoapServerMessage.cs: Api fixage (mainly
	  missing attributes).

svn path=/trunk/mcs/; revision=31069
2004-07-13 10:16:10 +00:00
Lluis Sanchez d2c8e83da7 * Binding.cs, Message.cs, MessageBinding.cs, MessagePart.cs, Operation.cs,
OperationBinding.cs, OperationMessage.cs, Port.cs, PortType.cs,
	  Service.cs, ServiceDescription.cs,
	  Name property moved to NamedItem in 2.0.
	* DocumentableItem.cs, ServiceDescriptionFormatExtension.cs,
	  ServiceDescriptionImportWarnings.cs, ServiceDescriptionImporter.cs,
	  SoapFaultBinding.cs: Added 2.0 api.
	* BasicProfileViolation.cs, BasicProfileViolationCollection.cs,
	  NamedItem.cs, Soap12AddressBinding.cs, Soap12Binding.cs,
	  Soap12BodyBinding.cs, Soap12FaultBinding.cs, Soap12HeaderBinding.cs,
	  Soap12OperationBinding.cs, WebReference.cs, WebReferenceCollection.cs,
	  WebServicesInteroperability.cs: Mostly implemented new 2.0 classes.

svn path=/trunk/mcs/; revision=31068
2004-07-13 10:15:33 +00:00
Lluis Sanchez c7d4f7e171 * WebServiceBindingAttribute.cs, WsiClaims.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=31067
2004-07-13 10:13:11 +00:00
Anirban Bhattacharjee 773832a3e5 2004-07-13 Anirban Bhattacharjee <[email protected]>
* driver.cs: Added support for AddModule compiler option
        * typemanager.cs: AddModule function will now store list of Modules instaed of ModuleBuilders. This change has been made to get LoadModule function working of driver.cs.

svn path=/trunk/mcs/; revision=31066
2004-07-13 09:27:11 +00:00
Umadevi S a831ac16b5 2004-07-13 Umadevi S <[email protected]>
* TriggerAction.cs - Added enum values

svn path=/trunk/mcs/; revision=31064
2004-07-13 05:42:57 +00:00
Anirban Bhattacharjee e9889b6fca 2004-07-13 Anirban Bhattacharjee <[email protected]>
* driver.cs: Compilation to module is supported now

svn path=/trunk/mcs/; revision=31063
2004-07-13 05:28:34 +00:00
Jackson Harper 4573a15a1d * MethodDef.cs: Local lists are not lazyily allocated so they were
getting added to every method. This is legal but wastes space.

svn path=/trunk/mcs/; revision=31060
2004-07-13 03:20:19 +00:00
Fawad Halim c129af1942 For enum fields, GenerateField should emit the field name sans the type.
svn path=/trunk/mcs/; revision=31059
2004-07-13 02:22:26 +00:00
Neale Ferguson 29beaff7b5 Add mvcl instruction
svn path=/trunk/mono/; revision=31055
2004-07-12 23:03:57 +00:00
Neale Ferguson f560e44dbe Fix exception handler to recognize correct handler.
Eliminate memset/memcpy for 0 length requests

svn path=/trunk/mono/; revision=31053
2004-07-12 21:46:45 +00:00
Duncan Mak 73cfa42470 * CER.cs:
* Consistency.cs:
* CriticialFinalizerObject.cs:
* PrePrepareMethodAttribute.cs:
* ReliabilityContractAttribute.cs: Added.

svn path=/trunk/mcs/; revision=31052
2004-07-12 20:16:06 +00:00
Duncan Mak c3b1bf8fe6 2004-07-12 Duncan Mak <[email protected]>
* KeyNotFoundException.cs: Added.

svn path=/trunk/mcs/; revision=31051
2004-07-12 19:50:25 +00:00
Martin Baulig 571dee84c3 2004-07-12 Martin Baulig <[email protected]>
* enum.cs (Enum.Define): Call Emit() to emit the attributes.
	Fixes #61293.

svn path=/trunk/mcs/; revision=31049
2004-07-12 18:34:29 +00:00
Paolo Molaro 3435d254bf Mon Jul 12 20:25:57 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: load value when emitting box operation in
	constrained calls.

svn path=/trunk/mono/; revision=31047
2004-07-12 17:30:31 +00:00
Martin Baulig 773335c277 Moved the marker.
svn path=/trunk/mcs/; revision=31046
2004-07-12 17:23:47 +00:00
Martin Baulig 84afe617ac **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31045
2004-07-12 17:22:32 +00:00
Martin Baulig 23224514c6 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=31044
2004-07-12 17:08:04 +00:00
Ben Maurer 537c60cb52 2004-07-12 Ben Maurer <[email protected]>
* mini-x86.c (OP_CHECK_THIS): cmp DWORD PTR [eax], eax
	is one byte shorter than cmp DWORD PTR [eax], 0.

svn path=/trunk/mono/; revision=31043
2004-07-12 16:53:05 +00:00
Paolo Molaro 8799bcab87 Mon Jul 12 17:47:00 CEST 2004 Paolo Molaro <[email protected]>
* inssel-ppc.brg: arguments on the stack are always
	relative to the stack pointer (spotted by Neale Ferguson).

svn path=/trunk/mono/; revision=31041
2004-07-12 14:52:39 +00:00
Geoff Norton cb20bd6be1 Patch for #61112. Approved by eno
svn path=/trunk/mcs/; revision=31040
2004-07-12 13:11:52 +00:00
Neale Ferguson a906a5f5c0 Add instructions to support enhanced memory-to-memory operations.
svn path=/trunk/mono/; revision=31039
2004-07-12 12:05:08 +00:00
Neale Ferguson 213249e0b0 Rework frame handling, correct some ABI problems and optimize memory-to-
memory operations.

svn path=/trunk/mono/; revision=31038
2004-07-12 12:04:24 +00:00
Massimiliano Mantione f9b96ec9c3 2004-07-12 Massimiliano Mantione <[email protected]>
* docs/abc-removal.txt: Updated documentation for ABC removal.

svn path=/trunk/mono/; revision=31035
2004-07-12 08:50:23 +00:00
Massimiliano Mantione 8a01835f45 2004-07-12 Massimiliano Mantione <[email protected]>
* mono/mini/abcremoval.c: Rewritten most of ABC removal.
	* mono/mini/abcremoval.h: Rewritten most of ABC removal.
	* mono/mini/build_relations_propagation_table.pl: Deleted (unneeded after the rewrite).
	* mono/mini/propagated_relations_table.def: Deleted (unneeded after the rewrite).

svn path=/trunk/mono/; revision=31034
2004-07-12 08:41:40 +00:00
Lluis Sanchez fd0fcfd2bc * ReflectionHelper.cs: Fixed bug when registering a map as exported.
Thanks to Juan C. Olivares.

svn path=/trunk/mcs/; revision=31033
2004-07-12 07:50:44 +00:00
Lluis Sanchez 6df5b1ab24 * NewMonoXSD.cs: Accept files with absolute paths.
svn path=/trunk/mcs/; revision=31032
2004-07-12 07:43:29 +00:00
Umadevi S f6d7377985 2004-07-12 Umadevi S <[email protected]>
* Tokenizer.cs - read an Int64 from the text instead of Int32. Resolves
bug 61203

svn path=/trunk/mcs/; revision=31031
2004-07-12 03:47:19 +00:00
Gonzalo Paniagua Javier 7416bb8d6f 2004-07-11 Gonzalo Paniagua Javier <[email protected]>
* debug-helpers.c: prevent SIGSEGV. It happened running xsp on monodoc
	when no HOME env. variable was set and a NullRef was thrown in a .cctor
	called from other .cctors.

svn path=/trunk/mcs/; revision=31024
2004-07-12 01:37:58 +00:00
Gonzalo Paniagua Javier 0fffd32d9a 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: if'ed RemoveReferences calls.

svn path=/trunk/mcs/; revision=31023
2004-07-12 01:37:25 +00:00
Atsushi Eno 88497e0dbe 2004-07-12 Atsushi Enomoto <[email protected]>
* xml-classes : oops, list styles.

svn path=/trunk/mono/; revision=31021
2004-07-12 01:31:04 +00:00
Martin Baulig 84f2481310 2004-07-12 Martin Baulig <[email protected]>
* gen-58.cs: New test.

svn path=/trunk/mcs/; revision=31018
2004-07-12 00:18:36 +00:00
Martin Baulig 9c6da612c7 2004-07-12 Martin Baulig <[email protected]>
* reflection.c (mono_field_get_object): If we have
	`field->generic_info', take the attributes from
	`field->generic_info->generic_type'.

svn path=/trunk/mono/; revision=31017
2004-07-12 00:16:06 +00:00
Martin Baulig 07e391df4f 2004-07-12 Martin Baulig <[email protected]>
* mono-debug.c (mono_debug_init): Don't take a `MonoDomain *'.
	This function must be called before initializing the runtime.
	(mono_debug_init_1): New function; call this after initializing
	the runtime, but before loading the assembly.  It tells the
	debugger to load corlib and the builtin types.

	* mono-debug-debugger.c: Did some larger changes in the debugging
	code; support recursive class declarations, make sure we actually
	add all classes.

svn path=/trunk/mono/; revision=31011
2004-07-11 21:24:28 +00:00
Gonzalo Paniagua Javier 5266794175 2004-07-11 Gonzalo Paniagua Javier <[email protected]>
* mini/exceptions-x86.c: delay appending the method name to the trace
	until after mono_jit_info_table_find is called, as this gets the real
	MonoMethod.

	* metadata/debug-helpers.c: undo my previous patch and fixed the real
	issue in ../mini/exceptions-x86.c

svn path=/trunk/mono/; revision=31006
2004-07-11 18:34:30 +00:00
Atsushi Eno 2e99b8d298 2004-07-11 Atsushi Enomoto <[email protected]>
* xml-classes : updates and plans/ideas for Mono 1.2.

svn path=/trunk/mono/; revision=31004
2004-07-11 16:11:52 +00:00
Atsushi Eno a57cd64a04 2004-07-11 Atsushi Enomoto <[email protected]>
* Expression.cs, Iterator.cs, XPathNavigator.cs :
	  Use IXmlNamespaceResolver for net 2.0. Removed unused code.
	* XPathEditableNavigator.cs : fixed namespace.
	* XPathNavigator.cs :
	  Fixed inheritance. Added missing MonoTODO.
	  Removed old .net 1.2 code.

svn path=/trunk/mcs/; revision=31000
2004-07-11 09:51:49 +00:00
Atsushi Eno 3699950a04 2004-07-11 Atsushi Enomoto <[email protected]>
* XmlConvertDateTimeOption.cs : it is NET_2_0.
	* IXmlNamespaceResolver.cs,
	  XmlNamespaceScope.cs : Compile it in .net 1.1 (as internal).
	* XmlNamespaceManager.cs : Implement IXmlNamespaceResolver.

svn path=/trunk/mcs/; revision=30999
2004-07-11 09:50:33 +00:00
Gonzalo Paniagua Javier 587cecdb0c 2004-07-11 Gonzalo Paniagua Javier <[email protected]>
* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".

svn path=/trunk/mcs/; revision=30997
2004-07-11 07:08:02 +00:00
Gonzalo Paniagua Javier 6d95cf89e2 2004-07-11 Gonzalo Paniagua Javier <[email protected]>
* debug-helpers.c: prevent SIGSEGV. It happened running xsp on monodoc
	when no HOME env. variable was set and a NullRef was thrown in a .cctor
	called from other .cctors.

svn path=/trunk/mono/; revision=30995
2004-07-11 06:59:07 +00:00
Atsushi Eno 2cd43b9ee7 2004-07-11 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatypeVariety.cs : Fixed class name typo.
	* XmlValueConverter.cs : fixed return types.

svn path=/trunk/mcs/; revision=30991
2004-07-11 03:02:56 +00:00
Rafael Teixeira e562293608 2004-07-10 Rafael Teixeira <[email protected]>
* OptionDetails.cs : ExtractParamName method called on constructor instead of code being called on demand (maybe too late)
						 Fix for Bug 61188
						 Handling exceptions on conversion of values, and giving a message a bit friendlier

svn path=/trunk/mcs/; revision=30988
2004-07-10 20:16:29 +00:00
Ben Maurer b3913f7b77 new test
svn path=/trunk/mcs/; revision=30987
2004-07-10 19:32:47 +00:00
Ben Maurer 27dcf5bcdd 2004-07-09 Miguel de Icaza <[email protected]>
* assign.cs (LocalTemporary): Add new argument: is_address,If
	`is_address' is true, then the value that we store is the address
	to the real value, and not the value itself.

	* ecore.cs (PropertyExpr): use the new local temporary
	stuff to allow us to handle X.Y += z (where X is a struct)

svn path=/trunk/mcs/; revision=30986
2004-07-10 19:30:30 +00:00
Paolo Molaro 41dcb72519 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <[email protected]>
* Modulec.s: return just name in ToString (bug #61287).

svn path=/trunk/mcs/; revision=30983
2004-07-10 12:53:56 +00:00
Miguel de Icaza 011bd63fcc Ok, Managed.Windows.Forms needs to mature a bit more
svn path=/trunk/mcs/; revision=30980
2004-07-10 03:29:45 +00:00
Lluis Sanchez 6b40ba726a sgen.cs, Makefile, sgen.exe.sources: New files
svn path=/trunk/mcs/; revision=30974
2004-07-09 23:30:06 +00:00
Lluis Sanchez 79eeb04df2 * System.Web.Services.dll.sources: Added 2.0 files:
System.Web.Services/WsiClaims.cs
		System.Web.Services.Protocols/InvokeCompletedEventArgs.cs
		System.Web.Services.Protocols/InvokeCompletedEventHandler.cs
		System.Web.Services.Protocols/Soap12FaultCodes.cs
		System.Web.Services.Protocols/SoapFaultSubcode.cs
		System.Web.Services.Protocols/SoapProtocolVersion.cs

svn path=/trunk/mcs/; revision=30973
2004-07-09 23:22:10 +00:00
Lluis Sanchez 42281c4845 * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
SoapClientMessage.cs, SoapHttpClientProtocol.cs, SoapServerMessage.cs:
	  Added 2.0 stubs.
	* SoapException.cs, SoapHeader.cs, SoapHeaderException.cs, SoapMessage.cs,
	  SoapRpcMethodAttribute.cs, SoapRpcServiceAttribute.cs: Implemented some
	  new methods and properties.
	* WebClientProtocol.cs: uri field must be internal.

svn path=/trunk/mcs/; revision=30972
2004-07-09 23:21:42 +00:00
Lluis Sanchez 4e27c09963 * WebService.cs: Added SoapVersion property.
* WebServiceBindingAttribute.cs: New 2.0 properties.
	* WsiClaims.cs: Added new enumeration.

svn path=/trunk/mcs/; revision=30971
2004-07-09 23:20:34 +00:00
Lluis Sanchez 5221e53fda * CodeExporter.cs: Added private constructor.
* CodeGenerationOptions.cs: Set the correct enum values.
	* CodeIdentifier.cs: Added private constructor.
	* SchemaImporter.cs: Added internal constructor.
	* XmlMapping.cs, XmlSerializer.cs: 2.0 api fix.
	* XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs.
	* XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs,
	  XmlSerializerVersionAttribute.cs: Set correct attribute usage.
	* XmlSerializationReader.cs: Added missing setter for DecodeName.

svn path=/trunk/mcs/; revision=30970
2004-07-09 23:19:41 +00:00
Lluis Sanchez 447168e8c8 * corlib.dll.sources: Added System.Threading.SendOrPostCallback.cs.
svn path=/trunk/mcs/; revision=30969
2004-07-09 23:18:18 +00:00
Lluis Sanchez c3bb988dd9 SendOrPostCallback.cs: New delegate.
svn path=/trunk/mcs/; revision=30968
2004-07-09 23:17:26 +00:00
Miguel de Icaza 253431811a Spelling
svn path=/trunk/mcs/; revision=30967
2004-07-09 20:13:05 +00:00
Peter Dennis Bartok f608d928d4 - Added support required for new managed System.Windows.Forms library
svn path=/trunk/mcs/; revision=30966
2004-07-09 20:08:40 +00:00
Miguel de Icaza e91cad6a63 Switch implementations
svn path=/trunk/mcs/; revision=30965
2004-07-09 20:03:00 +00:00
Miguel de Icaza aec32df817 New errors
svn path=/trunk/mcs/; revision=30964
2004-07-09 19:15:52 +00:00
Jackson Harper f455475981 * PEAPI.cs: Don't build custom attributes twice.
svn path=/trunk/mcs/; revision=30963
2004-07-09 19:06:45 +00:00
Jackson Harper cdb057a21c * get.c: Make "class" the default so only valuetypes get the
"valuetype" modifier. Otherwise object, string, int,... will get
	it.

svn path=/trunk/mono/; revision=30962
2004-07-09 18:15:47 +00:00
Peter Dennis Bartok bfee1fb2da - Removed usage of Rectangle for drawing. Miguel pointed out it's faster
svn path=/trunk/mcs/; revision=30961
2004-07-09 17:25:23 +00:00
Miguel de Icaza fc4207b5ab 2004-07-09 Miguel de Icaza <[email protected]>
* ProgressBar.cs: Fixed spelling for `block'

	drawProgressBar: renamed to `DrawProgressBar' to follow the coding
	style guidelines.

	Avoid using the += on rect.X, that exposed a bug in the compiler.

svn path=/trunk/mcs/; revision=30960
2004-07-09 17:17:46 +00:00
Miguel de Icaza 0c662b57b3 2004-07-09 Miguel de Icaza <[email protected]>
* loader.c: Removed the mono_loader_wine_init hack now that we are
	doing a managed version of Windows.Forms.

svn path=/trunk/mono/; revision=30959
2004-07-09 16:55:45 +00:00
Paolo Molaro 2c8b06cd90 Updates.
svn path=/trunk/mono/; revision=30955
2004-07-09 16:09:08 +00:00
Lluis Sanchez 97246217a6 * System.dll.sources: Added files
System.ComponentModel/AsyncCompletedEventArgs.cs
		System.ComponentModel/AsyncCompletedEventHandler.cs

svn path=/trunk/mcs/; revision=30954
2004-07-09 15:38:20 +00:00
Lluis Sanchez 5e42abf59a * AsyncCompletedEventArgs.cs: Implemented.
* AsyncCompletedEventHandler.cs: Implemented.

svn path=/trunk/mcs/; revision=30953
2004-07-09 15:37:52 +00:00
Paolo Molaro e1de07f152 Switch to precise GC design document.
svn path=/trunk/mono/; revision=30950
2004-07-09 15:18:26 +00:00
Sebastien Pouliot 1620eac119 2004-07-09 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Fixed unit tests to work with Fx
	2.0 beta 1.

svn path=/trunk/mcs/; revision=30949
2004-07-09 15:05:12 +00:00
Sebastien Pouliot 3545dd5eff 2004-07-09 Sebastien Pouliot <[email protected]>
* Removed old files (from 1.2 preview).

svn path=/trunk/mcs/; revision=30948
2004-07-09 15:01:26 +00:00
Ben Maurer 76e4ebabf9 remove useless stuff
svn path=/trunk/mono/; revision=30947
2004-07-09 15:00:31 +00:00
Ben Maurer f8316c4caf 2004-07-09 Ben Maurer <[email protected]>
* interp.c: register gc roots

svn path=/trunk/mono/; revision=30946
2004-07-09 14:59:23 +00:00
Sebastien Pouliot 1eb2fe23c4 2004-07-09 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifierTest.cs: Fixed for Fx 2.0 beta1.
	* CmsRecipientTest.cs: Replace Pkcs7RecipientTest.cs in Fx 2.0 beta1.
	* CmsSignerTest.cs: Replace Pkcs7SignerTest.cs in Fx 2.0 beta1.
	* ContentInfoTest.cs: Fixed for Fx 2.0 beta1.
	* EnvelopedCmsTest.cs: Replace EnvelopedPkcs7Test.cs in Fx 2.0 beta1.
	* KeyTransRecipientInfoTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9AttributeTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9DocumentDescriptionTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9DocumentNameTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9SigningTimeTest.cs: Fixed for Fx 2.0 beta1.
	* SignedCmsTest.cs: Replace SignedPkcs7Test.cs in Fx 2.0 beta1.
	* SignerInfoTest.cs: Fixed for Fx 2.0 beta1.
	* SubjectIdentifierTest.cs: Fixed for Fx 2.0 beta1.

svn path=/trunk/mcs/; revision=30945
2004-07-09 14:59:18 +00:00
Ben Maurer 8015223328 2004-07-09 Ben Maurer <[email protected]>
* domain.c, gc.c, marshal.c, mono-debug-debugger.c,
	threadpool.c, threads.c: remove static data from rootset.

svn path=/trunk/mono/; revision=30944
2004-07-09 14:59:11 +00:00
Ben Maurer a02b4a95ab 2004-07-09 Ben Maurer <[email protected]>
* threads.c: register roots for gc

svn path=/trunk/mono/; revision=30943
2004-07-09 14:59:03 +00:00
Ben Maurer 3702686059 2004-07-09 Ben Maurer <[email protected]>
* mono-hash.c: register gc roots

svn path=/trunk/mono/; revision=30942
2004-07-09 14:58:56 +00:00
Ben Maurer 6a378da272 2004-07-09 Ben Maurer <[email protected]>
* aot.c: register roots

svn path=/trunk/mono/; revision=30941
2004-07-09 14:58:48 +00:00
Ben Maurer 38daa604b0 First part of the GC patch
svn path=/trunk/mono/; revision=30940
2004-07-09 14:54:55 +00:00
Sebastien Pouliot 2c733c2a20 2004-07-09 Sebastien Pouliot <[email protected]>
* AsnEncodedDataTest.cs: Fixed for Fx 2.0 beta1.
	* CryptographicAttributeTest.cs: New. Moved from S.S.C.Pkcs.
	* OidTest.cs: Fixed for Fx 2.0 beta1.

svn path=/trunk/mcs/; revision=30939
2004-07-09 14:53:59 +00:00
Ben Maurer f7b2963b13 build fix
svn path=/trunk/mcs/; revision=30938
2004-07-09 14:44:22 +00:00
Paolo Molaro ba3f5b85ca New regalloc design.
svn path=/trunk/mono/; revision=30937
2004-07-09 14:38:44 +00:00
Ben Maurer fe46d4ce52 build fix
svn path=/trunk/mcs/; revision=30935
2004-07-09 14:31:58 +00:00
Atsushi Eno 02fac1b92e 2004-07-09 Atsushi Enomoto <[email protected]>
* XmlConvertDateTimeOption.cs : Forgot to change the content...

svn path=/trunk/mcs/; revision=30934
2004-07-09 14:21:23 +00:00
Dick Porter bdf1c06ad3 2004-07-09 Dick Porter <[email protected]>
* locales.c (ves_icall_System_String_InternalReplace_Str_Comp):
	Don't do any more processing if the matched length was 0.  It was
	increasing the size of the string before.  Fixes bug 61167.

svn path=/trunk/mono/; revision=30932
2004-07-09 14:10:55 +00:00
Atsushi Eno 2f81f65dc3 2004-07-09 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: Added XmlConvertDateTimeOption.cs.

svn path=/trunk/mcs/; revision=30931
2004-07-09 14:05:20 +00:00
Atsushi Eno 1f12b8d706 2004-07-09 Atsushi Enomoto <[email protected]>
* ConformanceLevel.cs : Fixed integer value.
	* Added XmlConvertDateTimeOption.cs.
	* Removed XmlItemView.cs and XmlItemViewCollection.cs.

svn path=/trunk/mcs/; revision=30930
2004-07-09 14:04:37 +00:00
Atsushi Eno 414705f5ef 2004-07-09 Atsushi Enomoto <[email protected]>
* IXmlNamespaceResolver.cs :
	  Fixed return value of GetNamespacesInScope().
	* IXmlDataEvidence.cs,
	  XmlReader.cs,
	  XmlTextReader.cs,
	  XmlValidatingReader.cs : fixed Evidence (it is not array anymore).
	* XmlReader.cs :
	  Implemented virtual indexers, QuoteChar, and Dispose() (2.0 stuff).
	* XmlNodeReader.cs,
	  In net_2_0, indexers vanished from XmlNodeReader.
	  In net_2_0, overriden QuoteChar vanished.
	* XmlReaderSettings.cs : set_NameTable is missing.
	* XmlTextReader.cs : Implemented ProhibitDtd.

svn path=/trunk/mcs/; revision=30929
2004-07-09 13:51:23 +00:00
Dick Porter eef810c8ee 2004-07-09 Dick Porter <[email protected]>
* PeerCred.cs: Get the unix socket peer credentials.

2004-07-09  Dick Porter  <[email protected]>

	* Socket.cs: Slight tweak to allow unknown objects to be returned
	by GetSocketOption().

svn path=/trunk/mcs/; revision=30928
2004-07-09 13:04:11 +00:00
Dick Porter d66224e87c 2004-07-09 Dick Porter <[email protected]>
* socket-io.h:
	* socket-io.c
	(ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal):
	Add support for SO_PEERCRED if its available.

svn path=/trunk/mono/; revision=30927
2004-07-09 13:03:03 +00:00
Atsushi Eno 3692cb862a 2004-07-09 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: removed XmlItemView.cs and
	  XmlItemViewCollection.cs (only in 1.2).

svn path=/trunk/mcs/; revision=30926
2004-07-09 12:25:05 +00:00
Umadevi S 152ad12e08 2004-07-09 Umadevi S <[email protected]>
* Modified classes ISqlCommand.cs, ISqlConnection.cs,ISqlExecutionContext.cs, InvalidUdtException.cs,TriggerAction.cs : Added missing methods,properties,constructors

svn path=/trunk/mcs/; revision=30924
2004-07-09 09:47:32 +00:00
Anirban Bhattacharjee 6cfc56cf39 2004-07-09 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay:
        * class.cs:
                Default modifier for constructor is set to Public

svn path=/trunk/mcs/; revision=30923
2004-07-09 09:23:09 +00:00
Umadevi S cce4b3ae96 2004-07-09 Umadevi S <[email protected]>
* Added System.Data.Sql/IUdtSerializationContext.cs and System.Data.Sql/SqlFacetAttribute.cs to system.data.dll.sources

svn path=/trunk/mcs/; revision=30922
2004-07-09 09:15:39 +00:00
Umadevi S 3b4c879ac0 2004-07-09 Umadevi S <[email protected]>
* Added files SqlFacetAttribute.cs and IUdtSerializationContext.cs

svn path=/trunk/mcs/; revision=30921
2004-07-09 09:12:10 +00:00
Atsushi Eno 93314cd44c 2004-07-09 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
	* IXmlDataEvidence.cs : not "Evidences" but "Evidence".
	* XmlInputStream.cs : new csc rejected implicit int->char cast.
	* XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
	  LookupPrefix(string) does not require argument string as atomized.
	  Added HasNamespace (string, bool).
	* XmlReader.cs : Added Settings and SchemaInfo properties.
	* XmlReaderSettings.cs : Added NameTable. Throw XmlException when
	  attempt to set Schemas.
	* XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
	  implicit int->char cast.
	* XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".

svn path=/trunk/mcs/; revision=30919
2004-07-09 06:30:18 +00:00
Anirban Bhattacharjee ffcf1cfcac 2004-07-09 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Parentheses in method declarations made optional incase of empty parameter list. Thus, a method "Sub s()" can also be declared as "Sub s"

svn path=/trunk/mcs/; revision=30918
2004-07-09 06:13:50 +00:00
Peter Dennis Bartok 97c96f0a3c - winelib.exe.so error message is now only displayed if MONO_DEBUG is set.
To help us avoid questions when people are trying out the
  new Managed.Windows.Forms.

svn path=/trunk/mono/; revision=30917
2004-07-09 05:58:39 +00:00
Atsushi Eno d07103e7f1 2004-07-09 Atsushi Enomoto <[email protected]>
* aot.c : I could just use PLATFORM_WIN32 flag.

svn path=/trunk/mono/; revision=30916
2004-07-09 05:57:46 +00:00
Atsushi Eno 8384791b13 2004-07-09 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: removed one of ImportContext.cs

svn path=/trunk/mcs/; revision=30915
2004-07-09 05:54:13 +00:00
Peter Dennis Bartok 908ff003b9 - Initial check-in
svn path=/trunk/mcs/; revision=30913
2004-07-09 05:21:25 +00:00
Atsushi Eno 3622cdcf9e 2004-07-09 Atsushi Enomoto <[email protected]>
* aot.c : Reverting the previous fix. This time it broke linux build.

svn path=/trunk/mono/; revision=30912
2004-07-09 02:28:04 +00:00
Sebastien Pouliot 081fb00ba2 2004-07-08 Sebastien Pouliot <[email protected]>
* Remove old files from Fx 1.2 preview
		CryptographicAttribute.cs
		EnvelopedPkcs7.cs
		Pkcs7Recipient.cs
		Pkcs7RecipientCollection.cs
		Pkcs7RecipientEnumerator.cs
		Pkcs7Signer.cs
		Pkcs9AttributeCollection.cs
		Pkcs9AttributeEnumerator.cs
		RecipientSubType.cs
		SignedPkcs7.cs

svn path=/trunk/mcs/; revision=30911
2004-07-09 02:14:46 +00:00
Sebastien Pouliot 3a6e1b6b60 2004-07-08 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Fixed classes to match Fx 2.0 beta 1.

svn path=/trunk/mcs/; revision=30910
2004-07-09 02:10:52 +00:00
Sebastien Pouliot b030a1037f 2004-07-08 Sebastien Pouliot <[email protected]>
* PublicKeyInfo.cs: Sealed class (forgotten in previous commit).

svn path=/trunk/mcs/; revision=30909
2004-07-09 02:08:50 +00:00
Sebastien Pouliot 0551783bfc 2004-07-08 Sebastien Pouliot <[email protected]>
* OpenFlags.cs: Fixed flags values. Added missing attributes.
	* StoreLocation.cs: Fixed enum values. Added missing [Serializable].
	* StoreName.cs: Fixed enum values. Added missing [Serializable].
	* X500DistinguishedName.cs: New. X.501 DN.
	* X500DistinguishedNameFlags.cs: New. X.501 DN flags.
	* X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
	* X509Chain.cs: Added missing Reset method.
	* X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
	* X509Extension.cs: Fixed API.
	* X509ExtensionCollection.cs: Fixed API and implemented.
	* X509FindType.cs: Fixed enum values. Added missing [Serializable].
	* X509IncludeOption.cs: Added missing [Serializable].
	* X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
	* X509NameType.cs: Fixed enum values. Added missing [Serializable].
	* X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
	* X509RevocationMode.cs: Added missing [Serializable].
	* X509SelectionFlag.cs: Added missing [Serializable].
	* X509VerificationFlags.cs: Fixed flags values. Added missing attrs.

svn path=/trunk/mcs/; revision=30908
2004-07-09 02:06:25 +00:00
Sebastien Pouliot 5639cacb2c 2004-07-08 Sebastien Pouliot <[email protected]>
* ContentInfo.cs: Added finalizer.
	* CmsRecipient.cs: New. Replace Pkcs7Recipient (from 1.2).
	* CmsRecipientCollection.cs: New. Replace Pkcs7RecipientCollection
	(from 1.2).
	* CmsRecipientEnumerator.cs: New. Replace Pkcs7RecipientEnumerator
	(from 1.2).
	* CmsSigner.cs: New. Replace Pkcs7Signer (from 1.2).
	* EnvelopedCms.cs: New. Replace EnvelopedPkcs7 (from 1.2).
	* KeyAgreeRecipientInfo.cs: Fixed internal constructor.
	* Pkcs9Attribute.cs: Now inherit from AsnEncodedData. Fixed
	constructors.
	* Pkcs9DocumentDescription.cs: Sealed class and fixed API.
	* Pkcs9DocumentName.cs: Sealed class and fixed API.
	* Pkcs9SigningTime.cs: Sealed class and fixed API.
	* PublicKeyInfo.cs: Sealed class.
	* RecipientInfo.cs: Removed protected constructor.
	* RecipientInfoCollection.cs: Sealed class.
	* RecipientInfoEnumerator.cs: Sealed class.
	* SignedCms.cs: New. Replace SignedPkcs7 (from 1.2).
	* SignerInfo.cs: Sealed class and fixed API.
	* SignerInfoCollection.cs: Sealed class and fixed CopyTo.
	* SignerInfoEnumerator.cs: Sealed class.
	* SubjectIdentifier.cs: Sealed class.
	* SubjectIdentifierOrKey.cs: Sealed class.
	* SubjectIdentifierType.cs: Fixed enum and added [Serializable].

svn path=/trunk/mcs/; revision=30907
2004-07-09 01:58:38 +00:00
Sebastien Pouliot 87fcf57b04 2004-07-08 Sebastien Pouliot <[email protected]>
* StorePermissionFlags.cs: Fixed flags values. Added [Serializable]
	attribute.

svn path=/trunk/mcs/; revision=30906
2004-07-09 01:46:05 +00:00
Sebastien Pouliot 1b5a8c10e9 2004-07-08 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Fixes for Fx 2.0 beta 1 compatibility. Added
	MonoTODO to missing functionalities.
	* AsnEncodedDataCollection.cs: New.
	* AsnEncodedDataEnumerator.cs: New.
	* CryptographicAttribute.cs: New. Moved from S.S.C.Pkcs.
	* CryptographicAttributeCollection.cs: New. Replace S.S.C.Pkcs.
	Pkcs9AttributeCollection.
	* CryptographicAttributeEnumerator.cs: New. Replace S.S.C.Pkcs.
	Pkcs9AttributeEnumerator.

svn path=/trunk/mcs/; revision=30905
2004-07-09 01:44:40 +00:00
Atsushi Eno 2e261bee40 2004-07-09 Atsushi Enomoto <[email protected]>
* aot.c : quick cygwin build fix. mkdir() with two args does not exist.

svn path=/trunk/mono/; revision=30904
2004-07-09 00:51:07 +00:00
Gonzalo Paniagua Javier 71d851bad0 2004-07-08 Pablo Baena <[email protected]>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx

svn path=/trunk/mcs/; revision=30902
2004-07-08 23:15:14 +00:00
Gonzalo Paniagua Javier 2f46599cce 2004-07-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: removed bogus Monitor.Exit.
	* WebConnection.cs: use Address instead of RequestUri when checking for
	the scheme in order to select the stream type. Fixes bug #61218.

svn path=/trunk/mcs/; revision=30900
2004-07-08 23:08:44 +00:00
Jackson Harper 92a4d9045a * main.c: Spaces after visibility types.
svn path=/trunk/mono/; revision=30899
2004-07-08 21:57:22 +00:00
Zoltan Varga 9c47748a73 2004-07-08 Zoltan Varga <[email protected]>
* mini.c (handle_stack_args): Remove some more debugging code.

svn path=/trunk/mono/; revision=30897
2004-07-08 19:13:48 +00:00
Zoltan Varga fe60d4b2f7 2004-07-08 Zoltan Varga <[email protected]>
* mini.c (handle_stack_args): Remove debug output left in by mistake.

svn path=/trunk/mono/; revision=30896
2004-07-08 19:07:16 +00:00
Zoltan Varga 25cb2fe3ce 2004-07-08 Zoltan Varga <[email protected]>
* driver.c mini.h aot.c: Allow additional options to be specified with
	--aot and pass them to mono_compile_assembly.

	* aot.c: Add experimental code to AOT compile all loaded assemblies
	on demand and save the code into a cache in the filesystem.

	* aot.c: Add support for more wrapper methods.

svn path=/trunk/mono/; revision=30894
2004-07-08 18:54:59 +00:00
Sebastien Pouliot badd19415b 2004-07-08 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Added new Equals(Object). Moved [Serializable]
	so it's compiled by all profiles. Added missing MonoTODO.
	* X509ContentType.cs: Added new (from 1.2) Pkcs12 enum member. Added
	missing [Serializable] attribute.
	* X509KeyStorageFlags.cs: Specified all flags values. Added missing
	[Serializable] attribute.

svn path=/trunk/mcs/; revision=30893
2004-07-08 17:55:38 +00:00
Sebastien Pouliot 5fb1ea83ee 2004-08-08 Sebastien Pouliot <[email protected]>
* CspProviderFlags.cs: Fixed new enums values.
	* DSA.cs: Fixed #if for constructor visibility.
	* CryptoAPITransform.cs: Removed constructor for NET_2_0 profile.

svn path=/trunk/mcs/; revision=30892
2004-07-08 17:54:24 +00:00
Sebastien Pouliot fdb13aa520 2004-07-08 Sebastien Pouliot <[email protected]>
* AccessControlActions.cs: Fixed enum values. Added missing attributes.

svn path=/trunk/mcs/; revision=30891
2004-07-08 17:53:32 +00:00
Zoltan Varga 6541fd6d40 2004-07-08 Zoltan Varga <[email protected]>
* mini.c (handle_stack_args): Handle some corner cases. Fixes
	58863.

svn path=/trunk/mono/; revision=30890
2004-07-08 17:23:09 +00:00
Zoltan Varga eb6a81a956 2004-07-08 Zoltan Varga <[email protected]>
* cpu-*.md: Remove removed opcodes.

svn path=/trunk/mono/; revision=30889
2004-07-08 17:21:07 +00:00
Zoltan Varga c01b616f5d 2004-07-08 Zoltan Varga <[email protected]>
* interp.c mintops.def transform.c: Replace CEE_MONO_PROC<x> with
	CEE_MONO_ICALL.

svn path=/trunk/mono/; revision=30888
2004-07-08 17:18:54 +00:00
Zoltan Varga dea3d4c13f 2004-07-08 Zoltan Varga <[email protected]>
* mini.h mini.c: Move JIT icall handling to icall.c. Replace usage of
	CEE_MONO_PROC<x> with CEE_MONO_ICALL. Move registration of marshalling
	related icalls to marshal.c.

svn path=/trunk/mono/; revision=30887
2004-07-08 17:17:23 +00:00
Zoltan Varga 5747ae5c59 2004-07-08 Zoltan Varga <[email protected]>
* class-internals.h debug-helpers.c marshal.c: Add new wrapper types
	for isinst and castclass wrappers.

	* class-internals.h icall.c: Move registration and lookup of JIT icalls
	to libmetadata from the JIT, so they could be used by the marshalling
	code and the interpreter.

	* marshal.c: Register marshalling related JIT icalls here instead of
	in mini.c. Use CEE_MONO_ICALL instead of the family of
	CEE_MONO_PROC<x> opcodes to call marshalling functions.

	* metadata.h: Remove unneeded marshalling conversions.

	* opcodes.c: Update for new opcodes.

svn path=/trunk/mono/; revision=30886
2004-07-08 17:15:24 +00:00
Zoltan Varga 06093c36a5 2004-07-08 Zoltan Varga <[email protected]>
* opcode.def: Remove CEE_MONO_FUNC and related opcodes, replace them
	with CEE_MONO_ICALL.

svn path=/trunk/mono/; revision=30885
2004-07-08 17:07:10 +00:00
Jackson Harper c51ba6daae * CodeGen.cs: Add assembly custom attributes to the pe file.
* CustomAttr.cs: Custom attributes are now added through the
	pefile, this ensures that they get emitted properly.
	* ExternTable.cs: Allow adding custom attributes to assembly
	refs.

svn path=/trunk/mcs/; revision=30884
2004-07-08 16:39:36 +00:00
Jackson Harper 32a5444bfe * ILParser.jay: Add custom attributes to assemblyrefs.
svn path=/trunk/mcs/; revision=30883
2004-07-08 16:38:56 +00:00
Jackson Harper b51b3e4c5d * PEAPI.cs: Add custom attributes through the pefile so that we
can ensure they are emitted no matter what table they are
	in. Previously not all custom attributes were getting emitted.

svn path=/trunk/mcs/; revision=30882
2004-07-08 16:38:23 +00:00
Dick Porter 7e6582a25d 2004-07-08 Dick Porter <[email protected]>
* io.c (file_seek): If there is a high 32bit offset part, make
	sure the low part isn't sign-extended.  Set error codes when
	returning failure.  Fixes bug 61131.

svn path=/trunk/mono/; revision=30876
2004-07-08 15:10:04 +00:00
Martin Baulig a2760ee1d3 2004-07-08 Martin Baulig <[email protected]>
* statement.cs (Lock.Resolve): Set ec.NeedReturnLabel() if we do
	not always return, just like we're doing in Using.Resolve().

svn path=/trunk/mcs/; revision=30875
2004-07-08 14:47:14 +00:00
Martin Baulig 13fffc73a8 2004-07-08 Martin Baulig <[email protected]>
* mono-debug.c: Check for `handle->symfile' being non-NULL everywhere.
	(mono_debug_get_domain_data): Make this function static.

svn path=/trunk/mono/; revision=30872
2004-07-08 14:26:42 +00:00
Geoff Norton 553aad470f Patch for #58844 approved by lupus
svn path=/trunk/mcs/; revision=30871
2004-07-08 14:25:53 +00:00
Lluis Sanchez 2db3de1fd5 * XmlSerializer.cs: Fix fix.
svn path=/trunk/mcs/; revision=30870
2004-07-08 14:02:34 +00:00
Lluis Sanchez ce0ff3da1b Test update
svn path=/trunk/mcs/; revision=30869
2004-07-08 13:43:21 +00:00
Lluis Sanchez 7d258e14af * System.Xml.dll.sources: Added new files:
System.Xml.Serialization/IXmlSerializerImplementation.cs
		System.Xml.Serialization/IXmlTextParser.cs
		System.Xml.Serialization/ImportContext.cs
		System.Xml.Serialization/SchemaImporter.cs
		System.Xml.Serialization/SchemaImporterExtension.cs
		System.Xml.Serialization/SchemaImporterExtensionCollection.cs
		System.Xml.Serialization/XmlDeserializationEvents.cs
		System.Xml.Serialization/XmlSchemaProviderAttribute.cs
		System.Xml.Serialization/XmlSerializationGeneratedCode.cs
		System.Xml.Serialization/XmlSerializerAssemblyAttribute.cs
		System.Xml.Serialization/XmlSerializerFactory.cs
		System.Xml.Serialization/XmlSerializerVersionAttribute.cs

svn path=/trunk/mcs/; revision=30868
2004-07-08 13:42:32 +00:00
Lluis Sanchez a8ccb82ef3 * IXmlSerializerImplementation.cs: Compile as internal in NET_1_1.
* ReflectionHelper.cs: New method for generating map keys.
	* SerializationCodeGenerator.cs: Added support for generating the serializer
	  contract class, needed for 2.0.
	* SerializationSource.cs: Use Type[] instead of ArrayList for storing
	  extra types.
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Assign extra types
	  as Type[]. Added check that makes sure that enums being serialized are
	  public.
	* XmlMapping.cs: Added internal GetKey method.
	* XmlSerializer.cs: Added support for IXmlSerializerImplementation.
	  Added first bits to support loading of serializers from pre-generated
	  assemblies.
	* XmlSerializerFactory.cs: Mostly implemeted.

svn path=/trunk/mcs/; revision=30867
2004-07-08 13:39:12 +00:00
Anirban Bhattacharjee d22ad668e7 2004-07-07 Anirban Bhattacharjee <[email protected]>
* expression.cs: bug fixed - 60399

svn path=/trunk/mcs/; revision=30866
2004-07-08 12:44:10 +00:00
Geoff Norton 2e3386df35 Patch for bug #58973 approved by Miguel.
svn path=/trunk/mcs/; revision=30860
2004-07-07 20:02:28 +00:00
Sebastien Pouliot b47097ea6a 2004-07-07 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added a lot of existing tests
	(from 1.2 documentation) that were never compiled.

svn path=/trunk/mcs/; revision=30859
2004-07-07 20:00:39 +00:00
Sebastien Pouliot 5b902a4465 2004-07-07 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: Adjusted for changes in Mono.Security.

svn path=/trunk/mcs/; revision=30858
2004-07-07 19:58:34 +00:00
Sebastien Pouliot 677b25b099 2004-07-07 Sebastien Pouliot <[email protected]>
* Makefile: Added a reference to Mono.Security because we'll require
	many class from it for the NET_2_0 profile - but it would be better
	not to have the dependency for NET_1_1.
	* System.Security.dll.sources: Added a lot of existing classes (from
	1.2 documentation) that	were never compiled.

svn path=/trunk/mcs/; revision=30857
2004-07-07 19:48:25 +00:00
Sebastien Pouliot 4474c0890f 2004-07-07 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added new attributes present in Fx 2.0.

svn path=/trunk/mcs/; revision=30856
2004-07-07 19:42:02 +00:00
Sebastien Pouliot 4c2bbc43a0 2004-07-07 Sebastien Pouliot <[email protected]>
* StorePermissionFlags.cs: New. CAS-related enum for StorePermission.
	Adding it "creates" the namespace for corcompare.

svn path=/trunk/mcs/; revision=30855
2004-07-07 19:39:07 +00:00
Sebastien Pouliot 6a84d3c639 2004-07-07 Sebastien Pouliot <[email protected]>
* X509Store.cs: Removed old store code (as it has changed a lot in
	Mono.Security).

svn path=/trunk/mcs/; revision=30854
2004-07-07 19:37:27 +00:00
Sebastien Pouliot ab83dcf609 2004-07-07 Sebastien Pouliot <[email protected]>
* EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and
	XmlEncElementContentUrl.
	* X509IssuerSerial.cs: Make constructor internal so it doesn't show up
	in corcompare results for NET_2_0 profile.

svn path=/trunk/mcs/; revision=30853
2004-07-07 19:36:05 +00:00
Sebastien Pouliot 2251d1dcd8 2004-07-07 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifier.cs: Added missing #if NET_2_0.
	* ContentInfo.cs: Fixed OID due to changes in Mono.Security.
	* EnvelopedPkcs7.cs: Fixed OID due to changes in Mono.Security.
	* SignedPkcs7.cs: Fixed OID due to changes in Mono.Security.

svn path=/trunk/mcs/; revision=30852
2004-07-07 19:34:25 +00:00
Sebastien Pouliot 5b1c13af04 2004-07-07 Sebastien Pouliot <[email protected]>
* FileDialogPermission.cs: Removed the unrequired override ToString
	from the NET_2_0 profile.

svn path=/trunk/mcs/; revision=30851
2004-07-07 19:28:49 +00:00
Sebastien Pouliot d5b2e66dcf 2004-07-07 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new files for NET_2_0:
		System.Security.AccessControl/AccessControlActions.cs
		System.Security.Cryptography.X509Certificates/X509ContentType.cs
		System.Security.Cryptography.X509Certificates/X509KeyStorageFlags.cs

svn path=/trunk/mcs/; revision=30850
2004-07-07 19:26:53 +00:00
Sebastien Pouliot 367427ab6f 2004-07-07 Sebastien Pouliot <[email protected]>
* AccessControlActions.cs: New enum in Fx 2.0. Required for new stuff
	in System.Security.Permissions. Will also "creates" the namespace for
	"corcompare".

svn path=/trunk/mcs/; revision=30849
2004-07-07 19:24:06 +00:00
Sebastien Pouliot 7ad0dcd256 2004-07-07 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed NET_2_0 directives.
	* X509ContentType.cs: New enum in Fx 2.0.
	* X509KeyStorageFlags.cs: New flags in Fx 2.0.

svn path=/trunk/mcs/; revision=30848
2004-07-07 19:15:19 +00:00
Sebastien Pouliot 15ed7fe07d 2004-07-07 Sebastien Pouliot <[email protected]>
* DES.cs: Fixed FeedbackSizeValue to 8.
	* RC2.cs: Fixed FeedbackSizeValue to 8.
	* RC2CryptoServiceProvider.cs: When key size is different from
	effective key size we throw CryptographicUnexpectedOperationException.
	* TripleDES.cs: Fixed FeedbackSizeValue to 8.

svn path=/trunk/mcs/; revision=30846
2004-07-07 17:06:02 +00:00
Sebastien Pouliot 9c7665f6b3 2004-07-07 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Throw CryptographicException when CipherMode
	CTS or OFB is being used (to match MS implementation).

svn path=/trunk/mcs/; revision=30845
2004-07-07 17:01:41 +00:00
Gonzalo Paniagua Javier 89a9ee6a34 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: don't keep the session around if we got it from
	the context. Fixes bug #61232.

svn path=/trunk/mcs/; revision=30843
2004-07-07 16:57:16 +00:00
Sebastien Pouliot 620f50b194 2004-07-07 Sebastien Pouliot <[email protected]>
* DESTest.cs: Added a new test case to check default values.
	* HMACSHA1.cs: Fixed bad test (and renamed it).
	* RC2Test.cs: Added a new test case to check default values.
	* RijndaelTest.cs: Added a new test case to check default values.
	Convert tests from NUnit 1 to 2.2.
	* TripleDESTest.cs: Added a new test case to check default values.
	Convert tests to NUnit 2.2.

svn path=/trunk/mcs/; revision=30842
2004-07-07 16:55:25 +00:00
Sebastien Pouliot 129576c3bd 2004-07-07 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new tests for CipherMode and
	CspProviderFlags.

svn path=/trunk/mcs/; revision=30837
2004-07-07 14:25:40 +00:00
Sebastien Pouliot 1d2f1d82f4 2004-07-07 Sebastien Pouliot <[email protected]>
* AllTests2.cs: Updated to NUnit 2.2 Assert.
	* CipherModeTest.cs: New. Tests supported CipherMode for all
	SymmetricAlgorithm included in the framework (enum contains two more
	modes that aren't implemented in any Fx version).
	* CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
	* CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
	Fixed a bad test.
	* CspProviderFlagsTest.cs: New. Test the values of the enum.
	* DSACryptoServiceProviderTest.cs: Added new tests for new public
	properties and methods added in Fx 2.0. Duplicated test to import a
	key pair into a disposed instance (works in Fx 2.0). Removed all
	[Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
	* DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
	different reported exception in Fx 2.0.
	* DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
	different reported exception in Fx 2.0.
	* HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
	* HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
	NET_2_0 profiles (as HMACSHA1 changed it's base class).
	* HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
	Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
	* MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
	NET_2_0 profiles.
	* PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
	MS class has been fixed.
	* PaddingModeTest.cs: Added new tests for the two new padding mode
	introduced in Fx 2.0. Converted to NUnit 2.2.
	* PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
	StrangeBehaviour test as it is fixed in Fx 2.0.
	* RC2Test.cs: Changed exception from CryptographicException to
	CryptographicUnexpectedOperationException for Fx 1.1/2.0.
	* RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
	* RSACryptoServiceProviderTest.cs: Added new tests for new public
	properties and methods added in Fx 2.0. Duplicated test to import a
	key pair into a disposed instance (works in Fx 2.0). Duplicated test
	to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
	* RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
	exchange with no key (to match Fx 2.0).
	* RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
	exchange with no key (to match Fx 2.0).
	* RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
	exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
	the MS class/runtime has been fixed.
	* RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
	SetKey method, now throw an ArgumentNullException in Fx 2.0.
	* RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
	SetKey method, now throw an ArgumentNullException in Fx 2.0.
	* Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
	* SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
	CryptographicException.
	* ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
	Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.

svn path=/trunk/mcs/; revision=30836
2004-07-07 14:20:04 +00:00
Sebastien Pouliot 764ba7255a 2004-07-07 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new files for NET_2_0:
		System.Runtime.InteropServices/_Exception.cs
		System.Security.Cryptography/RijndaelManagedTransform.cs
		System.Security.Cryptography/RIPEMD160.cs
		System.Security.Cryptography/RIPEMD160Managed.cs

svn path=/trunk/mcs/; revision=30835
2004-07-07 14:12:08 +00:00
Sebastien Pouliot 44b32ca6f4 2004-07-07 Sebastien Pouliot <[email protected]>
* MACAlgorithm.cs: Removed the hardcoded PaddingMode.Zeros as this is
	now selectable in Fx 2.0.

svn path=/trunk/mcs/; revision=30834
2004-07-07 14:08:08 +00:00
Sebastien Pouliot 7c32587fbf 2004-07-07 Sebastien Pouliot <[email protected]>
* CryptoAPITransform.cs: Added the new Reset method for NET_2_0. This
	is a NOP as this class isn't used by Mono (all crypto transforms are
	managed).
	* CryptographicException.cs: Added _Exception interface for NET_2_0
	profile.
	* CspProviderFlags.cs: Added new enum's members for NET_2_0.
	* DSA.cs: Changed constructor to protected for NET_2_0. It is now
	possible to inherit from DSA in other assemblies.
	* DSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
	ICspAsymmetricAlgorithm (stub),	removed (unrequired) LegalKeySizes
	override, fixed visibility of PublicOnly property.
	* HMACSHA1.cs: Fixed #if for NET_2_0 profile.
	* KeyNumber.cs: Fixed values for new enum in Fx 2.0.
	* MACTripleDES.cs: Added new Padding property to NET_2_0 profile.
	* ProtectedData.cs: Added missing private constructor.
	* ProtectedMemory.cs: Added missing private constructor.
	* RC2CryptoServiceProvider.cs: Added UseSalt property to NET_2_0
	profile. Salt usage must be added to the transforms.
	* RIPEMD160Managed.cs: Removed unrequired [CLSCompliant] attributes.
	* RSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
	ICspAsymmetricAlgorithm (stub),	fixed visibility of PublicOnly
	property.
	* RijndaelManaged.cs: Use the new RijndaelManagedTransform for Fx 2.0.
	* RijndaelManagedTransform.cs: New. Class is now public in Fx 2.0.

svn path=/trunk/mcs/; revision=30833
2004-07-07 14:02:27 +00:00
Sebastien Pouliot 021f4ee4e8 2004-07-07 Sebastien Pouliot <[email protected]>
* _Exception.cs: New interface in Fx 2.0 to preserve member's order
	for COM interop.

svn path=/trunk/mcs/; revision=30832
2004-07-07 13:49:39 +00:00
Paolo Molaro 6d42d62ae5 Rewrote to explain how things are done and why.
Removed misleading and incorrect info.

svn path=/trunk/mono/; revision=30831
2004-07-07 10:17:05 +00:00
Umadevi S 58c4a474da 2004-07-07 Umadevi S <[email protected]>
* DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
                SetItemForDataRecord method for the DateTimeClass
	(patch submitted by Aleksey Demakov)

svn path=/trunk/mcs/; revision=30829
2004-07-07 09:39:02 +00:00
Paolo Molaro d303868738 Wed Jul 7 12:32:29 CEST 2004 Paolo Molaro <[email protected]>
* gc.c, object.h: add nice GC handle API for embedders.

svn path=/trunk/mono/; revision=30828
2004-07-07 09:38:17 +00:00
Umadevi S 500a09486f 2004-07-07 Umadevi S ([email protected])
* OdbcConnection.cs - Allowed Close to be called multiple times
                            - Implementation of Dispose method
        (patch submitted by Sebastien Robitaille), corrected a typo

svn path=/trunk/mcs/; revision=30826
2004-07-07 09:19:12 +00:00
Umadevi S 493228944f 2004-07-07 Umadevi S ([email protected])
* OdbcConnection.cs - Allowed Close to be called multiple times
                            - Implementation of Dispose method
	(patch submitted by Sebastien Robitaille)

svn path=/trunk/mcs/; revision=30825
2004-07-07 09:15:52 +00:00
Umadevi S b466b55a14 2004-07-07 Umadevi S ([email protected])
* OdbcCommand.cs : fixed set method for Transaction
	(patch submitted by Sebastien Robitaille)

svn path=/trunk/mcs/; revision=30824
2004-07-07 08:39:49 +00:00
Juraj Skripsky 60b3b3c049 2004-07-07 Juraj Skripsky <[email protected]>
* SessionStateModule.cs: set path in session cookie to application
        path.

svn path=/trunk/mcs/; revision=30820
2004-07-07 04:53:46 +00:00
Miguel de Icaza b17d5744ff Update TODO OTODO
svn path=/trunk/mcs/; revision=30816
2004-07-07 04:24:19 +00:00
Miguel de Icaza de335d544b 2004-07-07 Miguel de Icaza <[email protected]>
* cs-parser.jay (fixed_statement): flag this as Pinned.

2004-07-06  Miguel de Icaza  <[email protected]>

	* typemanager.cs (TypeManager): Removed MakePinned method, this
	mechanism is replaced with the .NET 2.x compatible mechanism of
	calling `ILGenerator.DeclareLocal (Type t, bool pinned)'.

	* statement.cs (LocalInfo): Remove MakePinned, add Pinned property
	Rename `Fixed' to `Pinned' as a flag, to distinguish from the
	`IsFixed' property which has a different meaning.

svn path=/trunk/mcs/; revision=30815
2004-07-07 03:55:54 +00:00
Miguel de Icaza 62110d8297 2004-07-07 Miguel de Icaza <[email protected]>
* LocalBuilder.cs: Remove MakePinned, we are now going to use
	ILGenerator.DeclaraLocal that takes the `bool pinned' argument.

	* ILGenerator.cs (DeclareLocal): Add `pinned' version of the
	method on the 2.0 profile.

svn path=/trunk/mcs/; revision=30814
2004-07-07 03:53:54 +00:00
Gonzalo Paniagua Javier 358ae990ef 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
	value is true when the page has a Trace attribute.

	* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
	throw.

	* System.Web.UI/Page.cs: added additional checks for saving/displaying
	trace data.

	* System.Web.UI/PageParser.cs: removed checks for trace enabled in
	configuration files.

	Thanks to David Taylor for most of these patch and the tests.

svn path=/trunk/mcs/; revision=30808
2004-07-07 00:45:56 +00:00
Zoltan Varga 0249402d99 2004-07-06 Zoltan Varga <[email protected]>
* mini-ops.h: Add OP_SAVE_LMF and OP_RESTORE_LMF.

svn path=/trunk/mono/; revision=30802
2004-07-06 20:23:57 +00:00
Ben Maurer 69429eec13 document about gc roots in C
svn path=/trunk/mono/; revision=30800
2004-07-06 20:19:17 +00:00
Zoltan Varga 0631696d1e 2004-07-06 Zoltan Varga <[email protected]>
* Makefile.am (EXTRA_DIST): Add inssel-long[32].brg.

svn path=/trunk/mono/; revision=30798
2004-07-06 19:48:50 +00:00
Zoltan Varga 335216afa8 2004-07-06 Zoltan Varga <[email protected]>
* inssel.brg: Fix warning. Add rules for SAVE_LMF and RESTORE_LMF.

svn path=/trunk/mono/; revision=30797
2004-07-06 19:28:01 +00:00
Jackson Harper a7d7414faf * NumberHelper.cs: Handle real numbers. Thanks to steve brown for
pointing this out. Also don't bother scanning the string again,
	its allready been scanned.

svn path=/trunk/mcs/; revision=30796
2004-07-06 17:00:06 +00:00
Ben Maurer afe8c349de 2004-07-06 Ben Maurer <[email protected]>
* reflection.c: more changes for the new api

	* object.c: When we reflect on a field w/ a constant value, it
	will not have a memory location, so we must access metadata. Also,
	allow easier reading of strings so that we can read them from
	the constant data.

	* class.c (mono_class_layout_fields): no need for literal fields here.

	* class-internals.h: api changes for const fields

	* icall.c (ves_icall_get_enum_info): use new apis for const fields

svn path=/trunk/mono/; revision=30794
2004-07-06 15:35:03 +00:00
Ben Maurer 69b263e693 2004-07-06 Ben Maurer <[email protected]>
* reflection-const-field.cs: New test for reflection on
	constant fields.

svn path=/trunk/mono/; revision=30793
2004-07-06 15:24:42 +00:00
Ben Maurer db2ab7e334 2004-07-06 Ben Maurer <[email protected]>
* liveness.c: If liveness is recomputated we need to reset the information
	for each variable. This way, if the liveness range has been narrowed
	by optimizations that happened after the last computation, we can return
	a smaller range.

	For example, if you have

	{
		int i = 0;

		// Tons of code that does not affect i

		i = foo ();
		...
	}

	i = 0 is dead code and will be removed by SSA. However, when
	linear scan gets to the code, i will still appear to be live
	throughout the entire block. This prevents good register allocation.

svn path=/trunk/mono/; revision=30791
2004-07-06 15:00:51 +00:00
Jackson Harper 59216cee4b * get.c: Add float cast for outputing floats. Patch by Steve
Brown.

svn path=/trunk/mono/; revision=30790
2004-07-06 14:24:34 +00:00
Dick Porter 9106dd2968 2004-07-06 Dick Porter <[email protected]>
* MonoIO.cs: Add ERROR_INVALID_PARAMETER to the exception list.
	Don't blow away the SetFileTime() error before the caller gets to
	see it.  Part of the bug fix to 60970.

svn path=/trunk/mcs/; revision=30787
2004-07-06 13:49:44 +00:00
Dick Porter 48e741dbdf 2004-07-06 Dick Porter <[email protected]>
* io.c (file_setfiletime): Check for underflow when converting to
	time_t values.  Set error codes when returning failure.  Fixes bug
	60970.

svn path=/trunk/mono/; revision=30786
2004-07-06 13:49:41 +00:00
Lluis Sanchez 10333b362b * SoapMessageFormatter.cs: In BuildMethodCallFromSoapMessage, set get the
parameters from the SoapMessage by position, not by name, since names
	  may be different. This fixes bug #60427.

svn path=/trunk/mcs/; revision=30783
2004-07-06 08:51:47 +00:00
Raja R Harinath a4a3d5c5e9 List newly added NET 2.0 stubs.
svn path=/trunk/mcs/; revision=30780
2004-07-06 05:56:25 +00:00
Gonzalo Paniagua Javier 1166c99e06 2004-07-06 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
	#61181.

svn path=/trunk/mcs/; revision=30765
2004-07-05 23:50:41 +00:00
Martin Baulig 50bf4b4797 2004-07-06 Martin Baulig <[email protected]>
* debug-mini.c (mono_debug_init_method): Allow
	MONO_WRAPPER_MANAGED_TO_NATIVE wrappers.
	(mono_debug_add_icall_wrapper): New method.

	* mini.c (mono_icall_get_wrapper): Call mono_debug_add_icall_wrapper().

svn path=/trunk/mono/; revision=30764
2004-07-05 23:35:35 +00:00
Martin Baulig 3d13c548d8 2004-07-06 Martin Baulig <[email protected]>
* mono-debug.h: Increment version number to 44.

	* mono-debug.c (mono_debug_add_wrapper): The second argument is
	now a gpointer, rewrote this whole method.

	* mono-debug-debugger.c (mono_debugger_add_wrapper): New
	function.  Add information about the wrapper in a new "misc table".

	* mono-debug-debugger.h (MonoDebuggerSymbolTable): Added fields
	for the new misc table.

svn path=/trunk/mono/; revision=30763
2004-07-05 23:33:29 +00:00
Lluis Sanchez c397230784 * CodeIdentifier.cs: Removed constructor for NET_2_0.
* SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs,
	  XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
	  XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
	  XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
	  XmlSerializerNamespaces.cs: Added 2.0 stubs.
	* XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
	* IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
	  ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
	  SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
	  XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
	  XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
	  XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.

svn path=/trunk/mcs/; revision=30757
2004-07-05 18:12:19 +00:00
Zoltan Varga 47a05e7afc 2004-07-05 Zoltan Varga <[email protected]>
* metadata-internals.h image.c: Add a cache for helper signatures.

svn path=/trunk/mono/; revision=30751
2004-07-05 16:47:38 +00:00
Jackson Harper 449432ab5e * RegexTest.cs: Add some simple tests for debugging/zen
building.

svn path=/trunk/mcs/; revision=30750
2004-07-05 16:30:06 +00:00
Jackson Harper b1f84a518a * RegexTest.cs: Add some simple tests for debugging/zen
building.

svn path=/trunk/mcs/; revision=30749
2004-07-05 16:11:37 +00:00
Dick Porter 888e98bb82 2004-07-05 Dick Porter <[email protected]>
* mutexes.c (mutex_ops_init): Make the named mutex mutex sharable.

	* daemon.c (unref_handle): Only destroy a handle if all processes
	have released it, not just the current one.  Fixes bug 60887.

svn path=/trunk/mono/; revision=30746
2004-07-05 15:29:06 +00:00
Dick Porter 55e8d9fe73 2004-07-05 Dick Porter <[email protected]>
* CheckPermission.cs:
	* File.cs:
	* FileInfo.cs:
	* MonoIO.cs:
	* FileStream.cs: Give the filename when throwing
	FileNotFoundException.  Fixes bug 61120, based on patch from
	Carlos Alberto Cesario <[email protected]>.

svn path=/trunk/mcs/; revision=30744
2004-07-05 15:05:43 +00:00
Zoltan Varga 5cec32213c 2004-07-05 Zoltan Varga <[email protected]>
* Makefile.am pinvoke3.cs pinvoke9.cs: Merge pinvoke9 into pinvoke3.

svn path=/trunk/mono/; revision=30743
2004-07-05 14:37:03 +00:00
Dick Porter 5fd2b136bf 2004-07-05 Dick Porter <[email protected]>
* File.cs: File.Move() should check that the destination doesn't
	already exist.  Fixes bug 60915, patch based on one from Carlos
	Alberto Cesario <[email protected]>.

svn path=/trunk/mcs/; revision=30741
2004-07-05 14:30:28 +00:00
Rafael Teixeira 6a1d7702da oops
svn path=/trunk/mcs/; revision=30740
2004-07-05 14:13:02 +00:00
Rafael Teixeira 6fea64e409 2004-07-05 Rafael Teixeira <[email protected]>
* Strings.cs: corrected 3 long-standing errors as detected by our nunit tests

svn path=/trunk/mcs/; revision=30739
2004-07-05 14:09:20 +00:00
Zoltan Varga 39e59b5b8b 2004-07-05 Zoltan Varga <[email protected]>
* mintops.h: Applied patch from Marcin Krzyzanowski ([email protected]). Add support for unaligned access on little endian machines.

	* interp.c:Applied patch from Marcin Krzyzanowski ([email protected]). Fix crash seen on amd64.

svn path=/trunk/mono/; revision=30737
2004-07-05 12:29:38 +00:00
Zoltan Varga 73e1915d7c 2004-07-05 Zoltan Varga <[email protected]>
* monosn.c: Applied patch from "grompf" ([email protected]). Fix compilation under OSX.

svn path=/trunk/mono/; revision=30736
2004-07-05 12:06:41 +00:00
Lluis Sanchez b5b5ac9edf * Methods.cs: When using RPC, ignore RequestElementName and MessageName,
and always uses the method name (MS.NET seems to do this).

svn path=/trunk/mcs/; revision=30735
2004-07-05 09:52:18 +00:00
Zoltan Varga c57e0d3528 2004-07-05 Zoltan Varga <[email protected]>
* mini.c (optimize_branches): Fix linking of bblocks in branch->branch
	optimization.

svn path=/trunk/mono/; revision=30733
2004-07-05 08:30:33 +00:00
Anirban Bhattacharjee 9cf6749a38 2004-07-04 Anirban Bhattacharjee <[email protected]>
* StringType.cs: Fix for bug #60983 - submitted by [email protected]

svn path=/trunk/mcs/; revision=30732
2004-07-05 07:41:12 +00:00
Zoltan Varga d7cd77ceb2 2004-07-03 Zoltan Varga <[email protected]>
* aot.c (mono_aot_load_method): Fix loading of debug info.

svn path=/trunk/mono/; revision=30707
2004-07-03 19:02:09 +00:00
Zoltan Varga 2dbdaba4d5 2004-07-03 Zoltan Varga <[email protected]>
* configure.in: Add --with-tls option to replace the misnamed
	--with-nptl option.

svn path=/trunk/mono/; revision=30703
2004-07-03 16:12:12 +00:00
Jackson Harper 16bc0ba7af oops
svn path=/trunk/mcs/; revision=30697
2004-07-02 23:29:51 +00:00
Jackson Harper 689a401527 * PlatformID.cs: New 2.0 values.
svn path=/trunk/mcs/; revision=30696
2004-07-02 23:25:49 +00:00
Jackson Harper 418456d7e5 * Compiler.cs:
* CompilerError.cs:
	* ErrorLevel.cs: Make obsolete in 2.0

svn path=/trunk/mcs/; revision=30692
2004-07-02 21:25:28 +00:00
Lluis Sanchez be62236ebf * BinaryCommon.cs: Added CheckSerializable method.
* ObjectWriter.cs: Check for type serializability even for members with
	  null values.

svn path=/trunk/mcs/; revision=30684
2004-07-02 15:25:27 +00:00
Lluis Sanchez 8b677cc9ec * ChannelServices.cs: In UnregisterChannel, look for registered channels
using reference compares.

svn path=/trunk/mcs/; revision=30671
2004-07-02 14:08:17 +00:00
Lluis Sanchez 56907edd29 * ServerIdentity.cs: When disposing an identity, detach the identity from
the object, so it can be safely marshalled again.
	* RemotingServices.cs: Fixed IsObjectOutOfContext and
	  IsObjectOutOfAppDomain. In SetObjectUriForMarshal, take into account
	  contextful objects.

svn path=/trunk/mcs/; revision=30670
2004-07-02 14:03:47 +00:00
Lluis Sanchez 9b8f2df735 * SerializationCodeGenerator.cs: Generate check that the object being
serialized has a known type. Little cast fix.
	* XmlCustomFormatter.cs: Little fix in Single conversion.

svn path=/trunk/mcs/; revision=30669
2004-07-02 13:59:56 +00:00
Lluis Sanchez 2a5ca4ac29 * XmlReturnWriter.cs: Add XmlIncludes to the reflection importer when
reflecting the return type.

svn path=/trunk/mcs/; revision=30668
2004-07-02 13:57:28 +00:00
Zoltan Varga 83dd930019 2004-07-03 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Handle returning
	delegates from a delegate. Fixes #61033.

svn path=/trunk/mono/; revision=30667
2004-07-02 13:54:02 +00:00
Zoltan Varga a1f7112a5c 2004-07-03 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: New test for returning delegates from a
	delegate.

svn path=/trunk/mono/; revision=30666
2004-07-02 13:52:25 +00:00
Lluis Sanchez 47ac0d6681 * ActivationTests.cs: Fixed and enhanced tests.
* RemotingServicesTest.cs: Added.

svn path=/trunk/mcs/; revision=30665
2004-07-02 13:29:58 +00:00
Zoltan Varga cd0fb2445e 2004-07-03 Zoltan Varga <[email protected]>
* ModuleTest.cs: New tests for FindTypes.

svn path=/trunk/mcs/; revision=30663
2004-07-02 12:56:18 +00:00
Zoltan Varga 45d0bc41e7 2004-07-03 Zoltan Varga <[email protected]>
* Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.

svn path=/trunk/mcs/; revision=30662
2004-07-02 12:55:44 +00:00
Zoltan Varga 7b30a3f2e1 2004-07-03 Zoltan Varga <[email protected]>
* marshal.c: Fix managed->native stringbuilder marshalling. Implement
	marshalling of stringbuilder arrays. Fixes #59900.

svn path=/trunk/mono/; revision=30659
2004-07-02 12:21:17 +00:00
Zoltan Varga 3cbe744843 2004-07-03 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: New tests for stringbuilder marshalling.

svn path=/trunk/mono/; revision=30658
2004-07-02 12:15:55 +00:00
Jordi Mas i Hernandez ab10a29588 fixes bug 61050
svn path=/trunk/mcs/; revision=30655
2004-07-02 10:08:07 +00:00
Raja R Harinath 0f303c45b4 (DoSimpleNameResolve): Expand CS0038 check to all names
visible from inside a nested class, not just the names of the
immediately enclosing class.
Fix for bug #60730.

svn path=/trunk/mcs/; revision=30654
2004-07-02 10:06:01 +00:00
Raja R Harinath 7b9799de93 * cs0038-3.cs: New testcase from #60730.
* cs0038-4.cs: Likewise.

svn path=/trunk/mcs/; revision=30653
2004-07-02 10:05:18 +00:00
Jochen Wezel ba03d63cf5 File had moved to /system/Microsoft.VisualBasic a long time ago
svn path=/trunk/mcs/; revision=30650
2004-07-02 09:42:23 +00:00
Raja R Harinath c950842ec2 Support for avoiding "sharing violations" while compiling core
libraries with an in-tree compiler.
* build/library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
($(the_lib)): Use it.
* class/Mono.CSharp.Debugger/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
(LIBRARY_COMPILE): Simplify.
* class/corlib/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
* class/System/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
* class/System.XML/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.

svn path=/trunk/mcs/; revision=30648
2004-07-02 08:54:08 +00:00
Raja R Harinath 77c26d6ab9 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): Define.
(all-recursive,$(STD_TARGETS:=-recursive)): Depend on
'platform-check' and 'profile-check'.
(all.override): New.  Run two passes: once to build, and once to
sign libraries.

build/:
* rules.make (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): New control for overriding the default all:
rule.  If set, 'make all' will run 'all.override' from the client
Makefile.
(all): Move commands ...
(all.real): ... here.  Make ordering assumptions explicit, and
parallel-safe.
(test,run-test,run-test-ondotnet,clean,install,uninstall):
Consolidate into ...
(STD_TARGETS): ... this new variable.  Make ordering assumption
between -recursive and -local targets explicit.
(%-recursive): Handle W32 GNU make that has --unix as the first
argument in $(MAKE).
* README.makefiles (Special recursion needs): Update to reflect
changes.
* library.make (all-local): Build $(the_lib_signature_stamp) when
NO_SIGN_ASSEMBLY is defined.
($(gacutil),$(sn)): Consolidate rules.
(test-local,run-test-local,run-test-ondotnet-local): Likewise.

class/:
* IBM.Data.DB2/Makefile (all-local $(STD_TARGETS:=-local)):
Simplify dummy rule somewhat.

class/Npgsql/:
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
($(the_lib)): Make dependency explicit.

class/corlib/:
* Makefile ($(net20bootstrap_makefrag)): Build from net_2_0
profile response file.
(gmcs): Style update.

svn path=/trunk/mcs/; revision=30643
2004-07-02 08:31:03 +00:00
Raja R Harinath 8feefe364c (mcs-do-basic-build, mcs-do-short-build):
Pass NO_SIGN_ASSEMBLY=yes to sub-make.
($(tmpinst)/bin/mono) [PLATFORM_WIN32]: Make it work.

svn path=/trunk/mono/; revision=30642
2004-07-02 08:15:53 +00:00
Raja R Harinath 86f21eba3e * config-default.make (TEST_RUNTIME): Use 'mono' by default.
* platforms/win32.make (TEST_RUNTIME): Remove.
* profiles/default.make (TEST_RUNTIME): Remove.

svn path=/trunk/mcs/; revision=30640
2004-07-02 07:25:17 +00:00
Gonzalo Paniagua Javier 8432e31ff8 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
	value is true when the page has a Trace attribute.

	* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
	throw.

	* System.Web.UI/Page.cs: added additional checks for saving/displaying
	trace data.

	* System.Web.UI/PageParser.cs: removed checks for trace enabled in
	configuration files.

	Thanks to David Taylor for most of these patch and the tests.

svn path=/trunk/mcs/; revision=30638
2004-07-02 01:54:48 +00:00
Lluis Sanchez f6b470089d * TypeData.cs: In the constructor, set the correct xml type name if the
type is an array (for example, instead of StringCollection, use
	  ArrayOfString).

svn path=/trunk/mcs/; revision=30629
2004-07-01 17:32:17 +00:00
Lluis Sanchez fb4719a1c9 * Conv.asmx.template, Conv.cs.template, client/localhost/ConvDoc*,
server/Conv*: Added tests for unknown headers.
	* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.

svn path=/trunk/mcs/; revision=30628
2004-07-01 17:29:48 +00:00
Lluis Sanchez 26c519a5c8 * Methods.cs: Check for null when looking for a header serializer, since
unknown headers don't have a serializer.
	* SoapHeader.cs: Check for empty string before setting
	  EncodedMustUnderstand.

svn path=/trunk/mcs/; revision=30627
2004-07-01 17:24:21 +00:00
Lluis Sanchez 1e7a58a2e7 * SoapProtocolReflector.cs: Don't generate wsdl for unknown header
attributes.

svn path=/trunk/mcs/; revision=30626
2004-07-01 17:20:52 +00:00
Lluis Sanchez d3ce74361e * Methods.cs, SoapMessage.cs: Added support for unknown headers.
* SoapHeader.cs, SoapUnknownHeader.cs: Added new constructor that takes an
	  XmlElement with header info.
	* WebServiceHelper.cs: Write the encodingStyle attribute when using the
	  encoded format. Added support for unknown headers.

svn path=/trunk/mcs/; revision=30622
2004-07-01 14:11:28 +00:00
Lluis Sanchez 6bf582e92d * WebServiceTest.cs, client/external/BankCodeEJBHomeTest.cs,
client/external/GlobalWeatherTest.cs, client/external/HPcatalogTest.cs,
	  client/external/IODCODESPOSTAUXTest.cs,
	  client/external/TemperatureServiceTest.cs,
	  client/localhost/DataServiceTest.cs,
	  client/localhost/DuplicateArrayTestTest.cs,
	  client/localhost/IncludeTestTest.cs,
	  client/localhost/TestBinding4Test.cs: Use new nunit 2.2 api.

	* server/ConvDocLitWra.asmx, server/ConvDocEncWra.asmx,
	  server/ConvDocLitBar.asmx, server/ConvDocLitWra.asmx,
	  server/ConvRpc.asmx,

	* wstest.cs: Added support for generating tests cases from a template.
	  Useful to test the same case in all formats and protocols.

	* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.

	* client/localhost/ConvDocEncBarTest.cs,
	  client/localhost/ConvDocLitBarTest.cs,
	  client/localhost/ConvDocLitWraTest.cs,
	  client/localhost/ConvRpcTest.cs,
	  client/localhost/ConvDocEncBar.asmx:
	  Improved tests. Use new nunit 2.2 api.

	* Conv.cs.template: template for ConverterService client tests.

	* Conv.asmx.template: template for ConverterService services.

	* templates.xml: Configuration file for generating the tests.

svn path=/trunk/mcs/; revision=30621
2004-07-01 14:04:31 +00:00
Zoltan Varga f1af90bdee 2004-07-02 Zoltan Varga <[email protected]>
* EnumBuilder.cs (CreateType): Call a new icall to set the internal
	type field. Fixes #59833.

svn path=/trunk/mcs/; revision=30620
2004-07-01 12:59:57 +00:00
Zoltan Varga 65b5dbe70c 2004-07-02 Zoltan Varga <[email protected]>
* icall.c: Add EnumBuilder:setup_enum_type icall.

svn path=/trunk/mono/; revision=30619
2004-07-01 12:58:31 +00:00
Zoltan Varga 311dcbd59f 2004-07-02 Zoltan Varga <[email protected]>
* aot.c: Add logging support.

svn path=/trunk/mono/; revision=30615
2004-07-01 11:29:54 +00:00
Zoltan Varga 2cfe840c30 2004-07-02 Zoltan Varga <[email protected]>
* man/mono.1: Added 'aot' to trace options.

svn path=/trunk/mono/; revision=30614
2004-07-01 11:28:20 +00:00
Zoltan Varga 5383f53024 2004-07-02 Zoltan Varga <[email protected]>
* mono-logger.h mono-logger.c: Added AOT component.

svn path=/trunk/mono/; revision=30613
2004-07-01 11:27:16 +00:00
Zoltan Varga 25817da862 2004-07-01 Zoltan Varga <[email protected]>
* mini.h: Add prototype for mono_print_method_from_ip.

svn path=/trunk/mono/; revision=30612
2004-07-01 11:05:40 +00:00
Zoltan Varga e2690b1889 2004-07-01 Zoltan Varga <[email protected]>
* mini.c: 64 bit fixes. Use LCOMPARE for comparing longs.

	* inssel.brg: 64 bit fixes.

	* inssel.brg inssel-long32.brg: Move 32 bit arithmetic rules to
	inssel-long32.brg.

svn path=/trunk/mono/; revision=30611
2004-07-01 11:03:12 +00:00
Lluis Sanchez b41f3fa30e * RemotingConfiguration.cs: Avoid adding "id" and "type" as custom
properties of providers. This fixes bug #60934.

svn path=/trunk/mcs/; revision=30610
2004-07-01 11:02:33 +00:00
Zoltan Varga 6a6bb6466b 2004-07-01 Zoltan Varga <[email protected]>
* Makefile.am: Add SPARC64 support.

svn path=/trunk/mono/; revision=30609
2004-07-01 10:59:51 +00:00
Zoltan Varga 3c5660e0c6 2004-07-02 Zoltan Varga <[email protected]>
* Makefile.am (CLEANFILES): Delete .stdout files too.

svn path=/trunk/mono/; revision=30608
2004-07-01 10:49:50 +00:00
Zoltan Varga 43cabfc1bb 2004-07-02 Zoltan Varga <[email protected]>
* aot.c: Fix alignment problems on 32 bit platforms.

svn path=/trunk/mono/; revision=30607
2004-07-01 10:45:02 +00:00
Zoltan Varga 914b9672a9 2004-07-01 Zoltan Varga <[email protected]>
* helpers.c (mono_disassemble_code): Pass -xarch=v9 to assembler on
	SPARC64.

svn path=/trunk/mono/; revision=30606
2004-07-01 10:42:26 +00:00
Zoltan Varga c72b629e45 2004-07-01 Zoltan Varga <[email protected]>
* aot.c: Add SPARC64 support. Reorganize patch table to fix alignment
	problems.

	* mini.h: Bump AOT file version. Some 64 bit fixes.

svn path=/trunk/mono/; revision=30605
2004-07-01 09:22:34 +00:00
Sureshkumar T b3fcae2543 2004-07-01 Sureshkumar T <[email protected]>
* Added test case for OdbcCommand.ExecuteScalar Method
        * New files:
                OdbcCommandTest.cs      - test suite for OdbcCommand class.

svn path=/trunk/mcs/; revision=30601
2004-07-01 05:38:51 +00:00
Sureshkumar T e45bd026b8 2004-07-01 Sureshkumar T ([email protected])
* OdbcCommand.cs   : fixed reader problem with ExecuteScalar

svn path=/trunk/mcs/; revision=30600
2004-07-01 05:30:37 +00:00
Zoltan Varga f6f47e0a41 2004-06-30 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add new rule to avoid register moves.

svn path=/trunk/mono/; revision=30589
2004-06-30 19:33:10 +00:00
Zoltan Varga 38b97371bb 2004-06-30 Zoltan Varga <[email protected]>
* inssel.brg: Add ldind_to_load_membase helper function.

svn path=/trunk/mono/; revision=30587
2004-06-30 19:28:53 +00:00
Ben Maurer 7b6cc1376d 2004-06-30 Ben Maurer <[email protected]>
* RuntimeHelpers.cs: OffsetToStringData is now and intrinsic,

svn path=/trunk/mcs/; revision=30586
2004-06-30 17:46:17 +00:00
Ben Maurer d011bcc972 the runtime part of the intrinsic OffsetToStringData patch
svn path=/trunk/mono/; revision=30585
2004-06-30 17:46:01 +00:00
Zoltan Varga 14be840c31 2004-06-30 Zoltan Varga <[email protected]>
* ssa.c: Handle OP_LCOMPARE the same as OP_COMPARE.

svn path=/trunk/mono/; revision=30581
2004-06-30 15:14:21 +00:00
Zoltan Varga 82e7e5bb99 2004-06-30 Zoltan Varga <[email protected]>
* objects.cs exceptions.cs basic.cs basic-long.cs basic-calls.cs: New
	regression tests.

svn path=/trunk/mono/; revision=30580
2004-06-30 15:13:03 +00:00
Zoltan Varga 52086817ce 2004-06-30 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add SPARC64 support.

svn path=/trunk/mono/; revision=30579
2004-06-30 15:10:46 +00:00
Zoltan Varga 6b27b55a02 2004-06-30 Zoltan Varga <[email protected]>
* mini-ops.h cpu-sparc.md mini-sparc.h mini-sparc.c exceptions-sparc.c tramp-sparc.c inssel-long.brg: Add SPARC64 support.

svn path=/trunk/mono/; revision=30578
2004-06-30 15:08:54 +00:00
Zoltan Varga 0c3b1698d6 2004-06-30 Zoltan Varga <[email protected]>
* sparc/sparc-codegen.h: Add SPARC64 support.

svn path=/trunk/mono/; revision=30577
2004-06-30 15:04:48 +00:00
Zoltan Varga d499cd4cfc 2004-06-30 Zoltan Varga <[email protected]>
* configure.in: Fix trunc check + add SPARC64 defines.

svn path=/trunk/mono/; revision=30576
2004-06-30 14:55:05 +00:00
Zoltan Varga f1007b5b32 2004-06-30 Zoltan Varga <[email protected]>
* mono-mutex.h atomic.h: Add G_GNUC_UNUSED to static inline functions
	to prevent warnings.

svn path=/trunk/mono/; revision=30575
2004-06-30 14:52:11 +00:00
Zoltan Varga 62d61f8472 2004-06-30 Zoltan Varga <[email protected]>
* class-internals.h (MonoVTable): Make max_interface_id a guint32 so
	it has a constant size across platforms.

svn path=/trunk/mono/; revision=30574
2004-06-30 14:45:08 +00:00
Zoltan Varga 29426ba37a 2004-06-30 Zoltan Varga <[email protected]>
* marshal.c (mono_delegate_end_invoke): Avoid crash when there is no
	stack trace.

svn path=/trunk/mono/; revision=30573
2004-06-30 14:43:23 +00:00
Zoltan Varga ede46accad 2004-06-30 Zoltan Varga <[email protected]>
* strtod.c: Use gint32 for 32 bit types.

svn path=/trunk/mono/; revision=30571
2004-06-30 14:39:48 +00:00
Miguel de Icaza 1fc3540d15 Update CVS policies
svn path=/trunk/mono/; revision=30570
2004-06-30 14:29:44 +00:00
Miguel de Icaza 26c7b44618 Flush
svn path=/trunk/mono/; revision=30569
2004-06-30 14:22:43 +00:00
Paolo Molaro 4cb9b2f954 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <[email protected]>
* NumberFormatInfo.cs: workaround for bug 55978.

svn path=/trunk/mcs/; revision=30568
2004-06-30 14:13:48 +00:00
Umadevi S c5d82e771a 2004-06-30 Umadevi S <[email protected]>
* Tds.cs - In the NextResult method handling TdsPacketSubType. TableName.
	Fixed reading the baseschematable problem. Bugs 59946 and 59948

svn path=/trunk/mcs/; revision=30562
2004-06-30 04:27:52 +00:00
Umadevi S e2e9c7e803 2004-06-30 Umadevi S <[email protected]>
* SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
these Fixes bugs 59946 and 59948.

svn path=/trunk/mcs/; revision=30561
2004-06-30 04:23:58 +00:00
Miguel de Icaza 74666bdb71 Flushage
svn path=/trunk/mono/; revision=30559
2004-06-30 00:18:39 +00:00
Duncan Mak 198c316a65 A bit more
svn path=/trunk/mono/; revision=30558
2004-06-29 23:43:44 +00:00
Duncan Mak 3e23705cee Little fix
svn path=/trunk/mono/; revision=30557
2004-06-29 23:43:11 +00:00
Duncan Mak 5ed836eb64 ONE POINT OH, BABY!
svn path=/trunk/mono/; revision=30556
2004-06-29 23:42:36 +00:00
Marek Safar 30cf47ab7e fixed error message text
svn path=/trunk/mcs/; revision=30529
2004-06-29 15:20:53 +00:00
10626 changed files with 70153 additions and 1748215 deletions

No files matched your search

+2
View File
@@ -21,3 +21,5 @@ autom4te.cache
mint.pc
stamp-h1
config.h.in
_tmpinst
tmpinst-dir.stamp
+98
View File
@@ -1,3 +1,101 @@
2004-08-14 Zoltan Varga <[email protected]>
* configure.in (HAVE_KW_THREAD): Pass USE_COMPILER_TLS to libgc if
__thread works.
2004-08-11 Zoltan Varga <[email protected]>
* configure.in: Fix __thread test.
2004-08-07 Zoltan Varga <[email protected]>
* configure.in: Add proper checks for the 'undefined reference to '__tls_get_addr' problem.
2004-08-06 Geoff Norton <[email protected]>
* configure.in: Add a kqueue check
2004-08-03 Neale Ferguson <[email protected]>
* configure.in: Enable S/390 64-bit JIT.
2004-07-31 Zoltan Varga <[email protected]>
* configure.in: Enable AMD64 JIT.
2004-07-30 Martin Baulig <[email protected]>
* Makefile.am: The symbol writer is now called
Mono.CompilerServices.SymbolWriter.dll.
2004-07-30 Raja R Harinath <[email protected]>
* runtime/Makefile.am (monoone_DATA): Add mcs.exe.config.
(gmcs_exe): Add gmcs.exe.config.
($(monoone_DATA) $(monotwo_DATA) ...): Add location of the .config
files too.
2004-07-29 Lluis Sanchez Gual <[email protected]>
* Makefile.am: Copy machine.config in the correct _tmpinst subdirectory.
2004-07-28 Lluis Sanchez Gual <[email protected]>
* configure.in: Added data/net_1_1 and data/net_2_0 to the build.
* data/Makefile.am: Removed installation of machine.config and
DefaultWsdlHelpGenerator.aspx. Those now are in a version-specific
directory.
* data/net_1_1/Makefile.am, data/net_2_0/Makefile.am: new makefiles for
installing 1.1 and 2.0 makefiles.
* runtime/net_1_1/Makefile.am, runtime/net_2_0/Makefile.am: Install mscorlib
at the correct version specific directory.
2004-07-27 John Merryweather Cooper <[email protected]>
* configure.in: Disable __thread test (TLS) for FreeBSD as
it succeeds on FreeBSD 5.x when it should fail. Fix pthread
library detection for FreeBSD 4.x since pthread is embedded
in libc_r on this platform. Fix some typos in my host
regexes for freebsd.
2004-07-23 Dick Porter <[email protected]>
* configure.in: Changes for FreeBSD thread support by John
Merryweather Cooper <[email protected]>.
2004-07-15 Jackson Harper <[email protected]>
* man/gacutil.1: MONO_GAC_PREFIX not MONO_GAC_PATH
2004-07-12 Massimiliano Mantione <[email protected]>
* docs/abc-removal.txt: Updated documentation for ABC removal.
2004-07-12 Massimiliano Mantione <[email protected]>
* mono/mini/abcremoval.c: Rewritten most of ABC removal.
* mono/mini/abcremoval.h: Rewritten most of ABC removal.
* mono/mini/build_relations_propagation_table.pl: Deleted (unneeded after the rewrite).
* mono/mini/propagated_relations_table.def: Deleted (unneeded after the rewrite).
2004-07-03 Zoltan Varga <[email protected]>
* configure.in: Add --with-tls option to replace the misnamed
--with-nptl option.
2004-07-02 Raja R Harinath <[email protected]>
* Makefile.am (mcs-do-basic-build, mcs-do-short-build):
Pass NO_SIGN_ASSEMBLY=yes to sub-make.
($(tmpinst)/bin/mono) [PLATFORM_WIN32]: Make it work.
2004-07-02 Zoltan Varga <[email protected]>
* man/mono.1: Added 'aot' to trace options.
2004-06-30 Zoltan Varga <[email protected]>
* configure.in: Fix trunc check + add SPARC64 defines.
2004-06-29 Jackson Harper <[email protected]>
* man/gacutil.1: Update man with new command line options.
+8 -8
View File
@@ -48,7 +48,7 @@ MCS_BASIC_FILES = \
MCS_DIRS = $(MCS_BASIC_DIRS) class/System.XML class/System class/Mono.CSharp.Debugger
MCS_FILES = $(MCS_BASIC_FILES) \
$(mcs_topdir)/class/lib/default/System.Xml.dll \
$(mcs_topdir)/class/lib/default/Mono.CSharp.Debugger.dll
$(mcs_topdir)/class/lib/default/Mono.CompilerServices.SymbolWriter.dll
tmpinst = _tmpinst
@@ -118,14 +118,14 @@ mono-do-runtime-only: $(CONFIG_HEADER)
mcs-do-basic-build:
rm -f $(MCS_FILES)
for dir in $(MCS_BASIC_DIRS); do \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || exit 1 ; \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default NO_SIGN_ASSEMBLY=yes USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || exit 1 ; \
done
mcs-do-short-build:
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH; export PATH ; \
for dir in $(MCS_DIRS); do \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default) || exit 1 ; \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default NO_SIGN_ASSEMBLY=yes) || exit 1 ; \
done
mcs-do-full-build:
@@ -156,10 +156,10 @@ populate-runtime-subdir:
rm -rf $(tmpinst)/prefix
tmpinst-dir:
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono/1.0
$(MAKE) tmpinst-dir-contents
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/machine.config
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/1.0/machine.config
if PLATFORM_WIN32
@@ -170,7 +170,7 @@ $(tmpinst)/bin/mono: $(srcdir)/Makefile.am
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH="$$tmpinst\\lib"; else MONO_PATH="$${MONO_PATH};$$tmpinst\\lib" ; fi' >> $@
echo 'MONO_CFG_DIR="$$tmpinst\\etc"' >> $@
echo 'export MONO_PATH MONO_CFG_DIR' >> $@
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/mono.exe" "$$@"' >> $@
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/$(mono_runtime).exe" "$$@"' >> $@
chmod +x $@
else
@@ -190,9 +190,9 @@ $(tmpinst)/bin/mcs: $(srcdir)/Makefile.am
(t=`cd $(tmpinst) && pwd`; echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$t/lib/mcs.exe"'" "$$@"') > $@
chmod +x $@
$(tmpinst)/etc/mono/machine.config: $(srcdir)/data/machine.config
$(tmpinst)/etc/mono/1.0/machine.config: $(srcdir)/data/net_1_1/machine.config
rm -f $@
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono && $(LN_S) $$srcdir/data/machine.config machine.config
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono/1.0 && $(LN_S) $$srcdir/data/net_1_1/machine.config machine.config
# Obsolete target -- don't use.
.PHONY: fullbuild
+150 -15
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,1.0)
AM_INIT_AUTOMAKE(mono,1.1.1)
AM_MAINTAINER_MODE
AC_PROG_LN_S
@@ -67,7 +67,62 @@ case "$host" in
libdl=
libgc_threads=no
;;
*-*-*freebsd*|*-*-*openbsd*)
# these flags will work for all versions of -STABLE
#
*-*-*freebsd4*)
platform_win32=no
if test "x$PTHREAD_CFLAGS" = "x"; then
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
libmono_cflags="-D_THREAD_SAFE"
else
CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
libmono_cflags="$PTHREAD_CFLAGS"
fi
if test "x$PTHREAD_LIBS" = "x"; then
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
else
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
libmono_ldflags="$PTHREAD_LIBS"
fi
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
libgc_threads=pthreads
# TLS isn't implemented at all on -STABLE
with_nptl=no
with_tls=pthread
;;
# older versions of -CURRENT will break with these flags but testing
# indicates these older versions won't run Mono anyway
#
*-*-*freebsd5*)
platform_win32=no
if test "x$PTHREAD_CFLAGS" = "x"; then
CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS"
libmono_cflags=
else
CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
libmono_cflags="$PTHREAD_CFLAGS"
fi
if test "x$PTHREAD_LIBS" = "x"; then
LDFLAGS="$LDFLAGS -lpthread"
libmono_ldflags="-lpthread"
else
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
libmono_ldflags="$PTHREAD_LIBS"
fi
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
libgc_threads=pthreads
# TLS is only partially implemented on -CURRENT (compiler support
# but NOT library support)
#
with_nptl=no
with_tls=pthread
;;
*-*-*openbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
libmono_cflags="-D_THREAD_SAFE"
@@ -176,9 +231,6 @@ AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/mini/tramp-x86.c
AC_CHECK_HEADERS(valgrind/memcheck.h)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
@@ -248,9 +300,21 @@ AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default]
# Enable support for fast thread-local storage
# Some systems have broken support, so we allow to disable it.
# This is misnamed: __thread support has no relation to NPTL,
# but people already use it...
AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for __thread support],[],[with_nptl=yes])
AC_ARG_WITH(tls, [ --with-tls=__thread,pthread select Thread Local Storage implementation],[],[with_tls=__thread])
# Kept for compatibility
AC_ARG_WITH(nptl, [ --with-nptl=yes,no deprecated, use --with-tls instead],[],[with_nptl=default])
if test "x$with_nptl" != "xdefault"; then
if test "x$with_nptl" = "xyes"; then
AC_MSG_WARN([--with-nptl=yes is deprecated, use --with-tls=__thread option instead.])
with_tls=__thread
fi
if test "x$with_nptl" = "xno"; then
AC_MSG_WARN([--with-nptl=no is deprecated, use --with-tls=pthread option instead.])
with_tls=pthread
fi
fi
# Enable support for using sigaltstack for SIGSEGV and stack overflow handling
# This does not work on some platforms (bug #55253)
@@ -399,6 +463,7 @@ if test x$platform_win32 = xno; then
AC_CHECK_FUNCS(getpwuid_r)
AC_CHECK_FUNCS(getresuid)
AC_CHECK_FUNCS(setresuid)
AC_CHECK_FUNCS(kqueue)
dnl ******************************************************************
dnl *** Check for large file support ***
@@ -641,7 +706,17 @@ if test x$platform_win32 = xno; then
dnl *****************************
dnl *** Checks for libpthread ***
dnl *****************************
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
# on FreeBSD -STABLE, the pthreads functions all reside in libc_r
# and libpthread does not exist
#
case "${host}" in
*-*-*freebsd4*)
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -pthread")
;;
*)
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
;;
esac
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np)
@@ -662,7 +737,7 @@ if test x$platform_win32 = xno; then
dnl *** Checks for working __thread ***
dnl ***********************************
AC_MSG_CHECKING(for working __thread)
if test "x$with_nptl" != "xyes"; then
if test "x$with_tls" != "x__thread"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
@@ -696,9 +771,9 @@ if test x$platform_win32 = xno; then
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KW_THREAD)
], [
AC_MSG_RESULT(no)
with_tls=pthread
])
fi
@@ -953,9 +1028,22 @@ ac_cv_c_socklen_t=yes
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(for array element initalizer support)
AC_TRY_COMPILE([#include <sys/socket.h>], [
const int array[] = {[1] = 2,};
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_ARRAY_ELEM_INIT,1,[Supports C99 array initialization])
], [
# We'll have to use signals
AC_MSG_RESULT(no)
])
AC_CHECK_FUNCS(trunc, , AC_MSG_CHECKING(for trunc in math.h)
# Simply calling trunc (0.0) is no good since gcc will optimize the call away
AC_TRY_LINK([#include <math.h>],
[ trunc(0.0); ],
[ static void *p = &trunc; ],
[
AC_DEFINE(HAVE_TRUNC)
AC_MSG_RESULT(yes)
@@ -1093,10 +1181,15 @@ case "$host" in
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=amd64;
JIT_SUPPORTED=no
JIT_SUPPORTED=yes
jit_wanted=true
;;
sparc*-*-*)
TARGET=SPARC;
if test "x$ac_cv_sizeof_void_p" = "x8"; then
TARGET=SPARC64
else
TARGET=SPARC
fi
arch_target=sparc;
JIT_SUPPORTED=yes
ACCESS_UNALIGNED="no"
@@ -1152,6 +1245,12 @@ case "$host" in
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
;;
s390x-*-linux*)
TARGET=S390x;
arch_target=s390x;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
;;
esac
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
@@ -1187,6 +1286,37 @@ case "$host" in
esac
AC_SUBST(libsuffix)
if test "x$TARGET" != "xAMD64"; then
# valgrind headers don't compile under x86-64
AC_CHECK_HEADERS(valgrind/memcheck.h)
fi
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then
if test "x$with_tls" = "x__thread"; then
#
# On some linux distributions, TLS works in executables, but linking
# against a shared library containing TLS fails with:
# undefined reference to `__tls_get_addr'
#
rm -f conftest.c conftest.so conftest
echo "static __thread int foo; void main () { foo = 5; }" > conftest.c
gcc -fPIC --shared -o conftest.so conftest.c > /dev/null 2>&1
gcc -o conftest conftest.so > /dev/null 2>&1
if test ! -f conftest; then
AC_MSG_WARN([Disabling usage of __thread.]);
with_tls=pthread
fi
rm -f conftest.c conftest.so conftest
fi
fi
if test "x$with_tls" = "x__thread"; then
AC_DEFINE(HAVE_KW_THREAD)
# Pass the information to libgc
CPPFLAGS="$CPPFLAGS -DUSE_COMPILER_TLS"
export CPPFLAGS
fi
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
@@ -1227,6 +1357,7 @@ AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
AM_CONDITIONAL(SPARC64, test x$TARGET = xSPARC64)
AM_CONDITIONAL(X86, test x$TARGET = xX86)
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
@@ -1235,6 +1366,7 @@ 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)
AM_CONDITIONAL(S390x, test x$TARGET = xS390x)
AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
@@ -1266,6 +1398,7 @@ mono/arch/hppa/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/s390/Makefile
mono/arch/s390x/Makefile
mono/arch/arm/Makefile
mono/arch/alpha/Makefile
mono/interpreter/Makefile
@@ -1287,6 +1420,8 @@ man/Makefile
web/Makefile
docs/Makefile
data/Makefile
data/net_1_1/Makefile
data/net_2_0/Makefile
samples/Makefile
support/Makefile
data/config
@@ -1299,7 +1434,7 @@ echo "
GC: $gc
ICU: $enable_icu
__thread: $with_nptl
TLS: $with_tls
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
2.0 Alpha: $PREVIEW
+2 -4
View File
@@ -1,12 +1,10 @@
SUBDIRS = net_1_1 net_2_0
monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
mono_DATA = config \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
+2
View File
@@ -0,0 +1,2 @@
Makefile
Makefile.in
File diff suppressed because it is too large. Load diff
+8
View File
@@ -0,0 +1,8 @@
monodir = $(sysconfdir)/mono/1.0
EXTRA_DIST = machine.config \
DefaultWsdlHelpGenerator.aspx
mono_DATA = machine.config \
DefaultWsdlHelpGenerator.aspx
+216
View File
@@ -0,0 +1,216 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webControls"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="compilation"
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
<section name="clientTarget"
type="System.Web.Configuration.ClientTargetSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
<defaultProxy>
<proxy />
<!-- bypassonlocal and proxyaddress are ok -->
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<!--<user name="gonzalo" password="gonz"/>-->
</credentials>
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
<!--
culture="en-US"
uiculture="en-US" />
-->
<sessionState mode="InProc" />
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
<add assembly="System" />
<add assembly="System.Xml" />
<add assembly="System.Data" />
<add assembly="System.Web" />
<add assembly="System.Web.Services" />
<add assembly="System.Drawing" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
</compilation>
<httpRuntime executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
<pages buffer="true"
enableSessionState="true"
autoEventWireup="true"
validateRequest="true" />
<clientTarget>
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="downlevel" userAgent="Unknown" />
</clientTarget>
</system.web>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
<!--<clear/> Removes all defined settings -->
</appSettings>
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
<strongNames>
<pubTokenMapping>
<!-- ECMA key -->
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (final) key -->
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (Web Service Enhancement) key -->
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- IBM (DB2 Data Provider) key -->
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
</pubTokenMapping>
</strongNames>
</configuration>
+2
View File
@@ -0,0 +1,2 @@
Makefile
Makefile.in
File diff suppressed because it is too large. Load diff
+8
View File
@@ -0,0 +1,8 @@
monodir = $(sysconfdir)/mono/2.0
EXTRA_DIST = machine.config \
DefaultWsdlHelpGenerator.aspx
mono_DATA = machine.config \
DefaultWsdlHelpGenerator.aspx
+216
View File
@@ -0,0 +1,216 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webControls"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="compilation"
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
<section name="clientTarget"
type="System.Web.Configuration.ClientTargetSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
<defaultProxy>
<proxy />
<!-- bypassonlocal and proxyaddress are ok -->
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<!--<user name="gonzalo" password="gonz"/>-->
</credentials>
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
<!--
culture="en-US"
uiculture="en-US" />
-->
<sessionState mode="InProc" />
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
<add assembly="System" />
<add assembly="System.Xml" />
<add assembly="System.Data" />
<add assembly="System.Web" />
<add assembly="System.Web.Services" />
<add assembly="System.Drawing" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
</compilation>
<httpRuntime executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
<pages buffer="true"
enableSessionState="true"
autoEventWireup="true"
validateRequest="true" />
<clientTarget>
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="downlevel" userAgent="Unknown" />
</clientTarget>
</system.web>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
<!--<clear/> Removes all defined settings -->
</appSettings>
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
<strongNames>
<pubTokenMapping>
<!-- ECMA key -->
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (final) key -->
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (Web Service Enhancement) key -->
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- IBM (DB2 Data Provider) key -->
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
</pubTokenMapping>
</strongNames>
</configuration>
+78 -301
View File
@@ -30,8 +30,10 @@ Unfortunately, analyzing complex expressions is not so easy (see below for
details), so the capabilities of this "abc remover" are limited.
These are simple guidelines:
- Only simple comparisons between variables are understood.
- Only increment-decrement operations are handled.
- Only expressions of the following kinds are handled:
- constant
- variable [+/- constant]
- Only comparisons between "handled" expressions are understood.
- "switch" statements are not yet handled.
This means that code like this will be handled well:
@@ -59,16 +61,24 @@ for (int i = l; i > 0; i--) {
a [i] = .....
}
The following two examples would work:
for (int i = 0; i < (a.Length -1); i++) .....
for (int i = 0; i < a.Length; i += 2) .....
But just something like this
for (int i = 0; i < (a.Length -1); i++) .....
int delta = -1;
for (int i = 0; i < (a.Length + delta); i++) .....
or like this
for (int i = 0; i < a.Length; i += 2) .....
int delta = +2;
for (int i = 0; i < a.Length; i += delta) .....
would not work, the check would stay there, sorry :-(
(unless a combination of cfold, consprop and copyprop is used, too, which
would make the constant value of "delta" explicit).
Just to make you understand how things are tricky... this would work!
@@ -81,26 +91,9 @@ for (int i = 0; i < limit; i++) {
A detailed explanation of the reason why things are done like this is given
below...
All in all, the compiling phase is generally non so fast, and the abc removed
are so few, that there is hardly a performance gain in using the "abcrem"
flag in the compiling options for short programs like the ones I tried.
Anyway, various bound checks *are* removed, and this is good :-)
------------------------------------------------------------------------------
THE ALGORITHM
Unfortunately, this time google has not been my friend, and I did not
find an algorithm I could reasonably implement in the time frame I had,
so I had to invent one. The two cleasses of algorithms I found were either
simply an analisys of variable ranges (which is not very different from
what I'm doing), or they were based on type systems richer than the .NET
one (particularly, they required integer types to have an explicit range,
which could be related to array ranges). By the way, it seems that the
gcj people do not have an array bound check removal optimization (they
just have a compiler flag that unconditionally removes all the checks,
but this is not what we want).
This array bound check removal (abc removal) algorithm is based on
symbolic execution concepts. I handle the removal like an "unreachable
code elimination" (and in fact the optimization could be extended to remove
@@ -202,9 +195,9 @@ one of the definitions of i is a PHI that can be either 0 or "i + 1".
Now, we know that mathematically "i = i + 1" does not make sense, and in
fact symbolic values are not "equations", they are "symbolic definitions".
The symbolic value of i is a generic "n", where "n" is the number of
The actual symbolic value of i is a generic "n", where "n" is the number of
iterations of the loop, but this is terrible to handle (and in more complex
examples the symbolic definition of i simply cannot be written, because i is
examples the symbolic value of i simply cannot be written, because i is
calculated in an iterative way).
However, the definition "i = i + 1" tells us something about i: it tells us
@@ -227,13 +220,25 @@ conditions that could have caused to the removal of an abc, but will
not remove checks "by mistake" (so the resulting code will be in any case
correct).
In a first attempt, we can consider only conditions that have the simple
possible form, which is "(compare simpleExpression simpleExpression)",
where "simpleExpression" is either "(ldind.* local[*])" or
"(ldlen (ldind.ref local[*]))" (or a constant, of course).
The expressions we handle are the following (all of integer type):
- constant
- variable
- variable + constant
- constant + variable
- variable - constant
We can also "summarize" variable definitions, keeping only what is relevant
to know: if they are greater or smaller than zero or other variables.
And, of course, PHI definitions.
Any other expression causes the introduction of an "any" value in the
evaluation, which makes all values that depend from it unknown as well.
We will call these kind of definitions "summarizable" definitions.
In a first attempt, we can consider only branch conditions that have the
simplest possible form (the comparison of two summarizable expressions).
We can also simplify the effect of variable definitions, keeping only
what is relevant to know: their value range with respect to zero and with
respect to the length of the array we are currently handling.
One particular note on PHI functions: they work (obviously) like the logical
"or" of their definitions, and therefore are equivalent to the "logical or"
@@ -245,281 +250,53 @@ if the recursive definition (which, as we said above, must happen because
of a loop) always "grows" or "gets smaller". In all other cases, we decide
we cannot handle it.
So, the algorithm to optimize one method could be something like:
[1] Build the SSA representation.
[2] Analyze each BB. Particularly, do the following:
[2a] summarize its exit conditions
[2b] summarize all the variable definitions occurring in the BB
[2c] check if it contains array accesses (only as optimization, so that
step 3 will be performed only when necessary)
[3] Perform the removal. For each BB that contains array accesses, do:
[3a] build an evaluation area where for each variable we keep track
of its relations with zero and with each other variable.
[3b] populate the evaluation area with the initial data (the variable
definitions and the complete entry condition of the BB)
[3c] propagate the relations between variables (so that from "a<b" and
"b<c" we know that "a<c") in the evaluation area
[3d] for each array access in the BB, use the evaluation area to "match
conditions", to see if the goal functions are satisfied
One critical thing, once we have defined all these data structures, is how
the evaluation is actually performed.
In a first attempt I coded a "brute force" approach, which for each BB
tried to examine all possible conditions between all variables, filling
a sort of "evaluation matrix". The problem was that the complexity of this
evaluation was quadratic (or worse) on the number of variables, and that
many wariables were examined even if they were not involved in any array
access.
Following the ABCD paper (http://citeseer.ist.psu.edu/bodik00abcd.html),
I rewrote the algorithm in a more "sparse" way.
Now, the main data structure is a graph of relations between variables, and
each attempt to remove a check performs a traversal of the graph, looking
for a path from the index to the array length that satisfies the properties
"index >= 0" and "index < length". If such a path is found, the check is
removed. It is true that in theory *each* traversal has a complexity which
is exponential on the number of variables, but in practice the graph is not
very connected, so the traversal terminates quickly.
------------------------------------------------------------------------------
LOW LEVEL DESIGN DECISIONS
Then, the algorithm to optimize one method looks like this:
One of the problems I had to solve was the representation of the relations
between symbolic values.
The "canonical" solution would be to have a complex, potentially recursive
data structure, somewhat similar to MonoInst, and use it all the time (maybe
MonoInst could be used "as is").
The problem is that, at this point, the software would have to "play" with
these structures, for instance to deduce "b < a-1" from "a > b+1", because we
are interested in what value b has, and not a. And maybe the software should
be able to do this without modifying the original condition, because it was
used elsewhere (or could be reused).
Then, the software should also be able to apply logical relations to
conditions (like "(a>0)||(c<1)"), and manipulate them, too.
In my opinion, an optimizer written in this way risks to be too complex, and
its performance not acceptable in a JIT compiler.
Therefore, I decided to represent values in a "summarized" way.
For instance, "x = a + 1" becomes "x > a" (and, by the way, "x = x + 1"
would look like "x > x", which means that "x grows").
So, each variable value is simply a "relation" of the variable with other
variables or constants. Anything more complex is ignored.
Relations are represented with flags (EQ, LT and GT), so that it is easy
to combine them logically (it is enough to perform the bitwise operations
on the flags). The condition (EQ|LT|GT) means we know nothing special, any
value is possible. The empty condition would mean an unreachable statement
(because no value is acceptable).
There is still the problem of identifying variables, and where to store all
these relations. After some thinking, I decided that a "brute force" approach
is the easier, and probably also the fastest. In practice, I keep in memory
an array of "variable relations", where for each variable I record its
relation with the constants 0 and 1 and an array of its relations with all
other variables. The evaluation area, therefore, looks like a square matrix
as large as the number of variables. I *know* that the matrix is rather sparse
(in the sense that only few of its cells are significant), but I decided that
this data structure was the simplest and more efficient anyway. After all,
each cell takes just one byte, and any other data structure must be some
kind of associative array (like a g_hash_table). Such a data structue is
difficult to use with a MonoMemPool, and in the end is slower than a plain
array, and has the storage overhead of all the pointers... in the end, maybe
the full matrix is not a waste at all.
<note>
After a few benchmarks, I clearly see that the matrix works well if the
variables are not too much, otherwise it gets "too sparse", and much time
is wasted in the propagation phase. Maybe the data structure could be changed
after a more careful evaluation of the problem...
</note>
With these assumptions, all the memory used to represent values, conditions
and the evaluation area can be allocated in advance (from a MonoMemPool), and
used for all the analysis of one method. Moreover, the performance of logical
operations is high (they are simple bitwise operations on bytes).
<note>
For the propagation phase, there was a function I could not easily code
with bitwise operations. As that phase is a real pain for the performance
(the complexity is quadratic, and it must be executed iteratively until
nothing changes), I decided to code it in perl, and generate a precomputed
table then used by the C code (just 64 bytes). I think this is faster than
all those branches... Really, I could think again to phases 3c and 3d (see
above), maybe there is a better way to do them.
</note>
Of course not all expressions can be handled by the summarization, so the
optimizer is not as effective as a full blown theorem prover...
Another thing related to design... the implementation is as less intrusive
as possible.
I "patched" the main files to add an option for abc removal, and handle it
just like any other option, and then wrote all the relevant code in two
separated files (one header for data structures, and a C file for the code).
If the patch turns out to be useful also for other pourposes (like a more
generic "unreachable code elimination", that detects branches that will never
be taken using the analysis of variable values), it will not be difficult
to integrate the branch summarizations into the BasicBlock data structures,
and so on.
One last thing... in some places, I knowingly coded in an inefficient way.
For instance, "remove_abc_from_block" does something only if the flag
"has_array_access_instructions" is true, but I call it anyway, letting it
do nothing (calling it conditionally would be better). There are several
things like this in the code, but I was in a hurry, and preferred to make
the code more readable (it is already difficult to understand as it is).
------------------------------------------------------------------------------
WHEN IS ABC REMOVAL POSSIBLE? WHEN IS IT USEFUL?
Warning! Random ideas ahead!
In general, managed code should be safe, so abc removal is possible only if
there already is some branch in the method that does the check.
So, one check on the index is "mandatory", the abc removal can only avoid a
second one (which is useless *because* of the first one).
If in the code there is not a conditional branch that "avoids" to access
an array out of its bounds, in general the abc removal cannot occur.
It could happen, however, that one method is called from another one, and
the check on the index is performed in the caller.
For instance:
void
caller( int[] a, int n ) {
if ( n <= a.Length ) {
for ( int i = 0; i < n; i++ ) {
callee( a, i );
}
}
}
void callee( int[] a, int i ) {
Console.WriteLine( "a [i] = " + a [i] );
}
[1] Preparation:
[1a] Build the SSA representation.
[1b] Prepare the evaluation graph (empty)
[1b] Summarize each varible definition, and put the resulting relations
in the evaluation graph
[2] Analyze each BB, starting from the entry point and following the
dominator tree:
[2a] Summarize its entry condition, and put the resulting relations
in the evaluation graph (this is the reason why the BBs are examined
following the dominator tree, so that conditions are added to the
graph in a "cumulative" way)
[2b] Scan the BB instructions, and for each array access perform step [3]
[2c] Process children BBs following the dominator tree (step [2])
[2d] Remove from the evaluation area the conditions added at step [2a]
(so that backtracking along the tree the area is properly cleared)
[3] Attempt the removal:
[3a] Summarize the index expression, to see if we can handle it; there
are three cases: the index is either a constant, or a variable (with
an optional delta) or cannot be handled (is a "any")
[3b] If the index can be handled, traverse the evaluation area searching
a path from the index variable to the array length (if the index is
a constant, just examine the array length to see if it has some
relation with this constant)
[3c] Use the results of step [3b] to decide if the check is redundant
In this case, it should be possible to have two versions of the callee, one
without checks, to be called from methods that do the check themselves, and
another to be called otherwise.
This kind of optimization could be profile driven: if one method is executed
several times, wastes CPU time for bound checks, and is mostly called from
another one, it could make sense to analyze the situation in detail.
However, one simple way to perform this optimization would be to inline
the callee (so that the abc removal algorithm can see both methods at once).
The biggest benefits of abc removal can be seen for array accesses that
occur "often", like the ones inside inner loops. This is why I tried to
handle "recursive" variable definitions, because without them you cannot
optimize inside loops, which is also where you need it most.
Another possible optimization (alwais related to loops) is the following:
void method( int[] a, int n ) {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] );
}
}
In this case, the check on n is missing, so the abc could not be removed.
However, this would mean that i will be checked twice at each loop iteration,
one against n, and the other against a.Length. The code could be transformed
like this:
void method( int[] a, int n ) {
if ( n < a.Length ) {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] ); // Remove abc
}
} else {
for ( int i = 0; i < n; i++ ) {
Console.WriteLine( "a [i] = " + a [i] ); // Leave abc
}
}
}
This could result in performance improvements (again, probably this
optimization should be profile driven).
------------------------------------------------------------------------------
OPEN ISSUES
There are several issues that should still be addressed...
One is related to aliasing. For now, I decided to operate only on local
variables, and ignore aliasing problems (and alias analisys has not yet
been implemented anyway).
Actually, I identified the local arrays with their length, because I
totally ignore the contents of arrays (and objects in general).
Also, in several places in the code I only handle some cases, and ignore
other more complex ones, which could anyway work (there are comments where
this happens). Anyway, this is not harmful (the code is not as effective
as it could be).
Another possible improvement is the explicit handling of all constants.
For now, code like
void
method () {
int[] a = new int [16];
for ( int i = 0; i < 16; i++ ) {
a [i] = i;
}
}
is not handled, because the two constants "16" are lost when variable
relations are summarized (actually they are not lost, they are stored in the
summarized values, but they are not yet used correctly).
The worst thing, anyway, is that for now I fail completely in distinguishing
between signed and unsigned variables/operations/conditions, and between
different integer sizes (in bytes). I did this on pourpose, just for lack of
time, but this can turn out to be terribly wrong.
The problem is caused by the fact that I handle arithmetical operations and
conditions as "ideal" operations, but actually they can overflow and/or
underflow, giving "surprising" results.
For instance, look at the following two methods:
public static void testSignedOverflow()
{
Console.WriteLine( "Testing signed overflow..." );
int[] ia = new int[70000];
int i = 1;
while ( i <ia.Length )
{
try
{
Console.WriteLine( " i = " + i );
ia[i] = i;
}
catch ( IndexOutOfRangeException e )
{
Console.WriteLine( "Yes, we had an overflow (i = " + i + ")" );
}
i *= 60000;
}
Console.WriteLine( "Testing signed overflow done." );
}
public static void testUnsignedOverflow()
{
Console.WriteLine( "Testing unsigned overflow..." );
int[] ia = new int[70000];
uint i = 1;
while ( i <ia.Length )
{
try
{
Console.WriteLine( " i = " + i );
ia[i] = (int) i;
}
catch ( IndexOutOfRangeException e )
{
Console.WriteLine( "Yes, we had an overflow (i = " + i + ")" );
}
i *= 60000;
}
Console.WriteLine( "Testing unsigned overflow done." );
}
In the "testSignedOverflow" method, the exception will be thrown, while
in the "testUnsignedOverflow" everything will go on smoothly.
The problem is that the test "i <ia.Length" is a signed comparison in the
first case, and will not exit from the loop if the index is negative.
Therefore, in the first method, the abc should not be removed.
In practice, the abc removal code should try to predict if any given
expression could over/under-flow, and act accordingly.
For now, I made so that the only accepted expressions are plain increments
and decrements of variables (which cannot over/under-flow without being
trapped by the existing conditions). Anyway, this issue should be analyzed
better.
By the way, in summarizations there is a field that keeps track of the
relation with "1", which I planned to use exactly to summarize products and
quotients, but it is never used (as I said, only increment and decrement
operations are properly summarized).
+96
View File
@@ -0,0 +1,96 @@
Handling GC allocated objects in C
As part of an effort to improve our GC, we need to keep track
precisely of where objects are stored, so we can incrementally move
from the current conservative GC to a more advanced precise and moving GC.
Previously, all global C variables were considered GC roots, but this makes
the GC less efficient and increases the chances false references are found
to GC memory, hence retaining more memory than needed.
We need to tell the GC that some object is supposed to be kept alive
as if it was referenced in a global variable.
For Mono embedders
------------------
In C#, if you say:
class T {
static object o;
}
Any object which is stored in `o' is considered to be alive -- it will
not be collected. `o' is a member of the root set for the GC.
However, in C code, this is not the case. If you have:
static MonoObject* o = NULL;
The object in `o' will *NOT* be scanned.
If you need to store an object in a C variable and prevent it from being
collected, you need to acquire a GC handle for it.
guint32 handle = mono_gchandle_new (my_object, TRUE);
TRUE means the object will be pinned, so it won't move in memory
when we'll use a moving GC. You can access the MonoObject* referenced by
a handle with:
MonoObject* obj = mono_gchandle_get_target (handle);
When you don't need the handle anymore you need to call:
mono_gchandle_free (handle);
Note that if you assign a new object to the C var, you need to get a new
handle, it's not enough to store a new object in the C var.
So code that looked like this:
static MonoObject* o = NULL;
...
o = mono_object_new (...);
/* use o */
...
/* when done to allow the GC to collect o */
o = NULL;
should now be changed to:
static guint32 o_handle;
...
MonoObject *o = mono_object_new (...);
o_handle = mono_gchandle_new (o, TRUE);
/* use o or mono_gchandle_get_target (o_handle) */
...
/* when done to allow the GC to collect o */
mono_gchandle_free (o_handle);
For Mono runtime developers
---------------------------
There are two kinds of static vars used to store pointers to GC memory
that we need to consider:
*) objects
*) other memory chunks allocated with GC_MALLOC().
Objects should be dealt with the GC handle support as detailed above.
Other items should register the static pointer as an area to be considered
part of the root set with the following:
static gpointer my_gc_data = NULL;
...
MONO_GC_REGISTER_ROOT (my_gc_data);
my_gc_data = GC_MALLOC (...);
Note that this registration is not necessary for *LOCAL* variables,
as they are stored on the stack. It is only necessary for global variables,
as they are not a part of the GC's root set.
Once you have done the MONO_GC_REGISTER_ROOT, the variable is just like
a static variable in C#. To keep an object alive, you have the variable reference
the GC memory, to remove the reference, set the variable to NULL.
As we prepare the code for a precise GC, GC_MALLOC () will not be used anymore
in this way in most cases: we'll have a mechanism to specify exactly where
references to GC memory is stored.
+27
View File
@@ -422,3 +422,30 @@
we replace one or more instructions with others that perform
better for the given architecture or CPU.
* 64 bit support tips, by Zoltan Varga ([email protected])
For a 64-bit port of the Mono runtime, you will typically do
the following:
* need to use inssel-long.brg instead of
inssel-long32.brg.
* need to implement lots of new opcodes:
OP_I<OP> is 32 bit op
OP_L<OP> and CEE_<OP> are 64 bit ops
The 64 bit version of an existing port might share the code
with the 32 bit port (for example SPARC/SPARV9), or it might
be separate (x86/AMD64).
That will depend on the similarities of the two instructions
sets/ABIs etc.
The runtime and most parts of the JIT are 64 bit clean
at this point, so the only parts which require changing are
the arch dependent files.
+68
View File
@@ -0,0 +1,68 @@
We need to switch to a new register allocator.
The current one is split in a global and a local register allocator.
The global one can assign only callee-saves registers and happens
on the tree-based internal representation: it assigns local variables
to hardware registers.
The local one happens on the linear representation on a per basic
block basis and assigns hard registers to virtual registers (which
hold temporary values during expression executions) and it deals also
with the platform-specific issues (fixed registers, call conventions).
Moving to a different register will help solve some of the performance
issues introduced by the above split, make the register more easily
portable and solve some of the issues generated by dealing with trees.
The general design ideas are below.
The new allocator should have a global view of all the method, so it can be
able to assign variables also to some of the volatile registers if possible,
even across basic blocks (this would improve performance).
The allocator would be driven by per-arch declarative data, so porting
should be easier: an architecture needs to specify register classes,
call convention and instructions requirements (similar to the gcc code).
The allocator should operate on the linear representation, this way it's
easier and faster to track usages more correctly. We need to assign virtual
registers on a per-method basis instead of per basic block. We can assign
virtual registers to variables, too. Note that since we fix the stack offset
of local vars only after this step (which happens after the burg rules are run),
some of the burg rules that try to optimize the code won't apply anymore:
the peephole code may need to be enhanced to do the optimizations instead.
We need to handle floating point registers in the global allocator, too.
The new allocator also needs to keep track precisely of which registers
contain references or managed pointers to allow us to move to a precise GC.
It may be worth to use a single increasing set of integers for the virtual
registers, with the class of the register stored separately (unless the
current local allocator which keeps interger and fp registers separate).
Since this is a large task, we need to do it in steps as much as possible.
The first is to run the register allocator _after_ the burg rules: this
requires a rewrite of the liveness code, too, to use linear indexes instead
of basic-block/tree number combinations. This can be done by:
*) allocating virtual regs to all the locals that can be register allocated
*) running the burg rules (some may require adjustments): the local virtual
registers are assigned starting from global-virt-regs+1, instead of the current
hardware-regs+1, so we can tell apart global and local virt regs.
*) running the liveness/whatever code is needed to allocate the global registers
*) allocate the rest of the local variables to stack slots
*) continue with the current local allocator
This work could take 2-3 weeks.
The next step is to define the kind of declarative data an architecture needs
and assigning virtual regs to all the registers and making the allocator
assign from the volatile registers, too.
Note that some of the code that is currently emitted in the arch-specific
code, will need to be emitted as instructions that the reg allocator
can inspect: think of a method that returns the first argument which is
received in a register: the current code copies it to either a local slot or
to a global reg in the prolog an copies it back to the return register
int he basic block, but since neither the regallocator nor the peephole code
knows about the prolog code, the first store cannot be optimized away.
The gcc code has some example of how to specify register classes in a
declarative way.
+77
View File
@@ -0,0 +1,77 @@
While the Boehm GC is quite good, we need to move to a
precise, generational GC for better performance and smaller
memory usage (no false-positives memory retentions with big
allocations).
This is a large task, but it can be done in steps.
1) use the GCJ support to mark reference fields in objects, so
scanning the heap is faster. This is mostly done already, needs
checking that it is always used correctly (big objects, arrays).
There are also some data structures we use in the runtime that are
currently untyped that are allocated in the Gc heap and used to
keep references to GC objects. We need to make them typed as to
precisely track GC references or make them non-GC memory,
by using more the GC hnadle support code (MonoGHashTable, MonoDomain,
etc).
2) don't include in the static roots the .bss and .data segments
to save in scanning time and limit false-positives. This is mostly
done already.
3) keep track precisely of stack locations and registers in native
code generation. This basically requires the regalloc rewrite code
first, if we don't want to duplicate much of it. This is the hardest
task of all, since proving it's correctness is very hard. Some tricks,
like having a build that injects GC.Collect() after every few simple
operations may help. We also need to decide if we want to handle safe
points at calls and back jumps only or at every instruction. The latter
case is harder to implement and requires we keep around much more data
(it potentially makes for faster stop-the-world phases).
The first case requires us to be able to advance a thread until it
reaches the next safe point: this can be done with the same techniques
used by a debugger. We already need something like this to handle
safely aborts happening in the middle of a prolog in managed code,
for example, so this could be an additional sub-task that can be done
separately from the GC work.
Note that we can adapt the libgc code to use the info we collect
when scanning the stack in managed methods and still use the conservative
approach for the unmanaged stack, until we have our own collector,
which requires we define a proper icall interface to switch from managed
to unmanaged code (hwo to we handle object references in the icall
implementations, for example).
4) we could make use of the generational capabilities of the
Boehm GC, but not with the current method involving signals which
may create incompatibilities and is not supported on all platforms.
We need to start using write barriers: they will be required anyway
for the generational GC we'll use. When a field holding a reference
is changed in an object (or an item in an array), we mark the card
or page where the field is stored as dirty. Later, when a collection
is run, only objects in pages marked as dirty are scanned for
references instead of the whole heap. This could take a few days to
implement and probably much more time to debug if all the cases were
not catched:-)
5) actually write the new generational and precise collector. There are
several examples out there as open source projects, though the CLR
needs some specific semantics so the code needs to be written from
scratch anyway. Compared to item 3 this is relatively easer and it can
be tested outside of mono, too, until mono is ready to use it.
The important features needed:
*) precise, so there is no false positive memory retention
*) generational to reduce collection times
*) pointer-hopping allocation to reduce alloc time
*) possibly per-thread lock-free allocation
*) handle weakrefs and finalizers with the CLR semantics
Note: some GC engines use a single mmap area, because it makes
handling generations and the implementation much easier, but this also
limits the expension of the heap, so people may need to use a command-line
option to set the max heap size etc. It would be better to have a design
that allows mmapping a few megabytes chunks at a time.
The different tasks can be done in parallel. 1, 2 and 4 can be done in time
for the mono 1.2 release. Parts of 3 and 5 could be done as well.
The complete switch is supposed to happen with the mono 2.0 release.
+1 -1
View File
@@ -47,7 +47,7 @@ specified. The root represents the "libdir" component of a prefix
(typically prefix/lib).
.Sp
The -gacdir option is used to specify the GACs base directory. Once an
assembly has been installed to a non standard gacdir the MONO_GAC_PATH
assembly has been installed to a non standard gacdir the MONO_GAC_PREFIX
environment variable must be used to access the assembly.
.Sp
The -check_refs option is used to ensure that the assembly being
+4 -4
View File
@@ -261,10 +261,10 @@ or equal to the log level will be printed to stdout/stderr.
.I "MONO_LOG_MASK"
If set, the log mask is changed to the set value. Possible values are
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
(garbage collector), "cfg" (config file loader), "all". The default value is
"all". Changing the mask value allows you to display only messages for
a certain component. You can use multiple masks by comma separating
them. For example to see config file messages and assembly loader
(garbage collector), "cfg" (config file loader), "aot" (precompiler), "all".
The default value is "all". Changing the mask value allows you to display only
messages for a certain component. You can use multiple masks by comma
separating them. For example to see config file messages and assembly loader
messages set you mask to "asm,cfg".
.TP
.I "MONO_DEBUG"
-26
View File
@@ -1,26 +0,0 @@
This list of authors is outdated. For a full list of contributors
see:
http://www.go-mono.com/archive/mono-1.0.html
C# Compiler:
Miguel de Icaza ([email protected])
Ravi Pratap ([email protected])
Martin Baulig ([email protected])
Class Libraries:
Patrik Torstensson <[email protected]>
Gaurav Vaish <[email protected]>
Jeff Stedfast ([email protected])
Joe Shaw ([email protected])
Miguel de Icaza ([email protected])
Sean MacIsaac ([email protected])
Vladimir Vukicevic ([email protected])
Garrett Rooney ([email protected])
Bob Smith ([email protected])
John Barnette ([email protected])
Daniel Morgan <[email protected]>
Sebastien Pouliot <[email protected]>
Per Arneng <[email protected]>
Ben Maurer <[email protected]>
-340
View File
@@ -1,340 +0,0 @@
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.
-481
View File
@@ -1,481 +0,0 @@
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
-498
View File
@@ -1,498 +0,0 @@
2004-06-22 Todd Berman <[email protected]>
* configure: Patch from Mariano Suárez-Alvarez
<[email protected]> to make configure accept jhbuild style
/prefix /usr options, and to continue past unknown options. Currently
this patch is a bit spammy with multiple unknown options, anyone
who is interested is welcome to fix this.
2004-06-14 Raja R Harinath <[email protected]>
* Makefile (all-profiles, clean-profiles): Simplify slightly.
2004-06-05 Atsushi Enomoto <[email protected]>
* Makefile: added target run-test-ondotnet.
2004-05-26 Raja R Harinath <[email protected]>
* nunit20/util/Makefile (EXTRA_DISTFILES): Remove
Transform.resources.
($(the_lib)): Make Transform.resources using internal resgen.
* nunit20/util/Transform.resources: Rebuild.
2004-05-25 Sebastien Pouliot <[email protected]>
* nunit.key: New. NUnit private key. Due to build issues the key
must be present in this directory.
2004-05-20 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Move 'monoresgen' ahead of 'class'.
2004-05-17 Raja R Harinath <[email protected]>
* Makefile (all, clean): Remove indirection.
(clean-profiles): New.
2004-05-13 Jackson Harper <[email protected]>
* Makefile: default build is no longer the multi profile build. Do
build both 1.1 and 2.0 profiles use the all-profiles target.
2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile: disable net_2_0 on windows. It doesn't build. Don't
try to build net_1_0 and net_2_0 if we provide a PROFILE=xxx in the
command line.
2004-05-10 Raja R Harinath <[email protected]>
* INSTALL.txt: Don't mention 'fullbuild'. Mention 'bootstrap'
instead. Update instructions for 'monocharge'.
2004-04-30 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Remove 'gmcs' for now.
(all): Simplify.
(clean): Quick hack to get 'make clean' to work better.
2004-04-29 Jackson Harper <[email protected]>
* Makefile: Put the PROFILE= stuff before the target, this is more
pleasurable to cygwin users.
2004-04-28 Jackson Harper <[email protected]>
* Makefile: build the net_1_1 and net_2_0 profiles by default.
2004-01-14 Martin Willemoes Hansen <[email protected]>
* INSTALL.txt: Fixed, autogen should be autogen.sh
2003-12-01 Cesar Lopez Nataren <[email protected]>
* Added dirs mcs/jtest and mcs/jerrors.
2003-10-28 Jackson Harper <[email protected]>
* INSTALL.txt: Tell users where to find monocharges, do not
reference README.building.
2003-07-22 Peter Williams <[email protected]>
* README: INSTALL.txt, not INSTALL.
2003-07-20 Peter Williams <[email protected]>
* nunit20/nunit-console/Makefile (PROGRAM): Put nunit-console.exe
in $(topdir)/class/lib so we can find our DLL's.
2003-07-18 Peter Williams <[email protected]>
* build/library.make (dist-local): Fancy make dist magic gives
way to boring old 'for'.
* build/executable.make (dist-local): Ditto.
2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Actually fix this. Use the platform
compiler all the way.
2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Try to make this smarter so
that we can build on Windows. Specifically, don't require
the mono runtime. Combined with the corlib $(BOOT_COMPILE) change,
this should make corlib build out of the box, I think.
2003-07-16 Peter Williams <[email protected]>
A whole passel of build system changes. Doc updates:
* build/README.makefiles: Doc updates.
* build/profiles/net_1_0.make: Doc changes.
* INSTALL.txt: A few more touchups.
Better defaults:
* build/config-default.make (prefix): Default install prefix
should be /usr/local.
* build/profiles/bootstrap.make: This profile ...
* build/profiles/default.make: ... is now the default.
* build/profiles/atomic.make: And the default is now this.
Fixes for pre-build checks:
* Makefile: Do the platform and (new) profile checks
before the build, which took some infrastructure changes.
* build/rules.make: Allow a Makefile to specify its own all/install/etc
targets.
* build/profiles/default.make (profile-check): Add a blank
target here.
* build/profiles/atomic.make: Check for a full MCS install to
build against.
HP/UX fixes with help from Bernie Solomon:
* build/config-default.make (ECHO_ESCAPE): HP/UX 'echo'
doesn't need a -e parameter to interpret escape codes. Test for
that and define a configuration parameter.
* build/library.make ($(makefrag)): Use $(ECHO_ESCAPE)
instead of assuming that 'echo -e' will interpret escape
codes.
* build/executable.make ($(makefrag)): Here too.
A make distcheck fix:
* Makefile: Inherit the current prefix so that the build can
find the right System.Xml.dll.
And Windows build fixes with the invaluable help of Sebastian
Pouliot (in various subdirectories).
2003-07-14 Peter Williams <[email protected]>
* build/rules.make (dist-recursive): Fix recursive rules
to work on HP/UX /bin/sh. Patch from Bernie Solomon
<[email protected]>.
2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* makefile:
* makefile.gnu: don't use -C when running make.
2003-05-05 Ben Maurer <[email protected]>
* AUTHORS: Added self.
2003-04-15 Nick Drochak <[email protected]>
* makefile: Remove nunit version 1 from build
2002-03-14 Daniel Morgan <[email protected]>
* class/makefile.gnu
* class/ByteFX.Data/makefile.gnu: add ByteFX.Data.dll
to the Linux build
2002-03-14 Daniel Morgan <[email protected]>
* makefile: added ByteFX.Data.dll to windows install
* class/library.build: added ByteFX.Data.dll
to windows build. added additional clean targets
* class/Microsoft.VisualC/Microsoft.VisualC.build: fix
windows clean
* class/ByteFX.Data: added directory for ByteFX.Data.dll
which includes a MySQL ADO.NET Provider.
Contributed by Reggie Burnett <[email protected]>
from ByteFX, Inc.
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
Added the following files and directories:
class/ByteFX.Data/AssemblyInfo.cs
class/ByteFX.Data/list
class/ByteFX.Data/ByteFX.Data.build
class/ByteFX.Data/makefile.gnu
class/ByteFX.Data/ChangeLog.txt
class/ByteFX.Data/readme.txt
class/ByteFX.Data/lgpl.txt: new files
BitStream.cs
Connection.cs
Field.cs
Inflater.cs
ConnectionString.cs
HuffmanTree.cs
NamedPipeStream.cs
class/ByteFX.Data/Common: added files to new directory
Driver.cs
command.resx
todo.txt
CommandBuilder.cs
Exception.cs
dataadapter.cs
transcaction.cs
Connection.cs
Field.cs
datareader.cs
Connection.resx
MysqlDefs.cs
parameter.cs
class/ByteFX.Data/mysqlclient: added files to new directory
command.cs
parameter_collection.cs
class/ByteFX.Data/mysqlclient/Designers: added files to new directory
2003-03-14 Daniel Morgan <[email protected]>
* makefile: add ilasm.exe to windows build and add missing assemblies
to windows install
* class/library.build: include PEAPI.dll, Npgsql.dll, and
ICSharpCode.SharpZipLib part of the windows build
2003-03-10 Martin Willemoes Hansen <[email protected]>
* Fixed some spelling errors in class/doc/TemplateTest.cs
2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* makefile: added Mono.Posix and System.Management.
2003-02-16 Martin Baulig <[email protected]>
* docs/compiler: Added a few works about the new `Location' code.
2003-02-15 Nick Drochak <[email protected]>
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.
2003-02-10 Nick Drochak <[email protected]>
* makefile: Add testcorlib target to run just the corlib unit tests.
2003-01-16 Nick Drochak <[email protected]>
* makefile.gnu: Add corlib target to just build that.
2003-01-14 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Remove the cleanup method now that
it's no longer in the interface.
2003-01-13 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.
2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* README.building: New file.
* makefile.gnu: install README.building file.
2003-01-09 Sebastien Pouliot <[email protected]>
* AUTHORS: add myself to class library list
2002-12-15 Alp Toker <[email protected]>
* makefile.gnu: make sure mcs is in PATH, otherwise tell user to read
INSTALL.txt
2002-12-10 Daniel Morgan <[email protected]>
* makefile
* tools/makefile
* tools/makefile.gnu: change target
from SqlSharpCli.exe
to sqlsharp.exe
2002-12-10 Alp Toker <[email protected]>
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644
* ilasm/makefile: ditto
2002-12-10 Gaurav Vaish <[email protected]>
* AUTHORS: Corrected my email-ID.
2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
interferred with "make install" on windows
* makefile: changes to get "make install" work
on windows
* class/makefile.gnu: flush
* ilasm/makefile: updated for windows build
* monoresgen/makefile: updated for windows build
* tools/SqlSharp/SqlSharpCli.build: flush
* winexe.in: add file to be template for executable assemblies
to be installed on windows via "make install" by providing
a script that runs mono and the assembly
like mcs runs mono mcs.exe
2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build
* tools/makefile.gnu: added new file to built tools and install.
dist works too. test is just blank.
2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
Please update your scripts, the `dist' target will disappear soon.
2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux
2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.
2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
directory to windows build
2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.
2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.
2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
use $(topdir)
build nunit into $(topdir)/class/lib
2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
* class/library.make:
* class/makefile.gnu:
* class/I18N/makefile.gnu
* class/corlib/makefile.gnu:
* class/corlib/Test/ChangeLog:
* class/corlib/Test/corlib_linux_test.args:
* class/corlib/Test/makefile.gnu:
* class/corlib/Test/run_test.sh:
* jay/makefile.gnu:
* mcs/makefile.gnu:
* monoresgen/makefile.gnu:
* nunit/makefile.gnu:
Allow running 'make -f makefile.gnu test' from top directory.
In the libraries makefile.gnu you just have to add TEST_DIR=dirname
with the name where tests reside.
2002-08-23 Martin Baulig <[email protected]>
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.
2002-08-13 Piers Haken <[email protected]>
* class/library.make: merge back original makefile.gnu behavior
* */makefile.gnu: merge back original makefile.gnu behavior
2002-08-12 Piers Haken <[email protected]>
* class/library.make: use 'find' to specify source files, instead of static files
* */makefile.gnu: specify include/exclude patterns for source files
2002-08-07 Peter Williams <[email protected]>
* class/library.make (.makefrag): Fix this rule a bit; was using
$^ instead of $<
2002-07-29 Peter Williams <[email protected]>
* makefile.gnu: 'make install' wasn't actually working due to $@,
fix it.
2002-07-29 Martin Baulig <[email protected]>
* makefile.gnu: Don't force people to install. The default must also
be `all' and not `install'.
2002-07-26 Alp Toker <[email protected]>
* INSTALL: Wrote a guide to mcs installation.
* README: Updated to reflect the new INSTALL guide.
2002-07-23 Alp Toker <[email protected]>
* makefile.gnu: Added an install target (which sets permissions and
respects prefix) and a dist target which produces a tarball. Also
fixed a few other makefile issues.
2002-07-22 Peter Williams <[email protected]>
* class/library.make: Oops, the deps weren't right -- touching a .cs
file didn't cause the libraries to be rebuilt.
(clean): Robustify this rule a bit.
2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.
2002-07-20 Martin Baulig <[email protected]>
* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.
* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:
2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu (DIRS): Added nunit.
2002-07-19 Martin Baulig <[email protected]>
Added the super-cool set of makefiles from Peter Williams which run on
GNU/Linux without NAnt. I named them `makefile.gnu' and not `GNUmakefile'
since this won't break the windows build.
To compile stuff on GNU/Linux, just do a `make -f makefile.gnu'.
* mcs-tool, */makefile.gnu, class/library.make: New files.
2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
`make NANT=/usr/local/bin/NAnt.exe'.
2002-05-09 Daniel Morgan <[email protected]>
* AUTHORS: add me to class libraries list
2002-03-26 Dick Porter <[email protected]>
* makefile (linux): Abandon the build if any of the subdir makes fail
2002-03-07 Nick Drochak <[email protected]>
* makefile: Change order of build so corlib is built before nunit since
Nunit needs corlib now.
2002-02-14 Nick Drochak <[email protected]>
* makefile: Build mcs/doctools too when one does 'make'
2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
and running tests
2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in
-178
View File
@@ -1,178 +0,0 @@
Basic Installation
==================
The Mono project has developed mono, a CLI runtime. The build process
of each of these depends on nothing more than a C compiler and glib2.
However, to provide a working runtime environment, these programs must
be supplemented by the class libraries, which are written in C#. This
package contains the components written in C#: class libraries,
compilers and tools.
*********************************************************************
* *
* NOTICE *
* *
* Unless you are developing the class libraries, you should *
* not need to do any build steps in this directory. *
* *
* Go to ../mono and read the README file to compile and *
* install. *
* *
* ../mono is where you have your `mono' source download *
* *
*********************************************************************
If you only want to build a snapshot or a fresh CVS checkout of the
sources, you should go into the `mono' sibling directory and issue the
make bootstrap command, like this:
cd ../mono
./autogen.sh --prefix=/usr/local
make bootstrap
make install
The compilation is bundled with the build due to dependencies on the
class libraries on the runtime.
Build Features for Developers of Mono.
======================================
These instructions apply to both Linux and Windows. To build this
package, you must already have a C# compiler installed. This means
that to build on Linux, you need to get a distribution of the MCS
binaries; these are called monocharges. They can be found at
www.go-mono.com/daily. On Windows, you can just use the
Microsoft compiler. You also need GNU make to build the software (on
Windows, you will need for example the Cygwin environment setup).
You can customize your MCS configuration by using:
./configure [--prefix=PREFIX] [--profile=PROFILE]
If you do not run the above, the defaults are /usr/local for the
prefix, and `default' for the profile.
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/.
To install them, run the following:
make install
If you get "corlib out of sync" errors, try
make PROFILE="atomic"
The difference between the two modes is explained farther down.
Troubleshooting
===============
We try to maintain the CVS tree such that it is bootstrapable from the
latest released version of mono and mcs. Occasionally, something in the
compiler or runtime changes enough that an existing installation cannot
complete a bootstrap from cvs. In this case, go to
http://go-mono.com/daily and download a monocharge or monolite tarball.
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
Then you should be able to complete the build normally (i.e. using make
bootstrap).
wget http://go-mono.com/daily/monolite-20040505.tar.gz
tar -zxvf monolite-20040505.tar.gz
cd monolite-20040505
env prefix=/usr/local sh recharge.sh
Monocharges
===========
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others, you can do:
make monocharge
Or a light version, which contains only the essential libraries and
results in a much smaller file:
make monocharge-lite
Configuration
=============
If you want to change the configuration options for the build process,
place your configuration options in build/config.make
A list of variables that control the build are listed in the file
build/config-default.make.
Build profiles? What?
======================
Don't worry about them too much. If you're wondering which to use:
use the default if you can (that's why it's the default!) and use
the atomic if you have to.
The default profile uses the C# compiler and class libaries as they
are built. This lets you build MCS without needing to have already
installed it, but can fail if the libraries change significantly.
(This is the source of the dreaded "corlib out of sync" warning, most
of the time.)
The atomic profile tries to use the system compiler and preexisting
MCS libraries. New libaries are built against this constant reference
point, so if a newly built library has a binary incompatibility, the
rest of your build can proceed.
If you want to always use the atomic profile, run this command:
./configure --profile=atomic
More About the Build System
===========================
More information is found in build/README.*. Here's a quick rundown
of the features:
* Unified build system for Windows and Linux. Windows is still
fairly untested, but "should work." Unfortunately I don't
have a Windows machine to test on, but Gonzalo can get
corlib to build I think and that's about as complicated as
it gets.
* Profile support. 'make PROFILE=profilename' or 'export
PROFILE=profilename ; make' will work. Profiles are defined
in build/profiles/profilename.make ; right now there isn't
too much going on. The 'bootstrap' profile will build the
way makefile.gnu did on Linux, by setting MONO_PATH and
using mcs/mcs.exe; the default profile will build against
the existing system libraries and compile with 'mcs', which
should reduce a lot of 'corlib out of sync' warnings.
* Important variables are shared among makefiles now; you can
edit build/config.make (see build/config-default.make for a
template) and give global settings, or just have a much
saner time of writing new makefiles.
* Response files, stamps, and other build trivia now all land
in build/deps/, making the library build directories
cleaner.
* Test libraries now live in class/Library/Library_test.dll,
not class/Library/Test. 'make test' will build the test DLL,
'make run-test' will actually run the nunit tests. Set the
variable TEST_HARNESS to run with a program other than
nunit-console (for example, nunit-gtk).
* Standardized recursive targets: all, clean, install, test,
run-test. Read build/README.makefiles for definitions of
what they should do
* (Relatively) sane 'make dist' target; 'make distcheck'
support; cute 'make monocharge' and 'make monocharge-lite'
targets. They're made possible because 'make install' now
supports DESTDIR a la automake, which I'm sure someone cares
about.
-29
View File
@@ -1,29 +0,0 @@
The Mono code is licensed under various different licenses.
GNU GPL: details avaliable in the file LICENSE.GPL
GNU LGPL: details available in the file LICENSE.LGPL
MIT X11: text available in the file MIT.X11
For your convenience copies of the GNU GPL and GNU LGPL are
located in the file COPYING and COPYING.LIB.
* Class Libraries:
All of the core classes licensed under the terms of
the MIT X11 license.
Third party libraries that we distribute for
convenience reasons are distributed under their own
terms (all of them allow development of proprietary
applications with them).
Third party libraries include: ByteFX.Data,
ICSharpCode.SharpZipLib, Npgsql.
* Mono C# compiler: GNU GPL
* Mono Basic compiler: GNU GPL.
* Various tools in the `tools' directory: GNU GPL.
-15
View File
@@ -1,15 +0,0 @@
Mono compilers and tools.
Copyright (C) 2001, 2002, 2003, Ximian and contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation;
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-15
View File
@@ -1,15 +0,0 @@
Mono class libraries
Copyright (C) Mono project (authors listed in individual ChangeLog entries)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-21
View File
@@ -1,21 +0,0 @@
Copyright (c) 2001, 2002, 2003 Ximian, Inc and the individuals listed
on the ChangeLog entries.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-122
View File
@@ -1,122 +0,0 @@
thisdir := .
SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
OVERRIDE_BARE_TARGETS = hells yeah
include build/rules.make
# Define these ourselves to that the platform checks come first
#all: platform-check profile-check all-recursive #all-local
.PHONY: all clean all-profiles clean-profiles install uninstall test run-test testcorlib
all: platform-check profile-check all-recursive
install: platform-check profile-check install-recursive #install-local
uninstall: platform-check profile-check uninstall-recursive #uninstall-local
test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
run-test-ondotnet: run-test-ondotnet-recursive # run-test-ondotnet-local
clean: clean-recursive #clean-local
# fun specialty targets
all-profiles:
$(MAKE) PROFILE=default all
$(MAKE) PROFILE=net_2_0 all
clean-profiles:
$(MAKE) PROFILE=default clean
$(MAKE) PROFILE=net_2_0 clean
testcorlib:
@cd class/corlib && $(MAKE) test run-test
# Disting. We need to override $(distdir) here.
package := mcs-$(VERSION)
top_distdir = $(dots)/$(package)
distdir = $(top_distdir)
export package
DISTFILES = \
AUTHORS \
ChangeLog \
COPYING \
COPYING.LIB \
INSTALL.txt \
LICENSE \
LICENSE.GPL \
LICENSE.LGPL \
Makefile \
mkinstalldirs \
MIT.X11 \
MonoIcon.png \
README \
ScalableMonoIcon.svg \
winexe.in
dist-pre:
rm -rf $(package)
dist-post:
tar cvzf $(package).tar.gz $(package)
dist-local: dist-default
dist-tarball: dist-pre dist-recursive dist-post
dist: dist-tarball
rm -rf $(package)
# the egrep -v is kind of a hack (to get rid of the makefrags)
# but otherwise we have to make dist then make clean which
# is sort of not kosher. And it breaks with DIST_ONLY_SUBDIRS.
#
# We need to set prefix on make so class/System/Makefile can find
# the installed System.Xml to build properly
distcheck:
rm -rf InstallTest Distcheck-MCS ; \
mkdir InstallTest ; \
destdir=`cd InstallTest && pwd` ; \
$(MAKE) dist-tarball || exit 1 ; \
mv $(package) Distcheck-MCS ; \
(cd Distcheck-MCS && \
$(MAKE) prefix=$(prefix) && $(MAKE) test && $(MAKE) install DESTDIR="$$destdir" && \
$(MAKE) clean && $(MAKE) dist || exit 1) || exit 1 ; \
mv Distcheck-MCS $(package) ; \
tar tzf $(package)/$(package).tar.gz |sed -e 's,/$$,,' |sort >distdist.list ; \
rm $(package)/$(package).tar.gz ; \
tar tzf $(package).tar.gz |sed -e 's,/$$,,' |sort >before.list ; \
find $(package) |egrep -v '(makefrag|response)' |sed -e 's,/$$,,' |sort >after.list ; \
cmp before.list after.list || exit 1 ; \
cmp before.list distdist.list || exit 1 ; \
rm -f before.list after.list distdist.list ; \
rm -rf $(package) InstallTest
monocharge:
chargedir=monocharge-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
# A bare-bones monocharge.
monocharge-lite:
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

-82
View File
@@ -1,82 +0,0 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL.txt for a guide to building and installing mcs.
Layout:
class/
Class libraries
errors/
Sample programs that should generate errors by the compiler.
jay/
Yacc-based parser generator.
mcs/
The Mono C# compiler
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
@@ -1,566 +0,0 @@
<?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>

Before

Width:  |  Height:  |  Size: 52 KiB

-4
View File
@@ -1,4 +0,0 @@
*~
.*
*.out
output
-42
View File
@@ -1,42 +0,0 @@
Imports System
Class C1
Public a As Integer
Private b As Integer
Friend c As Integer
Protected d As Integer
Public Sub S1() ' All data members of the class should be accessible
a=10
b=20
c=30
d=40
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
a=100
c=300
d=400
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
myC.a=1000
myC.c=3000
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
Imports System
Class C1
Protected Friend a As Integer
End Class
Class C2
Inherits C1
Public Sub S()
a=100
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.a=1000
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
-114
View File
@@ -1,114 +0,0 @@
Imports System
Class C1
Public a As Integer=20
Private b As Integer=30
Friend c As Integer=40
Protected d As Integer=50
Public Sub S1() ' All data members of the class should be accessible
Try
If a<>20 Then
Throw New Exception("#A1-Accessibility:Failed-error accessing value of public data member frm same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If b<>30 Then
Throw New Exception("#A2-Accessibility:Failed-error accessing value of private data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A3-Accessibility:Failed-error accessing value of friend data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A4-Accessibility:Failed-error accessing value of protected data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
Try
If a<>20 Then
Throw New Exception("#A5-Accessibility:Failed-error accessing value of public data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A6-Accessibility:Failed-error accessing value of friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A7-Accessibility:Failed-error accessing value of protected data member from derived")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
Try
If myC.a<>20 Then
Throw New Exception("#A8-Accessibility:Failed-error accessing value of public data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If myC.c<>40 Then
Throw New Exception("#A9-Accessibility:Failed-error accessing value of friend data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Try
If myC1.a<>20 Then
Throw New Exception("#A10-Accessibility:Failed-error accessing value of public data member form another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
-34
View File
@@ -1,34 +0,0 @@
Imports System
Class C1
Protected Friend a As Integer=20
End Class
Class C2
Inherits C1
Public Sub S()
Try
If a<>20 Then
Throw New Exception("#A1-AccessibilityA:Failed-error accessing value of protected friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
Try
If myC1.a<>20 Then
Throw New Exception("#A2-AccessibilityA:Failed-error accessing value of protected friend data member from another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
-38
View File
@@ -1,38 +0,0 @@
Imports System 'Should generate five compilation errors
Class C1
Private a As Integer=10
Protected b As Integer=30
Private Sub S()
End Sub
End Class
Class C2
Inherits C1
Public Sub S1()
S()
Console.WriteLine(a)
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S()
Console.WriteLine(myC.a)
Console.WriteLine(myC.b)
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S()
Console.WriteLine(myC1.a)
Console.WriteLine(myC1.b)
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Class C1
Public Private a As Integer
Public Protected b As Integer
Public Friend c As Integer
Private Protected d As Integer
Private Friend e As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-23
View File
@@ -1,23 +0,0 @@
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
C = 10
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S2()
myC.C = 20
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Protected Class C1
End Class
Private Class C2
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Public Class C1
Protected Class InnerC
End Class
End Class
Public Class C2
inherits C1.InnerC
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
-44
View File
@@ -1,44 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Dim b(3) As Integer
Dim c(2), d(4) As Long
Dim e as Integer() = {1, 2, 3}
dim f(2,3) as Integer
Dim g as Integer(,) = { {1,1}, {2,2}, {3,3} }
Dim h() as Integer
Dim i as integer(,)
Dim j as integer()
Sub Main()
If a(2) <> 3 Then
Throw New Exception("#A1, value mismatch")
End If
b(0) = 0
b(1) = 5
b(2) = 10
If b(1) <> 5 Then
Throw New Exception("#A2, value mismatch")
End If
If e(1) <> 2 Then
Throw New Exception("#A3, value mismatch")
End If
If g(2,1) <> 3 Then
Throw New Exception("#A4, value mismatch")
End If
'Console.WriteLine(e(1))
'Console.WriteLine(g(2,1))
h = new Integer(){0, 1, 2}
i = new Integer(2,1){ {1,1}, {2,2}, {3,3} }
j = new Integer(2) {}
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer ' = {1, 2, 3, 4, 5}
Sub Main()
dim arry as boolean
arry = IsArray(a)
If arry <> true then
Throw New Exception ("#A1, Not an Array")
End If
ReDim Preserve a(10)
Console.WriteLine(a(7))
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
ReDim Preserve a(10)
a(7) = 8
If a(7) <> 8 then
Throw New Exception ("#A1, Unexpected result")
End If
If a(2) <> 3 then
Throw New Exception ("#A2, Unexpected result - Preserve keyword not working")
End If
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a as Long(5)
Sub Main ()
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a() as Long()
Sub Main ()
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
dim c as Integer
c = UBound(a, 1)
c = LBound(a, 1)
'c = UBound(a)
'c = LBound(a)
End Sub
End Module
-38
View File
@@ -1,38 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name As String
Public No As Integer
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public Sub New(ByVal Name As Integer)
Me.Name=Name.toString()
End Sub
End Class
<AttributeUsage(AttributeTargets.All)> _
Public Class PublicationAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Publication("Tata McGraw"),AuthorAttribute("Robin Cook",No:=47),Author(10)> _
Public Class C1
<Author("John"),Publication("Tata McGraw")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
Imports System
'Ommiting AttributeUsage attribute
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-35
View File
@@ -1,35 +0,0 @@
Imports System
'Testing 'Inherited' in attributes
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Public Class C2
Inherits C1
End Class
Module Test
Sub Main()
End Sub
End Module
-28
View File
@@ -1,28 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Interface C1
End Interface
Public Interface C2
Inherits C1
End Interface
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
'Using private constructor in attributes
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Private Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-31
View File
@@ -1,31 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C1)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Class has no attributes")
Else
Dim aa As AuthorAttribute=CType(arr(0),AuthorAttribute)
Console.WriteLine("Name:" & aa.Name)
End If
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
'Using MustInherit on a attribute class
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public MustInherit Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-27
View File
@@ -1,27 +0,0 @@
Imports System
'Declaring atrribute target to be class and using attribute on methods
<AttributeUsage(AttributeTargets.Class)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
Imports System
'Using a single-use attribute multiple times
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("John Gresham")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-24
View File
@@ -1,24 +0,0 @@
Imports System
'Using byref positional parameters
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByRef Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
End Class
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C2)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Interface has no attributes")
Else
Throw New Exception("AttributesC:Failed-Interfaces should not inherit attributes")
End If
End Sub
End Module
-17
View File
@@ -1,17 +0,0 @@
Option Strict Off
Imports System
Module M
Sub Main()
Try
Dim a As Boolean=True
Dim b As Boolean=False
Dim c As Boolean
c=a+b
If a<>True
Throw New Exception("BoolLiteralB:Failed")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Module BoolLiteralTest
Sub main()
Try
Dim b As Boolean
b = True
b = False
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-10
View File
@@ -1,10 +0,0 @@
Module BoolLiteralTest1
Sub Main()
Try
Dim b As Boolean
b = Not True
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
2004-06-11 Anirban Bhattacharjee <[email protected]>
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
-12
View File
@@ -1,12 +0,0 @@
2004-06-11 Anirban Bhattacharjee <[email protected]>
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries
2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
-17
View File
@@ -1,17 +0,0 @@
Module CharacterLiterals
Sub Main()
Dim c As Char
c = "x"
c = "X"
Dim a As String = "X"c
If a <> c Then
Throw New System.Exception("a is not same as c")
End If
'the outcome should be "x"
c = """x"""
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Module CharacterLiterals1
Sub Main()
Dim c As Char
c = "x"c
Dim a As String = "X"
If a <> c Then
Throw New System.Exception("a is not same as c")
End If
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module CharacterLiteral
Sub Main()
Try
Dim a As Char="R"c
Dim b As Char="W"c
Dim i As Char=23
Dim bl As Char=True
Dim f As Char=1.23
Dim c As Char
Dim d As Char
c=a+b
d=a*b
Catch e As Exception
End Try
End Sub
End Module
-6
View File
@@ -1,6 +0,0 @@
Module CharacterLiteralsC2
Sub Main()
Dim ch As Char
ch = "xc"c
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module CharacterLiteralsC3
Sub Main()
c = ""x"
End Sub
End Module
-10
View File
@@ -1,10 +0,0 @@
Imports System
Module CharacterLiteral
Sub Main()
Try
Dim f As Char="""c
Catch e As Exception
End Try
End Sub
End Module
-53
View File
@@ -1,53 +0,0 @@
Imports System
Class C1
Public a As Integer=47
Public Sub S()
Dim myInnerC As New C2()
Dim b As Integer=myInnerC.H()
If b<>147 Then
Throw New Exception("#A5:Error in accessing inner class")
End If
End Sub
Public Function G() As Integer
Return 38
End Function
Class C2
Public Function H() As Integer
Return 147
End Function
End Class
End Class
Module M
Sub Main()
Try
Dim myCInstance As New C1()
Catch e As Exception
Console.WriteLine("#A1:Error in creating class instance:"+e.Message)
End Try
Dim myC As New C1()
Try
If myC.a<>47 Then
Throw New Exception("#A2-ClassTest:Failed-Error in accessing class data member")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
myC.S()
Catch e As Exception
Console.WriteLine("#A3:Error in accessing Sub from a class:"+e.Message)
End Try
Try
Dim c As Integer=myC.G()
If c<>38 Then
Throw New Exception("#A4-ClassTest:Failed-Error in accessing Function of a class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Class C1
If True Then
End If
End Class
Module ClassTest
Sub Main()
End Sub
End Module
-7
View File
@@ -1,7 +0,0 @@
Module M
Sub Main()
Console.WriteLine(a) 'Line Continuation within _
comment
Dim a As IntegerREM Declaration
End Sub
End Module
-27
View File
@@ -1,27 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If and #End If Block
#If True
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
#If False
Throw New Exception("#A2-Conditional Compilation:Failed")")
#End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-14
View File
@@ -1,14 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Try
'Using syntatically wrong statements inside a #If block that does not satisfy condition
#If False
Console.WriteLine("Hello)
#End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-40
View File
@@ -1,40 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If,#Elseif, #Else and #End If block
#If False
Throw New Exception("#A1-Conditional Compilation :Failed")
#ElseIf True
value=30
#Else
Throw New Exception("#A2-Conditional Compilation :Failed")
#End If
If value<>30 Then
Throw New Exception("#A3-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
'Testing nested #If and #End If Block
Try
#If True
#If True
value=40
#End If
#End If
If value<>40
Throw New Exception("#A4-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-38
View File
@@ -1,38 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
'Testing whitespaces between #If
Try
# If True
value=50
#End If
If value<>50
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
#Const A = True
#Const B = False
#If A Then
Sub Z()
End Sub
#Else
Sub W()
End Sub
#End If
#If B Then
Sub X()
End Sub
#Else
Sub Y()
End Sub
#End If
End Module
-20
View File
@@ -1,20 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
'Syntactically wrong statement within #If block that satisfies the condition
#If True
Console.WriteLine("Hello)
#End If
'Lexically invalid statement within #If block that satisfies condition
#If True
@#$^**
#End If
'Lexically invalid statement within #If block that does not satisfies condition
#If False
DD@##$
#End If
End Sub
End Module
-21
View File
@@ -1,21 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Dim a,b As Integer
Try
'Testing #If and #End If Block
#If a+b
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
'Testing line continuation within conditional compilation statement
#If _
True _
#End If
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
Imports System
Module ConditionalCompilation
Sub Main()
Dim value As Integer
Try
'Testing #If Then and #End If Block
#If True Then
value=10
#End If
If value<>10 Then
Throw New Exception("#A1-Conditional Compilation:Failed ")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
Imports System
Module ConditionalConstants
Sub Main()
Dim value As Integer
#Const A=True
#If A
value=10
#End If
#Const B=False
#If B
value=20
#End If
If value<>10 Then
Throw New Exception("Conditional Constant: Failed")
End If
'Testing the default value assigned to a conditional constant
#Const C
#If C
Console.WriteLine("Default value is True")
#Else
Console.WriteLine("Default value is Nothing")
#End If
End Sub
End Module
-21
View File
@@ -1,21 +0,0 @@
Imports System
Module ConditionalConstant
Sub Main()
Dim value As Integer
'Testing the scope of the conditional constant
#Const a=True
#If a
#Const a=False
value=10
#End If
#If a
value=20
#End If
If value<>10 Then
Throw New Exception("ConditionalConstantA:Failed-conditional constant should have global scope")
End If
'Redefining a conditional constant
#Const a=5
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Imports System
Module ConditionalConstants
Sub Main()
Dim value As Integer
#A=True ' const missing
#If A
value=10
#End If
End Sub
End Module
-32
View File
@@ -1,32 +0,0 @@
Imports System
Module ConstantA
Public Const a As Integer = 10
Const b As Boolean = True, c As Long = 20
Const d = 20
Const e% = 10
Const f% = 10, g# = 20
Sub Main()
If a.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A1, Type mismatch found")
End If
If b.GetTypeCode() <> TypeCode.Boolean Then
Throw New System.Exception("#A2, Type mismatch found")
End If
If c.GetTypeCode() <> TypeCode.Int64 Then
Throw New System.Exception("#A3, Type mismatch found")
End If
If d.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A4, Type mismatch found")
End If
If e.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A5, Type mismatch found")
End If
If f.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A6, Type mismatch found")
End If
If g.GetTypeCode() <> TypeCode.Double Then
Throw New System.Exception("#A7, Type mismatch found")
End If
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Class A
public const c as integer = 10
End Class
Class B
Inherits A
public shadows Const c as integer = 20
end class
Module M
Sub Main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC0
Const a As Integer
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC1
Const a(2) As Integer = {1, 2}
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC2
Const a As Integer = New Integer()
Sub Main()
End Sub
End Module
-8
View File
@@ -1,8 +0,0 @@
Class C
End Class
Module ConstantC3
Const a As C = New C()
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC4
Const a# As Integer
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC5
Const a As Integer, b As Integer
Sub main()
End Sub
End Module
-8
View File
@@ -1,8 +0,0 @@
Module Constant
Const a() As Integer = {1, 2}
Const b(2) As Long = {1, 2}
Const c() As String
Const d() As Long = {1, 2}, e() As Long = {1, 2}
Sub main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Imports System
Public Class C1
Private Class C2
End Class
Public Function F() As C2 'Function F exposes private class C2
End Function
Private Function F1() As C2
End Function
End Class
Module ConstituentTypes
Sub Main()
Dim myC As New C1()
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
' implicitly call base class default ctor
public Sub New()
End Sub
End Class
Module M
Sub Main()
dim x as A = new A()
dim y as A = new A("abc")
dim z as B = new B()
End Sub
End Module
-54
View File
@@ -1,54 +0,0 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
Inherits A
' call base class ctor explicitly
public Sub New()
MyBase.New()
End Sub
End Class
Class C
Inherits A
' call base class ctor with parameter
public Sub New()
MyBase.NEw("abc")
End Sub
End Class
Class D
' call another ctor in the same class
' either of the methods mentioned below should give same result
public Sub New()
MyClass.NEw("aaa")
'Me.NEw("aaa")
End Sub
public Sub New(name as String)
if name <> "aaa" then
throw new exception ("#A2, Unexpected result")
end if
End Sub
End Class
Module M
Sub Main()
dim x as B = new B()
dim y as C = new C()
dim z as D = new D()
End Sub
End Module
-45
View File
@@ -1,45 +0,0 @@
Imports System
Class A
public shared x as integer = 10
Shared Sub New()
Console.WriteLine("Shared ctor")
End Sub
public Sub New()
Console.WriteLine("ctor")
End Sub
End Class
Class B
inherits A
public shared y as integer = 20
public z as integer = 30
Shared Sub New()
Console.WriteLine("Shared ctor in derived class")
End Sub
public Sub New()
Console.WriteLine("ctor in derived class")
End Sub
Shared Sub f()
Console.WriteLine("f")
end sub
end class
Module M
Sub Main()
B.y = 25
Console.WriteLine(B.y)
Console.WriteLine(A.x)
dim c as new B()
Console.WriteLine(c.z)
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Class A
public Sub New(a as string)
Me.New("aaa")
End Sub
public Sub New ()
Me.New()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Class A
public Sub New(i as String)
End Sub
End Class
Class B
Inherits A
public Sub New()
Mybase.new()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
Loaded 100 of 10626 files, more files were not shown because too many files have changed in this diff. Show more