Compare commits

..
341 Commits
Author SHA1 Message Date
nobody 5df4e8d92d This commit was manufactured by cvs2svn to create tag 'GMCS_MARTIN'.
svn path=/tags/GMCS_MARTIN/mcs/; revision=35948
2004-11-10 06:18:26 +00:00
Martin Baulig 23e223e84c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35947
2004-11-10 06:18:26 +00:00
Martin Baulig dba4e47765 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35946
2004-11-10 05:43:58 +00:00
Martin Baulig 93428a4b1a **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35943
2004-11-10 04:49:53 +00:00
Gonzalo Paniagua Javier 31364d46d9 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* icall.c: use memmove in BlockCopyInternal when the source and
	destination arrays are the same.

svn path=/trunk/mono/; revision=35939
2004-11-10 02:49:10 +00:00
Jackson Harper 026ca88943 * TabControl.cs (CalcXPos): New helper method so we can determine
the proper place to start drawing vertical tabs.
	* ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.

svn path=/trunk/mcs/; revision=35937
2004-11-10 01:04:28 +00:00
Martin Baulig 9aa6a02591 Enable the new generic tests.
svn path=/trunk/mcs/; revision=35936
2004-11-10 00:43:24 +00:00
Gonzalo Paniagua Javier 6e97c46f77 Forgot this
svn path=/trunk/mcs/; revision=35935
2004-11-10 00:33:06 +00:00
Gonzalo Paniagua Javier ccc7c27707 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: simplified condition for WantMore property.

	* WebConnection.cs: in Connect(), finish any pending reads we might
	have for chunked data. Ignore possible blank lines at the very
	beginning of the server response. Honor user set KeepAlive in
	HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
	his suggestions and code.

svn path=/trunk/mcs/; revision=35934
2004-11-10 00:26:30 +00:00
Martin Baulig 56e8a4966a 2004-11-10 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterFunction): If two methods have
	equal parameter types, but only one of them is generic, the
	non-generic one wins.
	(New.DoResolve): Don't set `is_struct' to false if we're a generic
	instance; just use `Type.IsValueType' to determine whether
	something is a struct or not.
	(MemberAccess.DoResolveAsTypeStep): Don't modify the `args' field,
	so we can be called multiple times.

svn path=/trunk/mcs/; revision=35933
2004-11-09 23:56:53 +00:00
Martin Baulig 697feac29f 2004-11-10 Martin Baulig <[email protected]>
* generic.cs (TypeParameter.DefineConstraints): New public method.
	(TypeParameter.CheckAccessLevel): Override this and return true.
	(ConstructedType.ResolveType): Renamed to DoResolveType(), don't
	override ResolveType() anymore.
	(ConstructedType.DoResolveAsTypeStep): Call DoResolveType() here.

svn path=/trunk/mcs/; revision=35932
2004-11-09 23:35:27 +00:00
Martin Baulig af68119b19 2004-11-10 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.LookupType): If we're a nested type,
	call DeclSpace.ResolveNestedType() on it.

svn path=/trunk/mcs/; revision=35931
2004-11-09 23:27:28 +00:00
Martin Baulig c652047713 2004-11-10 Martin Baulig <[email protected]>
* support.cs (ReflectionParameters.ParameterModifier): If `gpd' is
	non-null, call ParameterModifier() on it.

svn path=/trunk/mcs/; revision=35930
2004-11-09 23:24:20 +00:00
Martin Baulig 0ece5c719b Added a null check and removed a debugging statement.
svn path=/trunk/mcs/; revision=35929
2004-11-09 23:24:05 +00:00
Martin Baulig a426c45779 2004-11-10 Martin Baulig <[email protected]>
* iterators.cs
	(Iterators): Added `current_type' and `this_type' fields.
	(Iterators.DefineIterator): Create a new EmitContext and store it
	in `ec'; compute `this_type'.

svn path=/trunk/mcs/; revision=35928
2004-11-09 23:20:22 +00:00
Martin Baulig ca09272c3d Ooops.
svn path=/trunk/mcs/; revision=35927
2004-11-09 23:15:10 +00:00
Martin Baulig 2ce246b7a6 2004-11-10 Martin Baulig <martin@localhost>
* typemanager.cs
	(TypeManager.IsPrivateAccessible): New public method.
	(Closure.Filter): Use IsPrivateAccessible() instead of IsEqual().

svn path=/trunk/mcs/; revision=35926
2004-11-09 23:13:17 +00:00
Martin Baulig a17130c3e1 2004-11-10 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineType): Call
	TypeBuilder.DefineGenericParameters() before resolving the type
	parameters.
	(MethodData.parent_method): New protected field.
	(MethodData..ctor): Added `MethodInfo parent_method' argument.
	(MethodData.Define): Compute `parent_method'.

	* decl.cs
	(MemberCore.GetObsoleteAttribute): Don't create a new EmitContext.
	(MemberCore.GetClsCompliantAttributeValue): Likewise.
	(DeclSpace.ec): New protected field; store the EmitContext here.
	(DeclSpace.EmitContext): New public property.
	(DeclSpace.ResolveType): Un-comment from the [Obsolte] attribute.
	(DeclSpace.ResolveNestedType): New public method.
	(DeclSpace.ResolveTypeExpr): Just call ResolveAsTypeTerminal() here.
	(DeclSpace.NestedAccessible): Added `Type tb' argument.
	(DeclSpace.FamilyAccessible): Likewise.
	(DeclSpace.FindType): Call ResolveNestedType() for nested types.
	(DeclSpace.GetClsCompliantAttributeValue): Don't create a new
	EmitContext.

	* delegate.cs (Delegate.Define): Store the EmitContext in the `ec'
	field.

	* enum.cs (Enum.Define): Store the EmitContext in the `ec' field.
	(Enum.Emit): Don't create a new EmitContext.

svn path=/trunk/mcs/; revision=35925
2004-11-09 23:08:35 +00:00
Neale Ferguson 1a79dadc8d OP_RETHROW support; Fix global register allocations
svn path=/trunk/mono/; revision=35924
2004-11-09 23:02:35 +00:00
Martin Baulig 5048ba327e Put the merging back.
svn path=/trunk/mcs/; revision=35921
2004-11-09 22:32:25 +00:00
Martin Baulig dc9fc91b28 2004-11-10 Martin Baulig <martin@localhost>
* mini.c (mono_method_to_ir): Use `generic_container->context'
	rather than creating a new one.

svn path=/trunk/mono/; revision=35916
2004-11-09 22:03:51 +00:00
Martin Baulig 494ada810e 2004-11-09 Martin Baulig <[email protected]>
* class-internals.h (MonoGenericContainer): Removed `method' and
	`signature', replaced them with `is_method' and `is_signature'
	flags.  Added `context'.

	* loader.c (method_from_methodspec): Take a `MonoGenericContext *'
	instead of a `MonoGenericContainer *'.

	* metadata.c (mono_metadata_generic_param_equal): Removed the hack
	for dynamic type parameters.
	(mono_metadata_load_generic_params): Setup `container->context'.

	* reflection.c (mono_reflection_setup_generic_class): Setup
	`tb->generic_container->context'.
	(do_mono_reflection_bind_generic_parameters): Use
	mono_class_inflate_generic_type() to correctly inflate types,
	rather than using our own hack just for MONO_TYPE_VAR.

svn path=/trunk/mono/; revision=35915
2004-11-09 21:47:58 +00:00
Jackson Harper d1946a1561 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
* ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
	and Bottom, left and right are illegal values for this and
	multiline is enabled when the alignment is set to left or right.
	(DrawTab): Each alignment block should draw the text itself now
	because Left requires special love. Also add rendering for Left
	aligned tabs.

svn path=/trunk/mcs/; revision=35914
2004-11-09 21:44:54 +00:00
Martin Baulig 5b1c7198c3 2004-11-09 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_method): Small fix; don't
	crash here.

	* icall.c
	(ves_icall_MonoType_GetGenericArguments): Don't ignore `byref' types.
	(ves_icall_Type_get_IsGenericTypeDefinition): Likewise.
	(ves_icall_Type_GetGenericTypeDefinition_impl): Likewise.
	(ves_icall_Type_BindGenericParameters): Likewise.
	(ves_icall_Type_get_IsGenericInstance): Likewise.
	(ves_icall_Type_GetGenericParameterPosition): Likewise.
	(ves_icall_MonoType_get_HasGenericArguments): Likewise.
	(ves_icall_MonoType_get_IsGenericParameter): Likewise.
	(ves_icall_MonoType_get_DeclaringMethod): Likewise.

svn path=/trunk/mono/; revision=35913
2004-11-09 21:31:28 +00:00
Duncan Mak c7e21d4cdc grrrrr
svn path=/trunk/mcs/; revision=35911
2004-11-09 20:23:50 +00:00
Duncan Mak 95330baf49 Add XML_DEP, this should fix the build.
svn path=/trunk/mcs/; revision=35910
2004-11-09 20:18:06 +00:00
Martin Baulig 8d1865e473 Ooops, gen-65 is broken, not test-65.
svn path=/trunk/mcs/; revision=35909
2004-11-09 20:05:50 +00:00
Lluis Sanchez 086328f27c * System.dll.sources: Added new files:
System.Configuration/NonEmptyStringConfigurationProperty.cs
		System.Configuration/NonEmptyStringFlags.cs

svn path=/trunk/mcs/; revision=35904
2004-11-09 17:43:20 +00:00
Lluis Sanchez 248f9d555d * ConfigurationElement.cs: Implemented Equals and GetHashCode.
Only reflect properties from type's members if the type does not
	override Properties.
	* ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
	Other minor fixes.
	* ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
	* NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
	Implemented.

svn path=/trunk/mcs/; revision=35903
2004-11-09 17:42:55 +00:00
Zoltan Varga 82eb66bd27 2004-11-09 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_names_equal): Reenable the comparison of
	assembly versions and public key tokens. Fixes #69113.

svn path=/trunk/mono/; revision=35902
2004-11-09 17:19:29 +00:00
Zoltan Varga fdabee4f02 2004-11-09 Zoltan Varga <[email protected]>
* aot.c (mono_aot_init): Add MONO_AOT_CACHE env variable to turn on
	the experimental aot cache stuff.

svn path=/trunk/mono/; revision=35901
2004-11-09 17:09:58 +00:00
Gonzalo Paniagua Javier bda13fb6ef 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: unified a few bool fields into an int one.

	* ControlCollection.cs: use an array internally instead of always
	allocating an arraylist. Also added our own enumerator.

	* EmptyControlCollection.cs: there's no 'special' ctor now in the base
	class.

svn path=/trunk/mcs/; revision=35900
2004-11-09 17:03:26 +00:00
Martin Baulig 818b199243 A little bird whispered in my ear that gen-65.cs is broken ....
svn path=/trunk/mcs/; revision=35899
2004-11-09 16:35:44 +00:00
Martin Baulig 7965d1a1ab 2004-11-09 Martin Baulig <[email protected]>
* gen-86.cs, gen-87.cs, gen-88.cs, gen-89.cs, gen-90.cs,
	gen-91.cs, gen-92.cs, gen-93.cs, gen-94.cs, gen-96.cs: New tests.

svn path=/trunk/mcs/; revision=35898
2004-11-09 16:30:14 +00:00
Martin Baulig dbecb978fb 2004-11-09 Martin Baulig <[email protected]>
* test-315.cs: New test.

svn path=/trunk/mcs/; revision=35897
2004-11-09 16:27:58 +00:00
Jordi Mas i Hernandez 2b9908512f fixes menu navigation, fixes popups, etc
svn path=/trunk/mcs/; revision=35895
2004-11-09 15:47:20 +00:00
Paolo Molaro 1186c7fa5d Tue Nov 9 17:34:05 CET 2004 Paolo Molaro <[email protected]>
* metadata.c: fix bug introduced with the type cache changes
	on 2004-11-06.

svn path=/trunk/mono/; revision=35894
2004-11-09 15:12:39 +00:00
Paolo Molaro 88a687f3a2 Tue Nov 9 17:30:20 CET 2004 Paolo Molaro <[email protected]>
* aot.c, mini.c, exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
	mini-exceptions.c: update to exception clause structure changes.

svn path=/trunk/mono/; revision=35893
2004-11-09 15:08:48 +00:00
Paolo Molaro 3115b24291 Tue Nov 9 17:28:48 CET 2004 Paolo Molaro <[email protected]>
* interp.c: update to exception clause structure changes.

svn path=/trunk/mono/; revision=35892
2004-11-09 15:08:37 +00:00
Paolo Molaro e7e10996ba Tue Nov 9 17:26:29 CET 2004 Paolo Molaro <[email protected]>
* metadata.h, metadata.c, domain-internals.h, marshal.c: include
	the MonoClass pointer instead of the token in exception clauses.
	* reflection.c: updates for the above and make the code not depend
	on the structure of MonoExceptionClause.

svn path=/trunk/mono/; revision=35891
2004-11-09 15:08:13 +00:00
Paolo Molaro b1645af508 Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <[email protected]>
* dis-cil.c, get.c, get.h: update to exception clause structure changes.

svn path=/trunk/mono/; revision=35890
2004-11-09 15:08:11 +00:00
Sebastien Pouliot c7c86c3e86 2004-11-09 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
	bug that will be fixed in 2.0 beta 2.

svn path=/trunk/mcs/; revision=35888
2004-11-09 14:24:34 +00:00
Lluis Sanchez 8e9b9b89e3 * AppSettingsSection.cs: Mostly implemented (missing support for
file attribute).
	* ConfigHelper.cs: GetNameValueCollection now returns a
	ConfigNameValueCollection instance which is a NameValueCollection with a
	modification flag.
	* ConfigInfo.cs: Added XPath property.
	* Configuration.cs: Implemented AppSettings property. Set the Path property
	of sections and groups.
	* ConfigurationElement.cs: Support key serialization. Properly reset
	nested elements.
	* ConfigurationElementCollection.cs: Initial implementation.
	* ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
	* ConfigurationSectionGroup.cs: Implemented Path.
	* SectionGroupInfo.cs: Little fix.

svn path=/trunk/mcs/; revision=35884
2004-11-09 12:31:33 +00:00
Atsushi Eno a8f82f863f 2004-11-09 Atsushi Enomoto <[email protected]>
* parser.cs : cast.

svn path=/trunk/mcs/; revision=35883
2004-11-09 12:29:25 +00:00
John BouAntoun bbfd6b33ff - (DrawButtonBase): Fix verticle text rect clipping in windows
- (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  rendering and incorrect text rect clipping
- (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  rendering and incorrect text rect clipping

svn path=/trunk/mcs/; revision=35882
2004-11-09 11:06:21 +00:00
Raja R Harinath b1ebd3393a (basic_SUBDIRS): New.
svn path=/trunk/mcs/; revision=35881
2004-11-09 10:38:52 +00:00
Jambunathan K 824e434072 * attribute.cs: 1) Replaced the static method
Attribute.GetValidPlaces() with an equivalent instance method
Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
() and Attribute.Emit(). 3) Migrated functionality of
ApplyAttributes to ApplyAttributeBuilder of respective classes.

* class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
Implemented ApplyAttributeBuilder() in the following classes:
TypeContainer, Constructor, Field, Property, Event, DeclSpace,
AssemblyClass, ModuleClass, Const, Method, Parameter.

* codegen.cs: Implemented Emit() in the following classes:
AssemblyClass and ModuleClass.

svn path=/trunk/mcs/; revision=35880
2004-11-09 10:34:03 +00:00
Raja R Harinath 1f37e89f8e * profiles/basic.make: New.
* profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
* profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.

svn path=/trunk/mcs/; revision=35878
2004-11-09 04:56:06 +00:00
Raja R Harinath 4f459917b6 placeholders for new profile directories
svn path=/trunk/mcs/; revision=35877
2004-11-09 04:42:05 +00:00
Raja R Harinath 9690aa6506 (DISTFILES): Comment out a few missing files.
svn path=/trunk/mcs/; revision=35875
2004-11-09 04:38:03 +00:00
César Natarén 2520d000f2 2004-11-08 Cesar Lopez Nataren <[email protected]>
* expression.cs (class New): add new operator support. Add
	emit_args, implemented Emit.

svn path=/trunk/mcs/; revision=35874
2004-11-09 03:37:06 +00:00
Jackson Harper b641239c05 flush
svn path=/trunk/mcs/; revision=35873
2004-11-09 03:12:34 +00:00
Jackson Harper 3a2cdb72d9 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
bottom when they are bottom aligned so the bottoms of the tabs get
	displayed.
	* TabControl.cs (DropRow): Move rows up instead of down when the
	tab control is bottom aligned.

svn path=/trunk/mcs/; revision=35872
2004-11-09 03:12:00 +00:00
Atsushi Eno 285666384c 2004-11-09 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs, XmlTextReader.cs :
	  needed more changes wrt XmlException.

svn path=/trunk/mcs/; revision=35871
2004-11-09 02:38:30 +00:00
Ben Maurer e2a91c4d71 2004-11-08 Ben Maurer <[email protected]>
* replace.cs, parser.cs: Use stringbuilder for allocation sanity.

svn path=/trunk/mcs/; revision=35869
2004-11-09 01:27:09 +00:00
César Natarén 17a1919a27 2004-11-08 Cesar Lopez Nataren <[email protected]>
* expression.cs: emit unary operator code.
	* TypeOf.cs: back to Microsoft.JScript namespace. fix typo.
	* Literal.cs: constrain more the case of negative numeric literal.

svn path=/trunk/mcs/; revision=35868
2004-11-08 23:33:28 +00:00
Gonzalo Paniagua Javier c18c7f35ba 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
* CacheEntry.cs: convert the external DateTime to GMT, as everything
	else uses that timezone. Fixes bug #69194.

svn path=/trunk/mcs/; revision=35865
2004-11-08 22:36:42 +00:00
Peter Dennis Bartok 3762330984 - Updated
svn path=/trunk/mcs/; revision=35864
2004-11-08 21:31:40 +00:00
Ben Maurer 069b91f5cc 2004-11-08 Ben Maurer <[email protected]>
* outline.cs: If a type is in the namespace that we
	are looking at right now, dont print out the fullname
	this cuts down on verbosity

svn path=/trunk/mcs/; revision=35862
2004-11-08 21:30:06 +00:00
Peter Dennis Bartok 5e24c86d73 - Initial Checkin
svn path=/trunk/mcs/; revision=35861
2004-11-08 21:29:51 +00:00
Peter Dennis Bartok 3d74501cd4 - BenM's Fix for bug 68260
svn path=/trunk/mcs/; revision=35860
2004-11-08 21:28:24 +00:00
Ben Maurer b7db1ff5cc 2004-11-08 Ben Maurer <[email protected]>
* outline.cs: Cut the extra whitespace.

svn path=/trunk/mcs/; revision=35858
2004-11-08 21:23:39 +00:00
Ben Maurer 138b77a9b6 add static, thansk mig
svn path=/trunk/mcs/; revision=35856
2004-11-08 21:14:21 +00:00
Ben Maurer d92b7b35d0 2004-11-08 Ben Maurer <[email protected]>
* outline.cs: Report sealed and abstract

svn path=/trunk/mcs/; revision=35854
2004-11-08 21:04:20 +00:00
Peter Dennis Bartok ad5d9d328c - Added handling for various window styles
- Added handling for popup windows
- Added SetTopmost handling

svn path=/trunk/mcs/; revision=35853
2004-11-08 20:59:30 +00:00
Peter Dennis Bartok 25a1832988 - Added argument to SetTopmost method
- Fixed broken ClientToScreen function

svn path=/trunk/mcs/; revision=35852
2004-11-08 20:55:33 +00:00
Peter Dennis Bartok 58710faa13 - Added missing WS_EX styles
svn path=/trunk/mcs/; revision=35851
2004-11-08 20:53:48 +00:00
Peter Dennis Bartok 5c162a5a4c - Added argument to SetTopmost
svn path=/trunk/mcs/; revision=35850
2004-11-08 20:53:17 +00:00
Peter Dennis Bartok 1fba315b3e - Added XSetWindowAttributes structure
- Improved XWindowAttributes structure
- Added SetWindowValuemask enum
- Added window creation arguments enum
- Added gravity enum
- Added Motif hints structure
- Added various Motif flags and enums
- Added PropertyMode enum for property functions

svn path=/trunk/mcs/; revision=35849
2004-11-08 20:52:15 +00:00
Peter Dennis Bartok 7d7cea73a7 - Fixed arguments for updated SetTopmost method
svn path=/trunk/mcs/; revision=35848
2004-11-08 20:50:29 +00:00
Peter Dennis Bartok 7e156c65b8 - Fixed arguments for updated SetTopmost function
- Fixed usage of PointToClient

svn path=/trunk/mcs/; revision=35847
2004-11-08 20:49:35 +00:00
Gonzalo Paniagua Javier 19995d6d56 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
* SiteMap.cs: don't lock on Type.
	* CapabilitiesLoader.cs: avoid 2 locks when loading data.

svn path=/trunk/mcs/; revision=35846
2004-11-08 20:44:32 +00:00
Peter Dennis Bartok a353edce48 - Added Clipping of children and siblings
svn path=/trunk/mcs/; revision=35845
2004-11-08 20:44:00 +00:00
Gonzalo Paniagua Javier b7cc99ee15 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
	presence of rewriting.

svn path=/trunk/mcs/; revision=35844
2004-11-08 20:42:43 +00:00
Peter Dennis Bartok cad451c7ba - Removed SetMenuBarWindow call. We do this in Form.cs
svn path=/trunk/mcs/; revision=35843
2004-11-08 20:41:26 +00:00
Jackson Harper 15d19bdaee Render the little scrolling jimmi in the correct location with bottom aligned tabs
svn path=/trunk/mcs/; revision=35842
2004-11-08 20:40:08 +00:00
Peter Dennis Bartok c3d26b7f6b - Implemented BindingContext
- Implemented ParentForm

svn path=/trunk/mcs/; revision=35841
2004-11-08 20:36:11 +00:00
Ben Maurer 488a8cd463 revert the stackalloc part of the patch -- it is not in favor with the security guys ;-)
svn path=/trunk/mcs/; revision=35840
2004-11-08 20:04:44 +00:00
Jackson Harper 2c02025d48 Put bottom rendered tabs in the right location
svn path=/trunk/mcs/; revision=35839
2004-11-08 19:46:49 +00:00
Miguel de Icaza cabc1051ba Up
svn path=/trunk/mono/; revision=35837
2004-11-08 18:50:56 +00:00
César Natarén f494e15d67 2004-11-08 Cesar Lopez Nataren <[email protected]>
* expression.cs (emit_func_call): pop if function's return type is
	non-void and has no effect.

svn path=/trunk/mcs/; revision=35836
2004-11-08 18:11:08 +00:00
Jonathan Pryor efd2476864 * support/map.c: Remove <poll.h> include. Building on Tigar (Mac OS X 10.4
beta) breaks when both <poll.h> and <sys/poll.h> are included, so only use
  <sys/poll.h>.

svn path=/trunk/mono/; revision=35834
2004-11-08 15:29:35 +00:00
Jordi Mas i Hernandez 6da928f6a0 fixes vertical scrollbar and removes dead code
svn path=/trunk/mcs/; revision=35830
2004-11-08 14:15:00 +00:00
Zoltan Varga 4529a418d1 2004-11-08 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
	Add support for dynamic assemblies. Fixes #69114.

svn path=/trunk/mono/; revision=35829
2004-11-08 12:22:32 +00:00
Jonathan Pryor 04cf475e40 * configure.in: Add new function/header/type checks for use by
MonoPosixHelper (the support directory).
  * support/Makefile.am: Add sys-sendfile.c to the build.
  * support/dirent.c, support/fcntl.c, support/unistd.c: Remove compile-time
    checks for -64 apis (pread64, etc.), as they're superfluous.  GLibc
    #defines the functions to the appropriate -64 counterpart when necessary,
    and Darwin is intrinsically large-file-aware, so manual checking on my
    part is redundant and unnecessary.
  * support/grp.c: Add checks for non-portable functions getgrnam_r,
    getgrgid_r.
  * support/pwd.c: Add checks for non-portable functions getpwnam_r,
    getpwuid_r.
  * support/mph.h: Clean up macro handling for type overflow checking.

svn path=/trunk/mono/; revision=35828
2004-11-08 12:13:13 +00:00
Zoltan Varga ac50769c9e 2004-11-08 Zoltan Varga <[email protected]>
* loader.c (mono_method_get_header): Handle icalls and pinvoke methods.

svn path=/trunk/mono/; revision=35826
2004-11-08 11:42:25 +00:00
Zoltan Varga 0c2f20a36b 2004-11-08 Zoltan Varga <[email protected]>
* exceptions-x86.c (throw_exception): Fix warnings.

	* mini-x86.h mini-x86.c cpu-pentium.md exceptions-x86.c: Add support
	for OP_RETHROW.

svn path=/trunk/mono/; revision=35825
2004-11-08 11:10:30 +00:00
Zoltan Varga d02bfe5ca2 2004-11-08 Zoltan Varga <[email protected]>
* exceptions-sparc.c (get_throw_exception): Really fix this.

svn path=/trunk/mono/; revision=35824
2004-11-08 10:58:29 +00:00
Lluis Sanchez db35c27829 * HttpPostProtocolReflector.cs: Avoid generating an empty part attribute.
This was causing problems when importing the wsdl from MS Visual Studio.

svn path=/trunk/mcs/; revision=35822
2004-11-08 09:43:55 +00:00
Raja R Harinath 24c15a5dd1 * configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
variables.  Used to support both an in-tree mcs/ and a sibling
mcs/ directory.
* Makefile.am (mcs_topdir): Remove.
(dist-hook): Distribute mcs/ as a subdirectory.
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Use mcs_topdir and mcs_topdir_from_srcdir.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies) $(mdb_files)):
Likewise.
(all-local): Depend on $(mdb_files) too.
* runtime/net_2_0/Makefile.am: Likewise.

svn path=/trunk/mono/; revision=35821
2004-11-08 09:25:30 +00:00
Atsushi Eno f6a6ca4b93 2004-11-08 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  DTDReader.cs,
	  XmlReader.cs,
	  XmlTextReader.cs,
	  XmlException.cs :

	  Added support for 2.0 XmlException.SourceUri property. Improved
	  exception handling to contain BaseURI everywhere in the parser.

svn path=/trunk/mcs/; revision=35820
2004-11-08 09:18:29 +00:00
Jambunathan K 7f373943c7 Coalesced the functionality of Property and
PropertyBase in to Property class and removed the class
PropertyBase.

svn path=/trunk/mcs/; revision=35819
2004-11-08 08:35:37 +00:00
Jambunathan K 7379bbf5f9 * attribute.cs: Injected a new virtual property
Attributable.AttributeTargets

* decl.cs: Made MemeberCore a derived class of
Attributable.

* parameter.cs: Made Parameter a derived class of
Attributable.

* class.cs: Commented out the "never used" class Indexer. I
suspect that the class will never be required in VB.NET context
and can possibly be stripped off after careful inspection.

* tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
const.cs, codegen.cs: Changes necessiated by the above changes.

svn path=/trunk/mcs/; revision=35818
2004-11-08 08:12:25 +00:00
Raja R Harinath 60d5723a33 (test-clients): Refer to 'nunit-console.exe' in
profile-specific directory.

svn path=/trunk/mcs/; revision=35817
2004-11-08 07:59:26 +00:00
Atsushi Eno f1bb914230 2004-11-08 Atsushi Enomoto <[email protected]>
* xmltest.cs : reformat; easier to check.

svn path=/trunk/mcs/; revision=35816
2004-11-08 06:59:43 +00:00
Atsushi Eno 5b7207c7b1 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlNodeReaderTests.cs : numbered some of asserts.

svn path=/trunk/mcs/; revision=35815
2004-11-08 06:59:14 +00:00
Atsushi Eno 652bcab9b1 2004-11-08 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources :
	  added XmlTextReader2.cs.
	  removed IXPathEditable.cs, XPathEditableNavigator.cs,
	  NodeChangedEventArgs.cs and NodeChangedEventHandler.cs.

svn path=/trunk/mcs/; revision=35814
2004-11-08 06:53:22 +00:00
Atsushi Eno 53e4641a96 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added tests for 2.0 entity handling.
	* XmlValidatingReaderTests.cs : modified tests for entity handling
	  that are changed in 2.0.

svn path=/trunk/mcs/; revision=35813
2004-11-08 06:51:03 +00:00
Atsushi Eno 70b42d2cef 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlTextReader2.cs : added. It is used to serve public API, plus
	  entity handling support.

	* DTDObjectModel.cs,
	  DTDValidatingReader.cs,
	  XmlDocumentType.cs,
	  XmlParserContext.cs,
	  XmlTextReader.cs :
	  Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
	  implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
	  and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
	  same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
	  source reader, and never handles tokenization.
	  The reason for "Mono.Xml2" is to avoid large changes in constructor.f

svn path=/trunk/mcs/; revision=35812
2004-11-08 06:49:47 +00:00
Atsushi Eno ef135e361d 2004-11-08 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : reuse NameTable on loading external schema.

svn path=/trunk/mcs/; revision=35811
2004-11-08 06:42:46 +00:00
Atsushi Eno 7875109b60 2004-11-08 Atsushi Enomoto <[email protected]>
* Tokenizer.cs : just use raw string instead of char[].
	* XPathNavigator.cs : reuse NameTable when creating XmlTextReader.

svn path=/trunk/mcs/; revision=35810
2004-11-08 06:36:05 +00:00
Atsushi Eno 288fb5c552 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs : use NameTable when creating XmlTextReader.

svn path=/trunk/mcs/; revision=35809
2004-11-08 06:33:42 +00:00
Atsushi Eno 71008c0e66 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlElement.cs : get_Name should consider name table.
	* XmlDocument.cs : use NameTable in Load() and LoadXml().
	* XmlReader.cs : In Create(), use NameTable in XmlReaderSettings.

svn path=/trunk/mcs/; revision=35808
2004-11-08 06:32:35 +00:00
Atsushi Eno 94471c5bbb 2004-11-08 Atsushi Enomoto <[email protected]>
* Compiler.cs, XslTransformProcessor.cs :
	  when creating XmlTextReader, reuse XmlNameTable.

svn path=/trunk/mcs/; revision=35807
2004-11-08 06:29:01 +00:00
Ben Maurer 0f947926c2 a few warning fixes
svn path=/trunk/mono/; revision=35806
2004-11-08 04:08:13 +00:00
Ben Maurer 03620a103c 2004-11-08 Ben Maurer <[email protected]>
* interp.c: warning free

svn path=/trunk/mono/; revision=35805
2004-11-08 03:47:25 +00:00
Ben Maurer b51c451c1e 2004-11-08 Ben Maurer <[email protected]>
* get.c, dump.c: warning free.

svn path=/trunk/mono/; revision=35804
2004-11-08 03:37:57 +00:00
Ben Maurer ea1d66de11 fix
svn path=/trunk/mono/; revision=35803
2004-11-08 03:19:16 +00:00
Ben Maurer 39d8e2085f generics doesnt like me...
svn path=/trunk/mono/; revision=35802
2004-11-08 03:11:09 +00:00
Ben Maurer f80da89682 fix this
svn path=/trunk/mono/; revision=35801
2004-11-08 02:27:23 +00:00
Ben Maurer 98abbb92da 2004-11-07 Ben Maurer <[email protected]>
* class-internals.h (MonoMethod): Move addr to MonoMethodPInvoke
	since most only those methods use it. the code member of
	MonoMethodPInvoke was dead, so that can be removed too. Also,
	remove inline_count (again, not used), and move slot so that it
	can share bits with some other flags. This saves 8 bytes in the
	structure and gives us about 50 kb back for mcs helloworld.cs

	* *.[ch]: Do naming changes for the above. 2004-11-07  Ben Maurer  <[email protected]>

	* tramp-*.c: we no longer support icalls without wrappers, so
	a bit of code can be removed here

svn path=/trunk/mono/; revision=35800
2004-11-08 02:06:50 +00:00
Ben Maurer 0a6a7e6f2d wack-a-mole
svn path=/trunk/mono/; revision=35799
2004-11-08 01:22:21 +00:00
Ben Maurer b8e3806789 warning fix
svn path=/trunk/mono/; revision=35798
2004-11-08 01:20:57 +00:00
Ben Maurer a345e78d10 2004-11-07 Ben Maurer <[email protected]>
* loader.c (mono_method_get_header): Lazily init the header
	on first access.
	(mono_get_method_from_token): don't init the header here
	(mono_free_method): the header may never be allocated

	Overall, this saves 150 kb of unmanaged allocations
	for mcs helloworld.cs. That accounts for 10% of the unmanaged
	memory at runtime.

svn path=/trunk/mono/; revision=35797
2004-11-08 01:06:15 +00:00
Atsushi Eno bd8c604df1 2004-11-08 Atsushi Enomoto <[email protected]>
* XmlFilterReader.cs : ReadInnerXml() and ReadOuterXml() should not
	  invoke those of argument reader. It causes unfiltered results like
	  XmlValidatingReader bug in MS.NET 1.0. Just don't implement it.

svn path=/trunk/mcs/; revision=35796
2004-11-08 00:49:08 +00:00
Miguel de Icaza 742f69eba6 2004-11-07 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.OverloadResolve): Flag error if we are
	calling an unsafe method from a safe location.

svn path=/trunk/mcs/; revision=35795
2004-11-08 00:48:47 +00:00
Ben Maurer 5252966c1c 2004-11-07 Ben Maurer <[email protected]>
* loader.c, loader.h (mono_method_get_header): new accessor.

	* *.[ch]: use the above method. Prepares us to lazily load
	the header.

svn path=/trunk/mono/; revision=35794
2004-11-08 00:45:35 +00:00
Miguel de Icaza fcc079a3f1 Add new error case
svn path=/trunk/mcs/; revision=35793
2004-11-08 00:45:27 +00:00
Ben Maurer a52c1e1292 2004-11-07 Ben Maurer <[email protected]>
* IntegerFormatter.cs: Avoid .ToCharArray, it was being used in
	places where there was no reason for it. Also, allocate buffers
	using stackalloc. This avoids the cost of allocating a char []
	buffer in the gc. Also did some minor style changes.

	This gives a huge reduction in memory allocation for integer formatting.
	often you see something like:

	665 KB System.IntegerFormatter::FormatGeneral(long,int,NumberFormatInfo,bool,int)
	    463 KB    11710 System.Char[]
	    201 KB    11710 System.String

	This patch removes the char [] part. (it also removes the
	tochararray, which accounts for even more.

svn path=/trunk/mcs/; revision=35792
2004-11-07 22:49:19 +00:00
Zoltan Varga e5e4b7bf47 2004-11-07 Zoltan Varga <[email protected]>
* exceptions-sparc.c (get_throw_exception): Fix more bugs in previous
	patch.

svn path=/trunk/mono/; revision=35791
2004-11-07 21:09:13 +00:00
Zoltan Varga 9440f0bbf1 2004-11-07 Zoltan Varga <[email protected]>
* cpu-sparc.md: Add op_rethrow.

svn path=/trunk/mono/; revision=35790
2004-11-07 20:49:10 +00:00
Zoltan Varga e1794c04f1 2004-11-07 Zoltan Varga <[email protected]>
* exceptions-sparc.c (get_throw_exception): Fix bug in previous patch.

svn path=/trunk/mono/; revision=35789
2004-11-07 20:27:49 +00:00
Zoltan Varga 909b995842 2004-11-07 Zoltan Varga <[email protected]>
* mini-sparc.h mini-sparc.c exceptions-sparc.c: Add support for OP_RETHROW.

svn path=/trunk/mono/; revision=35788
2004-11-07 20:19:02 +00:00
Zoltan Varga 5f9347ae46 2004-11-07 Zoltan Varga <[email protected]>
* mini.h: Add mono_arch_get_rethrow_exception () arch specific function.
	* mini-ops.h: Add OP_RETHROW.

	* mini.c inssel.brg: Distinguish between THROW and RETHROW.

	* cpu-amd64.c mini-amd64.c exceptions-amd64.c: Add support for OP_RETHROW.

svn path=/trunk/mono/; revision=35787
2004-11-07 20:15:42 +00:00
Zoltan Varga b4bdaf6d07 2004-11-07 Zoltan Varga <[email protected]>
* mono-jni.c (GET_SET_ARRAY_ELEMENTS): Fix compilation errors on
	gcc 3.3.5.

svn path=/trunk/mono/; revision=35786
2004-11-07 19:52:27 +00:00
César Natarén 023f985c77 use inherited constructor
svn path=/trunk/mcs/; revision=35785
2004-11-07 18:19:16 +00:00
César Natarén b8c5657c17 update README
svn path=/trunk/mcs/; revision=35784
2004-11-07 18:17:02 +00:00
César Natarén 5a690f0b58 2004-11-07 Cesar Lopez Nataren <[email protected]>
* BinaryOp.cs: added constructor for instantiating derived classes.
	* BitwiseBinary.cs, Equality.cs, In.cs, InstanceOf.cs,
	NumericBinary.cs, Plus.cs, Relational.cs, StrictEquality.cs,
	expression.cs (classes Binary, Assign): use inherited constructor.
	* BitwiseBinary.cs, Equality.cs: deleted public constructor which carried the context.

svn path=/trunk/mcs/; revision=35783
2004-11-07 18:10:45 +00:00
Ben Maurer 8664977b69 wack-a-mole time...
svn path=/trunk/mono/; revision=35782
2004-11-07 17:30:57 +00:00
Ben Maurer 98a618e698 2004-11-07 Ben Maurer <[email protected]>
* *.[ch]: Clean up all the pesky warnings. gcc now only gives
	three warnings, which are actual bugs (see 69206).

svn path=/trunk/mono/; revision=35781
2004-11-07 17:09:30 +00:00
Atsushi Eno 836675cffd 2004-11-05 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs : reduced extraneous XmlSchemaObjectTable creation.

svn path=/trunk/mcs/; revision=35779
2004-11-07 15:11:44 +00:00
Atsushi Eno 1da75aa26a 2004-11-07 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : optimized some ArrayList fields; create them
	  only when required.

svn path=/trunk/mcs/; revision=35778
2004-11-07 14:54:10 +00:00
Ben Maurer c33ab986d3 2004-11-07 Ben Maurer <[email protected]>
* class-internals.h (MonoMethod): Remove remoting_tramp. It is
	unused. Saves a cool 4 bytes / method.

svn path=/trunk/mono/; revision=35777
2004-11-07 14:45:10 +00:00
Atsushi Eno f0687f3392 2004-11-07 Atsushi Enomoto <[email protected]>
* Iterator.cs :
	  - Made copy constructor certainly different from other constructors.
	  - Position is never computed in each derived type. All MoveNext() are
	    now MoveNextCore().
	  - Most of the protected members could just be private.

svn path=/trunk/mcs/; revision=35776
2004-11-07 12:46:00 +00:00
Atsushi Eno 082100858b 2004-11-07 Atsushi Enomoto <[email protected]>
* PosixEnvironment.cs : csc build fix. see bug #69195.
	* PosixStream.cs : csc build fix. see bug #69196.

svn path=/trunk/mcs/; revision=35775
2004-11-07 08:57:39 +00:00
Marek Safar ae84a25dd6 2004-11-06 Marek Safar <[email protected]>
Fix #69167
	* codegen.cs (ApplyAttributeBuilder): Do not return; it is only warning.

svn path=/trunk/mcs/; revision=35773
2004-11-06 21:56:09 +00:00
Ben Maurer 44de42eade 2004-11-06 Ben Maurer <[email protected]>
* metadata.c (builtin_types): Add types for System.Object here.
	(mono_metadata_parse_type_full): Cache MonoType*'s that are
	for a class or valuetype from klass->this_arg or klass->byval_arg.

	On mcs for a hello world, this gets us down from 21836 MonoType's
	to 14560.

	(mono_metadata_free_type): Account for the above change.

svn path=/trunk/mono/; revision=35772
2004-11-06 20:26:47 +00:00
Jambunathan K 370bb6fcf9 * typemanager.cs: Removed TypeManager.builder_to_attr which was
redundant and replaced LookupAttr with LookupClass.

* rootcontext.cs:
* module.cs: Miscellaneous changes

* mb-parser.jay: Upadted actions of the attributes grammar

* codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
AssemblyClass, ModuleClass 2) Introduced following methods
CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes

* class.cs: Factored out TypeContainer.AttributeUsage

* attribute.cs: 1) Factored out Attribute.UsageAttribute and
Attribute.GetAttributeUsage 2) Introducing the new base class
Attributable from which all Attributable types will be derived in
the future 3) Added new accessors Attribute.IsAssemblyAttribute
and Attribute.IsModuleAttribute

svn path=/trunk/mcs/; revision=35771
2004-11-06 18:25:25 +00:00
Miguel de Icaza 916ff905bd Fix another miss-use of MemberName
svn path=/trunk/mcs/; revision=35770
2004-11-06 16:56:50 +00:00
Miguel de Icaza fed47bc830 flush
svn path=/trunk/mcs/; revision=35769
2004-11-06 16:52:07 +00:00
Atsushi Eno 7ee96faf47 2004-11-05 Atsushi Enomoto <[email protected]>
* Compiler.cs : Changes that reflects CompiledExpression changes.

svn path=/trunk/mcs/; revision=35768
2004-11-06 12:55:59 +00:00
Atsushi Eno 7e940e8ecf 2004-11-05 Atsushi Enomoto <[email protected]>
* Expression.cs, XPathNavigator.cs : hold raw expression field for
	  get_Expression. It is preparation for expression optimization.

svn path=/trunk/mcs/; revision=35767
2004-11-06 12:55:33 +00:00
Atsushi Eno 2cdd898c24 2004-11-05 Atsushi Enomoto <[email protected]>
* Iterator.cs : SimpleIterator._current could be cloned only when
	  it is required.

svn path=/trunk/mcs/; revision=35765
2004-11-06 12:04:35 +00:00
Jambunathan K 28d0dcd3b6 (LateGet, LateSet): Ported the missing pieces
from Mainsoft's codebase.

svn path=/trunk/mcs/; revision=35764
2004-11-06 11:47:31 +00:00
Atsushi Eno f6c2c59e66 2004-11-05 Atsushi Enomoto <[email protected]>
* Iterator.cs : Some removal of Clone() were harmless.

svn path=/trunk/mcs/; revision=35763
2004-11-06 11:46:18 +00:00
Gert Driesen b1be99a02b * Tds70.cs: avoid unnecessary property call
svn path=/trunk/mcs/; revision=35762
2004-11-06 11:16:56 +00:00
Atsushi Eno 25683590a7 2004-11-05 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : create rarely-used ArrayList later. This
	  significantly improves XmlDocument-based XPath performance.

svn path=/trunk/mcs/; revision=35760
2004-11-06 05:34:39 +00:00
Ben Maurer 49073bc549 2004-11-06 Ben Maurer <[email protected]>
* Single.cs, Double.cs (GetHashCode): Better hashcode impl

svn path=/trunk/mcs/; revision=35759
2004-11-06 03:58:10 +00:00
Ben Maurer 940fed54c2 2004-11-06 Ben Maurer <[email protected]>
* System.Resources/ResXResourceReader.cs: use File.OpenRead so
	that we can open on read-only files. 68260

svn path=/trunk/mcs/; revision=35757
2004-11-06 03:41:29 +00:00
Geoff Norton cec4d67191 Forgot changelog for tracking.
svn path=/trunk/mono/; revision=35756
2004-11-06 02:25:34 +00:00
Jonathan Pryor 3fe0d8e143 Re-add Catalog.cs to the build. I'm not sure why I removed this...
svn path=/trunk/mcs/; revision=35755
2004-11-06 02:24:18 +00:00
Geoff Norton b00b6acd7f Minor change to otool command args to pretty up mono -v -v on OSX.
svn path=/trunk/mono/; revision=35754
2004-11-06 02:13:48 +00:00
Jackson Harper 4f3a5da10d When selected tabs are expanded make sure they don't go beyond the edges of the tab control
svn path=/trunk/mcs/; revision=35753
2004-11-06 00:30:21 +00:00
Ben Maurer a9e75e6bb3 2004-11-05 Ben Maurer <[email protected]>
* ssa.c: allocate MonoMethodVar.uses from the mempool. First, this
	prevents another huge leak when compiling with ssa. Secondly, the
	performance of doing this rather than freeing the lists is much
	better. GList does a lock every time you allocate a list link,
	so that it can use a memory pool. So, it is better to just use
	a memory pool of our own.

svn path=/trunk/mono/; revision=35752
2004-11-05 23:26:18 +00:00
Ben Maurer 4bff884ecd oops missed one
svn path=/trunk/mono/; revision=35751
2004-11-05 22:12:38 +00:00
Ben Maurer bade66c1c7 2004-11-05 Ben Maurer <[email protected]>
* ssa.c, linear-scan.c: replace g_list_remove_link with
	g_list_delete.  The remove one does not free the GList, so we were
	leaking memory. On -O=all --compile-all with corlib, this cut down
	3 MB of allocations.

svn path=/trunk/mono/; revision=35750
2004-11-05 22:10:36 +00:00
Jackson Harper 6f65944f81 Reset show_slider so if the control is resized to a size where it is no longer needed it's not displayed anymore
svn path=/trunk/mcs/; revision=35749
2004-11-05 21:57:01 +00:00
Zoltan Varga ac8e00ba18 2004-11-06 Zoltan Varga <[email protected]>
* AppDomainTest.cs: Reenable SetData/GetData (null) tests.

svn path=/trunk/mcs/; revision=35747
2004-11-05 21:47:16 +00:00
Zoltan Varga e63c7baf7e 2004-11-06 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_GetData): Throw an
	exception instead of asserting if name is null.
	(ves_icall_System_AppDomain_GetData): Ditto.

svn path=/trunk/mono/; revision=35746
2004-11-05 21:46:15 +00:00
Zoltan Varga f86a24edcf 2004-11-06 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Ignore some tests which depend on TypeBuilder
	features which are unlikely to change due to mcs depending on them.

svn path=/trunk/mcs/; revision=35745
2004-11-05 21:40:55 +00:00
Miguel de Icaza 445110d42a Deal with gmcs not being merged
svn path=/trunk/mcs/; revision=35743
2004-11-05 21:27:22 +00:00
Zoltan Varga 83796b4a2f 2004-11-05 Zoltan Varga <[email protected]>
* AssemblyName.cs (FullName): Omit default values from full name.

svn path=/trunk/mcs/; revision=35741
2004-11-05 21:20:38 +00:00
Zoltan Varga 2d27d50736 2004-11-05 Zoltan Varga <[email protected]>
* EnumBuilderTest.cs: Remove test that depends on the exact format
	of AssemblyName.FullName.

svn path=/trunk/mcs/; revision=35740
2004-11-05 21:19:47 +00:00
Zoltan Varga dfca7ff33d 2004-11-05 Zoltan Varga <[email protected]>
(ves_icall_get_enum_info): Avoid crash when called on a non-finished
	EnumBuilder.

svn path=/trunk/mono/; revision=35739
2004-11-05 21:14:29 +00:00
Miguel de Icaza fa6b75cc24 2004-11-05 Miguel de Icaza <[email protected]>
* statement.cs (Return.Resolve): Fix regression in typo: if
	`in_exc', we have to request a NeedReturnLabel, this was a typo
	introduced in the anonymous method check-in.  Fixes #69131.

svn path=/trunk/mcs/; revision=35738
2004-11-05 20:51:02 +00:00
Zoltan Varga d365ee06a8 2004-11-05 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetEntryAssembly):
	Return NULL when the domain does not have entry_assembly set.

svn path=/trunk/mono/; revision=35737
2004-11-05 20:17:43 +00:00
Jackson Harper fb76c6cc83 Make tab pages non visible when added to the control
svn path=/trunk/mcs/; revision=35736
2004-11-05 20:16:27 +00:00
Zoltan Varga 05092a9898 2004-11-05 Zoltan Varga <[email protected]>
* Assembly.cs: Implement GetFiles (bool).

svn path=/trunk/mcs/; revision=35735
2004-11-05 20:14:48 +00:00
Zoltan Varga 10c27e76c5 2004-11-05 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetFilesInternal):
	Add a 'resource_modules' argument.
	(ves_icall_type_GetTypeCode): Fix typecode of byref types.

svn path=/trunk/mono/; revision=35734
2004-11-05 20:09:27 +00:00
Jackson Harper fb7b0f5087 Implement SizeMode.FillToRight
svn path=/trunk/mcs/; revision=35732
2004-11-05 19:42:34 +00:00
Jonathan Pryor a4e75d9a27 More Mac OS X portability fixes. On Linux, getgrnam_r & co. return the error
value directly.  Mac OS X returns -1 and errno holds the error.  Argh!  Check
both, for maximum portability.

svn path=/trunk/mono/; revision=35731
2004-11-05 19:42:24 +00:00
Miguel de Icaza 55a71babd7 2004-11-05 Miguel de Icaza <[email protected]>
* Indexers were using the ShortName when defining themselves,
	causing a regression in the compiler bootstrap when applying the
	patch from 2004-11-02 (first part), now they use their full name
	and the bug is gone.

Reapplied:

2004-11-02  Miguel de Icaza  <[email protected]>

	* class.cs (Event.Define, Indexer.Define, Property.Define): Do not
	special case explicit implementations, we should always produce
	the .property or .event declaration.

svn path=/trunk/mcs/; revision=35728
2004-11-05 19:38:32 +00:00
Miguel de Icaza 7713bb5b3d Enable 135 again
svn path=/trunk/mcs/; revision=35727
2004-11-05 19:37:52 +00:00
Jonathan Pryor 9cb7cfc014 Mac OS X and BSD portability fixes. MonoPosixHelper should now cleanly
compile on Darwin.

svn path=/trunk/mono/; revision=35725
2004-11-05 19:16:52 +00:00
Jackson Harper 9e9230029d Do not call CreateHandle if the handle is already created
svn path=/trunk/mcs/; revision=35724
2004-11-05 19:16:48 +00:00
Zoltan Varga fe18003794 2004-11-05 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_create_runtime_class): Move setting
	of wastypebuilder here, so mono_get_type_object () returns a MonoType
	for enums too.

svn path=/trunk/mono/; revision=35723
2004-11-05 19:15:45 +00:00
Zoltan Varga 46bf36e1c2 2004-11-05 Zoltan Varga <[email protected]>
* AssemblyTest.cs: Reenable GetFiles (true) test. Add a LoadWithPartialName () test.

svn path=/trunk/mcs/; revision=35722
2004-11-05 19:13:02 +00:00
Jonathan Pryor 40424fdb98 * Syscall.cs: Change umount() to use MonoPosixHelper: portability fix for Mac OS X.
svn path=/trunk/mcs/; revision=35717
2004-11-05 18:58:44 +00:00
Jackson Harper 01535fb8e2 Remove superflous call to CalcTabRows
svn path=/trunk/mcs/; revision=35716
2004-11-05 18:46:18 +00:00
Miguel de Icaza e0973e58a5 135 while its broken
svn path=/trunk/mcs/; revision=35713
2004-11-05 18:13:23 +00:00
Zoltan Varga abfc5b1acf 2004-11-05 Zoltan Varga <[email protected]>
* Binder.cs: Add support for byref types. Fixes #69140.

svn path=/trunk/mcs/; revision=35710
2004-11-05 17:56:43 +00:00
Zoltan Varga e10dc51324 2004-11-05 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add test for byref parameters to Invoke ().

svn path=/trunk/mcs/; revision=35709
2004-11-05 17:55:47 +00:00
Sebastien Pouliot 771fea664a 2004-11-05 Sebastien Pouliot <[email protected]>
* KeyPairPersistenceTest.cs: Forgot to re-fix the second failing test.

svn path=/trunk/mcs/; revision=35706
2004-11-05 17:20:49 +00:00
Sebastien Pouliot 75df0e0eee 2004-11-05 Sebastien Pouliot <[email protected]>
* PrivateKeyTest.cs: Fixed SaltWithoutPassword test to always use
	little endian.

svn path=/trunk/mcs/; revision=35705
2004-11-05 17:19:09 +00:00
Sebastien Pouliot 0539a23188 2004-11-05 Sebastien Pouliot <[email protected]>
* MessageBase.cs: Fixed endian issue. Added globalization support.
	* Type1Message.cs: Fixed endian issue. Added globalization support.
	* Type2Message.cs: Fixed endian issue.
	* Type3Message.cs: Fixed endian issue. Added globalization support.

svn path=/trunk/mcs/; revision=35704
2004-11-05 17:17:00 +00:00
Sebastien Pouliot 1a0d0b72b7 2004-11-05 Sebastien Pouliot <[email protected]>
* AuthenticodeFormatter.cs: Now use BitConverterLE for explicit
	little-endian convertion.
	* PrivateKey.cs: Now use BitConverterLE for explicit little-endian
	convertion for PVK files.

svn path=/trunk/mcs/; revision=35703
2004-11-05 17:15:11 +00:00
Jackson Harper 46b0de22df Update for Mono.Posix changes
svn path=/trunk/mcs/; revision=35701
2004-11-05 16:07:53 +00:00
Zoltan Varga 346a1ab4e0 2004-11-05 Zoltan Varga <[email protected]>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi): Return NULL here instead of an empty string to match MS behavior.
	(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi_len):
	Throw an ArgumentNullException if 'ptr' is null.

svn path=/trunk/mono/; revision=35700
2004-11-05 15:57:53 +00:00
Zoltan Varga a63efaa2c5 2004-11-05 Zoltan Varga <[email protected]>
* runtime/net_2_0/Makefile.am (install-data-local):
	* runtime/net_1_1/Makefile.am (install-data-local): Applied patch
	from G�tz Waschk ([email protected]). Make this work
	with DESTDIR.

svn path=/trunk/mono/; revision=35699
2004-11-05 15:41:52 +00:00
Zoltan Varga 63a9de9d4b 2004-11-05 Zoltan Varga <[email protected]>
* loader.cs: Add test for loading dynamic assemblies using
	Assembly.LoadWithPartialName ().

svn path=/trunk/mono/; revision=35697
2004-11-05 15:18:12 +00:00
Zoltan Varga c207534a96 2004-11-05 Zoltan Varga <[email protected]>
* appdomain.c (mono_domain_assembly_search): Avoid matching dynamic
	assemblies here. Fixes #69020.

svn path=/trunk/mono/; revision=35696
2004-11-05 15:15:01 +00:00
Zoltan Varga 4306bff9a9 2004-11-05 Zoltan Varga <[email protected]>
* tramp-sparc.c (mono_arch_create_jit_trampoline): Fix sparc build.

svn path=/trunk/mono/; revision=35695
2004-11-05 15:04:31 +00:00
Zoltan Varga 95361e2a33 2004-11-05 Zoltan Varga <[email protected]>
* tramp-amd64.c (mono_arch_create_jit_trampoline): Fix amd64 build.

svn path=/trunk/mono/; revision=35694
2004-11-05 14:14:27 +00:00
Ravindra 2441611b63 Implemented some methods and fixed scrolling.
svn path=/trunk/mcs/; revision=35693
2004-11-05 14:00:50 +00:00
Zoltan Varga a5c91be9e9 2004-11-05 Zoltan Varga <[email protected]>
* mini.h mini.c tramp-*.c: Moved xp parts of JIT trampoline creation
	into a new function mono_create_jit_trampoline ().

svn path=/trunk/mono/; revision=35692
2004-11-05 13:59:43 +00:00
Atsushi Eno eb9afec887 2004-11-05 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeList.cs,
	  XmlSchemaSimpleTypeUnion.cs : XmlIgnore.

svn path=/trunk/mcs/; revision=35691
2004-11-05 12:59:14 +00:00
Jonathan Pryor 66bdc43a74 Integrate Mono.Posix OEE with Mono.
* Mono.Posix.dll.sources: Add lots of new files to the binding.
  * PosixConvert.cs: New file; conversion functions for Mono.Posix types.
  * PosixDirectory.cs: New file; Friendly wrapper over directory information.
  * PosixDirectoryInfo.cs: New file; Friendly wrapper over directory information.
  * PosixEnvironment.cs: New file; Friendly wrapper over environment information.
  * PosixFile.cs: New file; Friendly wrapper over file information.
  * PosixFileInfo.cs: New file; Friendly wrapper over file information.
  * PosixFileSystemInfo.cs: New file; Friendly wrapper over `stat'.
  * PosixGroup.cs: New file; User Group-related functionality
  * PosixGroupInfo.cs: New file; User Group-related functionality
  * PosixIOException.cs: New file; Exception for POSIX-generated exceptions.
  * PosixMarshal.cs: New file; utility functions for marshaling, etc.
  * PosixProcess.cs: New file; Friendly wrapper over process information.
  * PosixStream.cs: New file; Friendly wrapper over file descriptors.
  * PosixSymbolicLinkInfo.cs: New file; Friendly wrapper over symbolic links.
  * PosixUser.cs: New file; Friendly wrapper over user information.
  * PosixUserInfo.cs: New file; Friendly wrapper over user information.
  * Stdlib.cs: New file; C standard library exports.
  * Syscall.cs: Effective re-write.
    - Organize exports by header file
    - add additional enumerations (Error for the E* error values, etc.)
    - always explicitly specify enumeration underlying type
    - Use a new wrapping infrastructure so that ABI-stable types are exported
      - For example, size_t is exported as ulong, not IntPtr.
    - Wrap more functions, and wrap them better (such as getpwnam).
    - This release is NOT backward compatible.  Many names are the same, and
      hopefully they're still compatible, but no effort was made to maintain
      compatibility.  For example, FileMode was removed and replaced with
      FilePermissions, to avoid a name conflict with System.IO.FileMode.
  * make-map.cs: Another effective re-write, to clean up the code, produce
    better output, and produce more output.  For example, most of
    PosixConvert can be auto-generated, so it is (modulo version delays and
    bootstrap issues).  `map.c' is now conditional on all macros, and has
    error checking for invalid/unsupported values.

svn path=/trunk/mcs/; revision=35690
2004-11-05 12:37:29 +00:00
Jonathan Pryor 50cd49c88c Integrate Mono.Posix OEE with Mono.
* support/.cvsignore: Ignore generated files.
  * support/Makefile.am: Add new INCLUDE directives (for glib headers),
    source; bump library version (so we don't clobber previous versions of
    libMonoPosixHelper.so).
  * support/dirent.c: New file; <dirent.h> wrapper functions
  * support/errno.c: New file; <errno.h> wrapper functions
  * support/fcntl.c: New file; <fcntl.h> wrapper functions
  * support/grp.c: New file; <grp.h> wrapper functions
  * support/map.c: Updated macro mapping functions (more enums mapped, more
    error checking, etc.).
  * support/map.h: Updated macro mapping functions
  * support/old-map.c: Previous map.c implementation, for backward compatibility
  * support/old-map.h: Previous map.h implementation, for backward compatibility
  * support/mph.h: New file; Utility types, macros
  * support/pwd.c: New file; <pwd.h> wrapper functions
  * support/stdio.c: New file; <stdio.h> wrapper functions
  * support/stdlib.c: New file; <stdlib.h> wrapper functions
  * support/sys-mman.c: New file; <sys/mman.h> wrapper functions
  * support/sys-mount.c: New file; <sys/mount.h> wrapper functions
  * support/sys-sendfile.c: New file; <sys/sendfile.h> wrapper functions
  * support/sys-stat.c: New file; <sys/stat.h> wrapper functions
  * support/sys-wait.c: New file; <sys/wait.h> wrapper functions
  * support/time.c: New file; <time.h> wrapper functions
  * support/unistd.c: New file; <unistd.h> wrapper functions

svn path=/trunk/mono/; revision=35689
2004-11-05 12:32:30 +00:00
Jambunathan K fccb240f20 Removed the static field - RootContext:global_attribute.
svn path=/trunk/mcs/; revision=35688
2004-11-05 10:51:09 +00:00
Sanja Gupta 37c863887a ChangeLog: Updated.
SqlDataSource.cs: Corrected method calls.
SqlDataSourceView.cs: Partial implementation of few methods.

svn path=/trunk/mcs/; revision=35687
2004-11-05 10:49:16 +00:00
Sanja Gupta ceb784e5a9 ChangeLog: Updated.
DataSourceView.cs: Changes in access modifiers of methods.

svn path=/trunk/mcs/; revision=35686
2004-11-05 10:44:34 +00:00
Jambunathan K 53979f527d * class.cs:
* attribute.cs: Removed the incomplete and (for now) unnecessary
Mono.MonoBASIC.Operator class. Let us bother about this later.

Stripping off these unused bits will help me in 1) refactoring the
mbas Attributes related code 2) reusing the code from the mcs code
base.

svn path=/trunk/mcs/; revision=35685
2004-11-05 10:38:37 +00:00
Jambunathan K 6498115df5 Removed the incomplete and (for now) unnecessary
operator methods. Let us bother about this later.

svn path=/trunk/mcs/; revision=35683
2004-11-05 10:10:27 +00:00
Jambunathan K 33b5aabdc9 * attribute.cs: Removed the redundant AttributeSection class and
moved it's functionality to Attributes class.
* class.cs:
* mb-parser.jay:
* module.cs: Replaced references to AttributeSection with the equivalent constructs.
* rootcontext.cs: Removed the following unused methods
AddGlobalAttribute and AddGlobalAttributeSection.

svn path=/trunk/mcs/; revision=35682
2004-11-05 08:25:02 +00:00
John BouAntoun 939abd7d64 - Fix Button rendering for FlatStyle = Flat or Popup
- Fix RadioButton and CheckBox rendering when Appearance = Button (normal and
  flatstyle).
- Correct outer rectangle color when drawing focus rectangle
- Adjust button bounds to be 1 px smaller when focused
- Make button not draw sunken 3d border when pushed (windows compat)
- Fix CPDrawBorder3D to not make bottom right hand corner rounded
- Offset the text in RadioButton and Checkbox when being rendered as a button.
- Hover and Click behaviour for Colored FlatStyle.Flat and Popup radiobuttons
- Fixed disabled rendering for colored flatstyle radiobuttons (both)
- Fixed disabled text rendering for normally rendered radiobuttons

svn path=/trunk/mcs/; revision=35677
2004-11-05 05:47:34 +00:00
Geoff Norton f4d5a01499 2004-11-05 Geoff Norton <[email protected]>
* reflection.c (build_compressed_metadata): Fix the previous patch for
        big endian systems.  GUINT32_FROM_LE isn't needed on strlen and was overwriting
        the stack.

svn path=/trunk/mono/; revision=35676
2004-11-05 04:30:59 +00:00
Lluis Sanchez 0c72ecf36a * Configuration.cs: Minor fixes.
* ConfigurationElement.cs: Added support for the different update modes.
	* SectionGroupInfo.cs: Support loading the same configuration section
	  from different files.
	* SectionInfo.cs: Properly write back configuration data for which a
	  section object has not been created.

svn path=/trunk/mcs/; revision=35675
2004-11-04 23:31:39 +00:00
Atsushi Eno 5f46c8850a 2004-11-05 Atsushi Enomoto <[email protected]>
* makefile : run mono with --debug to keep track of problems.

svn path=/trunk/mono/; revision=35674
2004-11-04 23:21:23 +00:00
Ben Maurer ac607df620 2004-11-04 Ben Maurer <[email protected]>
* marshal.c: Avoid using ldftn to call managed functions. It is
	much slower than just a call.

svn path=/trunk/mono/; revision=35673
2004-11-04 21:20:38 +00:00
Zoltan Varga cc825dc889 2004-11-04 Zoltan Varga <[email protected]>
* loader.cs: New file for assembly loading tests.

svn path=/trunk/mono/; revision=35672
2004-11-04 21:12:28 +00:00
Zoltan Varga bc328c0365 2004-11-04 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_names_equal): Allow a match if one of
	the cultures is false. Fixes #69090.

svn path=/trunk/mono/; revision=35670
2004-11-04 21:03:15 +00:00
Zoltan Varga c111b82a7d 2004-11-04 Zoltan Varga <[email protected]>
* driver.cs: Strip the path from the names of embedded resources. Fixes
	#68519.

svn path=/trunk/mcs/; revision=35667
2004-11-04 20:20:59 +00:00
Zoltan Varga a66e4018c2 2004-11-04 Zoltan Varga <[email protected]>
(build_compressed_metadata): Fix invalid memory read detected by
	valgrind.

svn path=/trunk/mono/; revision=35652
2004-11-04 19:41:19 +00:00
Zoltan Varga 065efbecb4 2004-11-04 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Add a TypeResolve test. Remove a test which
	depends on exception ordering.

svn path=/trunk/mcs/; revision=35648
2004-11-04 18:44:36 +00:00
Zoltan Varga b2d5de13fd 2004-11-04 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Avoid triggering a
	TypeResolve multiple times for the same type. Fixes #65577.

svn path=/trunk/mono/; revision=35647
2004-11-04 18:35:08 +00:00
Zoltan Varga 106c311c9b 2004-11-04 Zoltan Varga <[email protected]>
* CultureInfo.cs (Clone): Make the components of the culture read-write
	as well.

svn path=/trunk/mcs/; revision=35646
2004-11-04 18:01:41 +00:00
Jackson Harper 353f1c58c8 Recalculate tab rows when resizing
svn path=/trunk/mcs/; revision=35645
2004-11-04 17:26:25 +00:00
Jordi Mas i Hernandez 7f63ddfb20 collection completion, drawing issues, missing features
svn path=/trunk/mcs/; revision=35644
2004-11-04 14:47:58 +00:00
Lluis Sanchez 663ca7484b * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
	  ProtectedConfigurationProvider.cs, ProviderBase.cs
	  RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.

svn path=/trunk/mcs/; revision=35643
2004-11-04 14:02:28 +00:00
Zoltan Varga 6e03e95d02 2004-11-04 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Make some members work if the type is created since
	MS does this.

svn path=/trunk/mcs/; revision=35642
2004-11-04 13:45:51 +00:00
Lluis Sanchez b7bb7601e7 * System.dll.sources: Added new files:
System.Configuration/ConfigInfo.cs
		System.Configuration/IntegerConfigurationProperty.cs
		System.Configuration/RuntimeOnlySection.cs
		System.Configuration/SectionInfo.cs
		System.Configuration/SectionGroupInfo.cs

svn path=/trunk/mcs/; revision=35641
2004-11-04 12:39:04 +00:00
Lluis Sanchez 62d863de11 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
	  ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
	  ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
	  ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
	  RuntimeOnlySection.cs: Initial implementation.
	* ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
	* ConfigurationException.cs: format fix.
	* ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
	  classes.

svn path=/trunk/mcs/; revision=35640
2004-11-04 12:38:39 +00:00
Ravindra 5c982d19a0 - We need to recalculate the Thumb area when LargeChange/maximum/minimum values are changed.
- We set the 'pos' in UpdatePos() method to minimum, if it's less than minimum. This is required to handle the case if large_change is more than max, and use LargeChange property instead of large_change variable.
	- We return max+1 when large_change is more than max, like MS does.

svn path=/trunk/mcs/; revision=35639
2004-11-04 12:03:49 +00:00
Raja R Harinath a643790ad4 Fix error message regression: cs0104-2.cs.
* namespace.cs (NamespaceEntry.Lookup): Remove 'silent' flag.
(AliasEntry.Resolve): Update.
* rootcontext.cs (RootContext.NamespaceLookup): Update.  Remove
'silent' flag.
(RootContext.LookupType): Update.

svn path=/trunk/mcs/; revision=35638
2004-11-04 11:59:54 +00:00
Raja R Harinath dd96587af7 Set version to 2.0.3600.0 even with BOOTSTRAP_NET_2_0.
svn path=/trunk/mcs/; revision=35637
2004-11-04 11:44:12 +00:00
Raja R Harinath dc3dfde54e (EXTRA_DISTFILES): Fix for 'make dist'.
svn path=/trunk/mcs/; revision=35636
2004-11-04 11:33:36 +00:00
Ravindra 543274f210 - Changed default value signatures (prefixed all with ListView).
- Fixed/implemented layout LargeIcon, SmallIcon and List views for ListView.
	- Fixed calculations for ListViewItem and implemented Clone() method.

svn path=/trunk/mcs/; revision=35635
2004-11-04 11:29:38 +00:00
Ravindra 0277c22478 - Changed default ListView values signatures (prefixed all with ListView).
- Fixed default size values for VScrollBar and HScrollBar.
	- Fixed DrawListViewItem method.

svn path=/trunk/mcs/; revision=35634
2004-11-04 11:26:09 +00:00
Raja R Harinath da2c02cb1d (DISTFILES): Fix for 'make dist'.
svn path=/trunk/mcs/; revision=35633
2004-11-04 11:14:18 +00:00
Raja R Harinath 34aaa7854d fix stupid typo.
svn path=/trunk/mcs/; revision=35632
2004-11-04 11:10:36 +00:00
Raja R Harinath be6f064417 Avoid creating and deleting symlinks.
(I'm working on improving the harness to move more work to 'make' rather
than using the shell.  That should improve matters on Cygwin some more.)

svn path=/trunk/mcs/; revision=35631
2004-11-04 11:06:10 +00:00
Ravindra 0080481daf Typo. It should be Nonclickable.
svn path=/trunk/mcs/; revision=35630
2004-11-04 11:05:57 +00:00
Ravindra 9a38d3c22e Implemented the missing overload for Draw method.
svn path=/trunk/mcs/; revision=35629
2004-11-04 11:04:40 +00:00
Raja R Harinath 3ba840b44e (net_1_1_bootstrap_SUBDIRS): New.
svn path=/trunk/mcs/; revision=35628
2004-11-04 11:02:29 +00:00
Raja R Harinath f1b96cfe04 (net_1_1_bootstrap_SUBDIRS): New.
(all.override): Fix to actually perform optimization to avoid
the two-pass build if we are not signing assemblies.

svn path=/trunk/mcs/; revision=35627
2004-11-04 11:01:21 +00:00
Raja R Harinath a9fbd13b66 * profiles/net_1_1_bootstrap.make: New profile.
* profiles/net_2_0_bootstrap.make: Use in-tree mcs for
bootstrapping mscorlib.dll.

svn path=/trunk/mcs/; revision=35626
2004-11-04 10:56:56 +00:00
Raja R Harinath 7c96c50573 * platforms/linux.make (platform-check): Make more robust.
* rules.make (%-recursive): Propagate error exit from sub-makes
even if invoked with 'make -k'.

svn path=/trunk/mcs/; revision=35625
2004-11-04 10:51:39 +00:00
Atsushi Eno 046985f354 2004-11-04 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Manually expanded some of AppendValueChar() and
	  XmlChar.IsWhitespace() which are on critical points on performance
	  (marked as FIXME, but it depends on JIT).

svn path=/trunk/mcs/; revision=35624
2004-11-04 06:39:30 +00:00
Atsushi Eno 7e7b4c2d28 2004-11-04 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Search xml:* attributes more efficiently.

svn path=/trunk/mcs/; revision=35623
2004-11-04 05:43:39 +00:00
Atsushi Eno f2e7a5a42f 2004-11-04 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Reduced NameTable.Add() for prefixed names. First,
	  ReadName() now returns atomized LocalName and Prefix. Second, to
	  avoid extraneous split, SetProperties() now takes prefix and
	  localName that might be given from ReadName(). Third, removed
	  FillNames(). This optimizes "namespace-aware and prefixed document"
	  parsing 10-20% faster.

svn path=/trunk/mcs/; revision=35622
2004-11-04 04:32:34 +00:00
Ben Maurer a7392971c2 2004-11-04 Ben Maurer <[email protected]>
* reflection.c (mono_module_get_object): free the basename we
	allocate here from glib.

svn path=/trunk/mono/; revision=35621
2004-11-04 04:17:39 +00:00
Ben Maurer b47604c89d 2004-11-04 Ben Maurer <[email protected]>
* reflection.c (ensure_runtime_vtable): make sure to free
	overrides.  Also, we were allocating an array of MonoMethod not an
	array of MonoMethod*.

svn path=/trunk/mono/; revision=35620
2004-11-04 04:14:02 +00:00
Ben Maurer 836e871df7 2004-11-04 Ben Maurer <[email protected]>
* marshal.c (mono_marshal_get_stelemref): do a mono_mb_free here.

svn path=/trunk/mono/; revision=35618
2004-11-04 04:03:12 +00:00
Ben Maurer 37c799bbf5 2004-11-04 Ben Maurer <[email protected]>
* image.c (mono_image_close): free image->guid here.

svn path=/trunk/mono/; revision=35617
2004-11-04 03:40:22 +00:00
Jackson Harper 74461b13bb Handle dropping rows on selection properly
svn path=/trunk/mcs/; revision=35616
2004-11-04 02:29:15 +00:00
Gonzalo Paniagua Javier 3b688f5d77 2004-11-03 Gonzalo Paniagua Javier <[email protected]>
* InvalidOperationException.cs: make the message more meaningful and
	real. Fixes bug #69055.

svn path=/trunk/mcs/; revision=35613
2004-11-03 21:37:06 +00:00
Carlos Alberto Cortez af6350c746 New tests for accessor modifiers
svn path=/trunk/mcs/; revision=35612
2004-11-03 21:20:58 +00:00
Carlos Alberto Cortez cf0446d670 New error tests at mcs/errors for accessor modifiers
svn path=/trunk/mcs/; revision=35611
2004-11-03 21:12:04 +00:00
Carlos Alberto Cortez a69cb03a8a Add Changelog entry for accessor modifiers
svn path=/trunk/mcs/; revision=35610
2004-11-03 20:17:50 +00:00
Carlos Alberto Cortez 6d2cc3fafc Add support por accessor modifiers
svn path=/trunk/mcs/; revision=35609
2004-11-03 20:11:21 +00:00
Miguel de Icaza 26630c5262 2004-11-03 Miguel de Icaza <[email protected]>
* TextureBrush.cs (Clone): While cloning, it is not enough to let
	GDIPlus clone the underlying data, we must alos clone the managed
	information.

	* Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
	errors in the future, set the lock on the object before doing any
	other tests, not after.

	(Clone): While cloning, it is not enough to let
	GDIPlus clone the underlying data, we must alos clone the managed
	information.

	* Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
	errors in the future.

	Set the lock in the object before checkign disposed.

	* SolidBrush.cs (Clone): While cloning, it is not enough to let
	GDIPlus clone the underlying data, we must alos clone the managed
	information.

	(Dispose): Set the nativeObject to IntPtr.Zero to catch
	errors in the future.

2004-11-03  Miguel de Icaza  <[email protected]>

	* ColorPalette.cs: Add internal Clone method

svn path=/trunk/mcs/; revision=35607
2004-11-03 20:01:04 +00:00
Jackson Harper 7da50c7313 remove debug code
svn path=/trunk/mcs/; revision=35605
2004-11-03 18:59:13 +00:00
Jackson Harper 9fa5a4f47f Initial implementation of the scrolly widgerywoo
svn path=/trunk/mcs/; revision=35603
2004-11-03 18:52:14 +00:00
Atsushi Eno 417e14b18c 2004-11-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs :
	  With related to AddNamespace(), there was extra string.StartsWith()
	  calls. Now AttributeTokenInfo.FillNames() is splitted into
	  FillPrefixAndXmlns() and FillNamespace(), and AddNamespace() is done
	  at FillPrefixAndXmlns().

svn path=/trunk/mcs/; revision=35601
2004-11-03 14:37:55 +00:00
Sebastien Pouliot ba7e114754 2004-11-03 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytes.cs: Fixed possible ArgumentException when asking
	multiple GetBytes than results in more bits than the hash function can
	provide.

svn path=/trunk/mcs/; revision=35600
2004-11-03 14:37:48 +00:00
Atsushi Eno 95708afb87 2004-11-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs :
	  Reduces LookupNamespace() call in FillNames(). This improves 6-7%
	  speedup in some scenario.
	  Code refactory; Removed unused code. AddAttribute() is used only for
	  DTD, so renamed to AddDtdAttribute(). For PUBLIC and SYSTEM ids,
	  FillNames() is not required. Two SetProperties() are ambiguous, so
	  renamed one (that takes TokenInfo) as SetTokenProperties().

svn path=/trunk/mcs/; revision=35598
2004-11-03 13:12:07 +00:00
Zoltan Varga 0d5a1f08ac 2004-11-02 Zoltan Varga <[email protected]>
* trace.c (get_spec): Allow tracing of classes without a namespace.

svn path=/trunk/mono/; revision=35596
2004-11-03 12:58:44 +00:00
Sebastien Pouliot 6f2423675d 2004-11-03 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytes.cs: Fix default iretation count to 100. Fix
	exceptions to match MS more closely.

svn path=/trunk/mcs/; revision=35595
2004-11-03 12:16:00 +00:00
Sebastien Pouliot 322bc23567 2004-11-03 Sebastien Pouliot <[email protected]>
* KeyPairPersistenceTest.cs: Re-fix as the UnauthorizedAccessException
	is the InnerException of a CryptographicException.

svn path=/trunk/mcs/; revision=35594
2004-11-03 12:07:57 +00:00
Sebastien Pouliot 9430317680 2004-11-03 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
	fail if the key container directory wasn't yet created (root).
	* PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
	for all constructors, tests for properties and a test for bug 69036.
	* RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
	fail if the key container directory wasn't yet created (root).

svn path=/trunk/mcs/; revision=35593
2004-11-03 12:05:52 +00:00
Atsushi Eno cf68eface4 2004-11-03 Atsushi Enomoto <[email protected]>
* XmlParserContext.cs : rewrote; especially to avoid XmlSpace boxing.

svn path=/trunk/mcs/; revision=35592
2004-11-03 11:49:51 +00:00
Anirban Bhattacharjee f0fb58dfc2 2004-11-03 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Trivial fix for bug #68985

svn path=/trunk/mcs/; revision=35591
2004-11-03 11:33:00 +00:00
Atsushi Eno cd7ead0886 2004-11-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : LookupNamespace() don't have to be called in
	  ReadStartTag() to check prefix, since NamespaceURI is filled in
	  FillNames(). 10% performance up by avoiding this extra check.

svn path=/trunk/mcs/; revision=35590
2004-11-03 10:05:51 +00:00
Jambunathan K 4766679a98 Syntactic error handling for attribute grammar.
svn path=/trunk/mcs/; revision=35589
2004-11-03 10:00:58 +00:00
Miguel de Icaza efc461a9f3 Revert until I fix the regression
svn path=/trunk/mcs/; revision=35586
2004-11-02 21:52:56 +00:00
Ben Maurer 3bc7526a89 fix this up for the migster
svn path=/trunk/mcs/; revision=35582
2004-11-02 21:16:23 +00:00
Jackson Harper f21743ef4d Resize the tab pages and tabs when the tab control is resized
svn path=/trunk/mcs/; revision=35580
2004-11-02 20:52:47 +00:00
Ben Maurer 63800ba666 oops
svn path=/trunk/mcs/; revision=35578
2004-11-02 20:45:51 +00:00
Ben Maurer 7cdef02b35 test for that bug
svn path=/trunk/mcs/; revision=35577
2004-11-02 20:45:32 +00:00
Jackson Harper 84b03b5252 Move the row with the selected tab to the bottom
svn path=/trunk/mcs/; revision=35576
2004-11-02 20:40:54 +00:00
Jackson Harper e0ebdb76e5 Store the tab pages row
svn path=/trunk/mcs/; revision=35575
2004-11-02 20:39:01 +00:00
Ben Maurer 6c2be12817 2004-11-02 Ben Maurer <[email protected]>
* expression.cs (StringConcat): Handle being called twice,
	as when we have a concat in a field init with more than two
	ctors in the class

svn path=/trunk/mcs/; revision=35574
2004-11-02 20:31:22 +00:00
Jordi Mas i Hernandez 75ce904332 fixes handle creation
svn path=/trunk/mcs/; revision=35573
2004-11-02 19:33:20 +00:00
Miguel de Icaza 36d7695b58 2004-11-02 Miguel de Icaza <[email protected]>
* class.cs (Event.Define, Indexer.Define, Property.Define): Do not
	special case explicit implementations, we should always produce
	the .property or .event declaration.

svn path=/trunk/mcs/; revision=35572
2004-11-02 19:18:33 +00:00
Sebastien Pouliot df23ac07bf 2004-11-02 Sebastien Pouliot <[email protected]>
* mini.c: Fix pointer overwrite in mini_method_compile.

svn path=/trunk/mono/; revision=35570
2004-11-02 18:47:24 +00:00
Jackson Harper 621030031a signature fix
svn path=/trunk/mcs/; revision=35569
2004-11-02 18:42:14 +00:00
Miguel de Icaza b80f40c517 Test was wrong
svn path=/trunk/mcs/; revision=35566
2004-11-02 17:12:01 +00:00
Jackson Harper 673241bd40 Calculate whether the tab is on an edge properly. Remove top secret debugging code
svn path=/trunk/mcs/; revision=35564
2004-11-02 15:56:38 +00:00
Geoff Norton dbf8c0a4ac 2004-11-2 Geoff Norton <[email protected]>
* inssel-ppc.brg (OP_OUTARG_VT (CEE_LDOBJ (base))):
        The darwin ABI needs some special handling for 1 and 2 byte structs
        Lets use lbz/lhz instead of lwz everywhere.
        * mini-ppc.c (calculate_sizes):  The Darwin ABI needs from special handling
        for 1 and 2 byte structs and struct which are size >= 3 || size % 4 != 0.
        Use stb/sth for the former, and put the latter always on stack instead of in
        argument registers.

svn path=/trunk/mono/; revision=35563
2004-11-02 15:33:31 +00:00
Miguel de Icaza 491fdf964e Update
svn path=/trunk/mono/; revision=35562
2004-11-02 14:20:50 +00:00
Zoltan Varga 28cbe3d38c 2004-11-02 Zoltan Varga <[email protected]>
* reflection.c: Fix some spec conformance issues with the PE file
	structures so mcs compiled apps run on the Net 2.0 beta.

svn path=/trunk/mono/; revision=35560
2004-11-02 13:55:04 +00:00
Atsushi Eno 55776d9028 2004-11-02 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs : custom DataTable ctor should call
	  InitializeFields(), and those DataColumns created by that method
	  should take data type. This should fix bug #68972.

svn path=/trunk/mcs/; revision=35557
2004-11-02 12:38:03 +00:00
Lluis Sanchez 353b6249a3 * MonoWSDL.cs: Added new option for generating a proxy for a compiled
web service class.

svn path=/trunk/mcs/; revision=35556
2004-11-02 09:55:29 +00:00
Ravindra 92e9022252 Updated project.
svn path=/trunk/mcs/; revision=35555
2004-11-02 06:19:01 +00:00
Miguel de Icaza 99f5918ef0 Remove known failure
svn path=/trunk/mcs/; revision=35554
2004-11-02 04:38:50 +00:00
Miguel de Icaza 5139073304 2004-11-02 Miguel de Icaza <[email protected]>
* decl.cs (MemberName): Renamed GetFullName to GetPartialName
	since it will not return correct data if people use this
	unresolved in the presence of using statements (see test-313).

	* class.cs (MethodData.Define): If we are an explicit interface
	implementation, set the method name to the full name of the
	interface plus the name of the method.

	Notice that using the method.MethodName.GetFullName() does not
	work, as it will only contain the name as declared on the source
	file (it can be a shorthand in the presence of using statements)
	and not the fully qualifed type name, for example:

	using System;

	class D : ICloneable {
		object ICloneable.Clone ()  {
		}
	}

	Would produce a method called `ICloneable.Clone' instead of
	`System.ICloneable.Clone'.

	* namespace.cs (Alias.Resolve): Use GetPartialName.

svn path=/trunk/mcs/; revision=35553
2004-11-02 04:37:01 +00:00
Jambunathan K a042491449 * test-mbas.pl:
* test-mbas.make: Added support for --runtime option in
test-mbas.pl. When working with mbas within the cygwin
environment, this option permits executing of compiled test cases
either within the Microsoft's .NET runtime environment or the
mono's runtime environment.

svn path=/trunk/mcs/; revision=35552
2004-11-02 04:34:47 +00:00
Miguel de Icaza d73a14d863 Include in the build
svn path=/trunk/mcs/; revision=35551
2004-11-02 04:33:13 +00:00
Atsushi Eno 32c80e17be 2004-11-02 Atsushi Enomoto <[email protected]>
* Makefile : don't use -codepage:utf8. It breaks csc build.

svn path=/trunk/mcs/; revision=35550
2004-11-02 04:11:04 +00:00
Jackson Harper 5ebb9bc3c3 Add click handling, and proper sizing
svn path=/trunk/mcs/; revision=35549
2004-11-02 02:57:18 +00:00
Jackson Harper 008ccfe5ef New rendering and sizing code for tab controls
svn path=/trunk/mcs/; revision=35548
2004-11-02 02:47:55 +00:00
Jackson Harper b0084e3efe add internal property to store the bounds of a tab page
svn path=/trunk/mcs/; revision=35547
2004-11-02 02:39:18 +00:00
Miguel de Icaza 6bb81f2ab8 Update Makefile
svn path=/trunk/mcs/; revision=35545
2004-11-02 01:42:05 +00:00
Miguel de Icaza 9379fe4271 Add test
svn path=/trunk/mcs/; revision=35544
2004-11-02 01:41:24 +00:00
Ben Maurer 53eaf1b545 2004-11-01 Ben Maurer <[email protected]>
* MonoIOError.cs: All of these fields just take up room in corlib,
	bloating things up. To make it worse, we need to malloc data at
	runtime about them. Since most are not used, am commenting them
	out

svn path=/trunk/mcs/; revision=35543
2004-11-01 22:16:39 +00:00
Marek Safar 1c556e8ea0 2004-11-01 Marek Safar <[email protected]>
* cs-parser.jay: Add error 1055 report.

svn path=/trunk/mcs/; revision=35542
2004-11-01 21:26:11 +00:00
Miguel de Icaza a3e8bb9f21 2004-11-01 Miguel de Icaza <[email protected]>
* assign.cs (Assign.DoResolve): Only do the transform of
	assignment into a New if the types are compatible, if not, fall
	through and let the implicit code deal with the errors and with
	the necessary conversions.

svn path=/trunk/mcs/; revision=35541
2004-11-01 21:11:32 +00:00
Miguel de Icaza 0e1ffd833b parameter4 is known to fail
svn path=/trunk/mcs/; revision=35539
2004-11-01 21:10:32 +00:00
Miguel de Icaza 0806831afa up
svn path=/trunk/mcs/; revision=35538
2004-11-01 21:09:16 +00:00
Miguel de Icaza 525f0267bd New test
svn path=/trunk/mcs/; revision=35537
2004-11-01 21:04:21 +00:00
Miguel de Icaza 427e1fa49c Add new error
svn path=/trunk/mcs/; revision=35536
2004-11-01 21:01:13 +00:00
Marek Safar 25ff58cec2 2004-11-01 Marek Safar <[email protected]>
* cs-parser.jay: Add error 1031 report.

	* cs-tokenizer.cs: Add location for error 1038

svn path=/trunk/mcs/; revision=35534
2004-11-01 20:43:00 +00:00
Gonzalo Paniagua Javier 9312f1b1e9 2004-11-01 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: don't lock up when the cookie received ends with
	a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.

svn path=/trunk/mcs/; revision=35530
2004-11-01 19:55:45 +00:00
Jackson Harper b4874ceda5 * Version.cs: Add null check when creating versions from
strings.

svn path=/trunk/mcs/; revision=35529
2004-11-01 19:35:17 +00:00
Gert Driesen e0e06bb1e7 SqlCommandTest.cs: Added testcase for bug #66630.
svn path=/trunk/mcs/; revision=35527
2004-11-01 13:44:40 +00:00
Gert Driesen 21f72da9a2 * Tds70.cs: when type of parameter value is enum, convert value to
underlying type before converting value to string as we'd otherwise be
using the enum field name. Fixes bug #66630.

svn path=/trunk/mcs/; revision=35526
2004-11-01 13:36:37 +00:00
Zoltan Varga 097a8f8276 2004-11-01 Zoltan Varga <[email protected]>
* StringTest.cs: Add new tests for (sbyte*, Encoding) ctor.

svn path=/trunk/mcs/; revision=35525
2004-11-01 10:58:57 +00:00
Zoltan Varga 00255aa50c 2004-11-01 Zoltan Varga <[email protected]>
* string-icalls.c (ves_icall_System_String_ctor_encoding):
	Implement this. Fixes #67264.

	* debug-helpers.h debug-helpers.c marshal.c: Move
	mono_find_method_by_name to debug-helpers.c.

svn path=/trunk/mono/; revision=35524
2004-11-01 10:50:23 +00:00
Marek Safar 8b27e2f833 2004-10-31 Marek Safar <[email protected]>
* cs-parser.jay: Add error 1016 report.

svn path=/trunk/mcs/; revision=35523
2004-10-31 19:30:19 +00:00
Marek Safar fefe1f748c 2004-10-31 Marek Safar <[email protected]>
* cs-parser.jay: Add errors 1575,1611 report.

svn path=/trunk/mcs/; revision=35522
2004-10-31 16:43:48 +00:00
Marek Safar f0cc996b50 2004-10-31 Marek Safar <[email protected]>
* cs-parser.jay: Add error 1001 report.

svn path=/trunk/mcs/; revision=35521
2004-10-31 16:25:48 +00:00
Marek Safar 7bdf6f0592 useless
svn path=/trunk/mcs/; revision=35520
2004-10-31 16:22:34 +00:00
Marek Safar 9a5caa9480 missing /unsafe
svn path=/trunk/mcs/; revision=35519
2004-10-31 15:33:28 +00:00
Marek Safar badcd90595 refresh
svn path=/trunk/mcs/; revision=35518
2004-10-31 15:32:12 +00:00
Marek Safar de4c9e9e13 2004-10-31 Marek Safar <[email protected]>
Fix #68850
	* attribute.cs (GetMarshal): Add method argument for
	caller identification.

	* class.cs, codegen.cs, enum.cs, parameter.cs: Added
	agument for GetMarshal and RuntimeMissingSupport.

svn path=/trunk/mcs/; revision=35517
2004-10-31 15:06:54 +00:00
Marek Safar ff5c23f250 new tests
svn path=/trunk/mcs/; revision=35516
2004-10-31 15:04:59 +00:00
Gonzalo Paniagua Javier 1c2cc8fcdb update
svn path=/trunk/mono/; revision=35514
2004-10-31 13:28:54 +00:00
Marek Safar abbd9878ad 2004-10-31 Marek Safar <[email protected]>
* test-311.cs: New test for security attrbiutes.

svn path=/trunk/mcs/; revision=35513
2004-10-31 11:37:02 +00:00
Zoltan Varga 3dba760c32 2004-10-31 Zoltan Varga <[email protected]>
* object.c (mono_release_type_locks): type_initialization_hash is
	a GHashTable.

	* reflection.c object.c object-internals.h: Fix warnings.

svn path=/trunk/mono/; revision=35512
2004-10-31 10:31:59 +00:00
Marek Safar 9c45e47b7e 2004-10-31 Marek Safar <[email protected]>
* attribute.cs (ExtractSecurityPermissionSet): Removed
	TypeManager.code_access_permission_type.

	* typemanager.cs: Removed TypeManager.code_access_permission_type.

svn path=/trunk/mcs/; revision=35511
2004-10-31 10:06:48 +00:00
Zoltan Varga 8d4e26e924 2004-10-31 Zoltan Varga <[email protected]>
* configure.in: Fix up --with-jit=no so it actually works. Fixes
	#61320.

svn path=/trunk/mono/; revision=35510
2004-10-31 00:03:26 +00:00
Zoltan Varga 6065456a8a 2004-10-31 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetPropertiesByName): Handle properties
	without accessors. Fixes #61561.

svn path=/trunk/mono/; revision=35508
2004-10-30 23:46:08 +00:00
Zoltan Varga 4a1f10cee6 2004-10-31 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_createDomain): Inherit
	application base from the root domain if not set. Fixes #65641.
	(mono_runtime_init): Fix warning.

svn path=/trunk/mono/; revision=35506
2004-10-30 22:50:37 +00:00
Rafael Teixeira c8053cfdb7 2004-10-30 Rafael Teixeira <[email protected]>
* Makefile: Added some -codepage:utf8 options for mcs, or our sources (specially for tests) get miscompiled.

svn path=/trunk/mcs/; revision=35505
2004-10-30 21:26:32 +00:00
Zoltan Varga 39e1626e53 2004-10-30 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Check that arguments are not
	multi-dimensional arrays.

svn path=/trunk/mcs/; revision=35503
2004-10-30 19:32:08 +00:00
Juraj Skripsky 3b4ac0045d 2004-09-30 Juraj Skripsky <[email protected]>
* Encoding.cs: Add encoding name "latin1" for compatibility with
	MS.NET.

svn path=/trunk/mcs/; revision=35501
2004-10-30 12:18:18 +00:00
Ravindra 6f9ec49cde Drawing ListView and some default values.
svn path=/trunk/mcs/; revision=35499
2004-10-30 10:23:02 +00:00
Ravindra 936245daa8 Added support for scrolling and fixed calculations.
svn path=/trunk/mcs/; revision=35498
2004-10-30 10:21:14 +00:00
Peter Dennis Bartok df75c79e76 - Removed extension of DllImported libs
svn path=/trunk/mcs/; revision=35497
2004-10-30 09:06:38 +00:00
Duncan Mak aabf4de458 Fix typo
svn path=/trunk/mcs/; revision=35496
2004-10-30 07:12:38 +00:00
Zoltan Varga 4be7323405 2004-10-30 Zoltan Varga <[email protected]>
* trace.c (is_filenamechar): Add '_'.

svn path=/trunk/mono/; revision=35494
2004-10-30 06:11:55 +00:00
Sebastien Pouliot 49eb5c1304 2004-10-29 Sebastien Pouliot <[email protected]>
* PKCS7.cs: Added a flag to avoid resigning a structure (which was
	duplicating some attributes).

svn path=/trunk/mcs/; revision=35485
2004-10-29 21:36:33 +00:00
Sebastien Pouliot b7a17086ee 2004-10-29 Sebastien Pouliot <[email protected]>
* PKCS7.cs: Added a flag to avoid resigning a structure (which was
	duplicating some attributes).

svn path=/trunk/mcs/; revision=35481
2004-10-29 21:04:02 +00:00
Sebastien Pouliot e68ce96185 2004-10-29 Sebastien Pouliot <[email protected]>
* AuthenticodeFormatter.cs: Fixed spcSpOpusInfo attribute (it wasn't
	added) and contentType attribute (was added 2 times). Also fixed the
	case where we signed an already Authenticode signed file (re-signing).
	* SoftwarePublisherCertificate.cs: Support for base64 encoded ASN.1
	files (either Unicode or ASCII).

svn path=/trunk/mcs/; revision=35480
2004-10-29 21:03:12 +00:00
Gonzalo Paniagua Javier 8666a3e49a 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
* man/mono.1: documented MONO_THREADS_PER_CPU.
	* mono/metadata/appdomain.c: call mono_thread_pool_init.
	* mono/metadata/threadpool.[ch]: new mono_thread_pool_init that sets
	the max. number of worker threads based on the number of CPUs and the
	environment variable MONO_THREADS_PER_CPU if present. The defaults are
	50 (25) for non-windows (windows) systems.

svn path=/trunk/mono/; revision=35476
2004-10-29 19:54:38 +00:00
Gonzalo Paniagua Javier 9516fc6303 Removed files that are down net_x_x now
svn path=/trunk/mono/; revision=35475
2004-10-29 19:48:23 +00:00
Neale Ferguson fe98c72e62 Cleanup exception s390 handling; fix prolog length setting; correct test
svn path=/trunk/mono/; revision=35473
2004-10-29 19:27:24 +00:00
Zoltan Varga 77738a0619 2004-10-29 Zoltan Varga <[email protected]>
* Makefile.am (libgc_libs): Do some automake magic so libmono/mono
	depends on libmonogc. Fixes #68805.

svn path=/trunk/mono/; revision=35472
2004-10-29 19:23:06 +00:00
Zoltan Varga 57be63fd2d 2004-10-29 Zoltan Varga <[email protected]>
* configure.in: Add INCLUDED_LIBGC automake conditional.

svn path=/trunk/mono/; revision=35471
2004-10-29 19:20:34 +00:00
Miguel de Icaza 999c0e5948 Update with anonymous method documentation
svn path=/trunk/mcs/; revision=35465
2004-10-29 17:08:58 +00:00
Jordi Mas i Hernandez 9e0e159392 Menu key navigation, itemcollection completion, menu fixes
svn path=/trunk/mcs/; revision=35464
2004-10-29 15:55:26 +00:00
13682 changed files with 17455 additions and 1951427 deletions

No files matched your search

+11 -10
View File
@@ -1,25 +1,26 @@
Makefile
Makefile.in
_tmpinst
aclocal.m4
autom4te.cache
config.cache
config.guess
config.h
config.h.in
config.h.in
config.log
config.status
config.sub
configure
libtool
ltmain.sh
ltconfig
Makefile
Makefile.in
ltmain.sh
mint.pc
mono-*.tar.gz
stamp-h
stamp-h.in
mono.pc
mono.spec
autom4te.cache
mint.pc
semantic.cache
stamp-h
stamp-h.in
stamp-h1
config.h.in
_tmpinst
tmpinst-dir.stamp
tmpinst-dir.stamp
+90
View File
@@ -1,3 +1,93 @@
2004-11-08 Jonathan Pryor <[email protected]>
* configure.in: Add new function/header/type checks for use by
MonoPosixHelper (the support directory).
* support/Makefile.am: Add sys-sendfile.c to the build.
* support/dirent.c, support/fcntl.c, support/unistd.c: Remove compile-time
checks for -64 apis (pread64, etc.), as they're superfluous. GLibc
#defines the functions to the appropriate -64 counterpart when necessary,
and Darwin is intrinsically large-file-aware, so manual checking on my
part is redundant and unnecessary.
* support/grp.c: Add checks for non-portable functions getgrnam_r,
getgrgid_r.
* support/pwd.c: Add checks for non-portable functions getpwnam_r,
getpwuid_r.
* support/map.c: Remove <poll.h> include. Building on Tigar (Mac OS X 10.4
beta) breaks when both <poll.h> and <sys/poll.h> are included, so only use
<sys/poll.h>.
* support/mph.h: Clean up macro handling for type overflow checking.
2004-11-08 Raja R Harinath <[email protected]>
* configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
variables. Used to support both an in-tree mcs/ and a sibling
mcs/ directory.
* Makefile.am (mcs_topdir): Remove.
(dist-hook): Distribute mcs/ as a subdirectory.
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Use mcs_topdir and mcs_topdir_from_srcdir.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies) $(mdb_files)):
Likewise.
(all-local): Depend on $(mdb_files) too.
* runtime/net_2_0/Makefile.am: Likewise.
2004-11-05 Zoltan Varga <[email protected]>
* runtime/net_2_0/Makefile.am (install-data-local):
* runtime/net_1_1/Makefile.am (install-data-local): Applied patch
from Götz Waschk ([email protected]). Make this work
with DESTDIR.
2004-11-05 Jonathan Pryor <[email protected]>
* support/.cvsignore: Ignore generated files.
* support/Makefile.am: Add new INCLUDE directives (for glib headers),
source; bump library version (so we don't clobber previous versions of
libMonoPosixHelper.so).
* support/dirent.c: New file; <dirent.h> wrapper functions;
BSD portability fixes.
* support/errno.c: New file; <errno.h> wrapper functions
* support/fcntl.c: New file; <fcntl.h> wrapper functions;
BSD portability fixes.
* support/grp.c: New file; <grp.h> wrapper functions;
BSD portability fixes.
* support/map.c: Updated macro mapping functions (more enums mapped, more
error checking, etc.).
* support/map.h: Updated macro mapping functions
* support/old-map.c: Previous map.c implementation, for backward compatibility
Remove spurious warning about redefining _GNU_SOURCE.
* support/old-map.h: Previous map.h implementation, for backward compatibility
* support/mph.h: New file; Utility types, macros;
BSD portability fixes.
* support/pwd.c: New file; <pwd.h> wrapper functions;
BSD portability fixes.
* support/stdio.c: New file; <stdio.h> wrapper functions
* support/stdlib.c: New file; <stdlib.h> wrapper functions
* support/sys-mman.c: New file; <sys/mman.h> wrapper functions
* support/sys-mount.c: New file; <sys/mount.h> wrapper functions;
BSD portability fixes.
* support/sys-sendfile.c: New file; <sys/sendfile.h> wrapper functions;
BSD portability fixes.
* support/sys-stat.c: New file; <sys/stat.h> wrapper functions
* support/sys-wait.c: New file; <sys/wait.h> wrapper functions
* support/time.c: New file; <time.h> wrapper functions;
BSD portability fixes.
* support/unistd.c: New file; <unistd.h> wrapper functions;
BSD portability fixes.
2004-10-31 Zoltan Varga <[email protected]>
* configure.in: Fix up --with-jit=no so it actually works. Fixes
#61320.
2004-10-29 Gonzalo Paniagua Javier <[email protected]>
* man/mono.1: documented MONO_THREADS_PER_CPU.
2004-10-29 Zoltan Varga <[email protected]>
* configure.in: Add INCLUDED_LIBGC automake conditional.
2004-10-24 Jonathan Pryor <[email protected]>
* man/mono.1: Add documentation for the MONO_TRACE environment variable.
+10 -5
View File
@@ -9,6 +9,11 @@ DIST_SUBDIRS = libgc mono ikvm-jni docs data runtime scripts man samples support
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
# Distribute the 'mcs' tree too
dist-hook:
test -d $(distdir)/mcs || mkdir $(distdir)/mcs
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
pkgconfigdir = $(libdir)/pkgconfig
if JIT_SUPPORTED
pkgconfig_DATA= mono.pc mint.pc
@@ -23,8 +28,6 @@ DISTCLEANFILES= mono.pc mint.pc
# problems by doing the compilation in the right order.
#
mcs_topdir=$(top_srcdir)/../mcs
.PHONY: bootstrap faststrap fasterstrap bootstrap-clean bootstrap-check get-monolite-latest monolite-bootstrap
.PHONY: tmpinst-dir tmpinst-mcs-basic-build tmpinst-mcs-short-build tmpinst-mcs-full-build tmpinst-monolite
.PHONY: mono-do-runtime-only mcs-do-basic-build mcs-do-short-build mcs-do-full-build mcs-do-clean-profiles mcs-do-run-test
@@ -97,12 +100,14 @@ monolite-bootstrap: tmpinst-monolite mono-do-runtime-only
$(MAKE) tmpinst-mcs-short-build
$(MAKE) fasterstrap
bootstrap-world:
$(MAKE) bootstrap-clean
compiler-tests:
$(MAKE) mcs-do-clean-profiles
$(MAKE) bootstrap
$(MAKE) install
$(MAKE) mcs-do-compiler-tests
bootstrap-world: compiler-tests
$(MAKE) install
# internal targets
tmpinst-mcs-basic-build: mcs-do-basic-build tmpinst-dir
+35 -3
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,1.1.2)
AM_INIT_AUTOMAKE(mono,1.1.2.99)
AM_MAINTAINER_MODE
AC_PROG_LN_S
@@ -259,6 +259,19 @@ else
fi
CFLAGS="$CFLAGS -g $WARN"
# Where's the 'mcs' source tree?
if test -d $srcdir/mcs; then
mcsdir=mcs
else
mcsdir=../mcs
fi
mcs_topdir='$(top_srcdir)/'$mcsdir
mcs_topdir_from_srcdir='$(top_builddir)/'$mcsdir
AC_SUBST([mcs_topdir])
AC_SUBST([mcs_topdir_from_srcdir])
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
@@ -1007,6 +1020,20 @@ if test x$platform_win32 = xno; then
fi
AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval'])
fi
dnl **********************************
dnl *** Checks for MonoPosixHelper ***
dnl **********************************
AC_CHECK_FUNCS(posix_fadvise)
AC_CHECK_FUNCS(posix_fallocate)
AC_CHECK_FUNCS(fgetgrent)
AC_CHECK_FUNCS(fgetpwent)
AC_CHECK_FUNCS(fgetpwent)
AC_CHECK_HEADERS(sys/sendfile.h)
AC_CHECK_FUNCS(sendfile)
AC_CHECK_FUNCS(stime)
AC_CHECK_FUNCS(ttyname_r)
AC_CHECK_SIZEOF(size_t)
else
jdk_headers_found=no
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
@@ -1283,7 +1310,11 @@ case "$host" in
esac
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
jit_wanted=true
if test x$withval = xyes; then
jit_wanted=true
else
jit_wanted=false
fi
])
USEJIT=false
@@ -1407,6 +1438,7 @@ AM_CONDITIONAL(S390x, test x$TARGET = xS390x)
AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
AM_CONDITIONAL(INCLUDED_LIBGC, test x$gc = xincluded)
AC_SUBST(LIBC)
AC_SUBST(INTL)
@@ -1468,7 +1500,7 @@ tools/locale-builder/Makefile
])
echo "
mcs source: $mcs_topdir
GC: $gc
ICU: $enable_icu
TLS: $with_tls
File diff suppressed because it is too large. Load diff
+3314 -4095
View File
File diff suppressed because it is too large. Load diff
-216
View File
@@ -1,216 +0,0 @@
<?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>
+5
View File
@@ -1,3 +1,8 @@
2004-11-07 Zoltan Varga <[email protected]>
* mono-jni.c (GET_SET_ARRAY_ELEMENTS): Fix compilation errors on
gcc 3.3.5.
2004-06-24 David Waite <[email protected]>
* mono-jni.c: change to C90-style comments from C99/C++-style
+2 -2
View File
@@ -841,13 +841,13 @@ static void JNICALL Get##Type##ArrayRegion (JNIEnv *env, type##Array array, jsiz
{\
MonoArray *obj; \
obj = jniFuncs.UnwrapRef (env, (void*)array); \
memcpy (buf, mono_array_addr (obj, sizeof (type), start), (sizeof (type) * l)); \
memcpy (buf, mono_array_addr (obj, type, start), (sizeof (type) * l)); \
} \
static void JNICALL Set##Type##ArrayRegion (JNIEnv *env, type##Array array, jsize start, jsize l, type *buf) \
{ \
MonoArray *obj; \
obj = jniFuncs.UnwrapRef (env, (void*)array); \
memcpy (mono_array_addr (obj, sizeof (type), start), buf, (sizeof (type) * l)); \
memcpy (mono_array_addr (obj, type, start), buf, (sizeof (type) * l)); \
}
GET_SET_ARRAY_ELEMENTS(Boolean,jboolean,gboolean)
+4
View File
@@ -341,6 +341,10 @@ managed implementation (slow). If unset, mono will try to use FAM under
Unix systems and native API calls on Windows, falling back to the
managed implementation on error.
.TP
.I "MONO_THREADS_PER_CPU"
Sets the maximum number of threads in the threadpool per CPU. The default is
50 for non-windows systems and 25 for windows.
.TP
.I "MONO_TRACE"
If set, enables the System.Diagnostics.DefaultTraceListener, which will
print the output of the System.Diagnostics Trace and Debug classes.
+4 -1
View File
@@ -1,4 +1,4 @@
.\"
\"
.\" wsdl manual page.
.\" (C) 2003 Novell, Inc.
.\" Author:
@@ -33,6 +33,9 @@ Specifies a base URL for the service. The final URL will be constructed by
combining this value with the URL read from the
.I -appsettingurlkey
option, and the
.I "-type:typename, assembly"
Generate a proxy for a compiled web service class. The URL parameter
can be used to providethe location of the service.
.I location
attribute specified in the WSDL document.
.TP
-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!
-543
View File
@@ -1,543 +0,0 @@
2004-10-29 Raja R Harinath <[email protected]>
* Makefile (net_2_0_bootstrap_SUBDIRS,net_2_0_SUBDIRS): New.
(profile-do--net_2_0_bootstrap--all): New target.
(profile-do--net_2_0--all): Depend on it.
(distdir,top_distdir): Remove.
(dist-tarball): Define distdir here for dist-recursive.
2004-10-21 Raja R Harinath <[email protected]>
* Makefile (all-profiles $(STD_TARGETS:=-profiles)): Make
parallelizable.
2004-09-27 Raja R Harinath <[email protected]>
* nunit20/nunit-console/Makefile (PROGRAM): Put in
profile-specific directory.
2004-09-21 Raja R Harinath <[email protected]>
* Makefile (DIST_ONLY_SUBDIRS): Add 'gmcs' since it is specially
handled by 'class/corlib/Makefile'.
(test-installed-compiler): Run compiler tests using the installed
compiler.
2004-09-14 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Allow to be overriden by $(TEST_SUBDIRS).
(test-profiles, run-test-profiles): New targets.
(test-compiler): Rename to ...
(compiler-tests): ... this. Run tests on all profiles.
2004-09-03 Martin Baulig <[email protected]>
* Makefile (test-compiler): New target to run the compiler test.
2004-07-02 Raja R Harinath <[email protected]>
* 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.
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
-313
View File
@@ -1,313 +0,0 @@
The class libraries are grouped together in the assemblies they belong.
Each directory here represents an assembly, and inside each directory we
divide the code based on the namespace they implement.
In addition, each assembly directory contains a Test directory that holds the
NUnit tests for that assembly.
We use a new build system which is described by various README files
in mcs/build
The build process typically builds an assembly, but in some cases it
also builds special versions of the assemblies intended to be used for
testing.
* Missing implementation bits
If you implement a class and you are missing implementation bits,
please use the attribute [MonoTODO]. This attribute can be used
to programatically generate our status web pages:
[MonoTODO]
int MyFunction ()
{
throw new NotImplementedException ();
}
* Supporting .NET 1.2, .NET 1.1 and .NET 1.0 builds
The defines NET_1_1 and NET_2_0 are used to include
features. When NET_2_0 is defined, it also implies that the
NET_1_1 is defined.
To have code which is only available in an old version, use ONLY_1_0,
ONLY_1_1
* Tagging buggy code
If there is a bug in your implementation tag the problem by using
the word "FIXME" in the code, together with a description of the
problem.
Do not use XXX or obscure descriptions, because otherwise people
will not be able to understand what you mean.
* Tagging Problematic specs.
If the documentation and the Microsoft implementation do
differ (you wrote a test case to prove this), I suggest that you edit
the file `mcs/class/doc/API-notes' so we can keep track of these problems
and submit our comments to ECMA or Microsoft and seek clarification.
Sometimes the documentation might be buggy, and sometimes the implementation
might be buggy. Lets try to identify and pinpoint which one
is the correct one.
Sometimes the specification will be lame (consider Version.ToString (fieldCount)
where there is no way of knowing how many fields are available, making the API
not only stupid, but leading to unreliable code).
In those cases, use the keyword "LAMESPEC".
* Coding considerations and style.
In order to keep the code consistent, please use the following
conventions. From here on `good' and `bad' are used to attribute
things that would make the coding style match, or not match. It is not
a judgement call on your coding abilities, but more of a style and
look call. Please try to follow these guidelines to ensure prettiness.
Use 8 space tabs for writing your code (hopefully we can keep
this consistent). If you are modifying someone else's code, try
to keep the coding style similar.
Since we are using 8-space tabs, you might want to consider the Linus
Torvals trick to reduce code nesting. Many times in a loop, you will
find yourself doing a test, and if the test is true, you will nest.
Many times this can be changed. Example:
for (i = 0; i < 10; i++) {
if (something (i)) {
do_more ();
}
}
This take precious space, instead write it like this:
for (i = 0; i < 10; i++) {
if (!something (i))
continue;
do_more ();
}
A few guidelines:
* Use a space before an opening parenthesis when calling
functions, or indexing, like this:
method (a);
b [10];
* Do not put a space after the opening parenthesis and the
closing one, ie:
good: method (a); array [10];
bad: method ( a ); array[ 10 ];
* Inside a code block, put the opening brace on the same line
as the statement:
good:
if (a) {
code ();
code ();
}
bad:
if (a)
{
code ();
code ();
}
* Avoid using unecessary open/close braces, vertical space
is usually limited:
good:
if (a)
code ();
bad:
if (a) {
code ();
}
* When defining a method, use the C style for brace placement,
that means, use a new line for the brace, like this:
good:
void Method ()
{
}
bad:
void Method () {
}
* Properties and indexers are an exception, keep the
brace on the same line as the property declaration.
Rationale: this makes it visually
simple to distinguish them.
good:
int Property {
get {
return value;
}
}
bad:
int Property
{
get {
return value;
}
}
Notice how the accessor "get" also keeps its brace on the same
line.
For very small properties, you can compress things:
ok:
int Property {
get { return value; }
set { x = value; }
}
* Use white space in expressions liberally, except in the presence
of parenthesis:
good:
if (a + 5 > method (blah () + 4))
bad:
if (a+5>method(blah()+4))
* For any new files, please use a descriptive introduction, like
this:
//
// System.Comment.cs: Handles comments in System files.
//
// Author:
// Juan Perez ([email protected])
//
// (C) 2002 Address, Inc (http://www.address.com)
//
* If you are modyfing someone else's code, and your contribution
is significant, please add yourself to the Authors list.
* Switch statements have the case at the same indentation as the
switch:
switch (x) {
case 'a':
...
case 'b':
...
}
* Argument names should use the camel casing for
identifiers, like this:
good:
void Method (string myArgument)
bad:
void Method (string lpstrArgument)
void Method (string my_string)
* Empty methods: They should have the body of code using two
lines, in consistency with the rest:
good:
void EmptyMethod ()
{
}
bad:
void EmptyMethod () {}
void EmptyMethod ()
{}
* Line length: The line length for C# source code is 134 columns.
If your function declaration arguments go beyond
this point, please align your arguments to match the
opening brace, like this:
void Function (int arg, string argb,
int argc)
{
}
When invoking functions, the rule is different, the
arguments are not aligned with the previous
argument, instead they begin at the tabbed position,
like this:
void M ()
{
MethodCall ("Very long string that will force",
"Next argument on the 8-tab pos",
"Just like this one")
}
Here are a couple of examples:
class X : Y {
bool Method (int argument_1, int argument_2)
{
if (argument_1 == argument_2)
throw new Exception (Locale.GetText ("They are equal!");
if (argument_1 < argument_2) {
if (argument_1 * 3 > 4)
return true;
else
return false;
}
//
// This sample helps keep your sanity while using 8-spaces for tabs
//
VeryLongIdentifierWhichTakesManyArguments (
Argument1, Argument2, Argument3,
NestedCallHere (
MoreNested));
}
bool MyProperty {
get {
return x;
}
set {
x = value;
}
}
void AnotherMethod ()
{
if ((a + 5) != 4) {
}
while (blah) {
if (a)
continue;
b++;
}
}
}
-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.
-135
View File
@@ -1,135 +0,0 @@
thisdir := .
SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
DIST_ONLY_SUBDIRS := gmcs
net_2_0_bootstrap_SUBDIRS := class
net_2_0_SUBDIRS := gmcs class tests errors tools
ifdef TEST_SUBDIRS
$(PROFILE)_SUBDIRS := $(TEST_SUBDIRS)
endif
ifndef NO_SIGN_ASSEMBLIES
OVERRIDE_TARGET_ALL = yes
endif
include build/rules.make
all-recursive $(STD_TARGETS:=-recursive): platform-check profile-check
# Used only if OVERRIDE_TARGET_ALL is defined
all.override:
$(MAKE) NO_SIGN_ASSEMBLY=yes all.real
$(MAKE) all.real
.PHONY: all-local $(STD_TARGETS:=-local)
all-local $(STD_TARGETS:=-local):
@:
# fun specialty targets
PROFILES = default net_2_0
.PHONY: all-profiles $(STD_TARGETS:=-profiles)
all-profiles $(STD_TARGETS:=-profiles):
$(MAKE) $(PROFILES:%=profile-do--%--$(@:-profiles=))
# The % below looks like profile-name--target-name
profile-do--%:
$(MAKE) PROFILE=$(subst --, ,$*)
# Ensure these don't run in parallel, for now.
profile-do--net_2_0--run-test: profile-do--default--run-test
profile-do--net_2_0--all: profile-do--net_2_0_bootstrap--all
profile-do--net_2_0_bootstrap--all: profile-do--default--all
testcorlib:
@cd class/corlib && $(MAKE) test run-test
compiler-tests:
$(MAKE) TEST_SUBDIRS="tests errors" run-test-profiles
test-installed-compiler:
$(MAKE) TEST_SUBDIRS="tests errors" PROFILE=default TEST_RUNTIME=mono MCS=mcs run-test
$(MAKE) TEST_SUBDIRS="tests errors" PROFILE=net_2_0 TEST_RUNTIME=mono MCS=gmcs run-test
package := mcs-$(VERSION)
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-local: dist-default
dist-pre:
rm -rf $(package)
mkdir $(package)
dist-tarball: dist-pre
$(MAKE) distdir='$(package)' dist-recursive
tar cvzf $(package).tar.gz $(package)
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: dist-tarball
rm -rf InstallTest Distcheck-MCS ; \
mkdir InstallTest ; \
destdir=`cd InstallTest && pwd` ; \
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
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
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()
End Sub
End Class
-35
View File
@@ -1,35 +0,0 @@
REM LineNo: 22
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.b' is not accessible in this context because it is 'Protected'.
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()
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
Console.WriteLine(myC.b)
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
-35
View File
@@ -1,35 +0,0 @@
REM LineNo: 27
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
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()
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S()
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
-35
View File
@@ -1,35 +0,0 @@
REM LineNo: 27
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
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()
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
Console.WriteLine(myC1.a)
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
-35
View File
@@ -1,35 +0,0 @@
REM LineNo: 27
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.b' is not accessible in this context because it is 'Protected'.
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()
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
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 @@
REM LineNo: 5
REM ExpectedError: BC31089
REM ErrorMessage: Types declared 'Private' must be inside another type.
Private Class C2
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30451
REM ErrorMessage: Name 'S2' is not declared.
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30451
REM ErrorMessage: Name 'C' is not declared.
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
C = 10
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30456
REM ErrorMessage: 'S2' is not a member of 'C1'.
Class C1
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S2()
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30456
REM ErrorMessage: 'C' is not a member of 'C1'.
Class C1
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.C = 20
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 7
REM ExpectedError: BC30176
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
Imports System
Class C1
Public Private a As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 7
REM ExpectedError: BC30176
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
Imports System
Class C1
Private Friend e As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 7
REM ExpectedError: BC30176
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
Imports System
Class C1
Public Protected b As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 7
REM ExpectedError: BC30176
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
Imports System
Class C1
Public Friend c As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 7
REM ExpectedError: BC30176
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
Imports System
Class C1
Private Protected d As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30451
REM ErrorMessage: Name 'S2' is not declared.
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
REM LineNo: 5
REM ExpectedError: BC31047
REM ErrorMessage: Protected types can only be declared inside of a class.
Protected Class C1
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-17
View File
@@ -1,17 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30389
REM ErrorMessage: 'C1.InnerC' is not accessible in this context because it is 'Protected'.
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
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
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()
End Sub
End Class
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
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()
Console.WriteLine (a)
End Sub
End Class
-22
View File
@@ -1,22 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
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 C3
Public Sub S()
Dim myC As New C1()
myC.S()
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-22
View File
@@ -1,22 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30390
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
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 C3
Public Sub S()
Dim myC As New C1()
Console.WriteLine(myC.a)
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-24
View File
@@ -1,24 +0,0 @@
'==========================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Reference:
'APR-1.0.0: Argument Passing by Reference, which means the procedure can modify the variable
' itself.
'===========================================================================================
Imports System
Module APR_1_0_0
Sub F(ByRef p As Integer)
p += 1
End Sub
Sub Main()
Dim a As Integer = 1
F(a)
if (a=1)
Throw New System.Exception("#A1, Unexcepted Behaviour in Arguments_ByReferenceA.vb")
end if
End Sub
End Module
'============================================================================================
-25
View File
@@ -1,25 +0,0 @@
'=============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Reference:
'APR-1.4.0: If procedure is define by passing argument by reference and while calling the
' procedure it is passes by giving parentheses around the variable then it protect
' it from change
'=============================================================================================
Imports System
Module APR_1_4_0
Sub F(ByRef p As Integer)
p += 1
End Sub
Sub Main()
Dim a As Integer = 1
F((a))
if(a<>1)
Throw new System.Exception ("#A1, Unexpected behavior in Arguments_ByReferenceB.vb")
end if
End Sub
End Module
'==============================================================================================
-23
View File
@@ -1,23 +0,0 @@
'=============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Reference:
'APR-1.1.0: If variable elements is of value type, i.e. it contains only a value then procedure ' can change the variable or any of its members
'=============================================================================================
Imports System
Module APR_1_1_0
Sub F(ByRef p As String)
p = "Sinha"
End Sub
Sub Main()
Dim a As String = "Manish"
F(a)
if (a="Manish")
Throw New System.Exception("#A1, Unexcepted behaviour of ByRef of String Datatype")
end if
End Sub
End Module
'=============================================================================================
-51
View File
@@ -1,51 +0,0 @@
'==============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Reference:
'APR-1.3.0: If the variable elements is of reference type i.e. it contain a pointers to a class
' then procedure can change the members of instance to which it points
'==============================================================================================
Imports System
Imports System.Array
Module APR_1_3_0
Public Sub Increase(ByRef A() As Long)
Dim J As Integer
For J = 0 To 3
A(J) = A(J) + 1
Next J
End Sub
' ...
Public Sub Replace(ByRef A() As Long)
Dim J As Integer
Dim K() As Long = {100, 200, 300,400}
A = K
For J = 0 To 3
A(J) = A(J) + 1
Next J
End Sub
' ...
Sub Main()
Dim N() As Long = {10, 20, 30, 40}
Dim N1() As Long = {11, 21, 31, 41}
Dim N2() As Long = {101, 201, 301, 401}
Dim i As Integer
Increase(N)
For i = 0 to 3
if (N(i) <> N1(i))
Throw New System.Exception("#A1, Unexception Behaviour in Increase Function")
end if
Next i
Replace(N)
For i= 0 to 3
if ( N(i) <> N2(i))
Throw New System.Exception("#A2, Unexception Behaviour in Increase Function")
end if
Next i
End Sub
End Module
'==============================================================================================
-22
View File
@@ -1,22 +0,0 @@
'==========================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Value:
'APV-1.0.0: Argument Passing by value, which means the procedure cannot modify the variable
' itself.
'==========================================================================================
Imports System
Module APV1_0
Sub F(ByVal p As Integer)
p += 1
End Sub
Sub Main()
Dim a As Integer = 1
F(a)
if a<>1
Throw new System.Exception("#A1, Unexcepted behaviour")
end if
End Sub
End Module
'============================================================================================
-22
View File
@@ -1,22 +0,0 @@
'=============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Value:
'APV-1.4.0: By Default VB pass arguments by values, i.e if procedure is pass without mentioning
' type then it take as ByVal type
'=============================================================================================
Imports System
Module APV1_4_0
Sub F(p As Integer)
p += 1
End Sub
Sub Main()
Dim a As Integer = 1
F(a)
if a<>1
Throw new System.Exception("#A1, uncexcepted behaviour of Default VB pass arguments")
end if
End Sub
End Module
'=============================================================================================
-22
View File
@@ -1,22 +0,0 @@
'=============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Value:
'APV-1.1.0: If variable elements is of value type, i.e. it contains only a value then procedure ' cannot change the variable or any of its members
'=============================================================================================
Imports System
Module APV1_1_0
Sub F(p As String)
p = "Sinha"
End Sub
Sub Main()
Dim a As String = "Manish"
F(a)
if a<>"Manish"
Throw New System.Exception("#A1, Unexcepted behaviour in string of APV1_1_0")
end if
End Sub
End Module
'=============================================================================================
-50
View File
@@ -1,50 +0,0 @@
'=============================================================================================
'Name:Manish Kumar Sinha
'Email Address: [email protected]
'Test Case Name: Argument passing by Value:
'APV-1.0.0: If the variable elements is of reference type i.e. it contain a pointers to a class
' then procedure can change the members of instance to which it points
'==============================================================================================
Imports System
Imports System.Array
Module APV1_0
Public Sub Increase(ByVal A() As Long)
Dim J As Integer
For J = 0 To 3
A(J) = A(J) + 1
Next J
End Sub
' ...
Public Sub Replace(ByVal A() As Long)
Dim J As Integer
Dim K() As Long = {100, 200, 300, 400}
A = K
For J = 0 To 3
A(J) = A(J) + 1
Next J
End Sub
' ...
Sub Main()
Dim N() As Long = {10, 20, 30, 40}
Dim N1() As Long = {11, 21, 31, 41}
Dim N2() As Long = {100, 200, 300, 400}
Dim i As Integer
Increase(N)
For i=0 To 3
if(N(i)<>N1(i))
Throw new System.Exception ("#A1, Unexpected behavior in Increase function")
end if
Next i
i=0
Replace(N)
For i=0 To 3
if(N(i)=N2(i))
Throw new System.Exception ("#A2, Unexpected behavior in Replace function")
end if
Next i
End Sub
End Module
'============================================================================================
-53
View File
@@ -1,53 +0,0 @@
Imports System
Module ArithmeticOperators
Sub main()
Dim a1, a3 As Integer
Dim a2 As String
a1 = 2 + 3
If a1 <> 5 Then
Console.WriteLine("#A1-AdditionOperator:Failed")
End If
a1 = 1204.08 + 3433
If a1 <> 4637 Then
Console.WriteLine("#A2-AdditionOperator:Failed")
End If
a3 = 2
a2 = "235"
a1 = a2 + a3
If a1 <> 237 Then
Console.WriteLine("#A3-AdditionOperator:Failed")
End If
a1 = a3 + Nothing
If a1 <> 2 Then
Console.WriteLine("#A4-AdditionOperator:Failed")
End If
Dim b1, b2, b3 As Char
b1 = "a"
b2 = "c"
b3 = b1 + b2
If b3 <> "a" Then
Console.WriteLine("#A5-AdditionOperator:Failed")
End If
Dim c1 As Double
c1 = 463.338 - 338.333
If c1 <> 125.005 Then
Console.WriteLine("#A6-SubtractionOperator:Failed")
End If
c1 = 463.338 * 338.3
If c1 <> 156747.2454 Then
Console.WriteLine("#A7-MultiplicationOperator:Failed")
End If
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module ArithmeticOperators1
Sub main()
Dim b1 As Decimal
b1 = 34.45
b1 = b1 / 0
Console.WriteLine(b1)
End Sub
End Module
-14
View File
@@ -1,14 +0,0 @@
Imports System
Module ArithmeticOperators2
Sub main()
Dim c1 As Decimal
c1 = 12.345
c1 = c1 Mod 0
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module ArithmeticOperators3
Sub main()
Dim a1 As Decimal
a1 = System.Decimal.MaxValue
a1 = a1 ^ 2
Console.WriteLine(a1)
End Sub
End Module
-54
View File
@@ -1,54 +0,0 @@
Imports System
Module ArithmeticOperatorsA
Sub main()
Dim a1, a2 As Double
a1 = 3 / 2
If a1 <> 1.5 Then
Console.WriteLine("#A1-RegularDivisionOperator:Failed")
End If
Dim b1 As Integer
b1 = 12 \ 2.5
If b1 <> 6 Then
Console.WriteLine("#A2-IntegerDivisionOperator:Failed")
End If
b1 = 11 \ 4
If b1 <> 2 Then
Console.WriteLine("#A3-IntegerDivisionOperator:Failed")
End If
b1 = 67 \ -4
If b1 <> -16 Then
Console.WriteLine("#A4-IntegerDivisionOperator:Failed")
End If
a1 = 12 Mod 2
If a1 <> 0 Then
Console.WriteLine("#A5-ModOperator:Failed")
End If
'a1 = 12.6 Mod 5
'If a1 <> 2.6 Then
'Console.WriteLine("#A6-ModOperator:Failed")
'End If
a1 = 2 ^ 3
If a1 <> 8 Then
Console.WriteLine("#A7-ExponentialOperator:Failed")
End If
a1 = (-2) ^ 3
If a1 <> -8 Then
Console.WriteLine("#A8-ExponentialOperator:Failed")
End If
End Sub
End Module
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 16
REM ExpectedError: BC30542
REM ErrorMessage: Division by zero occurred while evaluating this expression.
Imports System
Module ArithmeticOperatorsC1
Sub main()
Dim a1, a2 As Integer
Dim b1 As Double
b1 = 12.35 / 0
Console.WriteLine(b1)
a1 = 10 Mod 0
End Sub
End Module
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 13
REM ExpectedError: BC30512
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Double' to 'Long'.
Option Strict On
Imports System
Module ArithmeticOperatorsC2
Sub main()
Dim a1, a2 As Integer
a1 = 12 \ 2.5
Dim b1 As Decimal
b1 = 34.45D
End Sub
End Module
-19
View File
@@ -1,19 +0,0 @@
REM LineNo: 19
REM ExpectedError: BC30512
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Double' to 'Long'.
Option Strict On
Imports System
Module ArithmeticOperatorsC2
Sub main()
Dim a1, a2 As Integer
a1 = 12 \ 2.5
Dim b1 As Decimal
b1 = 34.45D
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
REM LineNo: 13
REM ExpectedError: BC30542
REM ErrorMessage: Division by zero occurred while evaluating this expression.
Imports System
Module ArithmeticOperatorsC1
Sub main()
Dim a1, a2 As Integer
Dim b1 As Double
a1 = 10 \ Nothing
Console.WriteLine(a1)
b1 = 12.35 / 0
Console.WriteLine(b1)
End Sub
End Module
-14
View File
@@ -1,14 +0,0 @@
'Unhandled Exception: System.ArrayTypeMismatchException: 'ReDim' can
' only change the rightmost dimension.
Imports System
Module Array1
Sub Main()
Dim arr As Integer(,) = {{1, 2}, {3, 4}}
ReDim Preserve arr(3, 3)
arr(2, 2) = 12
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
' System.InvalidCastException: Cast from string to integer not valid
Imports System
Module Array2
Sub Main()
Dim arr As Integer(,) = {{1, "Hello"}, {3, 4}}
If arr(0, 0) <> 1 Then
Throw New Exception("#A1")
End If
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
' Unhandled Exception: System.IndexOutOfRangeException: Index was outside
' the bounds of the array.
Imports System
Module Array3
Sub Main()
Dim arr As Integer(,) = {{1, 2, 3}, {3, 4, 7}}
arr(0, 2) = arr(0, 0) * arr(0, 1)
arr(1, 2) = arr(1, 0) * arr(1, 1)
If arr(0, 2) <> 2 Or arr(1, 2) <> 12 Then
Throw New Exception("#A1 - Array Handling Statement failed")
End If
ReDim Preserve arr(1, 1)
arr(1, 2) = 2
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
-22
View File
@@ -1,22 +0,0 @@
REM LineNo: 12
REM ExpectedError: BC30451
REM ErrorMessage: Name 'IsArray' is not declared.
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
-13
View File
@@ -1,13 +0,0 @@
REM LineNo: 8
REM ExpectedError: BC30638
REM ErrorMessage: Array bounds cannot appear in type specifiers.
Imports System
Module M
Dim a as Long(5)
Sub Main ()
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
REM LineNo: 8
REM ExpectedError: BC31087
REM ErrorMessage: Array modifiers cannot be specified on both a variable and its type.
Imports System
Module M
Dim a() as Long()
Sub Main ()
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30415
REM ErrorMessage: 'ReDim' cannot change the number of dimensions of an array
Imports System
Module ArrayC3
Sub Main()
Dim arr As Integer(,) = {{1, 2}, {3, 4}}
ReDim arr(2)
End Sub
End Module
-23
View File
@@ -1,23 +0,0 @@
REM LineNo: 18
REM ExpectedError: BC30526
REM ErrorMessage: Property 'myprop' is 'ReadOnly'
Imports System
Module ArrayC4
Dim a As Integer() = {1, 2, 3, 4}
Public ReadOnly Property myprop() As Integer()
Get
Return a
End Get
End Property
Sub main()
ReDim Preserve myprop(6)
myprop(4) = 10
myprop(5) = 12
End Sub
End Module
-25
View File
@@ -1,25 +0,0 @@
REM LineNo: 18
REM ExpectedError: BC30524
REM ErrorMessage: Property 'myprop' is 'WriteOnly'
Imports System
Module ArrayC5
Dim a As Integer() = {1, 2, 3, 4}
Public WriteOnly Property myprop() As Integer()
Set(ByVal Value As Integer())
a = Value
End Set
End Property
Sub Main()
ReDim Preserve myprop(5)
myprop(4) = 10
For i As Integer = 0 to myprop.Length - 1
Console.WriteLine(myprop(i))
Next
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 10
REM ExpectedError: BC30689
REM ErrorMessage: Statement cannot appear outside of a method body.
Imports System
Module ArrayC6
Dim a As Integer() = {1, 2, 3, 4}
ReDim Preserve a(5)
Erase a
Sub Main()
ReDim Preserve a(6)
Erase a
Console.WriteLine(a(0))
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Imports System
Imports Microsoft.VisualBasic
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
-33
View File
@@ -1,33 +0,0 @@
Imports System
Module ArrayE
Dim a As Integer() = {1, 2, 3, 4}
Public Property myprop() As Integer()
Get
Return a
End Get
Set(ByVal Value As Integer())
a = Value
End Set
End Property
Sub main()
ReDim Preserve myprop(6)
Dim arr As Integer() = {1, 2, 3, 4, 10, 12, 14}
myprop(4) = 10
myprop(5) = 12
myprop(6) = 14
For i As Integer = 0 to myprop.Length - 1
Console.WriteLine(myprop(i))
If myprop(i) <> arr(i) Then
Throw New Exception("#AE1 - Array Statement failed")
End If
Next
End Sub
End Module
-29
View File
@@ -1,29 +0,0 @@
Imports System
Module ArrayF
Sub Main()
Dim arr As Integer(,) = {{1, 2, 3}, {3, 4, 7}}
ReDim arr(1, 1)
If arr(0, 0) = 1 Then
Throw New Exception("#AF1 - ReDim Statement failed")
End If
arr(0, 0) = 1
arr(0, 1) = 2
If arr(0, 0) <> 1 Then
Throw New Exception("#AF2 - ReDim Statement failed")
End If
Try
Erase arr
Console.WriteLine(arr(0, 0))
Catch e As Exception
If e.GetType.ToString <> "System.NullReferenceException" Then
Throw New Exception("#AF3 - Erase Statement failed")
End If
End Try
End Sub
End Module
-22
View File
@@ -1,22 +0,0 @@
Imports System
Module ArrayG
Sub Main()
Dim arr As Integer(,) = {{1, 2, 3}, {3, 4, 7}}
ReDim arr(-1, -1)
If arr.Length <> 0 Then
Throw New Exception("#AG1 - ReDim Statement failed")
End If
If arr Is Nothing Then
Throw New Exception("#AG2 - ReDim Statement failed")
End If
Erase arr
If Not arr Is Nothing Then
Throw New Exception("#AG3 - Erase Statement failed")
End If
End Sub
End Module
-35
View File
@@ -1,35 +0,0 @@
Imports System
Module M1
Function Main() As Integer
Dim x As Integer = 7
Dim y As Integer = 2
y += 3
x = y + 10
If y <> 5 Then
Return 1
End If
If x <> 15 Then
Return 2
End If
x += 9
If x <> 24 Then
Return 3
End If
Dim c As Byte = 3
Dim d As Byte = 5
d ^= c
Console.WriteLine(d)
Dim s As Short = 5
Dim i As Integer = 400001
s <<= i
Console.WriteLine(s)
End Function
End Module
-20
View File
@@ -1,20 +0,0 @@
' ErrorMessage: System.ArrayTypeMismatchException: Attempted to store
' an element of the incorrect type into the array.
Imports System
Module AssignmentStatements1
Sub main()
Dim sa(10) As String
Dim oa As Object() = sa
oa(0) = Nothing
oa(1) = "Hello "
oa(2) = "World"
oa(3) = New Date(2004, 8, 17)
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
' System.InvalidCastException: Cast from string "Hello World" to type 'Integer' is not valid.
Imports System
Module AssignmentStatements2
Sub main()
Dim a As Integer
a = "Hello " + "World"
Console.WriteLine(a)
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
' ErrorMessage: System.OverflowException: Arithmetic operation resulted in an overflow.
Imports System
Module AssignmentStatements3
Sub main()
Dim b As Byte = 0
b += 1000
If b <> 1000 Then
Throw New Exception("#AS3-Assignment Statement Failed")
End If
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
' ErrorMessage: System.InvalidCastException: Cast from string "Hello " to type 'Double'
' is not valid.
Imports System
Module AssignmentStatements4
Sub main()
Dim i As Integer = 0
Dim str As String = "Hello "
str += i
Console.WriteLine(str)
End Sub
End Module
-24
View File
@@ -1,24 +0,0 @@
Imports System
Module AssignmentStatements5
Private str As String = "Hello VB.NET World"
Public ReadOnly Property mystr() As String
Get
Return str
End Get
End Property
Sub main()
Mid(mystr, 7) = "MS.NET"
Console.WriteLine(mystr)
If mystr <> "Hello MS.NETBasic " Then
Throw New Exception("#AS5 - Assignment Statement failed")
End If
End Sub
End Module
-54
View File
@@ -1,54 +0,0 @@
Imports System
Module AssignmentStatementsA
Sub main()
Dim i As Integer
i = 2
If i <> 2 Then
Throw New Exception("#ASA1 - Assignment Statement failed")
End If
i = 2.3 * 3.45 / 2.3 ' Implicit type conversion
If i <> 3 Then
Throw New Exception("#ASA2 - Assignment Statement failed")
End If
Dim s As String = 2.3 * 3.45 / 2.3
If s <> 3.45 Then
Throw New Exception("#ASA3 - Assignment Statement failed")
End If
s = New Date(2004, 8, 17)
If s <> New Date(2004, 8, 17) Then
Throw New Exception("#ASA4 - Assignment Statement failed")
End If
If s <> "8/17/2004" Then
Throw New Exception("#ASA5 - Assignment Statement failed")
End If
Dim obj As New Object()
Dim obj1, obj2 As Object
obj1 = obj
obj2 = obj
If Not obj1 Is obj2 Then
Throw New Exception("#ASA6 - Assignment Statement failed")
End If
Dim obj3 As Object
obj3 = i
If obj3 <> 3 Then
Throw New Exception("#ASA7 - Assignment Statement failed")
End If
i = 12
i = obj3
If i <> 3 Then
Throw New Exception("#ASA8 - Assignment Statement failed")
End If
End Sub
End Module
-45
View File
@@ -1,45 +0,0 @@
Imports System
Imports Microsoft.VisualBasic
Module AssignmentStatementsB
Sub main()
Dim b As Byte = 0
Dim ch As Char = "a"
Dim i As Integer = 0
Dim str As String = "Hello "
b += 1
If b <> CByte(1) Then
Throw New Exception("#ASB1-Assignment Statement Failed")
End If
b += i
If b <> CByte(1) Then
Throw New Exception("#ASB2-Assignment Statement Failed")
End If
b += CByte(i)
If b <> CByte(1) Then
Throw New Exception("#ASB3-Assignment Statement Failed")
End If
ch += ChrW(65)
If ch <> CChar("aA") Then
Throw New Exception("#ASB4-Assignment Statement Failed")
End If
str &= "World"
If str <> "Hello World" Then
Throw New Exception("#ASB5-Assignment Statement Failed")
End If
i += "12"
If i <> 12 Then
Throw New Exception("#ASB6-Assignment Statement Failed")
End If
End Sub
End Module
-45
View File
@@ -1,45 +0,0 @@
Imports System
Imports Microsoft.VisualBasic
Module AssignmentStatementsC
Private str As String = "Hello VB.NET World"
Public Property mystr() As String
Get
Return str
End Get
Set(ByVal Value As String)
str = Value
End Set
End Property
Sub main()
Mid(str, 7) = "MS.NET"
If str <> "Hello MS.NET World" Then
Throw New Exception("#ASC1 - Assignment Statement failed")
End If
Mid(str, 7, 5) = "ASP.NET"
If str <> "Hello ASP.NT World" Then
Throw New Exception("#ASC2 - Assignment Statement failed")
End If
Mid(str, 7) = "VisualBasic .NET World"
If str <> "Hello VisualBasic " Then
Throw New Exception("#ASC3 - Assignment Statement failed")
End If
Mid(str, 7) = 2.5 * 34.59
If str <> "Hello 86.475Basic " Then
Throw New Exception("#ASC4 - Assignment Statement failed")
End If
Mid(mystr, 7) = "MS.NET"
If mystr <> "Hello MS.NETBasic " Then
Throw New Exception("#ASC5 - Assignment Statement failed")
End If
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
REM LineNo: 11
REM ExpectedError: BC30311
REM ErrorMessage: Value of type 'Date' cannot be converted to 'Integer'.
Imports System
Module AssignmentStatementsC1
Sub main()
Dim a As Integer
a = New Date(200)
Console.WriteLine(a)
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
REM LineNo: 13
REM ExpectedError: BC32007
REM ErrorMessage: 'Integer' values cannot be converted to 'Char'. Use 'Microsoft.VisualBasic.ChrW'
REM to interpret a numeric value as a Unicode character or first convert it to 'String' to produce a digit.
Imports System
Module AssignmentStatementsC2
Sub main()
Dim ch As Char
ch = 1
Console.WriteLine(ch)
End Sub
End Module
-21
View File
@@ -1,21 +0,0 @@
REM LineNo: 17
REM ExpectedError: BC30512
REM ErrorMessage: Option Strict On disallows implicit conversions
Option Strict On
Imports System
Imports Microsoft.VisualBasic
Module AssignmentStatementsC3
Sub main()
Dim b As Byte = 0
Dim i As Integer = 0
b += 1000
b += i
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
REM LineNo: 19
REM ExpectedError: BC30524
REM ErrorMessage: Property 'mystr' is 'WriteOnly'.
Imports System
Imports Microsoft.VisualBasic
Module AssignmentStatementsC4
Private str As String = "Hello VB.NET World"
Public WriteOnly Property mystr() As String
Set(ByVal Value As String)
str = Value
End Set
End Property
Sub main()
Mid(mystr, 7) = "MS.NET"
If mystr <> "Hello MS.NETBasic " Then
Throw New Exception("#ASC41 - Assignment Statement failed")
End If
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
Loaded 100 of 13682 files, more files were not shown because too many files have changed in this diff. Show more