Compare commits

...
1786 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
Miguel de Icaza 7e41e0ecc5 Version
svn path=/trunk/mono/; revision=35457
2004-10-29 14:52:22 +00:00
Miguel de Icaza 3197d49f33 Version
svn path=/trunk/mcs/; revision=35457
2004-10-29 14:52:22 +00:00
Miguel de Icaza 4c4c20f561 Improve
svn path=/trunk/mcs/; revision=35456
2004-10-29 14:51:08 +00:00
Miguel de Icaza dee6720734 Up
svn path=/trunk/mcs/; revision=35455
2004-10-29 14:50:03 +00:00
Miguel de Icaza 6066d9f83d Fix Ben's build issue
svn path=/trunk/mcs/; revision=35451
2004-10-29 14:06:07 +00:00
Sebastien Pouliot 6b314cc967 2004-10-29 Sebastien Pouliot <[email protected]>
* ASN1.cs: Throw an NotSupportedException when "undefined length
	encoding" is used (#68903 but it's not a fix ;-). Fixed GetBytes to
	encode structures bigger than 64k (fix #68907). Simplified ToString
	and added Length to help debugging.

svn path=/trunk/mcs/; revision=35450
2004-10-29 13:40:51 +00:00
Atsushi Eno e0532e3019 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs : AttributeSchemaType could be determined on
	  compilation time. AttributeType is obsolete.
	* XmlSchemaElement.cs : ditto for ElementSchemaType and ElementType.

svn path=/trunk/mcs/; revision=35447
2004-10-29 12:21:38 +00:00
Jordi Mas i Hernandez 7280153d04 Help the gc
svn path=/trunk/mcs/; revision=35446
2004-10-29 11:58:24 +00:00
Raja R Harinath d66499f31d (install-local): Install .mdb files too.
(uninstall-local): Remove them.

svn path=/trunk/mcs/; revision=35444
2004-10-29 10:50:37 +00:00
Raja R Harinath af6c8e9c59 (bootstrap_libs,bootstrap_libfiles): New.
(bootstrap-libs): New target.  Invokes the net_2_0_bootstrap profile.
(gmcs.exe): Invoke bootstrap-libs.
(clean-local): Clean the net_2_0_bootstrap profile too.
(PROGRAM_INSTALL_DIR): New.
(install-local): Use it.

svn path=/trunk/mcs/; revision=35443
2004-10-29 10:49:05 +00:00
Raja R Harinath cd6b6a7a7a Move support for building net_2_0_bootstrap libraries
to gmcs.

svn path=/trunk/mcs/; revision=35442
2004-10-29 10:46:40 +00:00
Raja R Harinath 9b544ac9bd (net_2_0_SUBDIRS): New. Only build 'wsdl' in the
net_2_0 profile.

svn path=/trunk/mcs/; revision=35441
2004-10-29 10:45:00 +00:00
Raja R Harinath afaf862768 (net_2_0_bootstrap_SUBDIRS): New.
svn path=/trunk/mcs/; revision=35440
2004-10-29 10:43:16 +00:00
Raja R Harinath 950472db74 (PROFILE_MCS_FLAGS): Remove
-langversion:default flag.

svn path=/trunk/mcs/; revision=35439
2004-10-29 10:40:18 +00:00
Raja R Harinath d0c742b6e9 (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.

svn path=/trunk/mcs/; revision=35438
2004-10-29 10:39:17 +00:00
Raja R Harinath 89fdce0297 Make 'dist-recursive' better integrate with automake's 'make dist'.
(distdir): Remove.
(PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
(DIST_SUBDIRS): New.
(dist-recursive): Define distdir here.

svn path=/trunk/mcs/; revision=35437
2004-10-29 10:38:58 +00:00
Atsushi Eno afd86b9ae9 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : added LocalElements, with the description
	  why it can never be correct implementation.
	* XmlSchemaUtil.cs : use IHasXmlParserContext.

svn path=/trunk/mcs/; revision=35436
2004-10-29 09:35:12 +00:00
Umadevi S 818cdf035d 2004-10-30 Umadevi S <[email protected]>
* SqlDataAdapterTest.cs - Added testcase for nullguid

svn path=/trunk/mcs/; revision=35435
2004-10-29 08:39:00 +00:00
Atsushi Eno fa108b4d89 2004-10-29 Atsushi Enomoto <[email protected]>
* Makefile : just ignore obsolete attribute warnings (those obsolete
	  members are widely used in obsolete code).

svn path=/trunk/mcs/; revision=35434
2004-10-29 08:36:44 +00:00
Atsushi Eno fbdfb5852a 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeUnion.cs : Added 2.0 BaseMemberTypes property
	  (this property name is also ambiguous and should be changed too.)

svn path=/trunk/mcs/; revision=35433
2004-10-29 08:33:35 +00:00
Atsushi Eno c955879e66 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeList.cs : Added 2.0 BaseItemType property (BTW
	  this property name is really ambiguous and should be changed.)

svn path=/trunk/mcs/; revision=35432
2004-10-29 07:15:47 +00:00
Atsushi Eno c565d41d46 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : fixed incorrect recursion between
	  indexer and GetAttribute().

svn path=/trunk/mcs/; revision=35431
2004-10-29 06:56:59 +00:00
Umadevi S 06e08f2d5b 2004-10-30 Umadevi S <[email protected]>
* Tds.cs : GetColumnValue method: handling null guid values correctly.
                This fixes bug #68804.
                Thanks for the patch /bug report by Aleksandar Dezelin

svn path=/trunk/mcs/; revision=35430
2004-10-29 05:27:33 +00:00
Atsushi Eno ff1ec3a518 2004-10-29 Atsushi Enomoto <[email protected]>
* DTDReader.cs, DTDValidatingReader.cs, XmlTextReader.cs :
	  When XmlTextReader is created with NodeType Element or Attribute,
	  skip possible text declaration (that might be used for resolving
	  entities) that specifies text encoding. With this fix, bug #61274
	  must be regarded as fixed.

svn path=/trunk/mcs/; revision=35428
2004-10-29 04:48:04 +00:00
Atsushi Eno 83b1983ad7 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : Reimplemented ResolveEntity(). It does not use
	  XmlTextReader trick anymore. XmlNodeReader itself it used instead.

svn path=/trunk/mcs/; revision=35427
2004-10-29 04:26:02 +00:00
Gonzalo Paniagua Javier 9293397a7f 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: correctly process script tags that self-closing.
	Fixes bug #69657.

svn path=/trunk/mcs/; revision=35424
2004-10-29 04:16:46 +00:00
Atsushi Eno 1522105d52 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : for NET_1_0 ReadInnerXml(), just use
	  XmlReader.ReadInnerXmlInternal(). It should work fine.
	  Ditto for ReadOuterXml().

svn path=/trunk/mcs/; revision=35423
2004-10-29 03:20:30 +00:00
Jambunathan K 268a0ed656 Oops. Correcting the grave errors that I "committed" previously.
svn path=/trunk/mcs/; revision=35421
2004-10-29 03:13:19 +00:00
Jambunathan K d8d8576508 Oops.
svn path=/trunk/mcs/; revision=35420
2004-10-29 03:00:43 +00:00
Atsushi Eno 8ebc111e08 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : removed unused/unreachable code. Simplify
	  namespace lookup.

svn path=/trunk/mcs/; revision=35419
2004-10-29 02:51:37 +00:00
Atsushi Eno 12792953c0 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : ReadAsObject() is removed.
	* XmlTextWriterTests.cs : added CloseTwice().
	* XmlNodeTests.cs : added labels.

svn path=/trunk/mcs/; revision=35418
2004-10-29 02:07:07 +00:00
Atsushi Eno b248901394 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlDocument.cs, XmlNodeReader.cs, XmlTextReader.cs,
	  XmlValidatingReader.cs : Those readers could just implement internal
	  interface IHasXmlParserContext.
	* XmlTextReader.cs, XmlValidatingReader.cs : this[] disappeared in 2.0.
	  (XmlReader has them as virtual.)
	* XmlReader.cs : ReadAsObject() disappeared.
	* XmlWriter.cs : WriteFromObject() disappeared.

svn path=/trunk/mcs/; revision=35417
2004-10-29 01:20:48 +00:00
Atsushi Eno 799b8b5d64 2004-10-29 Atsushi Enomoto <[email protected]>
* XPathEditableDocument.cs : internalize classes.

svn path=/trunk/mcs/; revision=35416
2004-10-29 01:16:28 +00:00
Atsushi Eno 0018d2cc28 2004-10-29 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : GetNode() should consider namespace nodes.
	* XmlNode.cs : dustclean.

svn path=/trunk/mcs/; revision=35415
2004-10-29 01:13:03 +00:00
Atsushi Eno 49f8de6fd4 ... should have been removed in the last commit.
svn path=/trunk/mcs/; revision=35412
2004-10-28 20:26:16 +00:00
Miguel de Icaza 05a9cfb1cb Oops
svn path=/trunk/mcs/; revision=35408
2004-10-28 18:47:13 +00:00
Miguel de Icaza f7cf973412 Update
svn path=/trunk/mcs/; revision=35407
2004-10-28 18:42:23 +00:00
Ben Maurer d798e085e2 2004-10-28 Ben Maurer <[email protected]>
* String.cs: Rather than == String.Empty, use .Length == 0. It
	is a bit faster (avoids a method call, and the code is less complex).

svn path=/trunk/mcs/; revision=35406
2004-10-28 18:22:26 +00:00
Sebastien Pouliot c091a69891 2004-10-28 Sebastien Pouliot <[email protected]>
* Updated to NUnit 2.2.0 Final Release.

svn path=/trunk/mcs/; revision=35405
2004-10-28 17:56:40 +00:00
Sebastien Pouliot 33eb8407e0 New files.
svn path=/trunk/mcs/; revision=35404
2004-10-28 17:55:19 +00:00
Jambunathan K 5bb0fc972b * mb-parser.jay: Refined the attributes grammar so that a
syntactically correct VB.NET file containing both global and
non-global attributes could atleast be tokenized correctly.

* errors/AttributesC8.vb:
* errors/AttributesC7.vb:
* errors/AttributesC3.vb: Newly added.

svn path=/trunk/mcs/; revision=35403
2004-10-28 17:46:46 +00:00
Miguel de Icaza f6b088d2ed Add another test case, this was a recent regression
svn path=/trunk/mcs/; revision=35401
2004-10-28 15:45:38 +00:00
Sebastien Pouliot 1de6747f77 2004-10-28 Sebastien Pouliot <[email protected]>
* KeyPairPersistenceTest.cs: Fix two tests to work even if the user
	doesn't have access to the machine key store.

svn path=/trunk/mcs/; revision=35397
2004-10-28 12:32:10 +00:00
Sebastien Pouliot 997fee31ef 2004-10-28 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatterTest.cs: Check timestamp as an UTC value so
	that the test can work anywhere in the world (and not just at home ;)

svn path=/trunk/mcs/; revision=35396
2004-10-28 12:30:08 +00:00
Sebastien Pouliot c37aeba820 2004-10-28 Sebastien Pouliot <[email protected]>
* KeyPairPersistence.cs: Added localization for exceptions messages.
	Also added more details (type and path) when an exception is thrown.

svn path=/trunk/mcs/; revision=35395
2004-10-28 11:54:56 +00:00
Ravindra 2c8c2a1ad2 * gdipFunctions.cs: Added checks for null stream in the
StreamHelper internal class.
	* Icon.cs: Removed an ugly hack that used temp files in
	ToBitmap () method. We use MemoryStream instead.

svn path=/trunk/mcs/; revision=35394
2004-10-28 11:34:12 +00:00
Atsushi Eno 1ca41856d9 2004-10-28 Atsushi Enomoto <[email protected]>
* XPathEditableDocument.cs : Copied from sys.xml.

svn path=/trunk/mcs/; revision=35390
2004-10-28 06:29:02 +00:00
Atsushi Eno be71f854d6 2004-10-28 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : use XPathEditableDocument again.
	* XmlNode.cs : To be compatible with XPathEditableDocument, it should
	  not cast XPathNavigator to XmlDocumentNavigator but to IHasXmlNode.

svn path=/trunk/mcs/; revision=35389
2004-10-28 06:27:46 +00:00
Atsushi Eno 281467ff96 2004-10-28 Atsushi Enomoto <[email protected]>
* XPathEditableDocument.cs : fixed wrong recursion problem.

svn path=/trunk/mcs/; revision=35388
2004-10-28 06:26:53 +00:00
Atsushi Eno 5863b9aa05 2004-10-28 Atsushi Enomoto <[email protected]>
* .cvsignore : should be here ;-)

svn path=/trunk/mcs/; revision=35386
2004-10-28 05:13:09 +00:00
Atsushi Eno b014ebe019 2004-10-28 Atsushi Enomoto <[email protected]>
* Mono.Xml.Ext.dll.sources : added new files.
	* .cvsignore : added

svn path=/trunk/mcs/; revision=35385
2004-10-28 05:10:05 +00:00
Atsushi Eno 4a0259e260 2004-10-28 Atsushi Enomoto <[email protected]>
* XmlCachingResolver.cs : added (thanks to BenM).
	* XmlNodeWriter.cs, SubtreeXmlReader.cs : added (copy from sys.xml).
	* InternalPool.cs : it is NET_2_0.
	* XmlStoredResolver.cs : namespace Mono.Xml.

svn path=/trunk/mcs/; revision=35384
2004-10-28 05:05:40 +00:00
Peter Dennis Bartok 142986e4d1 - Now throws a nice error message when no X display could be opened
svn path=/trunk/mcs/; revision=35383
2004-10-28 04:58:13 +00:00
Atsushi Eno d29e193f42 2004-10-28 Atsushi Enomoto <[email protected]>
* XmlChar.cs, XmlConstructs.cs :
	  Switched again, for reducing per-process memory consumption.
	* XmlInputStream.cs :
	  Just 64 bytes of buffer would be enough, for example like
	  <?xml version="1.0" encoding="iso-8859-15" standalone="yes" ?>

svn path=/trunk/mcs/; revision=35382
2004-10-28 03:01:13 +00:00
Atsushi Eno cdd7af4956 2004-10-28 Atsushi Enomoto <[email protected]>
* XmlSchemaAttributeGroup.cs, XmlSchemaGroup.cs :
	  in 2.0, QualifiedName properties are public.
	* XmlSchemaType.cs : TypeCode is [XmlIgnore] (anyways ignored though).

svn path=/trunk/mcs/; revision=35381
2004-10-28 02:48:41 +00:00
Atsushi Eno f2c6e04088 2004-10-28 Atsushi Enomoto <[email protected]>
* XQueryConvert.cs : hexbinary to base64 is now byte[] to byte[].

svn path=/trunk/mcs/; revision=35380
2004-10-28 02:48:09 +00:00
Atsushi Eno ffa7ce92f2 2004-10-28 Atsushi Enomoto <[email protected]>
* SubtreeXmlReader.cs, XmlFilterReader.cs : internal.

svn path=/trunk/mcs/; revision=35379
2004-10-28 02:41:43 +00:00
Atsushi Eno 97b7c069b7 2004-10-28 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : removed IXmlDataEvidence, fixed
	  XmlDateTimeSerializationMode, added NewLineHandling.

svn path=/trunk/mcs/; revision=35378
2004-10-28 02:41:21 +00:00
Atsushi Eno e406a02c07 2004-10-28 Atsushi Enomoto <[email protected]>
* IXmlDataEvidence.cs : disappeared.
	* XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
	* XmlDateTimeSerializationMode.cs : added
	* NewLineHandling.cs : added
	* IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
	  now 'atomizedNames' is obsolete.
	* XmlReaderSettings.cs, XmlWriterSettings.cs :
	  Should not be sealed. Should not be ICloneable.

svn path=/trunk/mcs/; revision=35377
2004-10-28 02:41:01 +00:00
Miguel de Icaza 228b7fad78 Patch so we can bootstrap with older mcs
svn path=/trunk/mcs/; revision=35376
2004-10-28 01:51:54 +00:00
Atsushi Eno 65c290bee7 2004-10-28 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : XPathEditableDocument looks broken. Just reverted
	  to fix 2.0 corcompare.

svn path=/trunk/mcs/; revision=35375
2004-10-28 01:26:49 +00:00
Chris Toshok a5a6654ce0 2004-10-27 Chris Toshok <[email protected]>
* mono-debug-debugger.c (write_class): don't call mono_class_init
	here, as even with the check for (!klass->init_pending), we get
	into a situation where we're hitting cycles in class
	initialization.  Fixes #68816.

svn path=/trunk/mono/; revision=35374
2004-10-27 23:25:38 +00:00
Gonzalo Paniagua Javier f5e9d1fd2d 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
	system.web portion of bug #68270.

svn path=/trunk/mcs/; revision=35373
2004-10-27 23:17:14 +00:00
Miguel de Icaza f5e6ba2109 2004-10-27 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference.DoResolveLValue): Check
	for obsolete use of a variable here.   Fixes regression on errors

svn path=/trunk/mcs/; revision=35371
2004-10-27 21:04:35 +00:00
Miguel de Icaza 8d40cc56bd Update
svn path=/trunk/mcs/; revision=35370
2004-10-27 20:35:12 +00:00
Ben Maurer ecfb5655fc 2004-10-27 Ben Maurer <[email protected]>
* TextInfoTest.cs: Fix up migster's type

svn path=/trunk/mcs/; revision=35368
2004-10-27 20:17:07 +00:00
Gonzalo Paniagua Javier 44286bd650 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: don't fail if the request has already been sent
	when accessing ContentType setter. Fixes bug #68848.

svn path=/trunk/mcs/; revision=35366
2004-10-27 20:07:06 +00:00
Marek Safar f84590ed8a new error tests
svn path=/trunk/mcs/; revision=35365
2004-10-27 19:57:40 +00:00
Ben Maurer 97e531cdef 2004-10-27 Ben Maurer <[email protected]>
* DateTimeTest.cs (TestToString): Remove test C28.
	The test does not work in banglore because they have an
	offset that has a half-hour part.

svn path=/trunk/mcs/; revision=35363
2004-10-27 19:19:07 +00:00
Marek Safar 3861acfb5e 2004-10-27 Marek Safar <[email protected]>
Fix #62358, implemented security attribute encoding.

	* attribute.cs (Attribute.CheckSecurityActionValididy): New method.
	Tests permitted SecurityAction for assembly or other types.
	(Assembly.ExtractSecurityPermissionSet): New method. Transforms
	data from SecurityPermissionAttribute to PermisionSet class.

	* class.cs (ApplyAttributeBuilder): Added special handling
	for System.Security.Permissions.SecurityAttribute based types.

	* codegen.cs (AssemblyClass.ApplyAttributeBuilder): Added
	special handling for System.Security.Permissions.SecurityAttribute
	based types.

	* enum.cs (ApplyAttributeBuilder): Added special handling
	for System.Security.Permissions.SecurityAttribute based types.

	* parameter.cs (ApplyAttributeBuilder): Added special handling
	for System.Security.Permissions.SecurityAttribute based types.

	* rootcontext.cs: Next 2 core types.

	* typemanager.cs (TypeManager.security_permission_attr_type):
	Built in type for the SecurityPermission Attribute.
	(code_access_permission_type): Build in type.

svn path=/trunk/mcs/; revision=35362
2004-10-27 19:14:02 +00:00
Sebastien Pouliot 3a54cb04f4 2004-10-27 Sebastien Pouliot <[email protected]>
* signcode.cs: -i (url) and -n (description) parameters were inverted.

svn path=/trunk/mcs/; revision=35361
2004-10-27 19:10:54 +00:00
Gonzalo Paniagua Javier fe2e76462c 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: when compiling a single .cs file, add the file
	itself to dependencies. Fixes bug #68788.

svn path=/trunk/mcs/; revision=35358
2004-10-27 19:06:12 +00:00
John Luke ff209f1763 2004-10-27 John Luke <[email protected]>
* outline.cs: report [Obsolete] types

svn path=/trunk/mcs/; revision=35357
2004-10-27 19:00:05 +00:00
Miguel de Icaza ed85bbb979 Update with MONO_XMLSERIALIZER_THS docs, and sort the env variable section
svn path=/trunk/mono/; revision=35356
2004-10-27 17:52:21 +00:00
Jochen Wezel aa21480ceb enabled the Replace test (which was disabled due to compilation errors by mbas in the history)
svn path=/trunk/mcs/; revision=35353
2004-10-27 14:24:51 +00:00
Jordi Mas i Hernandez b5338013e9 fixes bug 66533
svn path=/trunk/mcs/; revision=35352
2004-10-27 12:12:33 +00:00
Sanja Gupta 04e50b3784 ChangeLog: Updated.
SmtpClient.cs: Fixed bug 68829.

svn path=/trunk/mcs/; revision=35351
2004-10-27 11:01:09 +00:00
Atsushi Eno 88fb729486 2004-10-27 Atsushi Enomoto <[email protected]>
* README : new file.

svn path=/trunk/mcs/; revision=35349
2004-10-27 04:40:28 +00:00
Miguel de Icaza ff4afc62ce Flusheroo
svn path=/trunk/mcs/; revision=35348
2004-10-27 01:35:31 +00:00
Gonzalo Paniagua Javier af8bba40c9 2004-10-26 Gonzalo Paniagua Javier <[email protected]>
* System.Design.dll.sources: added files in
	System.Web.UI.Design.WebControls.

svn path=/trunk/mcs/; revision=35346
2004-10-27 01:03:14 +00:00
Gonzalo Paniagua Javier b80aa888ad 2004-10-26 Gonzalo Paniagua Javier <[email protected]>
* System.Design.dll.sources: added PanelDesigner.cs.
	* System.Web.UI.Design/PanelDesigner.cs: New file.

svn path=/trunk/mcs/; revision=35345
2004-10-27 00:53:47 +00:00
Miguel de Icaza 06807808a5 Updateroo
svn path=/trunk/mcs/; revision=35344
2004-10-26 23:27:22 +00:00
Miguel de Icaza 70a0ccb6e9 Tastyness
svn path=/trunk/mcs/; revision=35343
2004-10-26 23:22:17 +00:00
Miguel de Icaza 5189d05ced Helper script
svn path=/trunk/mcs/; revision=35342
2004-10-26 23:16:44 +00:00
Miguel de Icaza c0da13123c Add my file that I use to remember what am doing
svn path=/trunk/mcs/; revision=35341
2004-10-26 23:15:52 +00:00
Miguel de Icaza 2eeb4478f8 2004-10-17 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference.DoResolveBase, Emit):
	Remove the tests for `ec.RemapToProxy' from here, and encapsulate
	all of this information into
	EmitContext.EmitCapturedVariableInstance.

	* codegen.cs (EmitCapturedVariableInstance): move here the
	funcionality of emitting an ldarg.0 in the presence of a
	remapping.   This centralizes the instance emit code.

	(EmitContext.EmitThis): If the ScopeInfo contains a THIS field,
	then emit a load of this: it means that we have reached the
	topmost ScopeInfo: the one that contains the pointer to the
	instance of the class hosting the anonymous method.

	* anonymous.cs (AddField, HaveCapturedFields): Propagate field
	captures to the topmost CaptureContext.

2004-10-12  Miguel de Icaza  <[email protected]>

	* expression.cs (LocalVariableReference): Move the knowledge about
	the iterators into codegen's EmitCapturedVariableInstance.

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

	* codegen.cs (EmitContext.ResolveTopBlock): Emit a 1643 when not
	all code paths return a value from an anonymous method (it is the
	same as the 161 error, but for anonymous methods).

2004-10-08  Miguel de Icaza  <[email protected]>

	The introduction of anonymous methods in the compiler changed
	various ways of doing things in the compiler.  The most
	significant one is the hard split between the resolution phase
	and the emission phases of the compiler.

	For instance, routines that referenced local variables no
	longer can safely create temporary variables during the
	resolution phase: they must do so from the emission phase,
	since the variable might have been "captured", hence access to
	it can not be done with the local-variable operations from the runtime.

	* statement.cs

	(Block.Flags): New flag `IsTopLevel' to indicate that this block
	is a toplevel block.

	(ToplevelBlock): A new kind of Block, these are the blocks that
	are created by the parser for all toplevel method bodies.  These
	include methods, accessors and anonymous methods.

	These contain some extra information not found in regular blocks:
	A pointer to an optional CaptureContext (for tracking captured
	local variables and parameters).  A pointer to the parent
	ToplevelBlock.

	(Return.Resolve): Catch missmatches when returning a value from an
	anonymous method (error 1662).
	Invoke NeedReturnLabel from the Resolve phase instead of the emit
	phase.

	(Break.Resolve): ditto.

	(SwitchLabel): instead of defining the labels during the
	resolution phase, we now turned the public ILLabel and ILLabelCode
	labels into methods called GetILLabelCode() and GetILLabel() that
	only define the label during the Emit phase.

	(GotoCase): Track the SwitchLabel instead of the computed label
	(its contained therein).  Emit the code by using
	SwitchLabel.GetILLabelCode ().

	(LocalInfo.Flags.Captured): A new flag has been introduce to track
	whether the Local has been captured or not.

	(LocalInfo.IsCaptured): New property, used to tell whether the
	local has been captured.

	* anonymous.cs: Vastly updated to contain the anonymous method
	support.

	The main classes here are: CaptureContext which tracks any
	captured information for a toplevel block and ScopeInfo used to
	track the activation frames for various local variables.

	Each toplevel block has an optional capture context associated
	with it.  When a method contains an anonymous method both the
	toplevel method and the anonymous method will create a capture
	context.   When variables or parameters are captured, they are
	recorded on the CaptureContext that owns them, for example:

	void Demo () {
	     int a;
	     MyDelegate d = delegate {
	         a = 1;
	     }
	}

	Here `a' will be recorded as captured on the toplevel
	CapturedContext, the inner captured context will not have anything
	(it will only have data if local variables or parameters from it
	are captured in a nested anonymous method.

	The ScopeInfo is used to track the activation frames for local
	variables, for example:

	for (int i = 0; i < 10; i++)
		for (int j = 0; j < 10; j++){
		   MyDelegate d = delegate {
		   	call (i, j);
		   }
		}

	At runtime this captures a single captured variable `i', but it
	captures 10 different versions of the variable `j'.  The variable
	`i' will be recorded on the toplevel ScopeInfo, while `j' will be
	recorded on a child.

	The toplevel ScopeInfo will also track information like the `this'
	pointer if instance variables were referenced (this is necessary
	as the anonymous method lives inside a nested class in the host
	type of the method).

	(AnonymousMethod): Expanded to track the Toplevel, implement
	`AnonymousMethod.Compatible' to tell whether an anonymous method
	can be converted to a target delegate type.

	The routine now also produces the anonymous method content

	(AnonymousDelegate): A helper class that derives from
	DelegateCreation, this is used to generate the code necessary to
	produce the delegate for the anonymous method that was created.

	* assign.cs: API adjustments for new changes in
	Convert.ImplicitStandardConversionExists.

	* class.cs: Adjustments to cope with the fact that now toplevel
	blocks are of type `ToplevelBlock'.

	* cs-parser.jay: Now we produce ToplevelBlocks for toplevel blocks
	insteda of standard blocks.

	Flag errors if params arguments are passed to anonymous methods.

	* codegen.cs (EmitContext): Replace `InAnonymousMethod' with
	`CurrentAnonymousMethod' which points to the current Anonymous
	Method.  The variable points to the AnonymousMethod class that
	holds the code being compiled.  It is set in the new EmitContext
	created for the anonymous method.

	(EmitContext.Phase): Introduce a variable and an enumeration to
	assist in enforcing some rules about when and where we are allowed
	to invoke certain methods (EmitContext.NeedsReturnLabel is the
	only one that enfonces this right now).

	(EmitContext.HaveCaptureInfo): new helper method that returns
	whether we have a CapturedContext initialized.

	(EmitContext.CaptureVariable): New method used to register that a
	LocalInfo must be flagged for capturing.

	(EmitContext.CapturedParameter): New method used to register that a
	parameters must be flagged for capturing.

	(EmitContext.CapturedField): New method used to register that a
	field must be flagged for capturing.

	(EmitContext.HaveCapturedVariables,
	EmitContext.HaveCapturedFields): Return whether there are captured
	variables or fields.

	(EmitContext.EmitMethodHostInstance): This is used to emit the
	instance for the anonymous method.  The instance might be null
	(static methods), this (for anonymous methods that capture nothing
	and happen to live side-by-side with the current method body) or a
	more complicated expression if the method has a CaptureContext.

	(EmitContext.EmitTopBlock): Routine that drives the emission of
	code: it will first resolve the top block, then emit any metadata
	and then emit the code.  The split is done so that we can extract
	any anonymous methods and flag any captured variables/parameters.

	(EmitContext.ResolveTopBlock): Triggers the resolution phase,
	during this phase, the ILGenerator should not be used as labels
	and local variables declared here might not be accessible to any
	code that is part of an anonymous method.

	Exceptions to this include the temporary variables that are
	created by some statements internally for holding temporary
	variables.

	(EmitContext.EmitMeta): New routine, in charge of emitting all the
	metadata for a cb

	(EmitContext.TemporaryReturn): This method is typically called
	from the Emit phase, and its the only place where we allow the
	ReturnLabel to be defined other than the EmitMeta.  The reason is
	that otherwise we would have to duplicate a lot of logic in the
	Resolve phases of various methods that today is on the Emit
	phase.

	(EmitContext.NeedReturnLabel): This no longer creates the label,
	as the ILGenerator is not valid during the resolve phase.

	(EmitContext.EmitThis): Extended the knowledge in this class to
	work in anonymous methods in addition to iterators.

	(EmitContext.EmitCapturedVariableInstance): This emits whatever
	code is necessary on the stack to access the instance to a local
	variable (the variable will be accessed as a field).

	(EmitContext.EmitParameter, EmitContext.EmitAssignParameter,
	EmitContext.EmitAddressOfParameter): Routines to support
	parameters (not completed at this point).

	Removals: Removed RemapLocal and RemapLocalLValue.  We probably
	will also remove the parameters.

	* convert.cs (Convert): Define a `ConstantEC' which points to a
	null.  This is just to prefity some code that uses
	ImplicitStandardConversion code and do not have an EmitContext
	handy.

	The idea is to flag explicitly that at that point in time, it is
	known that the conversion will not trigger the delegate checking
	code in implicit conversions (which requires a valid
	EmitContext).

	Everywhere: pass new EmitContext parameter since
	ImplicitStandardConversionExists now requires it to check for
	anonymous method conversions.

	(Convert.ImplicitStandardConversionExists): If the type of an
	expression is the anonymous_method_type, and the type is a
	delegate, we invoke the AnonymousMethod.Compatible method to check
	whether an implicit conversion is possible.

	(Convert.ImplicitConversionStandard): Only do implicit method
	group conversions if the language level is not ISO_1.

	* delegate.cs (Delegate.GetInvokeMethod): Common method to get the
	MethodInfo for the Invoke method.  used by Delegate and
	AnonymousDelegate.

	* expression.cs (Binary.DoNumericPromotions): only allow anonymous
	method conversions if the target type is a delegate.

	Removed extra debugging nops.

	(LocalVariableReference): Turn the `local_info' into a public
	field.

	Add `prepared' field, the same hack used for FieldExprs to cope
	with composed assignments, as Local variables do not necessarily
	operate purely on the stack as they used to: they can be captured
	fields.

	Add `temp' for a temporary result, like fields.

	Refactor DoResolve and DoResolveLValue into DoResolveBase.

	It now copes with Local variables that are captured and emits the
	proper instance variable to load it from a field in the captured
	case.

	(ParameterReference.DoResolveBase): During the resolve phase,
	capture parameters if we are in an anonymous method.

	(ParameterReference.Emit, ParameterReference.AddressOf): If in an
	anonymous method, use the EmitContext helper routines to emit the
	parameter reference.

	* iterators.cs: Set RemapToProxy to true/false during the
	EmitDispose class.

	* parameters.cs (GetParameterByName): New helper method.

	* typemanager.cs (anonymous_method_type) a new type that
	represents an anonyous method.  This is always an internal type,
	used as a fencepost to test against the anonymous-methodness of an
	expression.

svn path=/trunk/mcs/; revision=35340
2004-10-26 23:14:11 +00:00
Miguel de Icaza 2ba7e8ce61 Add anonymous method tests
svn path=/trunk/mcs/; revision=35339
2004-10-26 23:05:31 +00:00
Atsushi Eno 58ae10f587 2004-10-26 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Don't create attribute Value string on Read()
	  (i.e. create string when get_Value() is invoked.) This optimizes
	  some kind of XmlTextReader usage significantly such as Skip().

svn path=/trunk/mcs/; revision=35338
2004-10-26 22:16:02 +00:00
Jordi Mas i Hernandez c61dc0af9b removes warning
svn path=/trunk/mcs/; revision=35336
2004-10-26 19:51:20 +00:00
Lluis Sanchez 1826bbddfb * ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
SoapProtocolImporter.cs: When appsettingurlkey is provided, generate
	  code that reads the url from the config file, instead of doing it at
	  the moment of generation. This fixes bug #68795.

svn path=/trunk/mcs/; revision=35333
2004-10-26 15:29:38 +00:00
Miguel de Icaza 7f6308224e 2004-10-26 Miguel de Icaza <[email protected]>
* mini.c (mono_jit_free_method): Provide extra information for
	this error.  Currently this leaks, but will be turned into a
	developer option in the future.

svn path=/trunk/mono/; revision=35332
2004-10-26 14:03:40 +00:00
Zoltan Varga 1f69ada062 2004-10-26 Zoltan Varga <[email protected]>
* driver.c (mono_main): Applied patch from Willibald Krenn <[email protected]>. Make --graph work for icalls and pinvoke methods.

svn path=/trunk/mono/; revision=35330
2004-10-26 10:08:50 +00:00
Ravindra 8c1ce19e22 Some formatting for my last checkins.
svn path=/trunk/mcs/; revision=35329
2004-10-26 09:55:48 +00:00
Zoltan Varga b24a6246cc 2004-10-26 Zoltan Varga <[email protected]>
* mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.

svn path=/trunk/mono/; revision=35327
2004-10-26 09:52:59 +00:00
Ravindra ad5f01c7d3 Updated project.
svn path=/trunk/mcs/; revision=35326
2004-10-26 09:38:19 +00:00
Ravindra 421980e812 Implemented DetailView drawing for ListView control and default values.
svn path=/trunk/mcs/; revision=35325
2004-10-26 09:36:32 +00:00
Ravindra 3f5d6aea18 Added some default values for ListView control.
svn path=/trunk/mcs/; revision=35324
2004-10-26 09:35:18 +00:00
Ravindra a00e9d0767 ToolBar should use the user specified button size, if there is any. Added a size_specified flag for the same.
svn path=/trunk/mcs/; revision=35323
2004-10-26 09:33:42 +00:00
Ravindra 0dc2679457 Added some internal members and calculations for ColumnHeader.
svn path=/trunk/mcs/; revision=35322
2004-10-26 09:33:00 +00:00
Ravindra c10ba0cf9c Calculations for ListViewItem.
svn path=/trunk/mcs/; revision=35321
2004-10-26 09:32:19 +00:00
Ravindra add98fd223 Added some internal members and calculations for ListView.
svn path=/trunk/mcs/; revision=35320
2004-10-26 09:31:35 +00:00
Miguel de Icaza 7e474f5cb2 Update url
svn path=/trunk/mono/; revision=35318
2004-10-26 00:50:32 +00:00
Miguel de Icaza 275eaea447 Flusheroo
svn path=/trunk/mono/; revision=35317
2004-10-26 00:50:25 +00:00
Miguel de Icaza e71a411106 Delegate
svn path=/trunk/mono/; revision=35316
2004-10-26 00:26:19 +00:00
César Natarén adb17a5f87 2004-10-25 Cesar Lopez Nataren <[email protected]>
* StringObject.cs: add value field

svn path=/trunk/mcs/; revision=35315
2004-10-25 22:16:13 +00:00
César Natarén e3c4d14a3c 2004-10-25 Cesar Lopez Nataren <[email protected]>
* expression.cs: implement LateBinding. Added methods:
	emit_late_binding, init_late_binding, emit_late_get_or_set,
	get_global_scope_or_this, setup_late_call_args, load_script_func, emit_late_call

svn path=/trunk/mcs/; revision=35314
2004-10-25 21:56:36 +00:00
Gonzalo Paniagua Javier 7f0c264c40 2004-10-25 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs:
	(WantMore): we're not done until we get a 0 chunk size and the trailer.
	The 0 can be expressed as more than one character too (ie, 000000).

	* HttpWebRequest.cs: new argument in SetResponseError.
	* WebConnection.cs: added argument to HandleError as a hint for
	debugging.
	(Connect): make the chunked stream be in the expected state when
	reusing.

	* WebConnectionStream.cs: removed unused method (ResetWriteBuffer).

svn path=/trunk/mcs/; revision=35312
2004-10-25 21:26:55 +00:00
César Natarén f4961f68b2 2004-10-25 Cesar Lopez Nataren <[email protected]>
* Convert.cs: implement CheckIfDoubleIsInteger and CheckIfSingleIsInteger

svn path=/trunk/mcs/; revision=35311
2004-10-25 21:22:08 +00:00
Zoltan Varga f048d0aa37 2004-10-25 Zoltan Varga <[email protected]>
* image.c: Avoid overwriting values in the loaded_images_hash when an
	assembly is loaded multiple times. Fixes #61152.

svn path=/trunk/mono/; revision=35308
2004-10-25 20:09:15 +00:00
Zoltan Varga 3964ca28c3 2004-10-25 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_names_equal): Compare the cultures as well,
	so multiple satellite assemblies for the same name can be loaded.
	Fixes #68259.

	* mono_domain_assembly_preload: Actually return the loaded assembly,
	not NULL.

svn path=/trunk/mono/; revision=35304
2004-10-25 14:49:15 +00:00
Anirban Bhattacharjee 91b384e6b3 2004-10-25 Anirban Bhattacharjee <[email protected]>
* statement.cs: VB .Net specific exception number

svn path=/trunk/mcs/; revision=35303
2004-10-25 14:31:28 +00:00
Anirban Bhattacharjee 66c953ab1c 2004-10-25 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Enhanced catch grammar to accept
                        'When' clause
        * statement.cs: Changed Catch and Try classes accordingly
                        to emit catch statement conditionally

svn path=/trunk/mcs/; revision=35302
2004-10-25 14:21:36 +00:00
Zoltan Varga 04e41e3236 2004-10-25 Zoltan Varga <[email protected]>
* TypeTest.cs: Add tests for byref types.

svn path=/trunk/mcs/; revision=35301
2004-10-25 13:52:04 +00:00
Zoltan Varga f5fc2869dc 2004-10-25 Zoltan Varga <[email protected]>
* icall.c (ves_icall_type_is_subtype_of): Fix this for byref types.
	(ves_icall_type_is_assignable_from): Ditto. Fixes #68582.

svn path=/trunk/mono/; revision=35299
2004-10-25 13:49:42 +00:00
Gonzalo Paniagua Javier 64aa018dbf 2004-10-25 Gonzalo Paniagua Javier <[email protected]>
* ListItemCollection.cs: fixed bug when indexing changed elements in
	LoadViewState. Patch from Alois B��la��ka.

svn path=/trunk/mcs/; revision=35297
2004-10-25 13:01:27 +00:00
Zoltan Varga 1e08c89344 2004-10-25 Zoltan Varga <[email protected]>
* aot.c (mono_aot_load_method): Align PATCH_INFO_R8 on an 8 byte
	boundary. Fixes reading of PATCH_INFO_R4 and R8.
	(mono_aot_load_method): Do not allocate MonoAotMethod in the GC heap.

svn path=/trunk/mono/; revision=35296
2004-10-25 12:22:57 +00:00
Zoltan Varga 5848f7b46c 2004-10-25 Zoltan Varga <[email protected]>
* Makefile: Add '.' to MONO_PATH during test. Fixes #68377.

svn path=/trunk/mcs/; revision=35295
2004-10-25 11:26:31 +00:00
Zoltan Varga a9c102d773 2004-10-25 Zoltan Varga <[email protected]>
* config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.

svn path=/trunk/mcs/; revision=35294
2004-10-25 11:25:34 +00:00
Zoltan Varga b96a48bfdf 2004-10-25 Zoltan Varga <[email protected]>
* gc.c (finalize_domain_objects): Call GC_invoke_finalizers () so
	pending finalizers are not invoked after the appdomain has been
	unloaded. Fixes #67862.

svn path=/trunk/mono/; revision=35292
2004-10-25 11:10:44 +00:00
Fawad Halim 21d4ccb7af System.Environment.ExpandEnvironmentVariables: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
Add text between end of current lookup window and next % match if we just got a match, or add all text to the end if there are no further % matches.
This fixes bug #64995.

svn path=/trunk/mcs/; revision=35291
2004-10-25 02:06:18 +00:00
Zoltan Varga 819f85bfa5 2004-10-24 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_patch_code): Fix patching of class init
	trampolines for AOT code.

svn path=/trunk/mono/; revision=35290
2004-10-24 20:29:41 +00:00
Jonathan Pryor 311a31eb02 man/mono.1: Add documentation for the MONO_TRACE environment variable.
svn path=/trunk/mono/; revision=35289
2004-10-24 12:22:58 +00:00
Marek Safar 80c9e7a343 refresh
svn path=/trunk/mcs/; revision=35287
2004-10-23 22:34:59 +00:00
Marek Safar 7a0e2b7856 2004-10-24 Marek Safar <[email protected]>
Fixed bugs #63705, #67130
	* decl.cs (MemberCache.MemberCache): Add parameter to distinguish
	imported and defined interfaces.
	(CacheEntry, EntryType): Changed to protected internal.

	* class.cs (TypeContainer.DoDefineMembers): Setup cache for
	interfaces too.

	* typemanager.cs (LookupInterfaceContainer): New method.
	Fills member container from base interfaces.

svn path=/trunk/mcs/; revision=35286
2004-10-23 22:10:25 +00:00
Marek Safar 57d9d2a1ce 2004-10-24 Marek Safar <[email protected]>
* test-310.cs: New test for bug #67130

svn path=/trunk/mcs/; revision=35285
2004-10-23 22:09:06 +00:00
Marek Safar d99c94ed0b 2004-10-24 Marek Safar <[email protected]>
* cs82??.cs: Renumber some 82xx errors.

svn path=/trunk/mcs/; revision=35284
2004-10-23 21:47:14 +00:00
Daniel Morgan 904ceaa340 2004-10-22 Daniel Morgan <[email protected]>
* Mono.Data/.cvsignore
	* Mono.Data/AssemblyInfo.cs
	* Mono.Data/Makefile
	* Mono.Data/Mono.Data.dll.sources: added files
	for build of Mono.Data.dll
	This assembly includes the ProviderFactory

	* Makefile: added Mono.Data.dll to the build
	* Mono.Data/app.config: added providers	and
	removed obsolete providers to app settings xml file

	* Mono.Data/test/Mono.Data.dll: delete

svn path=/trunk/mcs/; revision=35282
2004-10-23 02:48:31 +00:00
Martin Baulig cbdb1ee087 2004-10-22 Martin Baulig <[email protected]>
* mono-debug-debugger.c
	(mono_debugger_runtime_invoke): Don't box valuetypes.

svn path=/trunk/mono/; revision=35280
2004-10-22 23:00:40 +00:00
Atsushi Eno 0629d521b6 2004-10-22 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : removed all XQuery related classes, fixed
	  XmlConvertDateTimeSerializationMode, removed 2.0 XPathDocument
	  implementation classes.

svn path=/trunk/mcs/; revision=35278
2004-10-22 22:41:08 +00:00
Atsushi Eno e2de3f9aa9 2004-10-22 Atsushi Enomoto <[email protected]>
* XmlConvertDateTimeSerializationMode.cs : added.
	* XmlConvertDateTimeOption.cs : removed.

svn path=/trunk/mcs/; revision=35277
2004-10-22 22:40:03 +00:00
Atsushi Eno aeb9af9b85 2004-10-22 Atsushi Enomoto <[email protected]>
* Makefile : just remove System.Data.SqlXml.dll.

svn path=/trunk/mcs/; revision=35276
2004-10-22 22:36:21 +00:00
Zoltan Varga 61406a7cc2 2004-10-22 <[email protected]>
* aot.c (mono_compile_assembly): Disable AOT for methods containing calls to methods of
	constructed types. Fixes #68136.

svn path=/trunk/mono/; revision=35275
2004-10-22 22:16:59 +00:00
Rafael Teixeira aac1df9bb1 2004/10/22 Rafael Teixeira <[email protected]>
* driver.cs : accept also -t:library as vbc does, besides /target:library

svn path=/trunk/mcs/; revision=35272
2004-10-22 21:21:56 +00:00
Jordi Mas i Hernandez ee0837a6d6 Removes lock operations. Agreed with Miguel
svn path=/trunk/mcs/; revision=35270
2004-10-22 20:27:16 +00:00
Atsushi Eno 917d013209 2004-10-22 Atsushi Enomoto <[email protected]>
* XmlDocument.cs :
	  For net_2_0, CreateNavigator() returns editable XPathNavigator.
	* XmlReader.cs, XmlTextReader.cs, XmlValidatingReader.cs :
	  They do not implement IXmlDataEvidence anymore.

svn path=/trunk/mcs/; revision=35268
2004-10-22 19:57:04 +00:00
Atsushi Eno e331f22490 2004-10-22 Atsushi Enomoto <[email protected]>
* XPathEditableDocument.cs :
	  Now it implements updated version of .NET 2.0.
	  .ctor() should accept XmlNode, instead of XmlDocument.

svn path=/trunk/mcs/; revision=35267
2004-10-22 19:56:33 +00:00
Atsushi Eno 22f3096191 2004-10-22 Atsushi Enomoto <[email protected]>
* XQueryConvert.cs : now it is in System.Xml and made as public.

svn path=/trunk/mcs/; revision=35266
2004-10-22 19:56:10 +00:00
Atsushi Eno d5353dcf78 2004-10-22 Atsushi Enomoto <[email protected]>
* XmlSchemaType.cs : Implemented GetBuiltInComplexType(XmlTypeCode).

svn path=/trunk/mcs/; revision=35265
2004-10-22 19:55:49 +00:00
Atsushi Eno 92eb807080 2004-10-22 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : now all the new stuff that used to be in 2.0 are
	  reverted.
	* XPathEditableNavigator.cs : It will be removed. Right now modified
	  a bit to pass build.
	* XPathNavigator.cs : Added members that are merged from
	  XPathEditableNavigator. Updated members name.

svn path=/trunk/mcs/; revision=35264
2004-10-22 19:55:26 +00:00
Jordi Mas i Hernandez 3c56044180 speedup menus drawing
svn path=/trunk/mcs/; revision=35263
2004-10-22 19:31:46 +00:00
Jackson Harper 40f8a685bd Make sure to update exposed regions when adding an expose event
svn path=/trunk/mcs/; revision=35262
2004-10-22 19:16:31 +00:00
Chris Toshok eaa06fedfd 2004-10-22 Chris Toshok <[email protected]>
* mono-debug-debugger.c (do_write_class): handle .cctors too, and
	don't hide private methods.

svn path=/trunk/mono/; revision=35260
2004-10-22 18:56:50 +00:00
Atsushi Eno 1ab3bd2357 2004-10-22 Atsushi Enomoto <[email protected]>
XmlArgumentList.cs : added (still required).

svn path=/trunk/mcs/; revision=35258
2004-10-22 18:38:05 +00:00
Atsushi Eno dda2afcff1 2004-10-22 Atsushi Enomoto <[email protected]>
SequenceType.cs,
	XPath2Expression.cs,
	XPathSequence.cs,
	XQueryASTCompiler.cs,
	XQueryArithmeticOperator.cs,
	XQueryCliFunction.cs,
	XQueryCommandImpl.cs,
	XQueryComparisonOperator.cs,
	XQueryCompileContext.cs,
	XQueryCompileOptions.cs,
	XQueryContext.cs,
	XQueryConvert.cs,
	XQueryDefaultFunctionCall.cs, (not in use),
	XQueryExpression.cs,
	XQueryFunction.cs,
	XQueryFunctionCliImpl.cs,
	XQueryFunctionContextAttribute.cs,
	XQueryFunctionTable.cs,
	XQueryModuleProlog.cs,
	XQueryStaticContext.cs,
	XQueryTokenizer.cs,
	XmlQueryCompileException.cs,
	XmlQueryException.cs,
	XQueryParser.jay,
	skelton-2.0.cs: Initial Checkin (it is not compiled as yet).

svn path=/trunk/mcs/; revision=35257
2004-10-22 18:36:23 +00:00
Atsushi Eno 05009bb9af 2004-10-22 Atsushi Enomoto <[email protected]>
DTMXPathDocument.cs,
	DTMXPathDocumentBuilder.cs,
	DTMXPathDocumentWriter.cs,
	DTMXPathNavigator.cs,
	DTMXPathNode.cs,
	XPathEditableDocument.cs: Initial Checkin (it is not compiled as yet).

svn path=/trunk/mcs/; revision=35255
2004-10-22 17:49:46 +00:00
Jackson Harper 1d2d816b04 oops
svn path=/trunk/mcs/; revision=35254
2004-10-22 17:49:35 +00:00
Atsushi Eno 8ca16f156a 2004-10-22 Atsushi Enomoto <[email protected]>
InternalPool.cs,
	XmlChar.cs,
	XmlStoredResolver.cs: Initial Checkin.

svn path=/trunk/mcs/; revision=35253
2004-10-22 17:47:52 +00:00
Atsushi Eno 2498c74f60 2004-10-22 Atsushi Enomoto <[email protected]>
AssemblyInfo.cs,
	TODOAttribute.cs: Initial Checkin.

svn path=/trunk/mcs/; revision=35252
2004-10-22 17:46:39 +00:00
Atsushi Eno 4a53309670 ... and Makefile ;-)
svn path=/trunk/mcs/; revision=35251
2004-10-22 17:45:45 +00:00
Atsushi Eno 5c832fd439 2004-10-22 Atsushi Enomoto <[email protected]>
ChangeLog,
	Mono.Xml.Ext.dll.sources: Initial Checkin.

svn path=/trunk/mcs/; revision=35250
2004-10-22 17:44:48 +00:00
Jackson Harper c02825d99f Check to see if the window should have its background repainted by X when drawing.
svn path=/trunk/mcs/; revision=35249
2004-10-22 17:41:28 +00:00
Jackson Harper 0c71232f4f When invalidating areas only use XClearArea if clear is true, this way we do not get flicker from X repainting the background
svn path=/trunk/mcs/; revision=35248
2004-10-22 17:31:15 +00:00
Jackson Harper e7170bd293 Queue properly
svn path=/trunk/mcs/; revision=35247
2004-10-22 17:28:06 +00:00
Jordi Mas i Hernandez 39a1b86a78 Fixes MakeTransparent problem with 24bbps
svn path=/trunk/mcs/; revision=35246
2004-10-22 17:24:25 +00:00
Sebastien Pouliot f646a975ef 2004-10-22 Sebastien Pouliot <[email protected]>
* signcode.cs: Better error reporting (e.g. missing files).

svn path=/trunk/mcs/; revision=35244
2004-10-22 14:42:31 +00:00
Sebastien Pouliot aa93fbd69c 2004-10-22 Sebastien Pouliot <[email protected]>
* AuthenticodeFormatter.cs: Fixed case where Url is null (broken since
	we switched from string to Uri). Now use "using" for FileStream.

svn path=/trunk/mcs/; revision=35243
2004-10-22 14:40:29 +00:00
Lluis Sanchez 007e9c3169 * HttpClientChannel.cs: In CreateMessageSink, process the remote channel
data if the provided url does not have the expected format. This fixes
	  a regression from the fix for bug #66768 and fixes #68669.

svn path=/trunk/mcs/; revision=35242
2004-10-22 14:12:44 +00:00
Lluis Sanchez 5c6b3be0c5 * TcpClientChannel.cs: In CreateMessageSink, process the remote channel
data if the provided url does not have the expected format. This fixes
	  a regression from the fix for bug #66768 and fixes #68669.

svn path=/trunk/mcs/; revision=35241
2004-10-22 14:12:02 +00:00
Sebastien Pouliot 87789c36b4 2004-10-22 Sebastien Pouliot <[email protected]>
* icall.c: Allows the runtime to "share" (when known) the public key
	token of an assembly. This avoid the need to recalculate the token
	(from the public key) in managed code.

svn path=/trunk/mono/; revision=35238
2004-10-22 12:02:36 +00:00
Joerg Rosenkranz b3339b0665 2004-10-21 Joerg Rosenkranz <[email protected]>
* regex.cs: Fixed a bug introduced with the last patch which
      prevented any replacements when a postive count is given.
      This also happens in all overloads without count parameter.

svn path=/trunk/mcs/; revision=35236
2004-10-22 05:32:31 +00:00
Chris Toshok a2242f4714 2004-10-21 Chris Toshok <[email protected]>
* debug-helpers.c (append_class_name): argh, revert last patch.

svn path=/trunk/mono/; revision=35235
2004-10-22 04:31:26 +00:00
Chris Toshok 6da0f83778 2004-10-21 Chris Toshok <[email protected]>
* debug-helpers.c (append_class_name): use '+' as the delimiter,
	not '/', so that it matches what the debugger uses to look up
	methods.

svn path=/trunk/mono/; revision=35234
2004-10-22 04:28:03 +00:00
Daniel Morgan 57b74fe341 update sqlsharp man page
svn path=/trunk/mono/; revision=35232
2004-10-22 00:46:10 +00:00
Daniel Morgan 5615a58f44 update readme again
svn path=/trunk/mcs/; revision=35231
2004-10-22 00:36:26 +00:00
Daniel Morgan 5ad7c4105a updated readme
svn path=/trunk/mcs/; revision=35229
2004-10-22 00:23:36 +00:00
Daniel Morgan e5b843c352 2004-10-21 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: removed obsolete providers (Mono.Data.MySql,
	Mono.Data.PostgreSqlClient, Mono.Data.DB2Client),
	added provider for FirebirdSql.Data.Firebird, fixed
	loading of external providers so they work with
	Mono having a GAC

svn path=/trunk/mcs/; revision=35228
2004-10-21 23:51:11 +00:00
Martin Baulig b7c8364b63 2004-10-20 Martin Baulig <[email protected]>
* mini-exceptions.c (mono_handle_exception): Call
	mono_debugger_handle_exception() to tell the debugger about
	catch/finally clauses.

svn path=/trunk/mono/; revision=35226
2004-10-21 22:24:20 +00:00
Martin Baulig e5fca99c55 2004-10-21 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_throw_exception): New
	public method; this is called each time an exception is thrown and
	allows the debugger to use exception catch points.

svn path=/trunk/mono/; revision=35225
2004-10-21 22:21:33 +00:00
Zoltan Varga c28b82d795 2004-10-21 <[email protected]>
* aot.c: Reorganize the AOT file format to avoid relocations. Fix warnings.

	* mini.h: Bump AOT version number.

svn path=/trunk/mono/; revision=35224
2004-10-21 21:52:08 +00:00
Atsushi Eno ac1b99b322 2004-10-21 Atsushi Enomoto <[email protected]>
Let's just fix windows build in spite of breakage on not-maintained
public API.

svn path=/trunk/mcs/; revision=35222
2004-10-21 21:10:17 +00:00
Raja R Harinath 7b99cd2566 whitespace noise.
svn path=/trunk/mcs/; revision=35221
2004-10-21 21:09:53 +00:00
Raja R Harinath 1c631cb73e * Makefile (test-harness, test-harness-run): Rename from
test-compiler-jit-real, and move body to harness.mk.
	Update to use 'make' to loop over testcases, so that they can be
	run in parallel.
	(run-test-local): Update.
	(test-generics-2): Likewise.
	* harness.mk: New file.  Contains the actual harness, and also
	lists dependencies in multi-file testcases.

svn path=/trunk/mcs/; revision=35220
2004-10-21 21:08:11 +00:00
Raja R Harinath cc3fa1be63 * do-tests.pl: Make robust to being invoked in parallel for
multiple profiles.
	* Makefile: Clean any generated files.

svn path=/trunk/mcs/; revision=35219
2004-10-21 21:07:42 +00:00
Raja R Harinath 1f9fea5529 * Makefile (all-profiles $(STD_TARGETS:=-profiles)): Make
parallelizable.

svn path=/trunk/mcs/; revision=35218
2004-10-21 21:06:29 +00:00
Zoltan Varga 684ce3ca2c 2004-10-21 <[email protected]>
* objects.cs: Add another test for unbox trampolines.

svn path=/trunk/mono/; revision=35216
2004-10-21 19:39:43 +00:00
Zoltan Varga 9af0d8850a 2004-10-21 <[email protected]>
* tramp-amd64.c (amd64_magic_trampoline): Disable patching of trampolines for
	valuetype methods.

svn path=/trunk/mono/; revision=35215
2004-10-21 19:36:59 +00:00
Martin Baulig fd7d2c0615 2004-10-21 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_handle_exception): Write
	the stack pointer and the exception object in some struct and pass
	that to the debugger.

svn path=/trunk/mono/; revision=35211
2004-10-21 18:34:26 +00:00
Chris Toshok fca1bd39c5 2004-10-21 Chris Toshok <[email protected]>
* mono-debug-debugger.c (do_write_class): add instance/static
	event support.  We don't expose "raise" or "other" yet.
	(event_is_static): new method.

svn path=/trunk/mono/; revision=35209
2004-10-21 17:09:54 +00:00
Jackson Harper c87a025654 Flush
svn path=/trunk/mono/; revision=35208
2004-10-21 17:07:15 +00:00
Jackson Harper a22b6c4b59 Escape typedef names.
svn path=/trunk/mono/; revision=35206
2004-10-21 17:06:31 +00:00
Jackson Harper b30dbfefdb Fix access modifier
svn path=/trunk/mcs/; revision=35201
2004-10-21 15:38:40 +00:00
Jackson Harper 69f4ce7fb8 Don't loose messages
svn path=/trunk/mcs/; revision=35200
2004-10-21 15:36:20 +00:00
Jackson Harper 66ad81ce0c Don't loose messages
svn path=/trunk/mcs/; revision=35199
2004-10-21 15:22:22 +00:00
Atsushi Eno 91f1d60451 2004-10-21 Atsushi Enomoto <[email protected]>
* Makefile : added -nowarn:0162 -nowarn:0618 to the compiler options.

svn path=/trunk/mcs/; revision=35198
2004-10-21 13:24:24 +00:00
Anirban Bhattacharjee 0daf243973 2004-10-21 Anirban Bhattacharjee <[email protected]>
* statement.cs: Introduced few specific execptions
                        Changed exception number

svn path=/trunk/mcs/; revision=35195
2004-10-21 10:41:02 +00:00
Anirban Bhattacharjee 8fb200aaa5 2004-10-21 Anirban Bhattacharjee <[email protected]>
* statement.cs: A trivial fix to get Exit Try working

svn path=/trunk/mcs/; revision=35194
2004-10-21 09:18:22 +00:00
Zoltan Varga e735d623da 2004-10-20 <[email protected]>
* driver.c: Add SHARED to the set of optimizations tested.

svn path=/trunk/mono/; revision=35192
2004-10-21 01:20:49 +00:00
Bernie Solomon 9d0096c705 2004-10-20 Bernie Solomon <[email protected]>
* mono-debug-debugger.c
	(mono_debugger_handle_exception): Remove
	bogus return value for fussy compilers.

svn path=/trunk/mono/; revision=35190
2004-10-20 21:39:22 +00:00
Marek Safar fdb0d215e1 update
svn path=/trunk/mcs/; revision=35187
2004-10-20 20:22:36 +00:00
Marek Safar a063d6ec1e new test
svn path=/trunk/mcs/; revision=35186
2004-10-20 20:21:54 +00:00
Martin Baulig a58fd5ef8a 2004-10-20 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the method table
	before actually writing it to disk and update MethodEntry.Index.

	* MonoSymbolTable.cs (MethodEntry.Index): Make this a writable
	property; set it after creating all the methods and sorting the
	method table.

svn path=/trunk/mcs/; revision=35185
2004-10-20 20:13:55 +00:00
Marek Safar 6dfd6b16f3 2004-10-20 Marek Safar <[email protected]>
* class.cs (MethodCore.CheckBase): Add errors 505, 533, 544,
	561 report.
	(PropertyBase.FindOutParentMethod): Add errors 545, 546 report.

svn path=/trunk/mcs/; revision=35184
2004-10-20 19:52:54 +00:00
Martin Baulig e6a189e238 Reverted this and added a comment.
2004-09-13  Chris Toshok  <[email protected]>

	* MonoSymbolFile.cs (MonoSymbolFile.Write): don't sort methods by
	token before writing out the method index, since the "index" used
	elsewhere is just added to the MethodIndexOffset.

svn path=/trunk/mcs/; revision=35183
2004-10-20 19:42:57 +00:00
Zoltan Varga e361046959 2004-10-20 <[email protected]>
* tramp-amd64.c (amd64_magic_trampoline): Patch trampoline code as well.

svn path=/trunk/mono/; revision=35181
2004-10-20 18:20:12 +00:00
Zoltan Varga 4cb944e7a4 2004-10-20 <[email protected]>
* mini.c (mono_method_to_ir): Mark the domainvar as volatile when it is implicitly
	used by CEE_NEWARR.

	* ssa.c (mono_ssa_deadce): Do not optimize away accesses to volatile variables.

svn path=/trunk/mono/; revision=35177
2004-10-20 17:03:24 +00:00
Martin Baulig a32aaca0c5 2004-10-20 Martin Baulig <[email protected]>
* mono-debug-debugger.c
	(mono_debugger_unhandled_exception): Added `gpointer stack' argument.
	(mono_debugger_handled_exception): Likewise.

svn path=/trunk/mono/; revision=35174
2004-10-20 16:18:48 +00:00
Martin Baulig fa0c916ee7 2004-10-20 Martin Baulig <[email protected]>
* mini-exceptions.c (mono_handle_exception): Call
	mono_debugger_handle_exception() to tell the debugger about
	catch/finally clauses.

svn path=/trunk/mono/; revision=35172
2004-10-20 14:39:04 +00:00
Martin Baulig 33a0b342e3 2004-10-20 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Added
	MONO_DEBUGGER_EVENT_EXCEPTION.

	* mono-debug-debugger.c (mono_debugger_handle_exception): New
	public function to send the debugger a notification for an
	exception and inform it about a catch/finally clause.

svn path=/trunk/mono/; revision=35171
2004-10-20 14:37:52 +00:00
Martin Baulig 0cbc93ff36 Beautify the ChangeLog :-)
svn path=/trunk/mono/; revision=35170
2004-10-20 14:36:36 +00:00
Sebastien Pouliot fb0d065410 2004-10-20 Sebastien Pouliot <[email protected]>
* Evidence.cs: Fix the case where GetPublicKey returns a 0 length
	byte array so that we don't create an invalid StrongName evidence.

svn path=/trunk/mcs/; revision=35169
2004-10-20 14:01:46 +00:00
Jordi Mas i Hernandez 95ef60d469 enum need it by SystemInfo
svn path=/trunk/mcs/; revision=35168
2004-10-20 10:16:31 +00:00
Sanja Gupta e9ada58532 ChangeLog: Updated.
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Cosmetic changes because of modifications in
        base class, DataSourceView. Changes are to keep things compiling.

svn path=/trunk/mcs/; revision=35167
2004-10-20 07:38:41 +00:00
Sanja Gupta 798ac1a5e7 ChangeLog: Updated ChangeLog.
DataSourceCapabilities.cs: Added Flags attribute.
DataSourceSelectArguments.cs: Updated.
DataSourveView.cs: Updated.

svn path=/trunk/mcs/; revision=35166
2004-10-20 07:35:09 +00:00
Sanja Gupta 18868823a3 ChangeLog: Updated.
System.Web.dll.sources: Added new class in System.Web.UI.

svn path=/trunk/mcs/; revision=35165
2004-10-20 07:31:41 +00:00
Jambunathan K e9046289d3 Added a negative cache for failed type lookups in the TypeManager.
mbas gets a performance boost of about 20 times due to this change.

svn path=/trunk/mcs/; revision=35164
2004-10-20 07:11:32 +00:00
Jambunathan K 0523c39ce3 (MainDriver): Made the warning message a little less
scary and more inviting for first time users.

svn path=/trunk/mcs/; revision=35163
2004-10-20 05:04:55 +00:00
César Natarén 20edce3d0e 2004-10-20 Cesar Lopez Nataren <[email protected]>
* ast.cs (Function): added method emit_return_local_field, if
	there's a return stm inside a function we must allocate a
	JSLocalField indicating the return type of the function.
	* FunctionDeclaration.cs, FunctionExpression.cs: generate the
	extra JSLocalField if needed

svn path=/trunk/mcs/; revision=35162
2004-10-20 04:57:59 +00:00
Peter Dennis Bartok 4fe28c640f - Small sanity check
svn path=/trunk/mcs/; revision=35160
2004-10-20 03:58:05 +00:00
Peter Dennis Bartok d22f6fc400 - Added private FormParentWindow class which acts as the container for
our form and as the non-client area where menus are drawn
- Added/Moved required tie-ins to Jordi's menus
- Fixed/Implemented the FormStartPosition functionality

svn path=/trunk/mcs/; revision=35159
2004-10-20 03:56:23 +00:00
Peter Dennis Bartok 7a9efe48ff - Removed unneeded locals
- Added code to all size and location properties to understand and
  deal with the parent container of Form

svn path=/trunk/mcs/; revision=35158
2004-10-20 03:52:06 +00:00
Peter Dennis Bartok 00ee88f1f9 - Fixed to deal with new Form subclasses for menus
svn path=/trunk/mcs/; revision=35155
2004-10-20 03:33:33 +00:00
Zoltan Varga 83395453e4 2004-10-19 <[email protected]>
* main.c: Applied patch from Alexandre Rocha Lima e Marcondes  ([email protected]). Really fix 2.95 build.

svn path=/trunk/mono/; revision=35154
2004-10-20 01:02:54 +00:00
Zoltan Varga f3f2f10754 2004-10-19 <[email protected]>
* marshal.c icall.c: Applied patch from Alexandre Rocha Lima e Marcondes  ([email protected]). Really fix 2.95 build.

svn path=/trunk/mono/; revision=35153
2004-10-20 01:01:56 +00:00
Martin Baulig 85ba5fae2b It's working again.
svn path=/trunk/mcs/; revision=35152
2004-10-20 00:48:58 +00:00
Jackson Harper 48c88f6406 commit correct version of file
svn path=/trunk/mcs/; revision=35151
2004-10-19 23:48:26 +00:00
Martin Baulig a741a39ff5 Reverted all the merging.
svn path=/trunk/mcs/; revision=35150
2004-10-19 23:36:16 +00:00
Jackson Harper 5c613092bf New optimized event queue
svn path=/trunk/mcs/; revision=35149
2004-10-19 22:50:25 +00:00
Jordi Mas i Hernandez 6715f99d72 MenuBarCalcSize returns the height
svn path=/trunk/mcs/; revision=35148
2004-10-19 22:15:12 +00:00
Atsushi Eno db97ee020e 2004-10-19 Atsushi Enomoto <[email protected]>
* XmlSerializationWriter.cs : When namespace is an empty string,
	  XmlTextWriter.LookupPrefix() will raise an error. Just skip it in
	  such case.

svn path=/trunk/mcs/; revision=35146
2004-10-19 22:10:37 +00:00
Lluis Sanchez 0b6f594f32 * MarshalByRefObject.cs: Field _identity is not serializable.
This fixes bug #68567.

svn path=/trunk/mcs/; revision=35144
2004-10-19 21:56:19 +00:00
Sebastien Pouliot 69bdae744a 2004-10-19 Sebastien Pouliot <[email protected]>
* SecurityManager.cs: Changed private static methods to use a single
	parameter (as method permissions overrides class permissions for
	demand, assert, deny and permitonly).

svn path=/trunk/mcs/; revision=35143
2004-10-19 21:22:04 +00:00
Raja R Harinath 832dc9e46c Disable gen-77 for now, until Martin wakes up.
(Duncan talked me into it, don't blame me :-)

svn path=/trunk/mcs/; revision=35142
2004-10-19 20:31:20 +00:00
Jordi Mas i Hernandez 16073369fd Fixes MakeTransparent method
svn path=/trunk/mcs/; revision=35138
2004-10-19 14:44:02 +00:00
Peter Dennis Bartok 48784b1e8e - Added missing call to PreProcessMessage before calling OnXXXKey methods
svn path=/trunk/mcs/; revision=35136
2004-10-19 14:31:12 +00:00
Sebastien Pouliot 734cfa2441 2004-10-19 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Fix issue #68452 when Randomize was being called on a
	0 BigInteger (i.e. BitCount == 0).

svn path=/trunk/mcs/; revision=35134
2004-10-19 14:09:34 +00:00
Sebastien Pouliot f11d30dd20 2004-10-19 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added more unit tests BigInteger.

svn path=/trunk/mcs/; revision=35133
2004-10-19 14:04:50 +00:00
Sebastien Pouliot cb189aba56 2004-10-19 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Fix issue #68452 when Randomize was being called on a
	0 BigInteger (i.e. BitCount == 0).

svn path=/trunk/mcs/; revision=35132
2004-10-19 14:02:54 +00:00
Sebastien Pouliot dc8d6a50ec 2004-10-19 Sebastien Pouliot <[email protected]>
* BigIntegerTest.cs: New. General unit tests for BigInteger.

svn path=/trunk/mcs/; revision=35131
2004-10-19 14:00:00 +00:00
Zoltan Varga 613151334d 2004-10-19 <[email protected]>
* icall.c (ves_icall_InternalExecute): Fix build for gcc-2.95.

svn path=/trunk/mono/; revision=35130
2004-10-19 13:40:53 +00:00
Raja R Harinath 7d5dde43ad put back in some missing change logs. I restored them up from the
gmcs/ChangeLog: so am fairly sure Martin has merged them in.

svn path=/trunk/mcs/; revision=35129
2004-10-19 12:59:48 +00:00
Sanja Gupta 62c9217a27 System.Web.dll.sources: Added AccessDataSource.cs file.
svn path=/trunk/mcs/; revision=35128
2004-10-19 10:17:09 +00:00
Sanja Gupta 4d89063120 ChangeLog: Updated
SiteMapDataSourceView.cs: Corrected class definition and updated.
XmlHierarchicalDataSourceView.cs: Modified according to changes in
          base class.

svn path=/trunk/mcs/; revision=35127
2004-10-19 09:38:41 +00:00
Sanja Gupta 4c62a8a683 ChangeLog: Updated.
HierarchicalDataSourveView.cs: Corrected class definition and updated.

svn path=/trunk/mcs/; revision=35126
2004-10-19 09:35:39 +00:00
Anirban Bhattacharjee 946ba6c416 Modified test
svn path=/trunk/mcs/; revision=35122
2004-10-19 08:00:17 +00:00
Anirban Bhattacharjee 0727e707b2 2004-10-19 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Enhanced For Each...Next statement grammar

svn path=/trunk/mcs/; revision=35121
2004-10-19 07:55:40 +00:00
César Natarén e05c854337 2004-10-19 Cesar Lopez Nataren <[email protected]>
* Parser.cs: set the operator properly.

svn path=/trunk/mcs/; revision=35120
2004-10-19 06:31:05 +00:00
Ravindra effb0d63d1 Fixed constructor.
svn path=/trunk/mcs/; revision=35119
2004-10-19 06:04:59 +00:00
Martin Baulig be9e6fc999 FIXME.
svn path=/trunk/mcs/; revision=35116
2004-10-18 23:58:24 +00:00
Martin Baulig 2e209a8a07 Fixme.
svn path=/trunk/mcs/; revision=35115
2004-10-18 23:46:48 +00:00
Martin Baulig 444f3b4d88 2004-10-18 Martin Baulig <[email protected]>
* statement.cs (Fixed.Resolve): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.
	(Catch.Resolve): Likewise.
	(Foreach.Resolve): Likewise.

svn path=/trunk/mcs/; revision=35114
2004-10-18 22:25:46 +00:00
Duncan Mak 788a599243 2004-10-18 <[email protected]>
* marshal.c (emit_marshal_object): Fix freeing of memory when a reference type is
	marshalled as [In,Out]. Fixes #58325.

svn path=/trunk/mono/; revision=35113
2004-10-18 22:22:49 +00:00
Martin Baulig 44b53b07fc Small workaround for a bug.
svn path=/trunk/mcs/; revision=35112
2004-10-18 22:15:14 +00:00
Gonzalo Paniagua Javier 72297d0dcb 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
* System.Text.RegularExpressions/regex.cs: in Replace, when count is
	negative, replacement continues to the end of the string.

	* Test/System.Text.RegularExpressions/RegexBugs.cs: added test for this
	fix.

	Fixes bug #68398. Patch by Jon Larimer.

svn path=/trunk/mcs/; revision=35110
2004-10-18 22:11:21 +00:00
Martin Baulig b7b9908efa 2004-10-18 Martin Baulig <[email protected]>
* expression.cs (Cast.DoResolve): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.
	(Probe.DoResolve): Likewise.
	(ArrayCreation.LookupType): Likewise.
	(TypeOf.DoResolve): Likewise.
	(SizeOf.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=35109
2004-10-18 22:09:08 +00:00
Martin Baulig 1a4dae1f5b 2004-10-18 Martin Baulig <[email protected]>
* expression.cs (Cast.DoResolve): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.
	(Probe.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=35108
2004-10-18 21:58:36 +00:00
Duncan Mak 2952b80cb9 2004-10-18 <[email protected]>
* exceptions-amd64.c (mono_arch_find_jit_info): Pop arguments of the stack.

	* mini-amd64.c (mono_amd64_get_vcall_slot_addr): Handle extended registers. Fixes
	#68447.

svn path=/trunk/mono/; revision=35107
2004-10-18 21:33:30 +00:00
Gonzalo Paniagua Javier 710de8da7f 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
* HierarchicalDataSourceView.cs: fix typo.

svn path=/trunk/mcs/; revision=35106
2004-10-18 21:29:20 +00:00
Martin Baulig 186faa7c08 2004-10-18 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterFunction): Put back
	TypeManager.TypeToCoreType().

svn path=/trunk/mcs/; revision=35105
2004-10-18 20:54:06 +00:00
Martin Baulig 1079488803 Put back TypeManager.TypeToCoreType() again.
svn path=/trunk/mcs/; revision=35104
2004-10-18 20:49:16 +00:00
Martin Baulig 6b2e1b1769 Fixme.
svn path=/trunk/mcs/; revision=35103
2004-10-18 20:33:37 +00:00
Martin Baulig 531f10735f Quickly merged again.
svn path=/trunk/mcs/; revision=35102
2004-10-18 20:15:02 +00:00
Martin Baulig ca914a3cca **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35101
2004-10-18 20:14:39 +00:00
Raja R Harinath 45e089905c * class.cs (FieldMember.DoDefine): Reset ec.InUnsafe after doing
the ResolveType.

svn path=/trunk/mcs/; revision=35100
2004-10-18 19:50:40 +00:00
Martin Baulig 205b5d3b5e Merged again.
svn path=/trunk/mcs/; revision=35098
2004-10-18 19:27:54 +00:00
Martin Baulig ee4eddbeae **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35097
2004-10-18 19:27:43 +00:00
Martin Baulig 6d9a73ced0 2004-10-18 Martin Baulig <[email protected]>
* parameter.cs (Parameter.Resolve):  Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.

svn path=/trunk/mcs/; revision=35096
2004-10-18 18:55:55 +00:00
Miguel de Icaza 4711a07936 Fix build
svn path=/trunk/mcs/; revision=35095
2004-10-18 18:48:36 +00:00
Martin Baulig b2880b40b5 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35094
2004-10-18 18:40:56 +00:00
Martin Baulig 19120420dd 2004-10-18 Martin Baulig <[email protected]>
* class.cs (FieldMember.Define): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.
	(MemberBase.DoDefine): Likewise.

	* expression.cs (New.DoResolve): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.
	(ComposedCast.DoResolveAsTypeStep): Likewise.

	* statement.cs (LocalInfo.Resolve): Don't access the TypeExpr's
	`Type' directly, but call ResolveType() on it.

svn path=/trunk/mcs/; revision=35093
2004-10-18 18:40:14 +00:00
Martin Baulig 62f1fb7acc Merged some stuff.
svn path=/trunk/mcs/; revision=35092
2004-10-18 18:20:16 +00:00
Martin Baulig 12d6d57ee2 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35091
2004-10-18 18:05:39 +00:00
Martin Baulig 78b04f308a **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35090
2004-10-18 17:55:47 +00:00
Martin Baulig f245c7ed84 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35089
2004-10-18 17:55:47 +00:00
Martin Baulig f2e144d9e2 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35088
2004-10-18 17:37:15 +00:00
Martin Baulig b11b2821ec **** Merged from MCS ****
svn path=/trunk/mcs/; revision=35087
2004-10-18 17:17:17 +00:00
Atsushi Eno 073481b554 2004-10-18 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs :
	  Fixed CheckCharacters setter that always set false.
	  CheckCharacters check is also required for ReadText(). This fixes
	  bug #68449.

svn path=/trunk/mcs/; revision=35085
2004-10-18 15:35:38 +00:00
Jordi Mas i Hernandez e636b1b393 menuitems in menubars do not have shortcuts
svn path=/trunk/mcs/; revision=35084
2004-10-18 15:31:32 +00:00
Jordi Mas i Hernandez dce5854009 fixes MenuItem class signature
svn path=/trunk/mcs/; revision=35083
2004-10-18 15:26:06 +00:00
Jordi Mas i Hernandez 9768e2af8a prevents windows from showing in the taskbar
svn path=/trunk/mcs/; revision=35082
2004-10-18 14:56:14 +00:00
Sanja Gupta 77b17c949d HierarchicalDataSourceView.cs: Reverting my earlier patch. Lots of work needs to be done before i can push my DataSourceView changes.
svn path=/trunk/mcs/; revision=35081
2004-10-18 09:53:19 +00:00
Sanja Gupta 13b3aff3df ChangeLog: Updated.
HierarchicalDataSourceView.cs: Updated.

svn path=/trunk/mcs/; revision=35080
2004-10-18 09:00:16 +00:00
Sanja Gupta 06bc616a8e ChangeLog: Updated.
DataSourceSelectArguments.cs: Initial implementation.

svn path=/trunk/mcs/; revision=35079
2004-10-18 07:30:50 +00:00
Ravindra 555a5d5d87 Updated sources list and project to fix the build.
svn path=/trunk/mcs/; revision=35078
2004-10-18 06:31:09 +00:00
Ravindra d437959010 Suppressed a warning message.
svn path=/trunk/mcs/; revision=35077
2004-10-18 06:28:30 +00:00
Ravindra cf87ef6f53 Default value of visible property must be true.
svn path=/trunk/mcs/; revision=35076
2004-10-18 06:27:39 +00:00
Peter Dennis Bartok 74f675366e - Complete implementation
svn path=/trunk/mcs/; revision=35075
2004-10-18 05:19:57 +00:00
Peter Dennis Bartok f4ade19fef - Added EnableWindow method
- Added SetModal stub
- Added generation of WM_ACTIVATE message (still needs testing)
- Added SetTopMost stub
- Changes to deal with VirtualKeys being moved to XplatUIStructs.cs

svn path=/trunk/mcs/; revision=35074
2004-10-18 05:19:37 +00:00
Peter Dennis Bartok 5fc615e9fa - Removed VirtualKeys to XplatUIStructs
- Implemented SetTopMost method
- Implemented EnableWindow method
- Bugfix in ScreenToClient()
- Bugfixes in ClientToScreen()

svn path=/trunk/mcs/; revision=35073
2004-10-18 05:17:32 +00:00
Peter Dennis Bartok d923f0e064 - Added WS_EX styles to WindowStyles enumeration
svn path=/trunk/mcs/; revision=35072
2004-10-18 04:51:28 +00:00
Peter Dennis Bartok a8a3d2136f - Added method for enabling/disabling windows
- Added method for setting window modality
- Added method for setting topmost window

svn path=/trunk/mcs/; revision=35071
2004-10-18 04:50:54 +00:00
Peter Dennis Bartok f901d3a312 - Added ToolTip drawing code
svn path=/trunk/mcs/; revision=35070
2004-10-18 04:49:25 +00:00
Peter Dennis Bartok 965d5d1873 - Added ToolTip abstracts
svn path=/trunk/mcs/; revision=35069
2004-10-18 04:49:06 +00:00
Peter Dennis Bartok fc6ea5e7b5 - Fixed Form.ControlCollection to handle owner relations
- Added Owner/OwnedForms handling
- Implemented Z-Ordering for owned forms
- Removed unneeded private overload of ShowDialog
- Fixed ShowDialog, added the X11 incarnation of modal handling (or so I
  hope)
- Fixed Close(), had wrong default
- Added firing of OnLoad event
- Added some commented out debug code for Ownership handling

svn path=/trunk/mcs/; revision=35068
2004-10-18 04:47:09 +00:00
Peter Dennis Bartok 2c9e702a9c - Fixed/implemented flat list of controls
svn path=/trunk/mcs/; revision=35067
2004-10-18 04:16:29 +00:00
Peter Dennis Bartok 9e12b76739 - Added code to simulate modal dialogs on Win32
svn path=/trunk/mcs/; revision=35066
2004-10-18 04:14:14 +00:00
Jordi Mas i Hernandez c76f5f6df8 disabled scrollbar should not honor any keyboard or mouse event
svn path=/trunk/mcs/; revision=35065
2004-10-17 22:11:49 +00:00
Jordi Mas i Hernandez c2b0904bc5 menu drawing fixes
svn path=/trunk/mcs/; revision=35064
2004-10-17 19:39:18 +00:00
Marek Safar 9b32f58308 refresh
svn path=/trunk/mcs/; revision=35063
2004-10-17 17:22:57 +00:00
Marek Safar f08fea62ed patch by John Luke
svn path=/trunk/mcs/; revision=35062
2004-10-17 16:42:03 +00:00
Jambunathan K 1aff7a2d47 *** empty log message ***
svn path=/trunk/mcs/; revision=35061
2004-10-17 16:12:50 +00:00
Jambunathan K f51a2c0b3e Some more test infrastructure related files. Requires some more work
and refinement. Just saving it out to cvs for now.

svn path=/trunk/mcs/; revision=35059
2004-10-17 15:56:04 +00:00
Ben Maurer 7713857b38 2004-10-17 Ben Maurer <[email protected]>
* DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
	avoid entering slow integer formatting code.

	(_ToString): Use ZeroPad here when possible, as it is faster.

svn path=/trunk/mcs/; revision=35057
2004-10-17 15:10:03 +00:00
Jambunathan K 0a7599c17b Oops
svn path=/trunk/mcs/; revision=35056
2004-10-17 13:41:29 +00:00
Jambunathan K ab6a052504 Migrating mbas' test helper dlls from the old folder to here.
svn path=/trunk/mcs/; revision=35055
2004-10-17 13:38:52 +00:00
Jambunathan K a8337945ed Removed Unneeded files
svn path=/trunk/mcs/; revision=35054
2004-10-17 13:22:38 +00:00
Jambunathan K 24992c507b Migrating mbas' negative runtime test cases from the old folder to
here.

svn path=/trunk/mcs/; revision=35053
2004-10-17 10:14:30 +00:00
Jambunathan K 0aaa36cfa1 Migarting the mbas' negative test cases from the old folder to here.
svn path=/trunk/mcs/; revision=35052
2004-10-17 10:06:26 +00:00
Jambunathan K 29edfcb233 Migrating mbas's test helper dlls from the old folder to here.
svn path=/trunk/mcs/; revision=35051
2004-10-17 09:55:58 +00:00
Jambunathan K 7e4934dd59 Migrating mbas test cases from mcs/btests to mcs/mbas/Test folder.
svn path=/trunk/mcs/; revision=35050
2004-10-17 09:50:50 +00:00
Jambunathan K 0fde03b1aa New folder for holding the VB.NET compiler test cases.
svn path=/trunk/mcs/; revision=35049
2004-10-17 09:46:19 +00:00
Ben Maurer 8413be514d build-fix
svn path=/trunk/mcs/; revision=35047
2004-10-15 22:40:53 +00:00
Atsushi Eno b9c19e3678 2004-10-15 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Inside DTD, '<' character inside XML comment
	  is regatded as invalid. This fixes bug #68410. (Error message was
	  also not correct.)

svn path=/trunk/mcs/; revision=35045
2004-10-15 22:04:38 +00:00
Atsushi Eno 86e489697d 2004-10-15 Atsushi Enomoto <[email protected]>
* DataSet.cs : Also clear UnhandledAttributes ArrayList before
	  generating next attribute column schema. This fixes bug #68432.

svn path=/trunk/mcs/; revision=35043
2004-10-15 18:39:08 +00:00
Sebastien Pouliot 746f3b762a 2004-10-15 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Implemented stubs (soon to be icalls) to
	get/set/clear the current security frame on the stack. Implemented
	Assert, Deny and PermitOnly with the new methods. Changed Demand to
	use the CheckAssert, CheckDeny, CheckPermitOnly and CheckDemand
	introduced in 2.0.
	* PermissionSet.cs: Fixed IsEmpty using documentation from 2.0 beta 1.
	Implemented immediate (i.e. no stack walk) caller demand (CAS and
	non-CAS) required for LinkDemand and InheritanceDemand. Implemented
	Assert, Deny and PermitOnly using CodeAccessPermission new methods.
	Re-implement Demand to separate CAS and non-CAS permissions.
	* SecurityManager.cs: Added new private static methods that will
	either be called by the JIT (linkdemand), runtime (inheritancedemand)
	or by code emitted by the JIT (demand, assert, deny and permitonly).

svn path=/trunk/mcs/; revision=35042
2004-10-15 17:25:39 +00:00
Sebastien Pouliot f319a9bee5 2004-10-15 Sebastien Pouliot <[email protected]>
* SecurityException.cs: Provide more details when a security exception
	is raised (to help debugging).

svn path=/trunk/mcs/; revision=35041
2004-10-15 16:08:57 +00:00
Geoff Norton bd450abd7d * mini-ppc.c (calculate_sizes): Marshal valuetypes for pinvoke
methods as their native size, fixed bug #57543, #57545.
        * mini-ppc.c (mono_arch_output_basic_block): Use mulli for imm16 types
        This saves a temporary register and mullw call down into 1 (minor perf
        increase for cases like sum = sum * 5;

svn path=/trunk/mono/; revision=35039
2004-10-15 15:43:33 +00:00
Ravindra 66d7c06d68 Updates sources list and project.
svn path=/trunk/mcs/; revision=35038
2004-10-15 15:14:05 +00:00
Anirban Bhattacharjee 3650e0e819 2004-10-15 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Little improvement in For...next statement

svn path=/trunk/mcs/; revision=35037
2004-10-15 15:13:31 +00:00
Ravindra 72b844313a General Enum.
svn path=/trunk/mcs/; revision=35036
2004-10-15 15:10:08 +00:00
Ravindra 441a4b6a48 Enum for Form.
svn path=/trunk/mcs/; revision=35035
2004-10-15 15:09:48 +00:00
Ravindra 05abd7d097 Added ColumnHeaderHeight property in Theme for ListView.
svn path=/trunk/mcs/; revision=35034
2004-10-15 15:08:49 +00:00
Ravindra f877c63908 Flushing some formatting changes.
svn path=/trunk/mcs/; revision=35033
2004-10-15 15:06:44 +00:00
Ravindra d6ffae933f Implemented GetBounds method and fixed coding style.
svn path=/trunk/mcs/; revision=35032
2004-10-15 15:05:09 +00:00
Ravindra efe6b9720f Implemented Paint method and fixed coding style.
svn path=/trunk/mcs/; revision=35031
2004-10-15 15:03:39 +00:00
Sebastien Pouliot 2a13d37d29 2004-10-15 Sebastien Pouliot <[email protected]>
* PrincipalPermission.cs: Fixed bug in Intersect (thanks to Alain
	Normandin). Changed XML tag to "Permission" (not "IPermission").

svn path=/trunk/mcs/; revision=35030
2004-10-15 13:55:10 +00:00
Sebastien Pouliot a64a7421dc 2004-10-15 Sebastien Pouliot <[email protected]>
* PrincipalPermissionTest.cs: Added two new tests to check for nulls
	during intersection.

svn path=/trunk/mcs/; revision=35029
2004-10-15 13:54:03 +00:00
Jordi Mas i Hernandez 5caf0bde3f fix for X11
svn path=/trunk/mcs/; revision=35028
2004-10-15 13:34:46 +00:00
Ravindra dc057ffc83 - Renamed Paint() method to Draw() for clarity. Also, moved
DrawImage() to OnPaint().

svn path=/trunk/mcs/; revision=35027
2004-10-15 13:32:45 +00:00
Ravindra ea2da33088 - Removed Redraw (), we get it from ButtonBase.
- Implemented Paint (), to do class specific painting.

svn path=/trunk/mcs/; revision=35026
2004-10-15 13:25:50 +00:00
Ravindra c569233669 - Redraw () is not virtual now.
- Added an internal virtual method Paint (), so that
	derived classes can do their painting on their own.
	- Modified OnPaint () to call Paint ().

svn path=/trunk/mcs/; revision=35025
2004-10-15 13:16:10 +00:00
Jordi Mas i Hernandez 494d6d4e80 menu work, mainmenu, subitems, etc
svn path=/trunk/mcs/; revision=35024
2004-10-15 12:43:19 +00:00
Zoltan Varga 602643cec9 2004-10-15 Zoltan Varga <[email protected]>
* IsVolatile.cs: Remove #ifdef NET_2_0.

svn path=/trunk/mcs/; revision=35023
2004-10-15 09:33:02 +00:00
Ravindra 2445537d2a - MessageBox on windows does not have min/max buttons.
This change in CreateParams fixes this on Windows. We
	still need to implement this windowstyle behavior in
	our X11 driver.

svn path=/trunk/mcs/; revision=35017
2004-10-15 06:30:56 +00:00
Umadevi S 684d11260f 2004-10-15 Umadevi S <[email protected]>
* SqlDataReaderTest.cs: Added testcase for reading emptyntextfield

svn path=/trunk/mcs/; revision=35016
2004-10-15 04:38:39 +00:00
Zoltan Varga 8be31341cf 2004-10-15 Zoltan Varga <[email protected]>
* trace.c (mono_trace_eval): Use mono_method_desc_full_match. Fixes
	#68388.

svn path=/trunk/mono/; revision=35014
2004-10-14 23:19:46 +00:00
Miguel de Icaza f7174b7c0e Removed two TODOs
svn path=/trunk/mcs/; revision=35013
2004-10-14 20:15:31 +00:00
Miguel de Icaza 623b6de855 2004-10-14 Miguel de Icaza <[email protected]>
* TextInfo.cs (ToString) Fix the return value for ToString.

	(Add a new parameter: the CultureInfo, since we implemented things
	in terms of the CultureInfo in our runtime, and not the
	TextInfo).

svn path=/trunk/mcs/; revision=35012
2004-10-14 20:14:03 +00:00
Joe Shaw a28aef4b12 2004-10-14 Joe Shaw <[email protected]>
* man/mono.1: Fix the syntax of the M: trace syntax

svn path=/trunk/mono/; revision=35010
2004-10-14 19:54:30 +00:00
Miguel de Icaza 079d260700 2004-10-14 Miguel de Icaza <[email protected]>
* TextInfo.cs: Fix ToTitleCase to do title case for each word on
	the string per the spec.

svn path=/trunk/mcs/; revision=35008
2004-10-14 19:48:15 +00:00
Miguel de Icaza 1b99d2e74d Add tests for TextInfo
svn path=/trunk/mcs/; revision=35007
2004-10-14 19:47:31 +00:00
Atsushi Eno e6adc3eef2 2004-10-14 Atsushi Enomoto <[email protected]>
* mono-api-info.cs : Use GetExportedTypes(). This fixes System.Xml.xml
	  generation in masterinfos.

svn path=/trunk/mcs/; revision=35006
2004-10-14 19:37:31 +00:00
Zoltan Varga 679956cd18 2004-10-14 Zoltan Varga <[email protected]>
* reflection.c (mono_method_body_get_object): Implement some fields.

svn path=/trunk/mono/; revision=35005
2004-10-14 19:14:30 +00:00
Jambunathan K ce774c16f9 Added 'REM Target: library' to the files that need to be compiled as a
Dll.

svn path=/trunk/mcs/; revision=35002
2004-10-14 16:04:54 +00:00
Jambunathan K be547410d1 Some negative test cases broken off from existing ones. Only the test
cases that should be split in to multiple files are InheritanceC6.vb
and OverrideC4.vb

svn path=/trunk/mcs/; revision=35001
2004-10-14 15:48:38 +00:00
Atsushi Eno eb0e3a755b 2004-10-14 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : CreateTextWriter() is private.

svn path=/trunk/mcs/; revision=35000
2004-10-14 15:30:41 +00:00
Jambunathan K 421ebba21a Yet another negative test case !
svn path=/trunk/mcs/; revision=34999
2004-10-14 15:18:06 +00:00
Jambunathan K c96358218e Fixed up some more megative test cases !
svn path=/trunk/mcs/; revision=34998
2004-10-14 15:16:56 +00:00
Atsushi Eno b8f5a25be1 2004-10-14 Atsushi Enomoto <[email protected]>
* Iterator.cs :
	  - Added WrapperIterator to return BaseIterator in such case that
	    variable reference is resolved to XPathNodeIterator. This fixes
	    bug #68267.
	  - Path ".." is reverse axis (actually no effect).
	  - Fixed DescendantIterator.Clone() that missed "_finished" field.
	* Expression.cs :
	  In ExprVariable.Evaluate(), use WrapperIterator() for custom
	  XPathNodeIterator.

svn path=/trunk/mcs/; revision=34996
2004-10-14 15:07:36 +00:00
Jambunathan K 1bcea12280 These test cases were wrongly failing becuase 'Imports System'
directive was missing. Fixed the same.

svn path=/trunk/mcs/; revision=34995
2004-10-14 15:00:43 +00:00
Jambunathan K cdea9e7769 More negative test cases !
svn path=/trunk/mcs/; revision=34992
2004-10-14 13:32:18 +00:00
Dick Porter c67dd7f541 2004-10-14 Dick Porter <[email protected]>
* SocketTest.cs: Test the blocking status of accepted sockets

svn path=/trunk/mcs/; revision=34991
2004-10-14 13:05:44 +00:00
Dick Porter a305098f0f 2004-10-14 Dick Porter <[email protected]>
* Socket.cs (Sockets ): Set Accept()ed socket blocking status to
	be the same as the listening socket.  This follows MS behaviour.

svn path=/trunk/mcs/; revision=34989
2004-10-14 12:14:25 +00:00
Dick Porter b475c0e7ab 2004-10-14 Dick Porter <[email protected]>
* sockets.c (_wapi_accept): Revert the previous change.  We now
	set the accepted socket to have the same blocking status as the
	listening socket in managed code.  This follows MS behaviour.

svn path=/trunk/mono/; revision=34987
2004-10-14 12:13:11 +00:00
Jambunathan K 09798a7f5c More negative test cases !
svn path=/trunk/mcs/; revision=34985
2004-10-14 12:04:03 +00:00
Ravindra d37a288461 - Changed Redraw () to do a Refresh () always.
- Fixed the MouseMove event handling when mouse is pressed,
	ie drag event handling.
	- Replaced the usage of ToolBarButton.Pressed property to
	ToolBarButton.pressed internal variable.

svn path=/trunk/mcs/; revision=34984
2004-10-14 11:14:05 +00:00
Ravindra 3054f7da4c - Added an internal member 'inside' to handle mouse move
with mouse pressed ie mouse drag event.
	- Changed 'Pressed' property to return true only when
	'inside' and 'pressed' are both true.
	- Some coding style love.

svn path=/trunk/mcs/; revision=34983
2004-10-14 11:10:47 +00:00
Umadevi S 0c9312cc77 2004-10-14 Umadevi S <[email protected]>
* Tds.cs : GetTextValue method- handling zero length string correctly
                This fixes bug #67916

svn path=/trunk/mcs/; revision=34982
2004-10-14 10:07:34 +00:00
Dick Porter e04082cb3f 2004-10-14 Dick Porter <[email protected]>
* sockets.c (_wapi_accept): On Darwin, make sure a newly
	accept()ed socket is blocking.  Fixes bug 67355, patch by
	[email protected].

svn path=/trunk/mono/; revision=34980
2004-10-14 09:00:56 +00:00
Umadevi S 2ebf647991 2004-10-14 Umadevi S <[email protected]>
* DataTable.cs : Corrected the Clone method to use  Activator.CreateInstance so that the
        correct subclass is returned. This fixes bug #67631

svn path=/trunk/mcs/; revision=34979
2004-10-14 08:42:51 +00:00
Umadevi S 2c64755c08 2004-10-14 Umadevi S <[email protected]>
* DataTableTest.cs : added testcase for subclass clone

svn path=/trunk/mcs/; revision=34978
2004-10-14 08:40:33 +00:00
Anirban Bhattacharjee bd6fb2a40a Oops!
svn path=/trunk/mcs/; revision=34977
2004-10-14 08:39:46 +00:00
Jambunathan K 6ca3ae1825 some more test file changes !
svn path=/trunk/mcs/; revision=34976
2004-10-14 08:34:47 +00:00
Jambunathan K d31520b32d *** empty log message ***
svn path=/trunk/mcs/; revision=34975
2004-10-14 08:08:20 +00:00
Anirban Bhattacharjee ddae62e611 2004-10-14 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: For statement is enabled to take
                optional declaration of the counter variable.
                E.g. now for statement can be declared as
                For i as integer = 0 to 5
                End For

svn path=/trunk/mcs/; revision=34974
2004-10-14 07:03:51 +00:00
Umadevi S e686361479 2004-10-14 Umadevi S <[email protected]>
* DataSetTest.cs : added testcase to check subclass clone

svn path=/trunk/mcs/; revision=34973
2004-10-14 07:01:31 +00:00
Sanja Gupta 72bd71bba8 ChangeLog: Updated.
AdRotator.cs: Updated.

svn path=/trunk/mcs/; revision=34972
2004-10-14 06:48:55 +00:00
Anirban Bhattacharjee 73ecfff599 2004-10-14 Anirban Bhattacharjee <[email protected]>
* ForB.vb: Correction in test case
        * ForC.vb: New test case
        * Test.Sources: ForC.vb got included

svn path=/trunk/mcs/; revision=34971
2004-10-14 06:47:04 +00:00
Umadevi S 9a50b2c159 2004-10-14 Umadevi S <[email protected]>
* DataSet.cs : Corrected the Clone method to use  Activator.CreateInstance so that the
        correct subclass is returned. This fixes bug #67627

svn path=/trunk/mcs/; revision=34970
2004-10-14 06:46:13 +00:00
Ravindra 4269cd0b18 Fixed class signature. ShowDialog (Control) is not a public method.
svn path=/trunk/mcs/; revision=34969
2004-10-14 06:17:58 +00:00
Ravindra 9a2b79f73b Redraw () related improvements.
svn path=/trunk/mcs/; revision=34968
2004-10-14 06:15:57 +00:00
Ravindra fb33cd2247 Moved InitFormSize () out of Paint method and removed unnecessary calls to Button.Show () method.
svn path=/trunk/mcs/; revision=34967
2004-10-14 06:14:03 +00:00
Jambunathan K 4c70422674 Audited existing negative test cases that emit multiple, mutually
independent error messages and splitted them in to multiple files
where possible so that atmost one error is tested for in any given
file.

svn path=/trunk/mcs/; revision=34966
2004-10-14 05:48:54 +00:00
Umadevi S c353d10832 2004-10-14 Umadevi S <[email protected]>
* SqlCommandTest.cs - added Test for clone method

svn path=/trunk/mcs/; revision=34965
2004-10-14 04:41:32 +00:00
Umadevi S c7949f2d08 2004-10-14 Umadevi S <[email protected]>
* SqlCommand.cs - Implemented the clone method correctly.
         (fixed bug 67301)

svn path=/trunk/mcs/; revision=34964
2004-10-14 04:39:04 +00:00
Ravindra 8c098e941d Updated project.
svn path=/trunk/mcs/; revision=34963
2004-10-14 03:21:50 +00:00
Peter Dennis Bartok 54b8511c71 - Formatting fix
- Removed destroying of window until we solve the problem of X destroying
  the window before us on shutdown

svn path=/trunk/mcs/; revision=34962
2004-10-13 23:50:44 +00:00
Peter Dennis Bartok 0cafc17bbf - Now Redraws on MouseUp for FlatStyle Flat and Popup
svn path=/trunk/mcs/; revision=34961
2004-10-13 22:32:38 +00:00
Atsushi Eno c96c1e1d8d 2004-10-13 Atsushi Enomoto <[email protected]>
* DataSet.cs : clear UnhandledAttributes ArrayList before generating
	  next element column schema. This fixes bug #68256.

svn path=/trunk/mcs/; revision=34959
2004-10-13 21:16:47 +00:00
Peter Dennis Bartok 45d6794fbb - Added code to destroy the X window
svn path=/trunk/mcs/; revision=34957
2004-10-13 20:18:41 +00:00
Peter Dennis Bartok a156692912 - Added code to destroy a window
svn path=/trunk/mcs/; revision=34956
2004-10-13 20:18:21 +00:00
Peter Dennis Bartok eff443057c - Added the Redraw on Resize that got dropped in the last rev
svn path=/trunk/mcs/; revision=34955
2004-10-13 20:12:47 +00:00
Peter Dennis Bartok c8da652f93 - Path from John BouAntoun:
* Fix check rendering (centre correctly for normal style, offset
    correctly for FlatStyle).
  * Fix border color usage (use backcolor) for FlatStyle.Popup
  * Use checkbox.Capture instead of checkbox.is_pressed when rendering
    flatstyle states.

svn path=/trunk/mcs/; revision=34952
2004-10-13 15:06:37 +00:00
Peter Dennis Bartok fc253c3e1b - Patch by [email protected] (joel) to handle CDATA sections.
svn path=/trunk/mcs/; revision=34951
2004-10-13 14:14:43 +00:00
Paolo Molaro f70afeefba Wed Oct 13 15:12:17 CEST 2004 Paolo Molaro <[email protected]>
* System.Resources/ResXResourceReader.cs: patch by
	 [email protected] (joel) to handle CDATA sections.

svn path=/trunk/mcs/; revision=34949
2004-10-13 11:55:40 +00:00
Jambunathan K 8edb6ef472 Oops !
svn path=/trunk/mcs/; revision=34948
2004-10-13 10:26:18 +00:00
Jambunathan K 63d1a8760b Added LineNo, ExpectedError and ErrorMessage to all negative test case
files that emit just a single compile time error. All these files have
multiple errors. Each of these files need to be broken in to multiple
files so that no more than one error gets reported by a test case.

svn path=/trunk/mcs/; revision=34947
2004-10-13 10:24:39 +00:00
Raja R Harinath 238cfc51be * test-309.cs: Testcase from #65816.
* Makefile (NEW_TEST_SOURCES_common): Add test-309.
Moved test-259 here, since it requires a merge to gmcs.

svn path=/trunk/mcs/; revision=34946
2004-10-13 09:08:39 +00:00
Raja R Harinath 667d43ca36 Fix #65816.
* class.cs (TypeContainer.EmitContext): New property.
(DefineNestedTypes): Create an emitcontext for each part.
(MethodCore.DoDefineParameters): Use container's emitcontext.
Pass type array to InternalParameters.
(MemberBase.DoDefine): Use container's emitcontext.
(FieldMember.Define): Likewise.
(Event.Define): Likewise.
(SetMethod.GetParameterInfo): Change argument to EmitContext.
Pass type array to InternalParameters.
(SetIndexerMethod.GetParameterInfo): Likewise.
(SetMethod.Define): Pass emitcontext to GetParameterInfo.
* delegate.cs (Define): Pass emitcontext to
ComputeAndDefineParameterTypes and GetParameterInfo.  Pass type
array to InternalParameters.
* expression.cs (ParameterReference.DoResolveBase): Pass
emitcontext to GetParameterInfo.
(ComposedCast.DoResolveAsTypeStep): Remove check on
ec.ResolvingTypeTree.
* parameter.cs (Parameter.Resolve): Change argument to
EmitContext.  Use ResolveAsTypeTerminal.
(Parameter.GetSignature): Change argument to EmitContext.
(Parameters.ComputeSignature): Likewise.
(Parameters.ComputeParameterTypes): Likewise.
(Parameters.GetParameterInfo): Likewise.
(Parameters.ComputeAndDefineParameterTypes): Likewise.
Re-use ComputeParameterTypes.  Set ec.ResolvingTypeTree.
* support.cs (InternalParameters..ctor): Remove variant that takes
a DeclSpace.
* typemanager.cs (system_intptr_expr): New.
(InitExpressionTypes): Initialize it.

(this has been tested with a full mono bootstrap, and has been used
to build gtk-sharp, dbus, monodoc, tomboy, and monodevelop)

svn path=/trunk/mcs/; revision=34945
2004-10-13 09:06:16 +00:00
Ravindra 3213f108b2 Cosmetic changes.
svn path=/trunk/mcs/; revision=34944
2004-10-13 07:30:06 +00:00
Ravindra bd34b03753 * Graphics.cs: Moved the initialization of 'use_x_drawable'
member out of private constructor to class initialization.
	So that, we get it right even if Graphics is not instantiated.
	This fixes the problem we face (otherwise) when we make first
	call to	Graphics.FromHwnd () method.

svn path=/trunk/mcs/; revision=34943
2004-10-13 07:27:42 +00:00
Peter Dennis Bartok 3130ff0f4c - Removed all occurences of SystemColors and replaced them with the
matching theme color

svn path=/trunk/mcs/; revision=34942
2004-10-13 03:48:15 +00:00
Peter Dennis Bartok 99246f3a9f - From John BouAntoun: Added an overload to CPDrawBorder3D to allow him
using the function for flatstyle drawing
- Changed functions to use the new version of CPDrawBorder3D

svn path=/trunk/mcs/; revision=34941
2004-10-13 03:41:45 +00:00
Peter Dennis Bartok 4f21adf1f4 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to match MS
documentation. They need to return defined colors if the passed
  color matches the configured control color. Thanks to John BouAntoun for
  pointing this out.

svn path=/trunk/mcs/; revision=34940
2004-10-13 03:15:16 +00:00
Peter Dennis Bartok f88179bfad - Fix from John BouAntoun: Raise ForeColorChanged event when text color is
changed

svn path=/trunk/mcs/; revision=34939
2004-10-13 02:57:36 +00:00
Peter Dennis Bartok 51711bd86e - Fix from John BouAntoun: Now properly sets the Appearance property
svn path=/trunk/mcs/; revision=34938
2004-10-13 02:46:22 +00:00
Peter Dennis Bartok ca2e6f34b2 - Fixes from John BouAntoun: now handles forecolors and backcolors for
flatstyle rendered controls much better; It also fixes normal checkbox
  rendering when pushed or disabled.

svn path=/trunk/mcs/; revision=34937
2004-10-13 02:45:21 +00:00
Martin Baulig f0737a8e77 New test.
svn path=/trunk/mcs/; revision=34936
2004-10-13 01:19:54 +00:00
Martin Baulig 998b54c4cb The more relaxed check is gone, we're now doing a real check here.
svn path=/trunk/mcs/; revision=34935
2004-10-12 23:09:52 +00:00
Martin Baulig 095d66ec72 Add more stuff to gen-79 and enable it.
svn path=/trunk/mcs/; revision=34934
2004-10-12 23:07:30 +00:00
Martin Baulig 4d0e6bbf82 2004-10-12 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
	and have type arguments, create and resolve a ConstructedType.

svn path=/trunk/mcs/; revision=34933
2004-10-12 23:06:38 +00:00
Chris Toshok cf94c09275 2004-10-12 Chris Toshok <[email protected]>
* cs-parser.jay: fix location for try_statement and catch_clause.

svn path=/trunk/mcs/; revision=34932
2004-10-12 23:00:29 +00:00
Martin Baulig 9123ed9ef8 New test.
svn path=/trunk/mcs/; revision=34930
2004-10-12 20:08:22 +00:00
Martin Baulig 97c1502b31 2004-10-12 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
	and have type arguments, create and resolve a ConstructedType.

svn path=/trunk/mcs/; revision=34929
2004-10-12 20:08:08 +00:00
Rafael Teixeira d8a7f82c06 2004-10-12 Rafael Teixeira <[email protected]>
* every *.cs: moved to namespace-based subdirectories as is the norm in Mono
	* Mono.GetOptions.dll.sources: adjusted to new sources locations

svn path=/trunk/mcs/; revision=34924
2004-10-12 19:14:52 +00:00
Martin Baulig 3f04427a27 2004-10-12 Martin Baulig <[email protected]>
* generic.cs (Constraints.CheckInterfaceMethod): Do a more relaxed
	checking for type parameter constraints.

svn path=/trunk/mcs/; revision=34923
2004-10-12 19:13:06 +00:00
Martin Baulig 75ee8ac1ea New test.
svn path=/trunk/mcs/; revision=34922
2004-10-12 19:11:18 +00:00
Martin Baulig 312c9513f9 Don't crash here.
svn path=/trunk/mcs/; revision=34920
2004-10-12 19:02:05 +00:00
Martin Baulig e8a08bbbf6 2004-10-12 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters): Small
	fix, correctly retrieve our parent from a generic instance.

svn path=/trunk/mono/; revision=34919
2004-10-12 18:26:31 +00:00
Martin Baulig 8a154a6fe5 New test.
svn path=/trunk/mcs/; revision=34918
2004-10-12 18:25:01 +00:00
Atsushi Eno ec7afd4264 wrote incorrect filename also here :(
svn path=/trunk/mcs/; revision=34916
2004-10-12 14:56:25 +00:00
Atsushi Eno 226e35a63a wrote incorrect changelog :(
svn path=/trunk/mcs/; revision=34915
2004-10-12 14:55:48 +00:00
Atsushi Eno b961d9947d 2004-10-12 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : now xs:schema contains xmlns="".

svn path=/trunk/mcs/; revision=34911
2004-10-12 14:52:30 +00:00
Atsushi Eno 2a87d51434 2004-10-12 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : now xs:schema contains xmlns="".
	  This fixes bug #68008.

svn path=/trunk/mcs/; revision=34910
2004-10-12 14:51:26 +00:00
Neale Ferguson f82f2a4be7 Add my details
svn path=/trunk/mono/; revision=34909
2004-10-12 13:30:55 +00:00
Atsushi Eno 30f0814efc 2004-10-12 Atsushi Enomoto <[email protected]>
* DataSet.cs : DBNull attribute column should not be written as
	  empty attribute. This fixes bug #68007.

svn path=/trunk/mcs/; revision=34907
2004-10-12 13:27:23 +00:00
Atsushi Eno 196aa188c8 2004-10-12 Atsushi Enomoto <[email protected]>
* DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
	  DataColumn.ReadOnly was not handled. This fixes bug #68005.
	  Attribute defaultValue was not handled too.

svn path=/trunk/mcs/; revision=34905
2004-10-12 13:10:33 +00:00
Rafael Teixeira 4cef805bd5 2004/10/08 Rafael Teixeira <[email protected]>
* Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.

svn path=/trunk/mcs/; revision=34904
2004-10-12 12:10:06 +00:00
Sanja Gupta 21546887f7 ChangeLog: Updated.
System.Web_test.dll.sources: Added new test case source file.

svn path=/trunk/mcs/; revision=34903
2004-10-12 12:00:55 +00:00
Sanja Gupta 0c2bf8e340 ChangeLog: Updated.
UrlPropertyAttribute.cs: Corrected implementation of Equals () method.

svn path=/trunk/mcs/; revision=34902
2004-10-12 11:58:16 +00:00
Sanja Gupta ddad665cf8 ChangeLog: Added ChangeLog.
TestUrlPropertyAttribute.cs: Added UrlPropertyAttribute test cases.

svn path=/trunk/mcs/; revision=34901
2004-10-12 11:55:10 +00:00
Sanja Gupta f489806e16 ChangeLog: Updated ChangeLog.
UrlTypes.cs: Updated.

svn path=/trunk/mcs/; revision=34900
2004-10-12 11:13:50 +00:00
Sanja Gupta c65a500975 ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Updated.

svn path=/trunk/mcs/; revision=34899
2004-10-12 10:12:45 +00:00
Jambunathan K fcf5159c7f InheritanceK.vb: Yet another test case
svn path=/trunk/mcs/; revision=34898
2004-10-12 09:06:43 +00:00
Sanja Gupta 94f85e7227 ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new class in System.Web.UI.

svn path=/trunk/mcs/; revision=34897
2004-10-12 08:44:26 +00:00
Sanja Gupta b2afb00a0c ChangeLog: Updated ChangeLog.
UrlPropertyAttribute.cs: Added new file.

svn path=/trunk/mcs/; revision=34896
2004-10-12 08:41:43 +00:00
Jambunathan K ceb5eb083e Perl driver for regressing mbas - first cut
svn path=/trunk/mcs/; revision=34895
2004-10-12 08:30:52 +00:00
Martin Baulig 9f68965f83 2004-10-12 Martin Baulig <[email protected]>
* decl.cs (MemberCache.FindMemberToOverride): Use
	TypeManager.IsEqual() to compare the parameters and Type.Equals()
	to compare the invocationType.

svn path=/trunk/mcs/; revision=34894
2004-10-12 03:38:35 +00:00
Martin Baulig f46a09f991 2004-10-12 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsEqual): Added support for arrays.
	When comparing two type parameters, only do the signature-only
	comparision for method type parameters.

svn path=/trunk/mcs/; revision=34893
2004-10-12 03:36:38 +00:00
Martin Baulig e4e98765b7 2004-10-12 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst): Call initialize() just
	before calling the *_internal() methods.

svn path=/trunk/mcs/; revision=34892
2004-10-12 03:27:20 +00:00
Martin Baulig 9af86dcc5f 2004-10-12 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.setup_generic_class): Renamed to
	create_generic_class() and added a new setup_generic_class().
	(TypeBuilder.DefineGenericParameters): Call setup_generic_class()
	before creating the type parameters.

svn path=/trunk/mcs/; revision=34891
2004-10-12 03:25:02 +00:00
Martin Baulig 686ceaad2f 2004-10-12 Martin Baulig <[email protected]>
* metadata.c (mono_metadata_generic_param_equal): We always have
	an owner.

	* class.c
	(mono_class_from_generic_parameter): We need to have an owner.
	(my_mono_class_from_generic_parameter): Likewise.

	* reflection.c (mono_reflection_setup_generic_class): Renamed to
	mono_reflection_create_generic_class() and added a new
	mono_reflection_setup_generic_class().
	(mono_reflection_initialize_generic_param): If we're a nested
	generic type and inherited from the containing class, set our
	owner to the outer class.

svn path=/trunk/mono/; revision=34890
2004-10-12 03:11:32 +00:00
César Natarén a3b16edb2e Added TypeManager.cs to the build
svn path=/trunk/mcs/; revision=34889
2004-10-11 23:35:52 +00:00
César Natarén 12464f400b 2004-10-11 Cesar Lopez Nataren <[email protected]>
* Microsoft.JScript.dll.sources: add TypeMananger.cs

svn path=/trunk/mcs/; revision=34888
2004-10-11 23:31:57 +00:00
Zoltan Varga c3b4fde8fe 2004-10-12 Zoltan Varga <[email protected]>
* MethodBody.cs: Implement this.

svn path=/trunk/mcs/; revision=34887
2004-10-11 22:00:49 +00:00
Zoltan Varga d85fbac88a 2004-10-11 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_MethodBase_GetMethodBodyInternal): New icall.

	* reflection.c (mono_method_body_get_object): New function to create
	a MethodBody object.

	* object-internals.h object.h: Add MonoReflectionMethodBody structure.

svn path=/trunk/mono/; revision=34886
2004-10-11 20:32:32 +00:00
Miguel de Icaza f1177b68bd Style fix
svn path=/trunk/mcs/; revision=34885
2004-10-11 20:28:02 +00:00
Martin Baulig 198066f855 Fix, fix, fix.
svn path=/trunk/mcs/; revision=34884
2004-10-11 20:17:36 +00:00
Duncan Mak 54bd38a2db 2004-10-11 Duncan Mak <[email protected]>
* Makefile: Move Microsoft.VisualBasic.dll to be built after
        System.Windows.Forms.dll is built, because VB now requires SWF. This
        fixes the build.

svn path=/trunk/mcs/; revision=34883
2004-10-11 20:05:07 +00:00
Martin Baulig e253bb42ee 2004-10-11 Martin Baulig <[email protected]>
* metadata.c (_mono_metadata_type_equal): Renamed to
	do_mono_metadata_type_equal() and made static.

svn path=/trunk/mono/; revision=34882
2004-10-11 19:52:26 +00:00
Martin Baulig df58de9163 Reverted the _mono_metadata_type_equal() hack.
svn path=/trunk/mono/; revision=34881
2004-10-11 19:50:03 +00:00
Martin Baulig 02653cf28e 2004-10-11 Martin Baulig <[email protected]>
* report.cs: Don't make --fatal abort on warnings, we have
	-warnaserror for that.

svn path=/trunk/mcs/; revision=34880
2004-10-11 19:05:27 +00:00
Martin Baulig 1b62b38ecb 2004-10-11 Martin Baulig <[email protected]>
* typemanager.cs
	(TypeManager.IsEqualGenericType): Removed, use IsEqual() instead.
	(TypeManager.IsEqual): Call ourself recursively instead of using
	Type.IsEqual().

svn path=/trunk/mcs/; revision=34879
2004-10-11 19:02:47 +00:00
Martin Baulig 8fd29cd8c5 New testcase.
svn path=/trunk/mcs/; revision=34878
2004-10-11 18:59:22 +00:00
Martin Baulig 6a45ac543f Removed the Real_IsEqual() hack and renamed it to IsEqual().
svn path=/trunk/mcs/; revision=34873
2004-10-11 17:28:19 +00:00
César Natarén c28fe8e255 2004-10-11 Cesar Lopez Nataren <[email protected]>
* GlobalObject.cs: ported encodeURI, encodeURIComponent,
	decodeURI, decodeURIComponent from Rhino's codebase. Added methods encode and decode.

svn path=/trunk/mcs/; revision=34872
2004-10-11 16:21:48 +00:00
César Natarén df96740a47 2004-10-11 Cesar Lopez Nataren <[email protected]>
* expression.cs (Call.Emit): implement IsConstructorProperty.

svn path=/trunk/mcs/; revision=34870
2004-10-11 16:09:33 +00:00
Rafael Teixeira dc505dec48 2004-10-11 Rafael Teixeira <[email protected]>
* Makefile: Added reference to System.Windows.Forms as interface Microsoft.VisualBasic.CompilerServices.IVbHost needs it.

svn path=/trunk/mcs/; revision=34869
2004-10-11 15:56:58 +00:00
Rafael Teixeira a40245bc33 2004-10-11 Rafael Teixeira <[email protected]>
* IVbHost.cs: Completed API (needed to reference SWF for that).

svn path=/trunk/mcs/; revision=34868
2004-10-11 15:55:47 +00:00
Rafael Teixeira faaec44029 2004-10-11 Rafael Teixeira <[email protected]>
* FileSystem.cs: Adjusting exposed API according to class status page ('ref' instead of 'out').
	Commented out an additional API.

svn path=/trunk/mcs/; revision=34867
2004-10-11 15:39:56 +00:00
Martin Baulig c2a4055f7b Disable gen-79 for the moment, add gen-81.
svn path=/trunk/mcs/; revision=34866
2004-10-11 15:38:57 +00:00
Martin Baulig 1e66ee58e3 Slightly modified version of gen-79.cs.
svn path=/trunk/mcs/; revision=34865
2004-10-11 15:18:14 +00:00
Anirban Bhattacharjee 1b3df64514 2004-10-11 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: More improvement in 'IF' statement

svn path=/trunk/mcs/; revision=34864
2004-10-11 13:16:40 +00:00
Jambunathan K 91b331233d Added LineNo, ExpectedError and ErrorMessage to all negative test case
files that emit just a single compile time error

svn path=/trunk/mcs/; revision=34863
2004-10-11 12:22:47 +00:00
Sanja Gupta dc47f66b93 ChangeLog: Updated ChangeLog.
makefile: Added flag to build System.Web_test.dll.

svn path=/trunk/mcs/; revision=34862
2004-10-11 11:48:56 +00:00
Anirban Bhattacharjee 966e4b082b 2004-10-11 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: If statement is enabled to parse
                following type of statement
                If <condition> Then <statement> else <statement>

svn path=/trunk/mcs/; revision=34861
2004-10-11 11:47:48 +00:00
Martin Baulig e090c89c17 Updated.
svn path=/trunk/mcs/; revision=34856
2004-10-11 00:26:02 +00:00
Martin Baulig 0dc055d29f 2004-10-11 Martin Baulig <[email protected]>
* Makefile (test-generics, test-generics-2): New targets.
	(new_TEST_SOURCES_common): Disabled test-308.cs.
	(TEST_SOURCES_net_2_0): Enable gen-79.cs.

svn path=/trunk/mcs/; revision=34855
2004-10-11 00:24:54 +00:00
Martin Baulig 16942ba9a8 2004-10-11 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineType): Only call TypeParameter.Define()
	on our own type parameters, not on the ones we inherit from a containing
	class.

	* expression.cs (Invocation.InferType): Use `==', not `Equals()' for
	the comparision.

	* generic.cs (TypeParameter.Define): We may only be called once.

	* pending.cs (Pending.InterfaceMethod): Call TypeManager.Real_IsEqual()
	instead of TypeManager.IsEqual().

	* typemanager.cs (TypeManager.Real_IsEqual): New method; this'll
	soon be renamed to IsEqual() and thus replace the old IsEqual().

svn path=/trunk/mcs/; revision=34854
2004-10-11 00:23:21 +00:00
Martin Baulig b783c5a7be 2004-10-11 Martin Baulig <[email protected]>
* Environment.cs: Bump corlib version to 28.

svn path=/trunk/mcs/; revision=34853
2004-10-11 00:14:50 +00:00
Martin Baulig a1e5315178 2004-10-11 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.generic_container): New private field.

	* MethodBuilder.cs (MethodBuilder.generic_container): New private field.

	* GenericTypeParameterBuilder.cs
	(GenericTypeParameterBuilder.GetGenericTypeParameterConstraints):
	Return `Type.EmptyTypes' instead of an array of `typeof (object)'.

svn path=/trunk/mcs/; revision=34852
2004-10-11 00:14:03 +00:00
Martin Baulig 5a3c4d1354 2004-10-11 Martin Baulig <[email protected]>
* appdomain.c: Bump corlib version number to 28.

svn path=/trunk/mono/; revision=34851
2004-10-11 00:11:47 +00:00
Martin Baulig 44dd63a644 2004-10-11 Martin Baulig <[email protected]>
* mini.c (mono_method_to_ir): If we're a generic method, get the
	MonoGenericContainer from our MonoMethodNormal and create a
	MonoGenericContext from it.

svn path=/trunk/mono/; revision=34850
2004-10-11 00:09:11 +00:00
Martin Baulig 41bd9f81a7 2004-10-10 Martin Baulig <[email protected]>
* class-internals.h
	(MonoGenericInst): Added `MonoGenericContainer *container'.
	(MonoGenericMethod): Likewise.
	(MonoGenericContext): Likewise.
	(MonoGenericParam): Added `MonoGenericContainer *owner'.

	* metadata.c
	(do_mono_metadata_parse_type): Added a `MonoGenericContainer *' argument.
	(do_mono_metadata_parse_generic_inst): Likewise.
	(mono_metadata_parse_type_full): New public method.  This is the actual
	mono_metadata_parse_type() implementation - with an additional
	`MonoGenericContainer *' argument.
	(mono_metadata_parse_array_full): Likewise.
	(mono_metadata_parse_signature_full): Likewise.
	(mono_metadata_parse_method_signature_full): Likewise.
	(mono_metadata_parse_mh_full): Likewise.
	(mono_type_create_from_typespec): Likewise.
	(mono_metadata_interfaces_from_typedef_full): New public method;
	this is similar to the other _full() methods, but we take a
	`MonoGenericContext *' since we have to pass it to mono_class_get_full().
	(mono_metadata_parse_generic_param): Take an additional
	`MonoGenericContainer *' argument and lookup the MonoGenericParam
	from that container.
	(mono_metadata_generic_param_equal): New static method to compare
	two type parameters.
	(_mono_metadata_type_equal): New static method; takes an
	additional `gboolean signature_only' argument - if true, we don't
	compare the owners of generic parameters.
	(mono_metadata_signature_equal): Call _mono_metadata_type_equal()
	with a TRUE argument - do a signature-only comparision.

	* loader.c: Use the new _full() methods and pass the
	MonoGenericContainer to them.

	* object-internals.h (MonoReflectionTypeBuilder): Added
	`MonoGenericContainer *generic_container' field.
	(MonoReflectionMethodBuilder): Likewise.

	* icall.c (ves_icall_type_Equals): Use _mono_metadata_type_equal()
	and do a signature-only comparision.

svn path=/trunk/mono/; revision=34849
2004-10-11 00:06:40 +00:00
David Sheldon 23438d745c 2004-10-10 David Sheldon <[email protected]>
* HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.

svn path=/trunk/mcs/; revision=34848
2004-10-10 21:24:04 +00:00
David Sheldon 1b346dbec5 2004-10-10 David Sheldon <[email protected]>
* DnsTest.cs: Updated IP for www.go-mono.com.

svn path=/trunk/mcs/; revision=34847
2004-10-10 17:31:01 +00:00
Zoltan Varga 2027b7046b 2004-10-10 Zoltan Varga <[email protected]>
* configure.in: Add some checks for cygwin weirdness.

svn path=/trunk/mono/; revision=34845
2004-10-10 16:00:51 +00:00
Miguel de Icaza 9fd98bca7c Revert my patch to constants, they broke corlib and System
svn path=/trunk/mcs/; revision=34844
2004-10-10 15:13:48 +00:00
Miguel de Icaza 22b8b71d96 2004-10-10 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): When looking
	up a constant, do not use the "Const" object after LookupConstant,
	instead use the result that is returned in the `out' parameter
	that already has the GetValue done.   Fixes the corlib regression,
	and removes duplicated code.

svn path=/trunk/mcs/; revision=34843
2004-10-10 14:27:44 +00:00
Gonzalo Paniagua Javier 14eeae29e1 2004-10-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: don't cast to Page is the handler it's
	not a page.

	* System.Web.Configuration/WebConfigurationSettings.cs: use
	CurrentExecutionFilePath instead of FilePath. Fixes bug #67982.

svn path=/trunk/mcs/; revision=34841
2004-10-10 13:34:58 +00:00
Atsushi Eno 69eec1fc95 2004-10-09 Atsushi Enomoto <[email protected]>
* XPathAtomicValue.cs : Init(string, XmlSchemaType) is private.

svn path=/trunk/mcs/; revision=34840
2004-10-09 19:39:29 +00:00
Atsushi Eno 4ee0f81cce 2004-10-09 Atsushi Enomoto <[email protected]>
* XsltException.cs : Message is incorrectly regarded only after 2.0
	  (while it *disappeared* in 2.0).

svn path=/trunk/mcs/; revision=34839
2004-10-09 19:27:49 +00:00
Atsushi Eno 0642009b57 2004-10-09 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : LookupPrefix() was only after 2.0.

svn path=/trunk/mcs/; revision=34838
2004-10-09 19:25:11 +00:00
Miguel de Icaza d976042a8e Add new test 308
svn path=/trunk/mcs/; revision=34837
2004-10-09 18:20:44 +00:00
Miguel de Icaza eb5ed7e613 2004-10-09 Miguel de Icaza <[email protected]>
* const.cs (ConvertExpressionToConstant): Refactor code that does
	the Expression to Constant checking.  This can be used in other
	places in the compiler that need to go from an Expression that
	wraps a Constant (like the casts) to a Constant.

	* ecore.cs (Expression.ConvertIntLiteral): If we got enumerations,
	unfold those into the underlying types before testing for the
	ImplicitConversions, as that code wont cope with casts from
	enumerations to constants.

	* statement.cs (SwitchLabel.ResolveAndReduce): Reuse
	ConvertExpressionToConstant.

svn path=/trunk/mcs/; revision=34836
2004-10-09 18:18:50 +00:00
Atsushi Eno f8c9335566 2004-10-09 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : should be NET_2_0.

svn path=/trunk/mcs/; revision=34834
2004-10-09 11:24:25 +00:00
Atsushi Eno 72e88672a4 2004-10-08 Atsushi Enomoto <[email protected]>
* XQueryParser.jay : I was mixing XPath1 class and XPath2.

svn path=/trunk/mcs/; revision=34829
2004-10-08 19:58:55 +00:00
Atsushi Eno 63f946700e 2004-10-08 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : IsDefault considers IXmlSchemaInfo
	  (it is anyways not implemented as yet.)

svn path=/trunk/mcs/; revision=34828
2004-10-08 19:52:14 +00:00
Atsushi Eno 95c1afc699 2004-10-08 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : GetNamespacesInScope() caused
	  IndexOutOfRangeException (miscounted indexes).

svn path=/trunk/mcs/; revision=34827
2004-10-08 19:50:19 +00:00
Atsushi Eno c40d2c1f68 2004-10-08 Atsushi Enomoto <[email protected]>
* XQueryCliFunction.cs : native method invokation was still crashing.

svn path=/trunk/mcs/; revision=34826
2004-10-08 18:16:22 +00:00
Zoltan Varga fb9a3249f0 2004-10-08 Zoltan Varga <[email protected]>
* Module.cs: Handle the case when the global type does not exists.

svn path=/trunk/mcs/; revision=34822
2004-10-08 17:41:16 +00:00
Zoltan Varga 9380138dab 2004-10-08 Zoltan Varga <[email protected]>
* ModuleBuilder.cs: Create global type after creation.

svn path=/trunk/mcs/; revision=34821
2004-10-08 17:32:18 +00:00
Zoltan Varga ca5cc5471a 2004-10-08 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Module_GetGlobalType): Special
	case initial images of dynamic assemblies.

	* reflection.c (mono_image_basic_init): Set 'initial_image' field.

	* metadata-internals.h (MonoDynamicImage): Add 'initial_image' field.

svn path=/trunk/mono/; revision=34820
2004-10-08 17:28:28 +00:00
Zoltan Varga 097460b7bb 2004-10-08 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_event_builder_get_event_info): Fix
	length of event->other array.
	(typebuilder_setup_events): Ditto.

svn path=/trunk/mono/; revision=34819
2004-10-08 16:44:29 +00:00
Zoltan Varga fa70487bba 2004-10-08 Zoltan Varga <[email protected]>
* support/Makefile.am (libMonoPosixHelper_la_SOURCES): Do not build
	zlib_macros if zlib.h is not found.

	* configure.in: Add check for zlib.h.

svn path=/trunk/mono/; revision=34818
2004-10-08 16:06:54 +00:00
Zoltan Varga 3894533e36 2004-10-08 Zoltan Varga <[email protected]>
* inssel-long32.brg (OP_LCONV_TO_OVF_I2): Fix CONV_I1 -> CONV_I2.

	* basic-long.cs: Add test for checked i8->i2 cast.

svn path=/trunk/mono/; revision=34817
2004-10-08 15:45:07 +00:00
Zoltan Varga 39c154923f 2004-10-08 Zoltan Varga <[email protected]>
* Convert.cs (ToType): Throw an exception when converting null to a
	valuetype. Fixes #67780.

svn path=/trunk/mcs/; revision=34812
2004-10-08 15:22:56 +00:00
Zoltan Varga 0a1092cb7d 2004-10-08 Zoltan Varga <[email protected]>
* ConvertTest.cs: Add test for bug #67780.

svn path=/trunk/mcs/; revision=34811
2004-10-08 15:17:00 +00:00
Zoltan Varga 057668cd99 2004-10-08 Zoltan Varga <[email protected]>
* domain-internals.h (MonoDomain): Rename 'assemblies' hash table to
	'assembly_by_name' and add an 'assemblies' list.

	* assembly.h assembly.c: Add a new search hook for determining whenever
	an assembly is already loaded. Use this instead of searching in the
	loaded_assemblies list.

	* domain.c appdomain.c: Implement the new search hook so loaded
	assemblies are now scoped by appdomain. Fixes #67727.

svn path=/trunk/mono/; revision=34810
2004-10-08 14:32:08 +00:00
Rafael Teixeira 56ca269d16 2004/10/08 Rafael Teixeira <[email protected]>
* typemanager.cs: Changing StandardModule to use less memory, by doing string
		concatenation only once. It was wasting 1 MB on the test case.

svn path=/trunk/mcs/; revision=34809
2004-10-08 14:30:07 +00:00
Ravindra 6dcd8a5283 * BitmapData.cs: Synchronized the class with BitmapData struct in
libgdiplus.

svn path=/trunk/mcs/; revision=34807
2004-10-08 13:37:17 +00:00
Ravindra 8f333a5c83 Image.cs: Suppress finalization in Dispose () method.
svn path=/trunk/mcs/; revision=34806
2004-10-08 13:34:16 +00:00
Sanja Gupta a1eafb72e1 TestControlIDConverter.cs: Test needs to be executed only with profile NET_2_0.
svn path=/trunk/mcs/; revision=34805
2004-10-08 12:34:27 +00:00
Sanja Gupta 22783503fb ChangeLog: Updated ChangeLog.
System.Web_test.dll.sources: Added new file.

svn path=/trunk/mcs/; revision=34804
2004-10-08 12:28:03 +00:00
Sanja Gupta 9fccc1d94f ChangeLog: Created new file.
TestControlIDConverter.cs: Initial implementation of test cases for
			   ControlIDConverter class.

svn path=/trunk/mcs/; revision=34803
2004-10-08 12:26:03 +00:00
Atsushi Eno 8b1f6456ae 2004-10-08 Atsushi Enomoto <[email protected]>
* XPathSequence.cs :
	  missed last checkin.
	  Added WrapperIterator, RemovalIterator for fn:remove(),
	  InsertingIterator for fn:insertBefore() and DistinctValueIterator
	  for fn:distinct-values().
	* XQueryCliFunction.cs :
	  Improved error message. Handle null argument as empty sequence.
	* XQueryFunction.cs :
	  Fixed incorrect function name fn:zero-or-more -> fn:zero-or-one.
	* XQueryFunctionCliImpl.cs :
	  Implemented some functions. Fixed some function signatures.

svn path=/trunk/mcs/; revision=34801
2004-10-08 11:29:28 +00:00
Sanja Gupta 342d5cae8a ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.UI.WebControls.

svn path=/trunk/mcs/; revision=34800
2004-10-08 10:05:04 +00:00
Jordi Mas i Hernandez 9f0c2e91a8 more menu work
svn path=/trunk/mcs/; revision=34799
2004-10-08 08:50:29 +00:00
Raja R Harinath e4bbd420a7 (GetHashCode): When culture
is not invariant, avoid an icall on every character.

(This chopped off 15s on a testcase that 'mbas' originally took 1m35s.)

svn path=/trunk/mcs/; revision=34798
2004-10-08 08:38:21 +00:00
Sanja Gupta d849d4a05c ChangeLog: Updated and corrected ChangeLog.
ValidatedControlConverter.cs: Updated.

svn path=/trunk/mcs/; revision=34797
2004-10-08 06:44:37 +00:00
Sanja Gupta 3bb4bd7cdd ChangeLog: Updated ChangeLog.
AssociatedIDConverter.cs: Implemented.

svn path=/trunk/mcs/; revision=34796
2004-10-08 06:42:10 +00:00
Sanja Gupta 9a4e881aee ChangeLog: Updated ChangeLog
ControlIDConverter.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34795
2004-10-08 06:40:45 +00:00
Atsushi Eno acaa0c7e29 2004-10-07 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  - When AllowDBNull is false on attribute DataColumn, its schema
	    should contain use="required". This fixes bug #66792.
	  - If MaxLength is set on attribute DataColumn, the mapped schema
	    type should contain maxLength facet. This fixes bug #66793.

svn path=/trunk/mcs/; revision=34792
2004-10-07 22:17:00 +00:00
Atsushi Eno 6cef932eb0 2004-10-07 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources:
	  added System.Xml.Query/XQueryFunctionContextAttribute.cs.

svn path=/trunk/mcs/; revision=34789
2004-10-07 17:06:53 +00:00
Atsushi Eno 5a2795224f 2004-10-07 Atsushi Enomoto <[email protected]>
* XPath2Expression.cs, XPathSequence.cs :
	  Changed ListIterator.ctor() signature not to demand current sequence.
	* XQueryCliFunction.cs, XQueryFunctionCliImpl.cs :
	  Now, to represent a sequence, IEnumerable is not used anymore (it is
	  confusing because System.String is also IEnumerable). So those native
	  functions should just require XPathSequence (for user functions?
	  not idea how MS will solve the "problem").

	  If a native function method has [XQueryFunctionContext] attribute,
	  then it means that the function requires current sequence, so fill
	  it before invoking the method.
	* XQueryFunctionContextAttribute.cs : added, to mark "it needs
	  current sequence" for fn:position() and fn:count().

svn path=/trunk/mcs/; revision=34788
2004-10-07 17:06:35 +00:00
Zoltan Varga 548d7f954f 2004-10-07 Zoltan Varga <[email protected]>
* threads.c (mono_thread_attach): Initialize synch_lock field so
	mono_thread_detach works again.

svn path=/trunk/mono/; revision=34787
2004-10-07 17:01:21 +00:00
Atsushi Eno 5877fcb71d 2004-10-08 Atsushi Enomoto <[email protected]>
* DateTime.cs : Performance fix. ParseExact() implementation should
	  avoid s = s.Substring(1).

svn path=/trunk/mcs/; revision=34782
2004-10-07 15:20:55 +00:00
Atsushi Eno 461c62835e 2004-10-08 Atsushi Enomoto <[email protected]>
* DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
	  of m/s/t/z. This fixes bug 66723.

svn path=/trunk/mcs/; revision=34780
2004-10-07 15:14:21 +00:00
Jordi Mas i Hernandez ba6686d548 Removes deletion of cached brushes
svn path=/trunk/mcs/; revision=34779
2004-10-07 14:56:51 +00:00
Zoltan Varga 2139f7ef5e 2004-10-07 Zoltan Varga <[email protected]>
* pinvoke2.cs: Add test for prefixing 'lib' to dll names.

svn path=/trunk/mono/; revision=34778
2004-10-07 13:13:31 +00:00
Zoltan Varga 73bec3e054 2004-10-07 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Try the dllname prefixed with
	'lib' too. Fixes #63130.

svn path=/trunk/mono/; revision=34776
2004-10-07 13:10:25 +00:00
Raja R Harinath d013a4a3ed * mcs-ignore-tests: Empty.
* Makefile (run-mcs-tests): Save log of output to
$(TEST_PROFILE).log.
(run-generics-tests): Likewise.
Report from K Sathyasudha <[email protected]>.

svn path=/trunk/mcs/; revision=34775
2004-10-07 07:35:26 +00:00
Raja R Harinath 2eae9cd200 * Makefile (TEST_TAG): Rename back to 'mcs' and 'gmcs' to keep in
sync with errors/Makefile.
Reported by K Sathyasudha <[email protected]>.

Testcases for type-resolution.
* test-300.cs: Add tests for local declarations and 'foreach'.
* test-301.cs: New testcase: several 'unsafe' related keywords.
* test-302.cs: New testcase: 'catch' clause parameters.
* test-303.cs: New testcase: 'using' keyword.
* test-304.cs, test-305.cs, test-306.cs, test-307.cs: New.
Variants that use namespace aliases.
* Makefile (NEW_TEST_SOURCES_common): Add new testcases.

svn path=/trunk/mcs/; revision=34774
2004-10-07 07:34:56 +00:00
Raja R Harinath 5024589db1 More DeclSpace.ResolveType avoidance.
* decl.cs (MemberCore.InUnsafe): New property.
* class.cs (MemberBase.DoDefine): Use ResolveAsTypeTerminal
with newly created EmitContext.
(FieldMember.Define): Likewise.
* delegate.cs (Delegate.Define): Likewise.
* ecore.cs (SimpleName.ResolveAsTypeStep): Lookup with alias
only if normal name-lookup fails.
(TypeExpr.DoResolve): Enable error-checking.
* expression.cs (ArrayCreation.DoResolve): Use ResolveAsTypeTerminal.
(SizeOf.DoResolve): Likewise.
(ComposedCast.DoResolveAsTypeStep): Likewise.
(StackAlloc.DoResolve): Likewise.
* statement.cs (Block.Flags): Add new flag 'Unsafe'.
(Block.Unsafe): New property.
(Block.EmitMeta): Set ec.InUnsafe as appropriate.
(Unsafe): Set 'unsafe' flag of contained block.
(LocalInfo.Resolve): Use ResolveAsTypeTerminal.
(Fixed.Resolve): Likewise.
(Catch.Resolve): Likewise.
(Using.ResolveLocalVariableDecls): Likewise.
(Foreach.Resolve): Likewise.

svn path=/trunk/mcs/; revision=34773
2004-10-07 07:34:27 +00:00
Jackson Harper b99a04dcd1 * culture-info-tables.h: regenerated.
svn path=/trunk/mono/; revision=34772
2004-10-07 03:54:49 +00:00
Jackson Harper 10fe51d67b * pt.xml: We need a space after R$. Is there a better way to do
this? I should know...
	* pt_BR.xml: Fix currency format.

svn path=/trunk/mono/; revision=34771
2004-10-07 03:51:07 +00:00
Gonzalo Paniagua Javier c995669093 2004-10-07 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: if the file is removed between reading the
	directory and filling the file info, catch the exception and ignore the
	file. Fixes bug #59482.

svn path=/trunk/mcs/; revision=34767
2004-10-07 00:44:12 +00:00
Gonzalo Paniagua Javier 0556ad0e07 2004-10-07 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
	pattern has no wildcards. Fixes bug #67447.

svn path=/trunk/mcs/; revision=34765
2004-10-07 00:29:30 +00:00
John Luke 882f5bfa49 2004-10-05 John Luke <[email protected]>
* cs-parser.jay: add location to error CS0175

svn path=/trunk/mcs/; revision=34764
2004-10-06 17:25:26 +00:00
Zoltan Varga 44bfd4ea8d 2004-10-06 Zoltan Varga <[email protected]>
* TypeTest.cs: Add tests for GetInterfaces ().

svn path=/trunk/mcs/; revision=34762
2004-10-06 14:35:24 +00:00
Zoltan Varga 0b57ed8147 2004-10-06 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetInterfaces): Include interfaces
	implemented by other interfaces in the result. Fixes #65764.

svn path=/trunk/mono/; revision=34761
2004-10-06 14:33:09 +00:00
Sanja Gupta a1819f33c8 ChangeLog: Updated ChangeLog.
IButtonControl.cs: Corrected property name.

svn path=/trunk/mcs/; revision=34760
2004-10-06 12:57:24 +00:00
Jordi Mas i Hernandez b89b37c7e0 removes warnings from compilation
svn path=/trunk/mcs/; revision=34758
2004-10-06 09:59:05 +00:00
Paolo Molaro b67d64bf1b Wed Oct 6 12:40:28 CEST 2004 Paolo Molaro <[email protected]>
* inssel-ppc.brg: added a couple of speedup rules.

svn path=/trunk/mono/; revision=34757
2004-10-06 09:25:03 +00:00
Paolo Molaro 46773fcd43 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <[email protected]>
* String.cs: make GetHashCode() managed.

svn path=/trunk/mcs/; revision=34756
2004-10-06 09:22:06 +00:00
Anirban Bhattacharjee 73975d58ce 2004-10-06 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Added support for Call keyword in invocation statement

svn path=/trunk/mcs/; revision=34755
2004-10-06 09:15:26 +00:00
Jordi Mas i Hernandez 17ebcc38dc insert line break
svn path=/trunk/mcs/; revision=34754
2004-10-06 08:43:37 +00:00
Zoltan Varga 705efbacab 2004-10-06 Zoltan Varga <[email protected]>
* ModuleBuilder.cs (GetTypes): Fix length of returned array. Fixes
	#65931.

svn path=/trunk/mcs/; revision=34752
2004-10-06 08:19:49 +00:00
Gonzalo Paniagua Javier 2c0860c663 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
* TraceHandler.cs: error code is 403 and the message different when
	trace is enabled but not for remote clients.

svn path=/trunk/mcs/; revision=34750
2004-10-06 05:46:02 +00:00
Gonzalo Paniagua Javier 6ed6c3f05f forgotten
svn path=/trunk/mcs/; revision=34748
2004-10-06 04:48:57 +00:00
Gonzalo Paniagua Javier 50e3e9fef4 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: CurrentExecutionFilePath is the one that
	changes when Transfer or Execute are used, not FilePath.

	* System.Web/HttpServerUtility.cs: moved form saving/restoring from
	Transfer to Execute, as it's needed there too. the query string is
	correctly set now. Fixes bug #67388.

	* System.Web/HttpContext.cs:
	* System.Web.SessionState/SessionStateModule.cs: use SetCurrentExePath
	instead of SetFilePath.

svn path=/trunk/mcs/; revision=34747
2004-10-06 04:48:39 +00:00
César Natarén 9b713bba27 2004-10-06 Cesar Lopez Nataren <[email protected]>
* expression.cs: added support for function calls. Handle case of
	print where no args are supplied.

svn path=/trunk/mcs/; revision=34746
2004-10-06 04:34:01 +00:00
Umadevi S ffda989f3e 2004-10-06 Umadevi S <[email protected]>
* System.Data.dll.sources : Added ISqlNotificationReceiver, SqlNotifcationType,
                SqlNotificationInfo, SqlNotificationSource

svn path=/trunk/mcs/; revision=34745
2004-10-06 04:24:01 +00:00
Umadevi S 8de1969f14 2004-10-06 Umadevi S <[email protected]>
* ISqlNoticationReceiver.cs - changed namespace
        * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs

svn path=/trunk/mcs/; revision=34744
2004-10-06 04:20:14 +00:00
Atsushi Eno 55f818a438 2004-10-05 Atsushi Enomoto <[email protected]>
* XPathSequence.cs, XQueryTokenizer.cs :
	  removed commented && unused code.
	* XQueryContext.cs, XQueryCliFunction.cs, XQueryFunction.cs,
	  XQueryFunctionCliImpl.cs :
	  Now that position() requires current sequence that is not managed by
	  XQueryContextManager (that is for FLWOR), it need to support
	  XPathSequence input as the current node information.

svn path=/trunk/mcs/; revision=34741
2004-10-06 00:35:57 +00:00
Zoltan Varga 096ce4191c 2004-10-06 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
	Handle unloadable modules without crashing.

	* image.c (load_modules): Revert the previous patch since modules must
	have a fixed index inside the array.

svn path=/trunk/mono/; revision=34737
2004-10-05 22:43:01 +00:00
César Natarén 12f3c5e8d4 2004-10-05 Cesar Lopez Nataren <[email protected]>
* ast.cs: added GetContainerFunction property.
	* Statement.cs: added class NotVoidReturnEventArgs and delegate
	NotVoidReturnEventHandler, throw an event in case we find a
	return, the enclosing function object takes care of changing the
	return type of the function.
	* FunctionDeclaration.cs, FunctionExpression.cs: take care of
	return's inside functions.

2004-09-22  Cesar Lopez Nataren  <[email protected]>

svn path=/trunk/mcs/; revision=34736
2004-10-05 22:36:30 +00:00
Zoltan Varga e6fd659155 2004-10-06 Zoltan Varga <[email protected]>
* image.c (load_modules): Don't include native modules in the modules
	array.

svn path=/trunk/mono/; revision=34735
2004-10-05 22:15:05 +00:00
Atsushi Eno 166ee63ee3 2004-10-05 Atsushi Enomoto <[email protected]>
* XPathAtomicValue.cs : missing Init() definition for float and string;
	  latter one resulted in infinite loop in Init(object,XmlSchemaType).

svn path=/trunk/mcs/; revision=34733
2004-10-05 21:01:49 +00:00
Jackson Harper 7ff4988b08 Fix ctor
svn path=/trunk/mcs/; revision=34732
2004-10-05 18:23:54 +00:00
Atsushi Eno 51c45aa436 2004-10-05 Atsushi Enomoto <[email protected]>
* XQueryParser.jay, XQueryTokenizer.cs :
	  Added attribute value template support.
	* XPath2Expression.cs : Inside attribute value, expressions must not
	  serialize attributes as attribute node but should just pick value up.
	  e.g. attr="{foo/@bar}" and <elem>{foo/@bar}</elem> are different.

svn path=/trunk/mcs/; revision=34730
2004-10-05 17:47:08 +00:00
Zoltan Varga 4451cdeea0 2004-10-05 Zoltan Varga <[email protected]>
* Makefile.am (genmdesc_LDADD): Don't link this against libmetadata
	to speed up rebuilds.

svn path=/trunk/mono/; revision=34729
2004-10-05 17:15:15 +00:00
Peter Dennis Bartok c9642ee2eb - Partial implementation by Benjamin Dasnois
svn path=/trunk/mcs/; revision=34728
2004-10-05 17:10:57 +00:00
John Luke 1f90c1aa12 2004-10-05 John Luke <[email protected]>
* Makefile: add *.mdb to clean target

svn path=/trunk/mcs/; revision=34727
2004-10-05 17:04:10 +00:00
Jackson Harper 527aed6ee9 Improve rendering of the radio button patch by John BouAntoun
svn path=/trunk/mcs/; revision=34726
2004-10-05 16:15:30 +00:00
Sebastien Pouliot 1eebc646d3 2004-10-05 Sebastien Pouliot <[email protected]>
* PrincipalPermission.cs: Fixed bug where a change to a permission
	(e.g. Copy, Union) could affect multiple instances. Fixed FromXml
	to clear existing entries.

svn path=/trunk/mcs/; revision=34724
2004-10-05 15:57:43 +00:00
Miguel de Icaza c3ea191f0e Improve test to handle constants of classes whose value is null
svn path=/trunk/mcs/; revision=34723
2004-10-05 14:32:51 +00:00
Sebastien Pouliot 5451ab0192 2004-10-05 Sebastien Pouliot <[email protected]>
* SslClientStream.cs: Changed InputBuffer to internal (was protected).

svn path=/trunk/mcs/; revision=34720
2004-10-05 14:16:44 +00:00
Atsushi Eno c10e9c5879 2004-10-05 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : Actually all other kind of nodes than
	  Element and Root must be treated as "start node only" as well as
	  attributes and namespaces.

svn path=/trunk/mcs/; revision=34718
2004-10-05 13:48:02 +00:00
Atsushi Eno 85afdc362c 2004-10-05 Atsushi Enomoto <[email protected]>
* XPathDocument2Editable.cs : for WriteAttributes(), use
	  CreateAttributesWriter() that creates attribute tree XmlWriter.
	* XPathNavigatorReader.cs : the reader was missing attributes when
	  it is created with an element node that has attriibutes.

svn path=/trunk/mcs/; revision=34717
2004-10-05 13:09:25 +00:00
Raja R Harinath 62f2bd39d9 New testcases for type-resolution.
svn path=/trunk/mcs/; revision=34716
2004-10-05 11:33:05 +00:00
Zoltan Varga fca6d5f5bc 2004-10-04 Zoltan Varga <[email protected]>
* ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
	#65988.

svn path=/trunk/mcs/; revision=34715
2004-10-05 11:30:45 +00:00
Zoltan Varga 1cb4a802a3 2004-10-05 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: Add tests for default values for parameters.

svn path=/trunk/mcs/; revision=34714
2004-10-05 11:29:59 +00:00
Zoltan Varga e7f6b686f6 2004-10-05 Zoltan Varga <[email protected]>
* reflection.h: Add param_defaults field.

	* reflection.c: Add support for parameter defaults in dynamic methods.
	Fixes #64595.

svn path=/trunk/mono/; revision=34713
2004-10-05 11:20:34 +00:00
Zoltan Varga 816550c96b 2004-10-05 Zoltan Varga <[email protected]>
* TypeTest.cs: Add test for empty namespaces.

svn path=/trunk/mcs/; revision=34712
2004-10-05 09:24:13 +00:00
Zoltan Varga 7f6414b598 2004-10-05 Zoltan Varga <[email protected]>
* icall.c (ves_icall_MonoType_get_Namespace): Return NULL instead of
	an empty string when a type has no namespace. Fixes #64230.

svn path=/trunk/mono/; revision=34711
2004-10-05 09:20:13 +00:00
Ravindra 2eb053f5ae - Removed a private method, Draw ().
- Fixed the ButtonDropDown event handling.
	- Fixed MouseMove event handling.

svn path=/trunk/mcs/; revision=34709
2004-10-05 09:07:07 +00:00
Ravindra c4d76288f0 - Added DrawListView method and ListViewDefaultSize property.
- Changed ControlPaint method calls to CPDrawXXX wherever possible.
	- Changed DOS style CRLF to Unix format (dos2unix).

svn path=/trunk/mcs/; revision=34708
2004-10-05 09:04:31 +00:00
Ravindra 731ab3fd05 - Added DrawListView method and ListViewDefaultSize property.
svn path=/trunk/mcs/; revision=34707
2004-10-05 09:03:55 +00:00
Ravindra 09e2f61b58 Added an internal member dd_pressed to handle clicks on DropDown arrow.
svn path=/trunk/mcs/; revision=34706
2004-10-05 08:42:20 +00:00
Jackson Harper e67bdc2854 Let the base Control handle the buffers, derived classes should not have to CreateBuffers themselves.
svn path=/trunk/mcs/; revision=34704
2004-10-05 04:56:12 +00:00
Jackson Harper b9005253e8 The control handles resizing the buffers now.
svn path=/trunk/mcs/; revision=34701
2004-10-05 03:20:55 +00:00
Jackson Harper d3c2032cd0 When resizing the buffers should be invalidated. This should be handled in Control not in derived classes.
svn path=/trunk/mcs/; revision=34700
2004-10-05 03:18:16 +00:00
Gonzalo Paniagua Javier 3ca52666c9 2004-10-05 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
	* WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
	SetInternal.

svn path=/trunk/mcs/; revision=34698
2004-10-05 01:53:40 +00:00
John Luke 075dbfc004 2004-10-04 John Luke <[email protected]>
* cs8205.cs: remove, same as cs1624
        * cs8206.cs: fix yield syntax, and add line number, now passes
        * cs8207.cs: remove, same as cs1623
        * cs8208.cs: remove, same as cs1625
        * cs8209.cs: remove, same as cs1631

svn path=/trunk/mcs/; revision=34695
2004-10-04 22:40:16 +00:00
Sebastien Pouliot e123b08a6a 2004-10-04 Sebastien Pouliot <[email protected]>
* dump.c: Added new "internal" security actions for non-CAS demands:
	NonCasDemand, NonCasLinkDemand and NonCasInheritance.
	* main.c: Added new "internal" security actions for non-CAS demands:
	noncasdemand, noncaslinkdemand and noncasinheritance.

svn path=/trunk/mono/; revision=34694
2004-10-04 22:22:47 +00:00
Sebastien Pouliot b73cc9a3bd 2004-10-04 Sebastien Pouliot <[email protected]>
* tabledefs.h: Added "internal" security actions to support non-CAS
	permissions NonCasDemand, NonCasLinkDemand and NonCasInheritance.
	Note: they do not seems to be used anymore in 2.0 (new metadata format)

svn path=/trunk/mono/; revision=34693
2004-10-04 22:21:53 +00:00
Atsushi Eno 931efe6671 2004-10-04 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : TypedValue could be implemented.
	* XPathEditableNavigator.cs : removed some MonoTODO since now there
	  are implementations.

svn path=/trunk/mcs/; revision=34692
2004-10-04 22:04:53 +00:00
Atsushi Eno 375e5aa0c7 2004-10-04 Atsushi Enomoto <[email protected]>
* XQueryParser.jay, XPath2Expression.cs, XPathSequence.cs :
	  two or more Filter expressions could be simply constructed as
	  nested FilterExpr objects.

svn path=/trunk/mcs/; revision=34691
2004-10-04 22:01:48 +00:00
Atsushi Eno a252366b96 2004-10-04 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : WriteNode(XPathNavigator,bool) should check null arg.
	  For attribute nodes, it should not use WriteSubtree() which does not
	  support attribute nodes.

svn path=/trunk/mcs/; revision=34690
2004-10-04 21:59:19 +00:00
Atsushi Eno 090ff35320 2004-10-04 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : It can reject attribute and namespace
	  nodes as its input (It is used only for WriteNode(), InsertBefore()
	  and so on, which are not intended to be used with attribute nodes).
	  On Initial state, it was Element that should check IsEmptyElement,
	  and Root should just go to the first child node.

svn path=/trunk/mcs/; revision=34689
2004-10-04 21:57:50 +00:00
Jackson Harper 97e090a6cd oops
svn path=/trunk/mcs/; revision=34688
2004-10-04 20:45:25 +00:00
Miguel de Icaza 6e26acaedb 2004-10-04 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.Constantity): Add support for turning null
	into a constant.

	* const.cs (Const.Define): Allow constants to be reference types
	as long as the value is Null.

svn path=/trunk/mcs/; revision=34687
2004-10-04 20:43:48 +00:00
Miguel de Icaza cdb3e827d8 nullref is what should be printed out here
svn path=/trunk/mono/; revision=34686
2004-10-04 20:42:22 +00:00
Atsushi Eno f2cbdf35f7 2004-10-04 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs : When the reader's root node is not of type
	  Root, it incorrectly skipped the node itself.

svn path=/trunk/mcs/; revision=34685
2004-10-04 20:30:23 +00:00
Gonzalo Paniagua Javier 7b5d49ae29 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
	tunneling a secure connection.

	* ServicePoint.cs: added UseConnect property.

	* ServicePointManager.cs: set the UseConnect property when we use a http
	proxy for a https connection.

	* WebConnection.cs: setup the tunnled connection when using a proxy and
	https.

svn path=/trunk/mcs/; revision=34682
2004-10-04 20:25:38 +00:00
Gonzalo Paniagua Javier 0c0907fb08 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
* HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
	* SslClientStream.cs: added InputBuffer property.

svn path=/trunk/mcs/; revision=34681
2004-10-04 20:25:24 +00:00
Zoltan Varga a120cadcc6 2004-10-04 Zoltan Varga <[email protected]>
* icall.c (ves_icall_InternalInvoke): Throw an exception when calling
	constructor of abstract class. Fixes #61689.

svn path=/trunk/mono/; revision=34680
2004-10-04 20:09:33 +00:00
Atsushi Eno bfbcc064d4 2004-10-04 Atsushi Enomoto <[email protected]>
* HtmlEmitter.cs : TH tag is not regarded as HTML tag.
	  This fixes bug #67390.

svn path=/trunk/mcs/; revision=34678
2004-10-04 19:30:12 +00:00
Zoltan Varga 59a21406a4 2004-10-04 Zoltan Varga <[email protected]>
* web/team.xml: Update my info.

svn path=/trunk/mono/; revision=34677
2004-10-04 19:29:21 +00:00
Juraj Skripsky f26a7366ad 2004-10-04 Juraj Skripsky <[email protected]>
* namespace.cs (NamespaceEntry.Using): No matter which warning
	level is set, check if this namespace name has already been added.

svn path=/trunk/mcs/; revision=34675
2004-10-04 18:10:27 +00:00
Zoltan Varga 86591cf11a 2004-10-04 Zoltan Varga <[email protected]>
* AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.

svn path=/trunk/mcs/; revision=34673
2004-10-04 16:17:37 +00:00
Miguel de Icaza f603fd0670 Add zlib_macros.c from Chris Lahey
svn path=/trunk/mono/; revision=34672
2004-10-04 15:36:04 +00:00
Atsushi Eno e8c49cbcd4 2004-10-04 Atsushi Enomoto <[email protected]>
* DataSet.cs : For a row, when a relation is not nested, then it is
	  still output target since it won't be written as a child of its
	  parent. It fixes bug #66379.

svn path=/trunk/mcs/; revision=34670
2004-10-04 13:36:37 +00:00
Sanja Gupta 1457a9c4dc ChangeLog: Updated ChangeLog.
ParameterCollection.cs: Updated.

svn path=/trunk/mcs/; revision=34669
2004-10-04 12:56:58 +00:00
Zoltan Varga fe1d162935 2004-10-04 Zoltan Varga <[email protected]>
* NGenAttribute.cs: Add ComVisible (false).

svn path=/trunk/mcs/; revision=34668
2004-10-04 12:33:39 +00:00
Raja R Harinath a1579959ab * System.IO.Compression/DeflateStreamTest.cs: NET_2_0 only.
* System.IO.Compression/GzipStreamTest.cs: Likewise.
Report from Mayank Ritvik <[email protected]>.

svn path=/trunk/mcs/; revision=34667
2004-10-04 12:15:10 +00:00
Sanja Gupta ee356822ed ChangeLog: Updated ChangeLog.
Parameter.cs: Updated and completed implementation.

svn path=/trunk/mcs/; revision=34666
2004-10-04 12:04:22 +00:00
Martin Baulig b085171f11 2004-10-04 Martin Baulig <[email protected]>
* class-internals.h (MonoGenericContainer): New type.
	(MonoMethodNormal): Replaced `MonoGenericParam *gen_params' with
	`MonoGenericContainer *generic_container'.
	(MonoClass): Replaced `gen_params' and `num_gen_params' with
	`MonoGenericContainer *generic_container'.

	* metadata.c (mono_metadata_load_generic_params): Return a
	`MonoGenericContainer *' instead of a `MonoGenericParam *';
	removed the `num' argument.

svn path=/trunk/mono/; revision=34665
2004-10-04 12:04:11 +00:00
Neale Ferguson ca4dc9a43d Minor fix to OP_OR_IMM.
svn path=/trunk/mono/; revision=34664
2004-10-04 11:57:04 +00:00
Zoltan Varga 491cb45330 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add some more 2.0 stuff.

svn path=/trunk/mcs/; revision=34663
2004-10-04 11:53:13 +00:00
Ravindra d80a3f7586 Updated project.
svn path=/trunk/mcs/; revision=34662
2004-10-04 10:58:41 +00:00
Zoltan Varga 0f2a7f89bc 2004-10-04 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add more 2.0 classes under System.Runtime.InteropServices.

svn path=/trunk/mcs/; revision=34661
2004-10-04 09:55:07 +00:00
Zoltan Varga 82416566c3 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add more 2.0 stuff.

svn path=/trunk/mcs/; revision=34660
2004-10-04 09:51:57 +00:00
Zoltan Varga d0e8c70c5e 2004-10-04 Zoltan Varga <[email protected]>
* MethodImplOptions.cs MethodCodeType.cs RuntimeHelpers.cs DecimalConstantAttribute.cs: Add 2.0 stuff.

svn path=/trunk/mcs/; revision=34659
2004-10-04 09:41:04 +00:00
Zoltan Varga ca67deeefd 2004-10-04 Zoltan Varga <[email protected]>
* ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
	#65988.

svn path=/trunk/mcs/; revision=34657
2004-10-04 09:23:28 +00:00
Zoltan Varga 75d4659421 2004-10-04 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add new 2.0 classes under System.Runtime.InteropServices.

svn path=/trunk/mcs/; revision=34656
2004-10-04 09:04:59 +00:00
Zoltan Varga b10dce9bf9 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add new 2.0 classes.

svn path=/trunk/mcs/; revision=34655
2004-10-04 09:01:29 +00:00
Peter Dennis Bartok df43f8117e - Initial check-in
svn path=/trunk/mcs/; revision=34654
2004-10-04 08:14:40 +00:00
Ravindra 625d1e6cab * gdipFunctioncs.cs: Fix from Alois for bug #67383.
svn path=/trunk/mcs/; revision=34652
2004-10-04 07:53:06 +00:00
Jordi Mas i Hernandez 273cee6877 fixes right button position causing right button not showing on horizontal scrollbars
svn path=/trunk/mcs/; revision=34651
2004-10-04 07:09:37 +00:00
Gonzalo Paniagua Javier 68fceaaea4 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
* system.c: check the number of online processors instead of the
	existing ones. Sanitize return value if it's an error.

svn path=/trunk/mono/; revision=34650
2004-10-04 02:37:00 +00:00
Ben Maurer ac0c751f8d 2004-10-03 Ben Maurer <[email protected]>
* expression.cs: reftype [!=]= null should always use br[true,false].
	# 67410

svn path=/trunk/mcs/; revision=34648
2004-10-04 01:38:46 +00:00
Ben Maurer af8ea6d8c7 build fixeroo
svn path=/trunk/mcs/; revision=34647
2004-10-04 01:09:47 +00:00
Atsushi Eno d4778fa871 2004-10-03 Atsushi Enomoto <[email protected]>
* DataSet.cs : Attribute constraint field XPath must be written as
	  @blah. This fixes bug #66366.

svn path=/trunk/mcs/; revision=34646
2004-10-04 00:37:52 +00:00
Ben Maurer 7ddb1b82b0 2004-10-03 Ben Maurer <[email protected]>
* HttpResponse.cs: use UtcNow

svn path=/trunk/mcs/; revision=34642
2004-10-03 21:59:09 +00:00
Ben Maurer c06c79073a 2004-10-03 Ben Maurer <[email protected]>
* Cache.cs, CacheEntry.cs, CacheExpires.cs, ExpiresBuckets.cs:
	use UtcNow rather than Now.

svn path=/trunk/mcs/; revision=34640
2004-10-03 21:55:41 +00:00
Marek Safar 48a85faff5 2004-10-03 Marek Safar <[email protected]>
* test-297.cs: Incorporated test for #67108

svn path=/trunk/mcs/; revision=34639
2004-10-03 20:54:49 +00:00
Ben Maurer 3017fb8e70 2004-10-03 Ben Maurer <[email protected]>
* system.c: Add support for getting the # of cpus.

svn path=/trunk/mono/; revision=34638
2004-10-03 20:54:10 +00:00
Zoltan Varga 320c781d23 2004-10-04 Zoltan Varga <[email protected]>
* Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.

	* ModuleHandle.cs: Add missing methods.

	* RuntimeTypeHandle.cs: Add GetModuleHandle () method.

svn path=/trunk/mcs/; revision=34637
2004-10-03 20:52:58 +00:00
Marek Safar 9e42c4e1ac 2004-10-03 Marek Safar <[email protected]>
Fix #67108
	* attribute.cs: Enum conversion moved to
	GetAttributeArgumentExpression to be applied to the all
	expressions.

svn path=/trunk/mcs/; revision=34636
2004-10-03 20:52:58 +00:00
Zoltan Varga a55915e15b 2004-10-03 Zoltan Varga <[email protected]>
* tramp-sparc.c (sparc_magic_trampoline): Handle appdomain stuff
	better. Fixes appdomain-unload.exe on sparc.

svn path=/trunk/mono/; revision=34635
2004-10-03 19:05:39 +00:00
Zoltan Varga 66791c4e0f 2004-10-03 Zoltan Varga <[email protected]>
* AttributeTargets.cs: Add 2.0 GenericParameter value.

svn path=/trunk/mcs/; revision=34634
2004-10-03 18:02:38 +00:00
Miguel de Icaza 92f9f4c961 Update
svn path=/trunk/mono/; revision=34633
2004-10-03 16:44:36 +00:00
Zoltan Varga 07f45b1a9d 2004-10-03 Zoltan Varga <[email protected]>
* AssemblyBuilderAccess.cs: Remove [Flags].

	* PackingSize.cs: Add new 2.0 members. Remove [Flags].

	* AssemblyBuilder.cs: Add net 2.0 Save method.

	* LocalBuilder.cs: Make this inherit from LocalVariableInfo under
	net 2.0. Reorganize fields so the layout visible to the runtime is the
	same under 1.0 and 2.0. Add 2.0 properties.

svn path=/trunk/mcs/; revision=34632
2004-10-03 16:31:32 +00:00
Zoltan Varga 786d6ceda6 2004-10-03 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Module_GetPEKind): Add support
	for dynamic images.

	* object-internals.h (MonoReflectionAssemblyBuilder): Add pe_kind and
	machine fields.

	* metadata-internals.h (MonoDynamicImage): Add pe_kind and machine fields.

	* reflection.c: Save pe_kind and machine values into the generated
	image file.

svn path=/trunk/mono/; revision=34631
2004-10-03 16:29:27 +00:00
Zoltan Varga 5a2650b1ba 2004-10-03 Zoltan Varga <[email protected]>
* appdomain.c: Bump corlib version number.

	* object-internals.h: Reorganize layout of LocalBuilder.

svn path=/trunk/mono/; revision=34630
2004-10-03 15:47:30 +00:00
Zoltan Varga 272e4b3fcf 2004-10-03 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=34629
2004-10-03 15:46:04 +00:00
Zoltan Varga 9185df356b 2004-10-03 Zoltan Varga <[email protected]>
* LocalBuilder.cs: Make this inherit from LocalVariableInfo under
	net 2.0. Reorganize fields so the layout visible to the runtime is the
	same under 1.0 and 2.0. Add 2.0 properties.

svn path=/trunk/mcs/; revision=34628
2004-10-03 15:44:24 +00:00
Zoltan Varga b9fd49724d 2004-10-03 Zoltan Varga <[email protected]>
* LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
	from this class.

svn path=/trunk/mcs/; revision=34627
2004-10-03 15:42:23 +00:00
Zoltan Varga f1bb274310 2004-10-03 Zoltan Varga <[email protected]>
* class-internals.h class.c (mono_class_get_implemented_interfaces):
	New helper function.

svn path=/trunk/mono/; revision=34626
2004-10-03 13:44:52 +00:00
Zoltan Varga c7b43da48d 2004-10-03 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Return the
	created MonoType for dynamic types. Fixes #66180.

svn path=/trunk/mono/; revision=34625
2004-10-03 12:48:09 +00:00
Ben Maurer 9fe9c1338f 2004-10-02 Ben Maurer <[email protected]>
* threadpool.c: the ares hashtable needs a critical section around it.
	this prevents some nasty segfaults

svn path=/trunk/mono/; revision=34622
2004-10-02 23:51:07 +00:00
Massimiliano Mantione 3dc7b6a845 Updated the changelogs to give credit to [email protected] (Ville-Pertti Keinonen) for the patch and put the bug number.
svn path=/trunk/mono/; revision=34621
2004-10-02 21:12:06 +00:00
Massimiliano Mantione bdf234490a 2004-10-02 Massimiliano Mantione <[email protected]>
* ssa.c: Fixed casts to unsigned where the value was of 64 bits in
	simulate_long_compare.

	* process.c: Fixed alignments to 32 bits (casting to unsigned is unsafe on
	64 bits platforms).

svn path=/trunk/mono/; revision=34620
2004-10-02 20:45:31 +00:00
Miguel de Icaza ebcd5acafb Apply fix from [email protected] (Joe Gasiorek)
svn path=/trunk/mcs/; revision=34619
2004-10-02 19:48:46 +00:00
Peter Dennis Bartok 84d408d0da - Simplified the Invalidate method by using an X call instead of generating
the expose ourselves
- Added an expose when the window background is changed
- Implemented ClientToScreen method

svn path=/trunk/mcs/; revision=34618
2004-10-02 19:12:18 +00:00
Peter Dennis Bartok d40f6e00d9 - Added Win32EnableWindow method (test for implementing modal dialogs)
- Added ClientToScreen method and imports

svn path=/trunk/mcs/; revision=34617
2004-10-02 19:08:38 +00:00
Peter Dennis Bartok ef89bcc210 - Added ClientToScreen coordinate translation method
svn path=/trunk/mcs/; revision=34616
2004-10-02 19:07:36 +00:00
Peter Dennis Bartok eb6aa01ddd - Fixed access level for constructor
svn path=/trunk/mcs/; revision=34615
2004-10-02 19:06:40 +00:00
Peter Dennis Bartok d2cf640882 - Changed access level for the window_collection hash table
svn path=/trunk/mcs/; revision=34614
2004-10-02 19:06:20 +00:00
Peter Dennis Bartok 8e71ec9f0d - Added KeyPreview property
- Added Menu property (still incomplete, pending Jordi's menu work)
- Implemented ProcessCmdKey
- Implemented ProcessDialogKey
- Implemented ProcessKeyPreview

svn path=/trunk/mcs/; revision=34613
2004-10-02 19:05:52 +00:00
Peter Dennis Bartok d81ea2c6b4 - Added private method to get the Control object from the window handle
- Implemented ContextMenu property
- Implemented PointToScreen
- Implemented PreProcessMessage
- Implemented IsInputChar
- Implemented IsInputKey
- Implemented ProcessCmdKey
- Completed ProcessKeyEventArgs
- Fixed message loop to call the proper chain of functions on key events
- Implemented ProcessDialogChar
- Implemented ProcessDialogKey
- Implemented ProcessKeyMessage
- Implemented ProcessKeyPreview
- Added RaiseDragEvent stub (MS internal method)
- Added RaiseKeyEvent stub (MS internal method)
- Added RaiseMouseEvent stub (MS Internal method)
- Added RaisePaintEvent stub (MS Internal method)
- Added ResetMouseEventArgs stub (MS Internal method)
- Implemented RtlTranslateAlignment
- Implemented RtlTranslateContent
- Implemented RtlTranslateHorizontal
- Implemented RtlTranslateLeftRight
- Added generation of KeyPress event

svn path=/trunk/mcs/; revision=34612
2004-10-02 19:02:56 +00:00
Peter Dennis Bartok dd91676cd4 - Added LeftRightAlignment source reference
svn path=/trunk/mcs/; revision=34611
2004-10-02 18:55:20 +00:00
Miguel de Icaza ff0d74eeb5 Add System.IO.Compression from Chris Lahey ([email protected])
svn path=/trunk/mcs/; revision=34610
2004-10-02 18:48:07 +00:00
Zoltan Varga 5a3fd5b35d 2004-10-02 Zoltan Varga <[email protected]>
* Int32Test.cs: Add tests for TryParse ().

svn path=/trunk/mcs/; revision=34609
2004-10-02 14:47:25 +00:00
Zoltan Varga 873ca3789b 2004-10-02 Zoltan Varga <[email protected]>
* Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.

svn path=/trunk/mcs/; revision=34608
2004-10-02 14:46:45 +00:00
Zoltan Varga 90abab8373 2004-10-02 Zoltan Varga <[email protected]>
* jit-icalls.c: Handle a nonexisting trunc function more correctly.

svn path=/trunk/mono/; revision=34607
2004-10-02 12:55:10 +00:00
Ravindra 4319aeacd4 Added attributes.
svn path=/trunk/mcs/; revision=34606
2004-10-02 11:57:56 +00:00
Ravindra e0396e1d38 Added attributes.
svn path=/trunk/mcs/; revision=34605
2004-10-02 11:32:01 +00:00
Gert Driesen 514dcfb065 * TypeBuilderTest.cs: Added test to ensure NotSupportedException is
thrown when creating a type with a default ctor while parent does
        not have a default ctor.

svn path=/trunk/mcs/; revision=34604
2004-10-02 10:48:16 +00:00
Gert Driesen 96db215dd1 ChangeLog: removed conflict indicators
svn path=/trunk/mcs/; revision=34603
2004-10-02 10:46:45 +00:00
Gert Driesen 42c4541f58 * TypeBuilder.cs: throw NotSupportedException when defining default
ctor if parent type does not have default ctor

svn path=/trunk/mcs/; revision=34602
2004-10-02 10:44:53 +00:00
Marek Safar bfd8b9f4b3 2004-10-02 Marek Safar <[email protected]>
* CSharpCodeCompiler.cs: Fix #65722.

svn path=/trunk/mcs/; revision=34601
2004-10-01 22:12:13 +00:00
Jackson Harper b033610375 Implement the Close method so work on MessageBox can continue.
svn path=/trunk/mcs/; revision=34600
2004-10-01 17:53:26 +00:00
John Luke ac5cb1f8a9 2004-10-01 John Luke <[email protected]>
* *.cs: fix some incorrect tests by either addding a Main method,
        or adding a -t:library compiler option.  Makes one test pass, and adds
        19 to *-expect-wrong-error as they compile when they shouldn't
        * *mcs-expect-*-error: update

svn path=/trunk/mcs/; revision=34599
2004-10-01 17:42:18 +00:00
Gonzalo Paniagua Javier c1e8d7d744 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: even if the control has no children the naming container
	may contain the control we're looking for. Fixes bug #67304.

svn path=/trunk/mcs/; revision=34593
2004-10-01 13:10:44 +00:00
Sureshkumar T 9b97fa9c9b * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
getting available provider factories and creating a specified provider factory.

* DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
DbProviderFactories configuration section.

* DbProviderFactory.cs: Added protected constructor. SupportedClasses property
is made abstract.

svn path=/trunk/mcs/; revision=34592
2004-10-01 13:09:13 +00:00
Sanja Gupta 9883033a63 ChangeLog: Updated ChangeLog.
ParameterCollection.cs: Resolved warnings, "Unreachable code detected"          while compilation.

svn path=/trunk/mcs/; revision=34591
2004-10-01 10:46:55 +00:00
Sanja Gupta 56dbe2544e ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34590
2004-10-01 10:43:59 +00:00
Anirban Bhattacharjee 9403470a95 2004-10-01 Anirban Bhattacharjee <[email protected]>
* ecore.cs: Bug fixing - when event raised from other assembly

svn path=/trunk/mcs/; revision=34589
2004-10-01 08:24:19 +00:00
Raja R Harinath bbfb76d4da * cs0122-5.cs, cs0122-6.cs: New tests.
* gmcs-expect-no-error: Update.

svn path=/trunk/mcs/; revision=34587
2004-10-01 05:23:57 +00:00
Raja R Harinath 7a33bcc5e9 * Makefile (NEW_TEST_SOURCES_common): Add test-300.
* test-300.cs: New.  Test based on #65833.

svn path=/trunk/mcs/; revision=34586
2004-10-01 05:17:23 +00:00
Raja R Harinath 1ab7bd7dbd Fix #65833, test-300.cs, cs0122-5.cs, cs0122-6.cs.
* class.c (TypeContainer.DefineType): Flag error if
base types aren't accessible due to access permissions.
* decl.cs (DeclSpace.ResolveType): Move logic to
Expression.ResolveAsTypeTerminal.
(DeclSpace.ResolveTypeExpr): Thin layer over
Expression.ResolveAsTypeTerminal.
(DeclSpace.CheckAccessLevel, DeclSpace.FamilyAccess):
Refactor code into NestedAccess.  Use it.
(DeclSpace.NestedAccess): New.
* ecore.cs (Expression.ResolveAsTypeTerminal): Add new
argument to silence errors.  Check access permissions.
(TypeExpr.DoResolve, TypeExpr.ResolveType): Update.
* expression.cs (ProbeExpr.DoResolve): Use ResolveAsTypeTerminal.
(Cast.DoResolve): Likewise.
(New.DoResolve): Likewise.
(InvocationOrCast.DoResolve,ResolveStatement): Likewise.
(TypeOf.DoResolve): Likewise.

* expression.cs (Invocation.BetterConversion): Return the Type of
the better conversion.  Implement section 14.4.2.3 more faithfully.
(Invocation.BetterFunction): Make boolean.  Make correspondence to
section 14.4.2.2 explicit.
(Invocation.OverloadResolve): Update.
(Invocation): Remove is_base field.
(Invocation.DoResolve): Don't use is_base.  Use mg.IsBase.
(Invocation.Emit): Likewise.

svn path=/trunk/mcs/; revision=34585
2004-10-01 05:16:01 +00:00
Gonzalo Paniagua Javier e998d57e29 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: SuppressContent does not throw and clears all the
	buffered output. Fixes bug #67213.

svn path=/trunk/mcs/; revision=34583
2004-10-01 03:36:52 +00:00
Gonzalo Paniagua Javier eaa21f98ab s/Behaviour/Behavior/g Fixes bug 67261
svn path=/trunk/mcs/; revision=34581
2004-10-01 03:04:50 +00:00
Gonzalo Paniagua Javier fcbc77cd65 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: support attributes inherited from the one
	we want. Fixes bug #67088. Thanks to Sander Rijken.

svn path=/trunk/mcs/; revision=34578
2004-10-01 02:51:30 +00:00
Geoff Norton 849dc441cc 2004-09-30 Geoff Norton <[email protected]>
* Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
        and swapping of all values before going into the BitConverter so that values
        are returned with proper endianess.

svn path=/trunk/mcs/; revision=34577
2004-10-01 02:44:39 +00:00
Francisco Figueiredo Jr. ac979279bb * Initial import of BSD license of LargeObject support ported code.
svn path=/trunk/mcs/; revision=34576
2004-09-30 21:39:06 +00:00
Francisco Figueiredo Jr. 0de8c14094 2004-09-30 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/FastPath.cs,
    NpgsqlTypes/FastPathArg.cs,
    NpgsqlTypes/LargeObject.cs,
    NpgsqlTypes/LargeObjectManager.cs,
    Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.

svn path=/trunk/mcs/; revision=34575
2004-09-30 21:36:09 +00:00
Lluis Sanchez 802e76ff67 * HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.
svn path=/trunk/mcs/; revision=34574
2004-09-30 21:05:31 +00:00
Lluis Sanchez 3a465797dc * MapCodeGenerator.cs: When the Object type is exported, export all
derived maps. This was done in IncludeMetadata, but this method is
	  not called by the xsd tool.
	* XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
	  attribute for primitive types and arrays.
	* XmlSchemaImporter.cs: Only export all object-derived maps if the
	  Object type is explicitly referenced by an element.
	* XmlSerializationWriter.cs: Minor fix.

svn path=/trunk/mcs/; revision=34573
2004-09-30 20:56:52 +00:00
Zoltan Varga c34cf85b03 2004-09-30 Zoltan Varga <[email protected]>
* object-internals.h (MonoReflectionTypeBuilder): Add 'created' field.

svn path=/trunk/mono/; revision=34572
2004-09-30 20:50:30 +00:00
Zoltan Varga 593d49b98b 2004-09-30 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Make 'created' field visible to the runtime.

svn path=/trunk/mcs/; revision=34571
2004-09-30 20:48:20 +00:00
Peter Dennis Bartok 9f98e52209 - Bug fixes
svn path=/trunk/mcs/; revision=34570
2004-09-30 20:06:56 +00:00
Miguel de Icaza ee9073842e Just rename the damn file
svn path=/trunk/mcs/; revision=34569
2004-09-30 18:08:29 +00:00
Jackson Harper 25077313f2 Fix typo. Patch by John BouAntoun.
svn path=/trunk/mcs/; revision=34568
2004-09-30 17:34:08 +00:00
Lluis Sanchez a84a63f44a * mini.c: Always generate a field read/write wrapper for members
of the class MarshalByRefObject since the actual instance could
	be a CBO.

svn path=/trunk/mono/; revision=34567
2004-09-30 15:59:13 +00:00
Lluis Sanchez 89b40cefda * image.c: Always canonicalize image file names, to avoid loading
the same assembly twice when referenced using a relative path.

svn path=/trunk/mono/; revision=34566
2004-09-30 15:30:01 +00:00
Ravindra 62e67d4d25 Updated project and sources list.
svn path=/trunk/mcs/; revision=34565
2004-09-30 13:32:06 +00:00
Ravindra 8afcb76cc4 Converter for ListViewItem.
svn path=/trunk/mcs/; revision=34564
2004-09-30 13:26:35 +00:00
Ravindra 9e98b297cc Enum for ListView control.
svn path=/trunk/mcs/; revision=34563
2004-09-30 13:26:00 +00:00
Ravindra 6bc48869d3 Supporting class for ListView control.
svn path=/trunk/mcs/; revision=34562
2004-09-30 13:25:33 +00:00
Ravindra cd50430a4e Initial implementation.
svn path=/trunk/mcs/; revision=34561
2004-09-30 13:24:45 +00:00
Anirban Bhattacharjee 9074575b6d 2004-09-30 Anirban Bhattacharjee <[email protected]>
* EventH.vb:
        * EventI.vb:
                Couple of more scenario got covered

svn path=/trunk/mcs/; revision=34560
2004-09-30 13:21:41 +00:00
Ravindra 57a5f76f64 Enum for ListView Control.
svn path=/trunk/mcs/; revision=34559
2004-09-30 13:20:20 +00:00
Anirban Bhattacharjee 422e2c0077 2004-09-30 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay:
        * statement.cs:
                Removed unused event_target field from
                AddHandler and RemoveHandler

svn path=/trunk/mcs/; revision=34558
2004-09-30 13:13:26 +00:00
Anirban Bhattacharjee 95bdcfa89e 2004-09-30 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: RemoveHandler function made cleaner

svn path=/trunk/mcs/; revision=34557
2004-09-30 12:52:50 +00:00
Anirban Bhattacharjee 89679ed9b1 2004-09-30 Anirban Bhattacharjee <[email protected]>
* expression.cs:
        * ecore.cs:
                Fix for resolution of event expression
                when we have a AddHandler statement
                like
                AddHandler Me.E, AddressOf Me.EH
                Submitted by Raja Harinath<[email protected]>

svn path=/trunk/mcs/; revision=34556
2004-09-30 12:33:26 +00:00
Anirban Bhattacharjee c7cd6bad2d 2004-09-30 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Unnecessary to and fro conversion of types
                        is removed from AddHandler function

svn path=/trunk/mcs/; revision=34555
2004-09-30 12:12:18 +00:00
Zoltan Varga e8d226500c 2004-09-30 Zoltan Varga <[email protected]>
* marshal.cs: Add test for GetFunctionPointerForDelegate.

svn path=/trunk/mono/; revision=34553
2004-09-30 10:29:13 +00:00
Zoltan Varga 58319033ea 2004-09-30 Zoltan Varga <[email protected]>
* marshal.h marshal.c icall.c: Fix bugs in previous patch.

svn path=/trunk/mono/; revision=34552
2004-09-30 10:28:34 +00:00
Zoltan Varga 048633f1af 2004-09-30 Zoltan Varga <[email protected]>
* marshal.c marshal.h icall.c: Add GetDelegateForFunctionPointerInternal icall.

	* marshal.c: Fix warnings.

svn path=/trunk/mono/; revision=34551
2004-09-30 10:06:42 +00:00
Zoltan Varga 79bc19eb16 2004-09-30 Zoltan Varga <[email protected]>
* Marshal.cs: Implement GetDelegateForFunctionPointer.

svn path=/trunk/mcs/; revision=34550
2004-09-30 10:03:56 +00:00
Zoltan Varga d62c5ab97b 2004-09-30 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add test for returning delegates.

svn path=/trunk/mono/; revision=34549
2004-09-30 09:45:14 +00:00
Sanja Gupta f4733688c3 ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added and removed an enumeration in
          System.Web.UI.WebControls.

svn path=/trunk/mcs/; revision=34548
2004-09-30 08:58:53 +00:00
Sanja Gupta 828bc42967 ChangeLog: Updated ChangeLog.
DataControlRowState.cs:
ScrollBars.cs:
TreeNodeTypes.cs: Added attribute.
DataControlRowType.cs:
HotSpotMode.cs:
SortDirection.cs: Corrected enumeration values.
TableRowSection.cs: Added new enumeration.
ObjectDataSourceStatusEventHandler.cs: Corrected method name.

svn path=/trunk/mcs/; revision=34547
2004-09-30 08:53:57 +00:00
Umadevi S c35a250ace *** empty log message ***
svn path=/trunk/mcs/; revision=34546
2004-09-30 07:58:38 +00:00
Jambunathan K 747b3e80a3 Updated csproj to include Appearance.cs, CheckBox.cs, CheckState.cs
svn path=/trunk/mcs/; revision=34545
2004-09-30 05:02:20 +00:00
Miguel de Icaza 1f34ff944b 2004-09-14 Everaldo Canut <[email protected]>
* Mono.Data.SqliteClient/Sqlite.cs added.
	* Mono.Data.SqliteClient/SqliteDataAdapter.cs added.
	* Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs added.
	* Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler added.
	* Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs added.
	* Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler added.
	* Mono.Data.SqliteClient/SqliteDataReader.cs GetSchemaTable fixed.
	* All sources documented.

I submited a patch to SqliteClient, now Sqlite Data
Provider has full implemented, I think that the good
idea is describe this on release notes.

	-Everaldo

svn path=/trunk/mcs/; revision=34544
2004-09-30 03:00:09 +00:00
Gonzalo Paniagua Javier 9fdf11a261 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.

svn path=/trunk/mcs/; revision=34542
2004-09-30 02:39:06 +00:00
Peter Dennis Bartok 41d6265c85 - Added lookup of pixel value for background color; tries to get a color
'close' to the requested color, it avoids having to create a colormap.
  Depending on the display this could mean the used color is slightly off
  the desired color. Might have to change it to a more resource intensive
  colormap approach, but it will work as a workaround to avoid red screens.

svn path=/trunk/mcs/; revision=34541
2004-09-30 02:29:33 +00:00
Ben Maurer fef6a9d994 2004-09-29 Ben Maurer <[email protected]>
* HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.

svn path=/trunk/mcs/; revision=34536
2004-09-30 01:00:32 +00:00
Gonzalo Paniagua Javier 13c545eab7 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: added OtherTags.
	* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
	to a closing tag that is not applied to a server control. Fixes bug
	#60323.

svn path=/trunk/mcs/; revision=34534
2004-09-30 00:21:54 +00:00
Sebastien Pouliot bea5f10927 2004-09-29 Sebastien Pouliot <[email protected]>
* RSAManaged.cs: In synch with corlib. KeySize is now always a
	multiple of 8 bits. Fix #66929.

svn path=/trunk/mcs/; revision=34532
2004-09-29 20:36:17 +00:00
Jackson Harper 150aac845a Set the X DisplayHandle in System.Drawing
svn path=/trunk/mcs/; revision=34531
2004-09-29 20:27:41 +00:00
Jackson Harper 5d1e9e0828 * Graphics.cs: Use FromHdcInternal to set the X display
handle. Add a flag to check if we are on unix so we aren't calling
	Environment.OSVersion.Platform all the time. Mad props to Peter
	Bartok for this.

svn path=/trunk/mcs/; revision=34530
2004-09-29 20:26:54 +00:00
Lluis Sanchez d5792d7b20 * Makefile: Remove error directory on every run.
* wstest.cs: Added a timeout when calling the wsdl tool. No more
	  hangs there.

svn path=/trunk/mcs/; revision=34528
2004-09-29 18:18:47 +00:00
Sebastien Pouliot 8292f4ff45 2004-09-29 Sebastien Pouliot <[email protected]>
* RSAManaged.cs: KeySize is always a multiple of 8 bits (promotion to
	a bigger size if required) to match MS implementation (and other
	issues like SSL).

svn path=/trunk/mcs/; revision=34526
2004-09-29 18:01:09 +00:00
Geoff Norton 2fdc3df2e1 2004-09-29 Geoff Norton <[email protected]>
* marshal.c (mono_ftnptr_to_delegate): This method was improperly
        attempting to marshal the delegate_trampoline as the method_addr.
        This patch has a static hashtable of marshalled delegates so that
        we can map delegate_trampoline addresses back to delegates.  This
        allows a delegate passed to managed code to be passed back into native
        code.  Fixes #67039

svn path=/trunk/mono/; revision=34521
2004-09-29 15:46:44 +00:00
Sanja Gupta 5e86697297 ChangeLog: Updated ChangeLog.
WebPartVerb.cs: Added attributes.

svn path=/trunk/mcs/; revision=34518
2004-09-29 12:25:35 +00:00
Zoltan Varga 4d3c345c8b 2004-09-29 Zoltan Varga <[email protected]>
* MissingAttribute.cs: Ignore DllImportAttribute and PreserveSigAttribute.

svn path=/trunk/mcs/; revision=34517
2004-09-29 12:00:29 +00:00
Zoltan Varga 1bcb176a27 2004-09-29 Zoltan Varga <[email protected]>
* UnmanagedFunctionPointerAttribute.cs: New file.

svn path=/trunk/mcs/; revision=34516
2004-09-29 11:53:03 +00:00
Zoltan Varga 68daf2e3f8 2004-09-29 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add System.Runtime.InteropServices/UnmanagedFunctionPointerAttribute.cs.

svn path=/trunk/mcs/; revision=34515
2004-09-29 11:52:25 +00:00
Zoltan Varga 91b866d607 2004-09-29 Zoltan Varga <[email protected]>
* Marshal.cs: Make GetFunctionPointerForDelegate icall private.

	* MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.

svn path=/trunk/mcs/; revision=34514
2004-09-29 11:45:54 +00:00
Sanja Gupta e9863088a4 ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.dll.sources.

svn path=/trunk/mcs/; revision=34513
2004-09-29 11:24:28 +00:00
Sanja Gupta a95341175a ChangeLog: Updated ChangeLog.
ConnectionPoint.cs: Initial implementation.
ConsumerConnectionPoint.cs:
ProviderConnectionPoint.cs: Added stubs.
TypeCollection.cs: Completed.

svn path=/trunk/mcs/; revision=34512
2004-09-29 11:16:12 +00:00
Raja R Harinath a406bfeec0 (test-clients): nunit-console.exe is now in a
profile-specific directory.
Report from Mayank Ritvik <[email protected]>.

svn path=/trunk/mcs/; revision=34511
2004-09-29 10:20:02 +00:00
Sanja Gupta def2497092 ChangeLog: Updated ChangeLog.
IWebPart.cs: Added new property and removed extra property.
WebPart.cs: Corrected according to change in interface IWebPart.

svn path=/trunk/mcs/; revision=34510
2004-09-29 08:59:03 +00:00
Sanja Gupta cd35797483 ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new files in System.Web.UI.WebControls.WebParts
                        namespace.

svn path=/trunk/mcs/; revision=34509
2004-09-29 08:45:48 +00:00
Sanja Gupta b53f40210a ChangeLog: Updated ChangeLog.
WebPartPageMenuMode.cs: Added new enumeration.

svn path=/trunk/mcs/; revision=34508
2004-09-29 08:43:37 +00:00
Miguel de Icaza 835814413c update with some notes
svn path=/trunk/mcs/; revision=34504
2004-09-29 05:06:25 +00:00
Satya Sudha K 78fafab214 minor changes in the Makefile
svn path=/trunk/mcs/; revision=34503
2004-09-29 03:33:55 +00:00
Jackson Harper 416666608c Give the build some love
svn path=/trunk/mcs/; revision=34500
2004-09-28 20:11:41 +00:00
Zoltan Varga 26d94a3f57 2004-09-28 Zoltan Varga <[email protected]>
* Marshal.cs: Add some ReliabilityContractAttributes.

svn path=/trunk/mcs/; revision=34499
2004-09-28 19:55:22 +00:00
Zoltan Varga 5109d8edc8 2004-09-28 Zoltan Varga <[email protected]>
* icall.c: Add GetFunctionPointerForDelegateInternal icall.

svn path=/trunk/mono/; revision=34498
2004-09-28 19:22:27 +00:00
Zoltan Varga ae83572acc 2004-09-28 Zoltan Varga <[email protected]>
* Marshal.cs (GetFunctionPointerForDelegate): Implement.

svn path=/trunk/mcs/; revision=34497
2004-09-28 19:20:22 +00:00
Zoltan Varga f4a0a73956 2004-09-28 Zoltan Varga <[email protected]>
* Makefile.am: Add marshal.cs.

	* marshal.cs: New file for Marshal tests.

svn path=/trunk/mono/; revision=34496
2004-09-28 19:19:11 +00:00
Zoltan Varga e1e7286338 2004-09-28 Zoltan Varga <[email protected]>
* Marshal.cs: Add stubs for missing 2.0 methods.

svn path=/trunk/mcs/; revision=34495
2004-09-28 19:02:33 +00:00
Peter Dennis Bartok fe4cbbaa26 - Streamlined Theme interfaces:
* Each DrawXXX method for a control now is passed the object for the
    control to be drawn in order to allow accessing any state the theme
    might require

  * ControlPaint methods for the theme now have a CP prefix to avoid
    name clashes with the Draw methods for controls

  * Every control now retrieves it's DefaultSize from the current theme

svn path=/trunk/mcs/; revision=34494
2004-09-28 18:44:25 +00:00
Jackson Harper 3c78cc670c Do not redraw OnClick MouseUp/Down will handle the drawing
svn path=/trunk/mcs/; revision=34493
2004-09-28 18:17:46 +00:00
Zoltan Varga 0a5f23fe26 2004-09-28 Zoltan Varga <[email protected]>
* reflection.c (method_encode_code): Align method headers properly.
	Fixes #66025.

svn path=/trunk/mono/; revision=34491
2004-09-28 17:59:32 +00:00
Neale Ferguson d5736c4013 Minor JIT fixes
svn path=/trunk/mono/; revision=34490
2004-09-28 17:47:44 +00:00
Lluis Sanchez 3f504f249b * marshal.c: In the runtime invoke wrapper, reset the abort
exception if it is cached. This avoids the automatic rethrowal of
	the exception after the catch of the wrapper. Also check for pending
	interruptions before calling the managed method. This is done using
	the new method emit_thread_force_interrupt_checkpoint, since the
	normal checkpoint method is ignored when running the invoke wrapper.
	* object.c: If the abort exception is rethrown, set the abort_exc
	field of the thread, so it will be rethrown aftere every catch.
	* threadpool.c: Only run an interruption checkpoint if what has been
	requested is a stop of the thread (aborts will be ignored).
	* threads.c: By default, a thread will now never be interrumped while
	running the runtime invoke wrapper (this ensures that runtime_invoke
	will always return to the caller if an exception pointer is provided).
	There is a new special method mono_thread_force_interruption_checkpoint()
	to force an interruption checkpoint even if running a protected
	wrapper, which is used by the same runtime invoke wrapper to do a check
	at a safe point.

I'm leaving the ves_* rename for another patch ;-)

svn path=/trunk/mono/; revision=34489
2004-09-28 15:16:05 +00:00
Sanja Gupta 2a5a391b04 ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.UI.WebControls.WebParts.

svn path=/trunk/mcs/; revision=34488
2004-09-28 13:20:16 +00:00
Sanja Gupta 5365310748 ChangeLog: Updated ChangeLog.
Part.cs: Corrected access modifier of constructor.

svn path=/trunk/mcs/; revision=34487
2004-09-28 13:17:43 +00:00
Sanja Gupta 9a1e1828ea ChangeLog: Updated ChangeLog.
WebPart.cs: Updated source and fixed bug 66907.

svn path=/trunk/mcs/; revision=34486
2004-09-28 13:12:05 +00:00
Dick Porter f3bdc8c2ef 2004-09-28 Dick Porter <[email protected]>
* io.c (pipe_close_private): Fix one small typo in the last change
	that totally hosed process creation with redirected pipes.

svn path=/trunk/mono/; revision=34484
2004-09-28 13:09:28 +00:00
Raja R Harinath d73833f6c8 * test-120.cs: Don't exit on the first failure.
* Makefile (TEST_EXCLUDES_common): Remove 'module-3'.
(TEST_SOURCES_win32): Rename from WINDOWS_SOURCES.
(TEST_NOPASS): Comment out tests that already are in
TEST_SOURCES_common.

svn path=/trunk/mcs/; revision=34483
2004-09-28 12:52:27 +00:00
Lluis Sanchez 30a6942dba mini.c: Use mono_thread_exit() to stop threads, instead of ExitThread.
svn path=/trunk/mono/; revision=34482
2004-09-28 12:46:41 +00:00
Lluis Sanchez fb582e2b8e * object.c, object-internals.h: Implemented mono_release_type_locks,
which releases the cctor locks held by a thread.
	* threads.c, threads.h: In thread_cleanup, release cctor locks held
	by a thread. Added mono_thread_exit() method to be used to safely stop
	a thread.

svn path=/trunk/mono/; revision=34481
2004-09-28 12:45:05 +00:00
Raja R Harinath 6f08eae1e4 ($(tmpinst)/bin/pedump): New.
(mcs-do-run-test-profiles): Depend on it.

svn path=/trunk/mono/; revision=34480
2004-09-28 12:44:30 +00:00
Raja R Harinath 4dbc8109f2 (ves_icall_System_Reflection_Assembly_GetModulesInternal):
Move null check before dereference.  Avoid indexing beyond the end
of the 'modules' array.

svn path=/trunk/mono/; revision=34479
2004-09-28 12:42:40 +00:00
Raja R Harinath 766c694428 typo.
svn path=/trunk/mono/; revision=34478
2004-09-28 11:31:52 +00:00
Raja R Harinath 452111a129 * metadata-internals.h (MonoImage): Add module_count field.
* image.c (load_modules): Set image->module_count.
	(mono_image_load_file_for_image): Use image->module_count.
	* reflection.c (mono_image_load_module): Append to image->modules array
	of dynamic assembly.
	(mono_module_get_object): Fix loop to actually increment index.
	Use image->module_count.
	* assembly.c (mono_assembly_load_references): Use image->module_count.
	* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
	Likewise.

svn path=/trunk/mono/; revision=34477
2004-09-28 11:30:44 +00:00
Sanja Gupta 1191bb45f9 ChangeLog: Updated ChangeLog.
WebPartVerbCollection.cs: Completed and corrected implementation.

svn path=/trunk/mcs/; revision=34476
2004-09-28 11:12:05 +00:00
Zoltan Varga 996d5ddd6e 2004-09-28 Zoltan Varga <[email protected]>
* PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].

	* PropertyInfo.cs: Add stub for GetConstantValue ().

	* ParameterInfo.cs (marshalAs): Make this private.

	* Module.cs (ModuleHandle): Add [CLSCompliant(false)].

	* LocalVariableInfo.cs MethodBody.cs: Disable default constructor.

svn path=/trunk/mcs/; revision=34475
2004-09-28 11:07:58 +00:00
Zoltan Varga 487b93aed6 2004-09-28 Zoltan Varga <[email protected]>
* ExceptionHandlingClause.cs: Disable default constructor.

svn path=/trunk/mcs/; revision=34474
2004-09-28 10:55:24 +00:00
Ravindra 798d6d51ad Added a minor note.
svn path=/trunk/mcs/; revision=34473
2004-09-28 10:31:47 +00:00
Lluis Sanchez 8bc4bccc0f * CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
This fixes bug #66877.

svn path=/trunk/mcs/; revision=34470
2004-09-28 09:22:52 +00:00
Lluis Sanchez c3e7b4fa53 * RemotingServices.cs: Allways pass the uri when calling
GetClientChannelSinkChain, even if it has channel data.
	  This fixes bug 66768.

svn path=/trunk/mcs/; revision=34469
2004-09-28 08:18:29 +00:00
Lluis Sanchez ff5c907233 * CrossAppDomainChannel.cs: In CreateMessageSink, ignore the url
parameter, it is not needed.

svn path=/trunk/mcs/; revision=34468
2004-09-28 08:16:41 +00:00
Sanja Gupta 8f32d72264 ChangeLog: Updated ChangeLog.
WebPartVerbCollection.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34467
2004-09-28 07:56:07 +00:00
Sanja Gupta 21829c0fdd ChangeLog: Updated ChangeLog.
WebPartVerb.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34466
2004-09-28 06:20:21 +00:00
Peter Dennis Bartok 97cf16ca60 - Initial check in. A place to log info about MWF that doesn't fit anywhere
else

svn path=/trunk/mcs/; revision=34465
2004-09-28 06:18:35 +00:00
Martin Baulig 25a8811858 2004-09-28 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(GenericTypeParameterBuilder.ContainsGenericParameters): Return
	true here; System.Type.ContainsGenericParameters returns true when
	called on a type parameter, so let's do the same here.

svn path=/trunk/mcs/; revision=34464
2004-09-28 05:53:55 +00:00
Martin Baulig b4c3c6a719 2004-09-28 Martin Baulig <[email protected]>
* generic.cs
	(GenericConstraints.EffectiveBaseClass): New public property.
	(TypeParameter.GenericConstraints): New public property.
	(ConstructedType.CheckConstraints): Improved.

	* convert.cs (Convert.TypeParam_EffectiveBaseType): New private method.
	(Convert.TypeParameterConversion): New private method; use this in
	ImplicitReferenceConversion() and ImplicitReferenceConversionExists()
	for all conversions related to type parameters.

svn path=/trunk/mcs/; revision=34463
2004-09-28 05:46:28 +00:00
Martin Baulig da9563af75 Another small fix, don't crash here.
svn path=/trunk/mcs/; revision=34462
2004-09-28 05:42:54 +00:00
Umadevi S 47cdd315ff 2004-09-24 Umadevi S <[email protected]>
* DataRowTest.cs : Added a test for EnforceConstraints with relations defined.

svn path=/trunk/mcs/; revision=34459
2004-09-28 04:20:25 +00:00
Umadevi S a13f2334e0 2004-09-28 Umadevi S <[email protected]>
* DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows

svn path=/trunk/mcs/; revision=34458
2004-09-28 04:17:39 +00:00
Gonzalo Paniagua Javier f30f84f690 2004-09-28 Gonzalo Paniagua Javier <[email protected]>
* TableStyle.cs: don't render empty 'rules' attribute (again).

svn path=/trunk/mcs/; revision=34456
2004-09-28 00:27:59 +00:00
Zoltan Varga 2e1d58d56e 2004-09-28 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal):
	Avoid assert on generic types.

svn path=/trunk/mono/; revision=34454
2004-09-27 22:46:38 +00:00
Zoltan Varga 8ef0b9671a 2004-09-28 Zoltan Varga <[email protected]>
* driver.c mini.h trace.c: Move the setting of the main assembly into
	a separate function called mono_trace_set_assembly () and call it after
	actually loading the main assembly. Fixes #66872.

svn path=/trunk/mono/; revision=34453
2004-09-27 22:36:24 +00:00
Lluis Sanchez 3266ee6e9a * ServerIdentity.cs: Only set the target identity if it has not already
been set.

svn path=/trunk/mcs/; revision=34447
2004-09-27 20:06:12 +00:00
Lluis Sanchez 7470dcd7d5 * MethodCallMessageWrapper.cs: The wrapper has to modify the wrapped
message. MS does it.
	* ReturnMessage.cs: Use TypeName instead of _typeName since now name is
	  lazely constructed.

svn path=/trunk/mcs/; revision=34446
2004-09-27 20:05:44 +00:00
Lluis Sanchez 897873b1c9 * RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
svn path=/trunk/mcs/; revision=34445
2004-09-27 20:05:06 +00:00
Lluis Sanchez df381473f3 * HttpClientChannel.cs: Throw an http exception if the response is a 500,
don't try to deserialize the exception.

svn path=/trunk/mcs/; revision=34444
2004-09-27 20:04:30 +00:00
Lluis Sanchez e0ae338c33 * ContextsTest.cs: Fixed test sequence.
* RemotingServicesTest.cs: Minor fix.
	* ServerObject.cs: Added check for transparent proxy in all CBO methods.

svn path=/trunk/mcs/; revision=34443
2004-09-27 20:04:03 +00:00
Lluis Sanchez ec5949643e * System.Runtime.Remoting_test.dll.sources: Added RemotingServicesTest.cs.
svn path=/trunk/mcs/; revision=34442
2004-09-27 20:03:22 +00:00
Duncan Mak 24d18c663e 2004-09-23 Martin Garton <[email protected]>
* Convert.cs: ToType was returning unconverted object when it should
	fail with an ArgumentException.

svn path=/trunk/mcs/; revision=34438
2004-09-27 16:10:45 +00:00
Zoltan Varga 37b3f92db6 2004-09-27 Zoltan Varga <[email protected]>
* CustomAttributeData.cs CustomAttributeTypedArgument.cs
	CustomAttributeNamedArgument.cs: New files.

svn path=/trunk/mcs/; revision=34437
2004-09-27 15:32:33 +00:00
Zoltan Varga bbf7cce948 2004-09-27 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add more 2.0 System.Reflection classes.

svn path=/trunk/mcs/; revision=34436
2004-09-27 15:31:17 +00:00
Zoltan Varga 19a415ecec 2004-09-27 Zoltan Varga <[email protected]>
* MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
	ExceptionHandlingClauseFlags.cs: New files.

svn path=/trunk/mcs/; revision=34435
2004-09-27 13:03:02 +00:00
Zoltan Varga 2c9e3d8b46 2004-09-27 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add some 2.0 System.Reflection classes.

svn path=/trunk/mcs/; revision=34434
2004-09-27 13:01:22 +00:00
Zoltan Varga 06788e15e7 2004-09-27 Zoltan Varga <[email protected]>
* Array.cs: Add stub for AsReadOnly<T>.

svn path=/trunk/mcs/; revision=34433
2004-09-27 12:59:58 +00:00
Raja R Harinath 02b8d362b1 * Makefile: Re-apply patches from 2004-09-14.
(NEW_TEST_SOURCES_common): Rename from NEW_TEST_SOURCES.
(TEST_SOURCES_common): Rename from TEST_SOURCES.
(TEST_SOURCES_all): Rename to ALL_TEST_SOURCES.  Handle profile- and
platform-specific test inclusion and exclusion.
(TEST_SOURCES_default, TEST_SOURCES_net_2_0, TEST_EXCLUDES_common)
(TEST_EXCLUDES_net_2_0): New.  Reorganized from various other variables.
(TEST2_SOURCES, UNSAFE_SOURCES): Remove.  Merge into TEST_SOURCES_common.
(test-2, test-unsafe-compiler-jit): Remove.  Merge into test-compiler-jit.
* 2tests-*.cs, unsafe-*.cs, test-58.cs, test-171.cs:
Add 'Compiler options: '.

svn path=/trunk/mcs/; revision=34432
2004-09-27 12:00:53 +00:00
Raja R Harinath 30140da798 Re-apply changes from 2004-09-14.
(test-everything): Run tests in both profiles.

svn path=/trunk/mcs/; revision=34431
2004-09-27 11:59:23 +00:00
Raja R Harinath 4c84313be5 Update to changes.
svn path=/trunk/mcs/; revision=34430
2004-09-27 11:54:11 +00:00
Raja R Harinath 67dcc38c92 (PROGRAM): Put in
profile-specific directory.

svn path=/trunk/mcs/; revision=34429
2004-09-27 11:41:01 +00:00
Raja R Harinath ce00fd8ef2 * library.make ($(test_nunit_dep)): Make sure NUnit is built for
the profile being tested.
(nunit-$(PROFILE).stamp): Rename from nunit.stamp.
* config-default.make (TEST_HARNESS): Look for 'nunit-console' in
profile-specific directory.

svn path=/trunk/mcs/; revision=34428
2004-09-27 11:40:35 +00:00
Raja R Harinath 5d62444ee8 (mono-do-testjit): New target, unused for now. Runs
the mono testsuite in tests/.
(tmpinst-dir): Create etc/mono/2.0.
($(tmpinst)/bin/ilasm, $(tmpinst)/etc/mono/2.0/machine.config): New.

svn path=/trunk/mono/; revision=34427
2004-09-27 11:16:55 +00:00
Zoltan Varga 6a70cddb04 2004-09-27 Zoltan Varga <[email protected]>
* ConstructorBuilder.cs: Add 2.0 GetILGenerator(size) method.

svn path=/trunk/mcs/; revision=34426
2004-09-27 09:04:06 +00:00
Zoltan Varga 239cbecd36 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34418
2004-09-26 17:14:13 +00:00
Zoltan Varga 59e88109e5 2004-09-26 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal): New icall.

svn path=/trunk/mono/; revision=34417
2004-09-26 17:11:39 +00:00
Zoltan Varga 915e78f676 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add support for returning MarshalAsAttribute.

	* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34416
2004-09-26 17:10:34 +00:00
Zoltan Varga 86002e0361 2004-09-26 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: Add tests for MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34415
2004-09-26 16:48:49 +00:00
Zoltan Varga cf4f2ee9fa 2004-09-26 Zoltan Varga <[email protected]>
* reflection.c (mono_param_get_objects): Fill out MarshalAsImpl field.

	* reflection.c (mono_reflection_marshal_from_marshal_spec): New
	function to convert a MarshalSpec structure to its managed counterpart.

	* reflection.c: Fix warnings.

	* object-internals.h (MonoReflectionParameter): Add MarshalAsImpl
	field.

svn path=/trunk/mono/; revision=34414
2004-09-26 16:41:16 +00:00
Zoltan Varga a5182a1cab 2004-09-26 Zoltan Varga <[email protected]>
* UnmanagedMarshal.cs: Add ToMarshalAsAttribute method.

svn path=/trunk/mcs/; revision=34413
2004-09-26 16:38:20 +00:00
Zoltan Varga c48bcb131d 2004-09-26 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34412
2004-09-26 16:36:40 +00:00
Zoltan Varga 9a183ff622 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: Add tests for FieldOffsetAttribute.

svn path=/trunk/mcs/; revision=34411
2004-09-26 15:00:46 +00:00
Zoltan Varga 115800f817 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfoTest.cs: New file.

svn path=/trunk/mcs/; revision=34410
2004-09-26 14:56:38 +00:00
Zoltan Varga d52da51026 2004-09-26 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Add System.Reflection/FieldInfoTest.

svn path=/trunk/mcs/; revision=34409
2004-09-26 14:56:03 +00:00
Zoltan Varga c1478f0c7c 2004-09-26 Zoltan Varga <[email protected]>
* MethodInfoTest.cs: Add tests for PreserveSigAttribute.

svn path=/trunk/mcs/; revision=34408
2004-09-26 14:50:57 +00:00
Zoltan Varga 551d466cb4 2004-09-26 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Add System.Reflection/MethodInfoTest.

svn path=/trunk/mcs/; revision=34407
2004-09-26 14:44:43 +00:00
Francisco Figueiredo Jr. 9f4808997f 2004-09-26 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs:
        GetBytes: Added a little fix for proper handling of getbytes with current Npgsql semantics in mind. For while, we just support offset value of 0 as we
        read all the bytes field value at a time. So there is no copy when offset is not 0.

svn path=/trunk/mcs/; revision=34406
2004-09-26 13:42:26 +00:00
Francisco Figueiredo Jr. 1e71ffa36f 2004-09-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs:
        GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.

svn path=/trunk/mcs/; revision=34405
2004-09-25 23:05:01 +00:00
Zoltan Varga 832b44d92b 2004-09-26 Zoltan Varga <[email protected]>
* icall.c (mono_create_icall_signature): Fix build.

svn path=/trunk/mono/; revision=34403
2004-09-25 21:13:02 +00:00
Zoltan Varga 2252b400e4 2004-09-25 Zoltan Varga <[email protected]>
* StringBuilder.cs (Append): Use InternalStrcpy to append char arrays.

svn path=/trunk/mcs/; revision=34402
2004-09-25 19:49:12 +00:00
Zoltan Varga 5f7b869f4d 2004-09-25 Zoltan Varga <[email protected]>
* icall.c: Add MakePointType icall.

	* icall.c (ves_icall_System_Text_Encoding_InternalCodePage): Fix
	warnings.

svn path=/trunk/mono/; revision=34401
2004-09-25 18:59:24 +00:00
Zoltan Varga d025ae955c 2004-09-25 Zoltan Varga <[email protected]>
* Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.

svn path=/trunk/mcs/; revision=34400
2004-09-25 18:54:29 +00:00
Zoltan Varga 35d89cef80 2004-09-25 Zoltan Varga <[email protected]>
* Module.cs: Add new 2.0 GetMethods and GetFields methods.

svn path=/trunk/mcs/; revision=34399
2004-09-25 18:29:37 +00:00
Zoltan Varga 4f2d725b42 2004-09-25 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Add IsCreated method.

svn path=/trunk/mcs/; revision=34398
2004-09-25 18:11:03 +00:00
Gonzalo Paniagua Javier da48560ea1 2004-09-25 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: reuse allocated slots in the queue.

svn path=/trunk/mono/; revision=34396
2004-09-25 17:57:59 +00:00
Francisco Figueiredo Jr. 8efe75eb7a 2004-09-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs:
        ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
        GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.

svn path=/trunk/mcs/; revision=34395
2004-09-25 17:54:27 +00:00
Zoltan Varga b5572b9b47 2004-09-25 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Add System.Reflection/ParameterInfoTest.

svn path=/trunk/mcs/; revision=34394
2004-09-25 16:45:27 +00:00
Zoltan Varga 7db58113f5 2004-09-25 Zoltan Varga <[email protected]>
* ParameterInfoTest.cs: New file.

svn path=/trunk/mcs/; revision=34393
2004-09-25 16:44:32 +00:00
Zoltan Varga c18ed9be96 2004-09-25 Zoltan Varga <[email protected]>
* MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
	parameters.

svn path=/trunk/mcs/; revision=34392
2004-09-25 16:36:34 +00:00
Zoltan Varga f017402d09 2004-09-25 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add GetPseudoCustomAttributes () method.

svn path=/trunk/mcs/; revision=34391
2004-09-25 16:35:35 +00:00
Zoltan Varga 00195671e4 2004-09-25 Zoltan Varga <[email protected]>
* test-254.cs: Fix test so it runs under NET 2.0.

svn path=/trunk/mcs/; revision=34390
2004-09-25 15:54:45 +00:00
Ben Maurer e14280267e 2004-09-25 Ben Maurer <[email protected]>
* HttpApplication.cs: Make sure requests are removed from
	the timeout manager. Fixes a major leak. #66751.

svn path=/trunk/mcs/; revision=34387
2004-09-25 14:47:34 +00:00
Zoltan Varga 7f534620a9 2004-09-25 Zoltan Varga <[email protected]>
* mini-amd64.h mini-amd64.c tramp-amd64.c: Allocate trampoline memory
	using the code manager.

svn path=/trunk/mono/; revision=34386
2004-09-25 14:24:01 +00:00
Zoltan Varga cb8fd4f834 2004-09-25 Zoltan Varga <[email protected]>
* mono-codeman.c (new_codechunk): Set malloc'ed code pages as
	executable.

svn path=/trunk/mono/; revision=34385
2004-09-25 14:21:29 +00:00
Jackson Harper 96f1bba931 Don't lock/enqueue/dequeue for unhandled messages. Gives us a nice little performance boost.
svn path=/trunk/mcs/; revision=34381
2004-09-24 20:57:33 +00:00
Zoltan Varga 69cbca7fda 2004-09-24 Zoltan Varga <[email protected]>
* MonoField.cs: Add GetFieldOffset.

svn path=/trunk/mcs/; revision=34380
2004-09-24 19:28:20 +00:00
Zoltan Varga 71f0403ddb 2004-09-24 Zoltan Varga <[email protected]>
* ObfuscationAttribute.cs: Add ApplyToMembers.

svn path=/trunk/mcs/; revision=34379
2004-09-24 19:26:46 +00:00
Zoltan Varga e3a84a8528 2004-09-24 Zoltan Varga <[email protected]>
* Assembly.cs: Add stub for ReflectionOnlyLoadFrom.

svn path=/trunk/mcs/; revision=34378
2004-09-24 19:19:56 +00:00
Zoltan Varga 0118ab2ddc 2004-09-24 Zoltan Varga <[email protected]>
* Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.

svn path=/trunk/mcs/; revision=34377
2004-09-24 19:17:07 +00:00
Zoltan Varga 64915e38b9 2004-09-24 Zoltan Varga <[email protected]>
* object-internals.h (MonoReflectionDllImportAttribute): New structure.

	* icall.c: Add new icalls for GetDllImportAttribute and GetFieldOffset.

svn path=/trunk/mono/; revision=34376
2004-09-24 19:09:31 +00:00
Zoltan Varga fbb55f7bef 2004-09-24 Zoltan Varga <[email protected]>
* FieldBuilder.cs: Add dummy GetFieldOffset method.

svn path=/trunk/mcs/; revision=34375
2004-09-24 19:06:33 +00:00
Zoltan Varga 7de18ce3d8 2004-09-24 Zoltan Varga <[email protected]>
* MonoMethod.cs FieldInfo.cs: Add GetPseudoAttributes () method.

svn path=/trunk/mcs/; revision=34374
2004-09-24 19:05:46 +00:00
Zoltan Varga cdc48434e0 2004-09-24 Zoltan Varga <[email protected]>
* MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
	methods and fields.

svn path=/trunk/mcs/; revision=34373
2004-09-24 19:04:34 +00:00
Zoltan Varga 3e2de4869c 2004-09-24 Zoltan Varga <[email protected]>
* DllImportAttribute.cs: Reorder fields and mark this class as visible
	to the runtime.

svn path=/trunk/mcs/; revision=34372
2004-09-24 19:03:13 +00:00
Zoltan Varga 06ffb1f003 2004-09-24 Zoltan Varga <[email protected]>
* AssemblyNameFlags.cs: Add LongevityUnspecified.

svn path=/trunk/mcs/; revision=34371
2004-09-24 18:49:51 +00:00
Zoltan Varga ed4c168991 2004-09-24 Zoltan Varga <[email protected]>
* MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
	custom attributes.

	* MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.

	* MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
	sealed' optimization.

svn path=/trunk/mcs/; revision=34370
2004-09-24 18:25:16 +00:00
Jackson Harper aa3e89b200 Add tab classes to the build
svn path=/trunk/mcs/; revision=34369
2004-09-24 18:02:34 +00:00
Jackson Harper 7a5d274a6b Partial implementation of the Tab Control and supporting classes. Initial checkin
svn path=/trunk/mcs/; revision=34368
2004-09-24 18:02:11 +00:00
Dick Porter 00c59cc36c 2004-09-24 Dick Porter <[email protected]>
* wapi-private.h:
	* sockets.c:
	* socket-private.h:
	* io.c:
	* io-private.h:
	* handles-private.h: Cope when a file descriptor is reused while
	the handle that thought it owned it is still referenced, instead
	of asserting.  Probably fixes bug 66479, though we've been unable
	to reproduce it.

svn path=/trunk/mono/; revision=34366
2004-09-24 17:01:44 +00:00
Zoltan Varga acdcb84158 2004-09-24 Zoltan Varga <[email protected]>
* reflection.h reflection.c (mono_reflection_get_custom_attrs): Revert
	previous change.

svn path=/trunk/mono/; revision=34363
2004-09-24 15:33:11 +00:00
Zoltan Varga 102543a11f 2004-09-24 Zoltan Varga <[email protected]>
* main.c: Add support for pinvoke flags BestFit and
	ThrowOnUnmappableChar.

svn path=/trunk/mono/; revision=34362
2004-09-24 15:13:42 +00:00
Zoltan Varga d41799746e 2004-09-24 Zoltan Varga <[email protected]>
* tabledefs.h: Add constants for pinvoke attributes BestFit and
	ThrowOnUnmappableChar.

svn path=/trunk/mono/; revision=34361
2004-09-24 15:08:23 +00:00
Carlos Guzmán Álvarez 5dc57b219d 2004-09-24 Carlos Guzman Alvarez <[email protected]>
* ContentType.cs: Implement initial support for the ClientHelloV2 message.
	* RecordProtocol.cs: Implement initial support for the ClientHelloV2 message.

svn path=/trunk/mcs/; revision=34360
2004-09-24 14:29:49 +00:00
Zoltan Varga dcc726bfe4 2004-09-24 Zoltan Varga <[email protected]>
* TypeTest.cs: Add test for StructLayoutAttribute.

svn path=/trunk/mcs/; revision=34357
2004-09-24 14:01:37 +00:00
Zoltan Varga d7364413cf 2004-09-24 Zoltan Varga <[email protected]>
* Type.cs: Implement 2.0 StructLayoutAttribute property.

	* Type.cs Add GetPseudoCustomAttributes () method.

svn path=/trunk/mcs/; revision=34356
2004-09-24 13:55:22 +00:00
Zoltan Varga 7d2ce98dbf 2004-09-24 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetPacking): New icall.

svn path=/trunk/mono/; revision=34355
2004-09-24 13:51:50 +00:00
Sanja Gupta 7adbf3441c ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new attribute class in System.Web.UI.

svn path=/trunk/mcs/; revision=34353
2004-09-24 13:25:07 +00:00
Sanja Gupta 5c9b0aed32 ChangeLog: Updated ChangeLog.
ControlValuePropertyAttribute.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34352
2004-09-24 13:23:28 +00:00
Sanja Gupta 449d34566e ChangeLog: Updated ChangeLog.
IPaginationContainer.cs: Corrected name of class.

svn path=/trunk/mcs/; revision=34350
2004-09-24 12:52:14 +00:00
Sanja Gupta 75e65231c5 ChangeLog: Updated ChangeLog.
IDReferencePropertyAttribute.cs: Completed implementation.

svn path=/trunk/mcs/; revision=34349
2004-09-24 12:46:31 +00:00
Sanja Gupta 8f5ed0c67f ChangeLog: Updated ChangeLog.
ThemeableAttribute.cs:
FilterableAttribute.cs: Code scrubbing and optimization.

svn path=/trunk/mcs/; revision=34348
2004-09-24 12:31:08 +00:00
Sureshkumar T 70c042f3f2 * DataSet.cs : Don't check constraints for dataset clear
* DataRowCollection.cs : check for EnforceConstraints flag
before checking foriegn key constraints in Clear method
* DataTable.cs : Redundant checking removed in Clear method as it is
checked in DataRowCollection.Clear method.

svn path=/trunk/mcs/; revision=34346
2004-09-24 11:55:42 +00:00
Sureshkumar T 6faa811729 (DataSetClearTest): Added a test for DataSet.Clear. This should not
throw any exception and should override constraints.

svn path=/trunk/mcs/; revision=34345
2004-09-24 11:23:47 +00:00
Marek Safar 3e6467abd3 WarningLevel = 2
svn path=/trunk/mcs/; revision=34344
2004-09-24 10:29:39 +00:00
Umadevi S 84f14a848a 2004-09-24 Umadevi S <[email protected]>
* SqlTransactionTest.cs -new file .unit testing for SqlTransaction

svn path=/trunk/mcs/; revision=34340
2004-09-24 09:58:25 +00:00
Umadevi S c813754f8d 2004-09-24 Umadevi S <[email protected]>
* SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.

svn path=/trunk/mcs/; revision=34339
2004-09-24 09:56:09 +00:00
Paolo Molaro bee40b8828 Enforce inline limit.
svn path=/trunk/mono/; revision=34338
2004-09-24 09:42:34 +00:00
Zoltan Varga fc521ea08d 2004-09-24 Zoltan Varga <[email protected]>
* tramp-amd64.c mini-amd64.h: Add suppor for MONO_ARCH_HAVE_INVALIDATE_METHOD.

svn path=/trunk/mono/; revision=34337
2004-09-24 09:06:15 +00:00
Marek Safar e08b40a641 2004-09-24 Marek Safar <[email protected]>
* cs-parser.jay: Reverted 642 warning fix.

svn path=/trunk/mcs/; revision=34336
2004-09-24 08:15:03 +00:00
Martin Baulig d253152fde Updated a bit.
svn path=/trunk/mcs/; revision=34335
2004-09-24 05:19:55 +00:00
Miguel de Icaza 753f165565 2004-09-23 Miguel de Icaza <[email protected]>
* main.c (dis_directive_assemblyref): Dump the locale and public
	key tokens

	* get.c (dis_stringify_object_with_class): Escape assembly name.

	* main.c (dis_directive_assemblyref): Escape assembly name

svn path=/trunk/mono/; revision=34333
2004-09-24 04:00:09 +00:00
Martin Baulig 43e16c55da 2004-09-24 Martin Baulig <[email protected]>
* convert.cs (Convert.ImplicitReferenceConversion): Added implicit
	type parameter conversions for type parameters which are known to
	be reference types.

svn path=/trunk/mcs/; revision=34332
2004-09-24 03:56:54 +00:00
Martin Baulig f1e6c211d6 2004-09-24 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(GenericTypeParameterBuilder.GetGenericParameterConstraints): Override.

svn path=/trunk/mcs/; revision=34331
2004-09-24 03:55:42 +00:00
Martin Baulig 3729684e3a 2004-09-24 Martin Baulig <[email protected]>
* Type.cs (Type.GetGenericParameterConstraints): New public method.

svn path=/trunk/mcs/; revision=34330
2004-09-24 03:55:06 +00:00
Martin Baulig d5e427d6b4 2004-09-24 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetGenericParameterConstraints): New interncall.

svn path=/trunk/mono/; revision=34329
2004-09-24 03:53:54 +00:00
Martin Baulig 3d8b806d7d 2004-09-24 Martin Baulig <[email protected]>
* generic.cs (GenericConstraints): Added `IsReferenceType' and
	`IsValueType' properties.

	* support.cs (ReflectionConstraints): Use
	Type.GetGenericParameterConstraints() instead of the old hack.

svn path=/trunk/mcs/; revision=34328
2004-09-24 03:48:19 +00:00
Martin Baulig 41abefe7e5 2004-09-24 Martin Baulig <[email protected]>
* generic.cs (ReflectionConstraints): Moved here and made it an
	abstract class.

	* support.cs (ReflectionConstraints): Moved to generic.cs.

svn path=/trunk/mcs/; revision=34327
2004-09-24 03:33:08 +00:00
Martin Baulig 6bf4a28847 2004-09-24 Martin Baulig <[email protected]>
* support.cs
	(ReflectionConstraints): Un-nested this class and made it public.

	* typemanager.cs
	(TypeManager.GetTypeParameterConstraints): New public method.
	(TypeManager.HasConstructorConstraint): Use the attributes.

svn path=/trunk/mcs/; revision=34326
2004-09-24 03:22:14 +00:00
Martin Baulig fb8eedf23c 2004-09-24 Martin Baulig <[email protected]>
* support.cs (GenericConstraints): Replaced `HasConstructor',
	`IsReferenceType' and `IsValueType' with `Attributes'.
	(ReflectionParameters.ReflectionConstraints): Removed the Create()
	method and made the .ctor public.

	* generic.cs (Constraints.Attributes): New public property.
	(Constraints): Renamed `HasConstructor' -> `HasConstructorConstraint',
	`IsReferenceType' -> `HasReferenceTypeConstraint' and
	`IsValueType' -> `HasValueTypeConstraint'.

svn path=/trunk/mcs/; revision=34325
2004-09-24 03:17:07 +00:00
Martin Baulig 593753a24e Fixed a typo.
svn path=/trunk/mcs/; revision=34324
2004-09-24 03:02:06 +00:00
Martin Baulig 4aa2465001 New test.
svn path=/trunk/mcs/; revision=34323
2004-09-24 02:52:18 +00:00
Francisco Figueiredo Jr. 93fd2fcb92 2004-09-23 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper.cs:
        ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.

svn path=/trunk/mcs/; revision=34322
2004-09-23 23:29:02 +00:00
Gonzalo Paniagua Javier f72e291cd4 2004-09-24 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs:
	* HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
	unloading.

svn path=/trunk/mcs/; revision=34318
2004-09-23 21:17:23 +00:00
Gonzalo Paniagua Javier 7acb5a77b0 2004-09-23 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	(mono_domain_set): allow setting a domain that is being unloaded.
	(mono_domain_unload): invoke the DomainUnload callbacks in the domain
	being unloaded.

svn path=/trunk/mono/; revision=34315
2004-09-23 20:59:50 +00:00
Marek Safar 6e7f42c4b0 2004-09-23 Marek Safar <[email protected]>
Fix bug #66615
	* decl.cs (FindMemberWithSameName): Indexer can have more than
	1 argument.

svn path=/trunk/mcs/; revision=34314
2004-09-23 20:30:17 +00:00
Marek Safar 90d536b3bb new test
svn path=/trunk/mcs/; revision=34313
2004-09-23 20:29:00 +00:00
Marek Safar 5149948ae1 2004-09-23 Marek Safar <[email protected]>
* expression.cs (LocalVariableReference.DoResolveLValue):
	Do not report warning 219 for out values.
	(EmptyExpression.Null): New member to avoid extra allocations.

	* rootcontext.cs: Warning 4 is back.

svn path=/trunk/mcs/; revision=34312
2004-09-23 19:47:46 +00:00
Marek Safar 2964e3dfa6 warning cleanup
svn path=/trunk/mcs/; revision=34311
2004-09-23 19:37:31 +00:00
Zoltan Varga be34477642 2004-09-23 Zoltan Varga <[email protected]>
* icall.c reflection.h reflection.c: Add a 'pseudo_attrs' argument to
	the GetCustomAttributes icall.

svn path=/trunk/mono/; revision=34310
2004-09-23 19:35:03 +00:00
Zoltan Varga 19de0d3348 2004-09-23 Zoltan Varga <[email protected]>
* MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
	GetCustomAttributesInternal and add a 'pseudoAttrs' argument.

svn path=/trunk/mcs/; revision=34309
2004-09-23 19:29:42 +00:00
Jackson Harper f18066f8db Temp build fixage
svn path=/trunk/mcs/; revision=34308
2004-09-23 19:08:59 +00:00
Zoltan Varga d51ac63600 2004-09-23 Zoltan Varga <[email protected]>
* Type.cs: Tweak Module property in 2.0 build.

svn path=/trunk/mcs/; revision=34307
2004-09-23 19:08:07 +00:00
Zoltan Varga fb510c077b 2004-09-23 Zoltan Varga <[email protected]>
* DynamicMethod.cs: Add MetadataToken property and tweak Module property.

svn path=/trunk/mcs/; revision=34306
2004-09-23 19:07:26 +00:00
Zoltan Varga db910d918c 2004-09-23 Zoltan Varga <[email protected]>
* Module.cs: Remove [MonoTODO] from ResolveMember.

	* MemberInfo.cs: Add 'Module' property.

svn path=/trunk/mcs/; revision=34305
2004-09-23 19:06:44 +00:00
Zoltan Varga 782160d69f 2004-09-23 Zoltan Varga <[email protected]>
* AssemblyFlagsAttribute.cs: Add 2.0 stuff.

	* Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
	to LoadWithPartialName on 2.0.

	* AssemblyNameFlags.cs: Add new 2.0 members.

	* FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.

svn path=/trunk/mcs/; revision=34304
2004-09-23 19:04:13 +00:00
Zoltan Varga f44bc14c50 2004-09-23 Zoltan Varga <[email protected]>
* ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.

svn path=/trunk/mcs/; revision=34303
2004-09-23 18:59:39 +00:00
Zoltan Varga 8c5b51efb1 2004-09-23 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add System.Reflection.ObfuscateAssemblyAttribute
	and System.Reflection.ObfuscationAttribute.

svn path=/trunk/mcs/; revision=34302
2004-09-23 18:58:32 +00:00
Martin Baulig 8a9ab82d5b 2004-09-23 Martin Baulig <[email protected]>
* generic.cs (Constraints): Reflect latest runtime changes.

svn path=/trunk/mcs/; revision=34301
2004-09-23 18:01:31 +00:00
Martin Baulig bc55703ccb 2004-09-23 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(GenericTypeParameterBuilder.SetGenericParameterAttributes): New
	public method, replaces the old Mono_* hacks.

svn path=/trunk/mcs/; revision=34300
2004-09-23 17:48:32 +00:00
Martin Baulig 29a53f099a 2004-09-23 Martin Baulig <[email protected]>
* object-internals.h (MonoReflectionGenericParam): Replaced
	'has_ctor_constraint', `has_reference_type' and `has_value_type'
	with `guint32 attrs'.

svn path=/trunk/mono/; revision=34299
2004-09-23 17:47:32 +00:00
Martin Baulig bf4cb8a0b8 Return the correct flags.
svn path=/trunk/mono/; revision=34298
2004-09-23 17:24:52 +00:00
Marek Safar 9e2b840a25 2004-09-23 Marek Safar <[email protected]>
* cs-parser.jay: Fix wrong warning 642 report.

	* cs-tokenizer.cs (CheckNextToken): New helper;
	Inspect next character if is same as expected.

svn path=/trunk/mcs/; revision=34297
2004-09-23 17:20:47 +00:00
Martin Baulig f31af55f6f 2004-09-23 Martin Baulig <[email protected]>
* Type.cs (Type.GenericParameterAttributes): New public property.

svn path=/trunk/mcs/; revision=34296
2004-09-23 17:11:00 +00:00
Martin Baulig 4e2108dc40 2004-09-23 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetGenericParameterAttributes): New interncall.

svn path=/trunk/mono/; revision=34295
2004-09-23 17:10:28 +00:00
Martin Baulig 75b9df1e02 2004-09-23 Martin Baulig <[email protected]>
* convert.cs (Convert.ImplicitReferenceConversion): Some code cleanup.
	(Convert.ImplicitReferenceConversionExists): Likewise.

svn path=/trunk/mcs/; revision=34294
2004-09-23 17:01:32 +00:00
Martin Baulig 8733535ab8 Ooops.
svn path=/trunk/mcs/; revision=34292
2004-09-23 16:48:02 +00:00
Sebastien Pouliot b9443cdda0 2004-09-23 Sebastien Pouliot <[email protected]>
* TlsClientKeyExchange.cs: Removed .Clear call on private key as itn't
	ours (but only a reference). It also requires the callback to recreate
	a new key object each time (which is worse). This also implies that
	the caller (implementing the callback) is responsible to clear it.

svn path=/trunk/mcs/; revision=34291
2004-09-23 16:44:25 +00:00
Marek Safar 5df1776250 new test
svn path=/trunk/mcs/; revision=34290
2004-09-23 16:39:17 +00:00
Martin Baulig e5110ba152 2004-09-23 Martin Baulig <[email protected]>
* object-internals.h (GenericParameterAttributes): New enum.

svn path=/trunk/mono/; revision=34289
2004-09-23 15:28:33 +00:00
Martin Baulig 57ab40ff94 New test.
svn path=/trunk/mcs/; revision=34288
2004-09-23 15:23:36 +00:00
Martin Baulig e7f0178cb0 2004-09-23 Martin Baulig <[email protected]>
* GenericParameterAttributes.cs: New file.

svn path=/trunk/mcs/; revision=34287
2004-09-23 15:23:18 +00:00
Martin Baulig 47be769683 Merged.
svn path=/trunk/mcs/; revision=34284
2004-09-23 14:15:31 +00:00
Martin Baulig fcdb7daa10 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=34283
2004-09-23 14:15:08 +00:00
Martin Baulig 6c33f8c361 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=34282
2004-09-23 13:59:45 +00:00
Lluis Sanchez 34a336c0ce * RemotingServices.cs: Fixed wrong patch for InternalExecuteMessage.
The MethodBase in the message may not be the same type of the object
	  (the method can be called using an interface).

svn path=/trunk/mcs/; revision=34280
2004-09-23 13:24:14 +00:00
Sebastien Pouliot 1a4d7572e8 2004-09-23 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version to 1.1.2 for next release.
	* MakeCert.cs: Hack for date parsing problem with Mono.

svn path=/trunk/mcs/; revision=34279
2004-09-23 13:23:31 +00:00
Sebastien Pouliot 95c2a5c48b 2004-09-23 Sebastien Pouliot <[email protected]>
* RecordProtocol.cs: Fix alert data that could leak into appplication
	data (e.g. when closing the SSL session).

svn path=/trunk/mcs/; revision=34278
2004-09-23 13:07:45 +00:00
Anirban Bhattacharjee 886c7dc49b 2004-09-23 Anirban Bhattacharjee <[email protected]>
* expression.cs: Enhanced mbas to resolve Default property or indexer

svn path=/trunk/mcs/; revision=34277
2004-09-23 12:31:15 +00:00
Zoltan Varga dda1b58849 2004-09-23 Zoltan Varga <[email protected]>
* EventInfo.cs: Fix 2.0 build.

svn path=/trunk/mcs/; revision=34276
2004-09-23 12:10:46 +00:00
Zoltan Varga cb75d5f53f 2004-09-23 Zoltan Varga <[email protected]>
* cpu-amd64.md: Fix bug in previous patch.

svn path=/trunk/mono/; revision=34275
2004-09-23 12:04:54 +00:00
Zoltan Varga ff31bb0f42 2004-09-23 Zoltan Varga <[email protected]>
* MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.

	* EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.

svn path=/trunk/mcs/; revision=34274
2004-09-23 11:50:20 +00:00
Zoltan Varga 09afe79323 2004-09-23 Zoltan Varga <[email protected]>
* object-internals.h (MonoEventInfo): Add 'other_methods' field.

	* class.c (init_events): Fill out event->other field.

	* class.c: Fix warnings.

	* icall.c (ves_icall_get_event_info): Fill out 'other_methods' field.

svn path=/trunk/mono/; revision=34273
2004-09-23 11:47:34 +00:00
Marek Safar d00466e814 new test
svn path=/trunk/mcs/; revision=34272
2004-09-23 11:46:38 +00:00
Marek Safar 542069f24a update
svn path=/trunk/mcs/; revision=34271
2004-09-23 11:40:55 +00:00
Marek Safar 35665411b8 2004-09-23 Marek Safar <[email protected]>
* class.cs (Operator.Define): Add error 448 and 559 report.

svn path=/trunk/mcs/; revision=34270
2004-09-23 11:29:25 +00:00
Marek Safar 54c8920da3 update
svn path=/trunk/mcs/; revision=34269
2004-09-23 10:15:00 +00:00
Zoltan Varga f2ffd01389 2004-09-23 Zoltan Varga <[email protected]>
* cpu-amd64.md: Fix instruction lengths of membase opcodes. Fixes
	#66650.

svn path=/trunk/mono/; revision=34268
2004-09-23 09:54:00 +00:00
Ravindra f2bf680e52 Updated sources list and project file.
svn path=/trunk/mcs/; revision=34267
2004-09-23 07:44:28 +00:00
Ravindra 9a75ce9b22 EventArgs and EventHandlers needed by ListView Control.
svn path=/trunk/mcs/; revision=34266
2004-09-23 07:39:19 +00:00
John Luke fea8d43b9c 2004-09-22 John Luke <[email protected]>
* outline.cs: use simpler IsDefined method
        for checking params and [Flags]

svn path=/trunk/mcs/; revision=34262
2004-09-22 22:40:11 +00:00
Peter Dennis Bartok 93ed26a2ba - Implemented DockPadding property
- Implemented AutoScroll property
- Implemented AutoScrollMargin property
- Implemented AutoScrollMinSize property
- Implemented AutoScrollPosition property
- Implemented DisplayRectangle property (still incomplete)
- Implemented CreateParams property
- Implemented HScroll property
- Implemented VScroll property
- Implemented OnVisibleChanged property

svn path=/trunk/mcs/; revision=34261
2004-09-22 20:12:45 +00:00
Peter Dennis Bartok a87a9f61ca - Added Form.ControllCollection class
- Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  RemoveOwnedForm (still incomplete, missing on-top and common
  minimize/maximize behaviour)
- Added StartPosition property (still incomplete, does not use when
  creating the form)
- Added ShowDialog() methods (still incomplete, missing forcing the dialog
  modal)

svn path=/trunk/mcs/; revision=34260
2004-09-22 20:09:44 +00:00
Peter Dennis Bartok b1ea207ac5 - Added message loop for modal dialogs
svn path=/trunk/mcs/; revision=34259
2004-09-22 20:05:41 +00:00
Peter Dennis Bartok 25b6a65fe8 - Fixed wrong types for events
svn path=/trunk/mcs/; revision=34258
2004-09-22 20:02:40 +00:00
Peter Dennis Bartok 3ce6a5ab40 - Fixed wrong values
svn path=/trunk/mcs/; revision=34257
2004-09-22 20:01:21 +00:00
Lluis Sanchez 687f6921c7 * ConstructionCall.cs: Added a Proxy property (which is the proxy that
will reference the object being created).
	* StackBuilderSink.cs: Take into account the forceInternalExecute
	  parameter.

svn path=/trunk/mcs/; revision=34255
2004-09-22 19:33:18 +00:00
Lluis Sanchez 25d2bc422a * RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
be used as "this" for method calls.

svn path=/trunk/mcs/; revision=34254
2004-09-22 19:32:49 +00:00
Lluis Sanchez d1be134bf4 * Context.cs: In CreateServerObjectSinkChain, added a parameter to
specify that messages must be dispatched to the target object using
	  InternalExecute. Usually if the target is a proxy, the sink uses
	  RealProxy.Invoke to dispatch the method. This can't be done for local
	  CBOs since we would loop for ever.

svn path=/trunk/mcs/; revision=34253
2004-09-22 19:32:13 +00:00
Lluis Sanchez 1c0aace75f * ActivationServices.cs: In Activate, assign the proxy to the ctor
message. In CreateInstanceFromMessage if the object being created
	  is a CBO, use the provided proxy as "this" when calling the ctor.

svn path=/trunk/mcs/; revision=34252
2004-09-22 19:31:25 +00:00
Lluis Sanchez d1c4ebe91a * RemotingServices.cs: In InternalExecute, use MethodBase instead
of MonoMethod, so it can be also used for running constructors.
	* ServerIdentity.cs: Added methods for getting and setting the client
	  proxy in ClientActivatedIdentity. This is needed for CBOs, since
	  messages need to be dispatched using the proxy as "this", not the
	  real object.

svn path=/trunk/mcs/; revision=34251
2004-09-22 19:30:55 +00:00
César Natarén 4a782de9fa 2004-09-22 Cesar Lopez Nataren <[email protected]>
* expression.cs: Binary, use ResolveFieldAccess only in case the operator is JSToken.AccessField.

svn path=/trunk/mcs/; revision=34250
2004-09-22 19:28:27 +00:00
César Natarén 2836fc532e 2004-09-22 Cesar Lopez Nataren <[email protected]>
* Parser.cs: use ToJSToken to set the operator properly.

svn path=/trunk/mcs/; revision=34249
2004-09-22 19:19:13 +00:00
César Natarén 6f34e1b87e 2004-09-22 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: delete spaces.

svn path=/trunk/mcs/; revision=34248
2004-09-22 19:17:15 +00:00
Lluis Sanchez 5bda6f1f2c * ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
thread fails. Added a timeout to active waits.

svn path=/trunk/mcs/; revision=34247
2004-09-22 19:06:50 +00:00
Jackson Harper 294f339d9f Text is never null
svn path=/trunk/mcs/; revision=34246
2004-09-22 18:01:28 +00:00
Marek Safar 3708ba82d6 update
svn path=/trunk/mcs/; revision=34245
2004-09-22 17:42:39 +00:00
Marek Safar f72c67dd4a 2004-09-22 Marek Safar <[email protected]>
* class.cs (MemberBase.IsTypePermitted): New protected
	method for checking error CS0610.

svn path=/trunk/mcs/; revision=34244
2004-09-22 17:40:50 +00:00
Paolo Molaro 2f9883ad90 Fixed some code style issues.
svn path=/trunk/mono/; revision=34243
2004-09-22 17:14:53 +00:00
Martin Baulig b9aed60953 New test, not yet working.
svn path=/trunk/mcs/; revision=34242
2004-09-22 16:54:45 +00:00
Marek Safar 6270a2c6f4 update
svn path=/trunk/mcs/; revision=34241
2004-09-22 16:37:49 +00:00
Martin Baulig a411ac22d0 2004-09-22 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.LookupGenericTypeContainer): New
	public method; like LookupTypeContainer, but also works for
	generic instances.

	* report.cs (Report.SymbolRelatedToPreviousError): Use
	TypeManager.LookupGenericTypeContainer().

svn path=/trunk/mcs/; revision=34240
2004-09-22 16:33:42 +00:00
Marek Safar a0da14a754 2004-09-22 Marek Safar <[email protected]>
* class.cs (TypeContainer.HasExplicitLayout): New property
	Returns whether container has StructLayout attribute set Explicit.
	(FieldMember): New abstract class for consts and fields.
	(FieldMember.ApplyAttributeBuilder): Add error 636 and 637 report.
	(Field): Reuse FieldMember.

	* const.cs (Const): Reuse FieldMember.

	* rootcontext.cs: EmitConstants call moved to class.

svn path=/trunk/mcs/; revision=34239
2004-09-22 16:32:53 +00:00
Martin Baulig 083ab573a2 2004-09-22 Martin Baulig <[email protected]>
* test-298.cs: New test, already in gmcs.

svn path=/trunk/mcs/; revision=34238
2004-09-22 16:23:49 +00:00
Martin Baulig 7a8aa4f2f5 2004-09-22 Martin Baulig <[email protected]>
Thanks to Peter Sestoft for this bug report.

	* expression.cs (Conditional): If both the `trueExpr' and the
	`falseExpr' is a NullLiteral, return a NullLiteral.

svn path=/trunk/mcs/; revision=34237
2004-09-22 16:22:37 +00:00
Martin Baulig a531473ccb 2004-09-22 Martin Baulig <[email protected]>
* gen-78.cs: New test for #65521.

svn path=/trunk/mcs/; revision=34232
2004-09-22 16:02:46 +00:00
Martin Baulig e709ae578c 2004-09-22 Martin Baulig <[email protected]>
* statement.cs (Foreach.EmitCollectionForeach): If we're in an
	iterator, use `enumerator.EmitThis()' instead of `ec.EmitThis()'
	for the "get_Current" call.

svn path=/trunk/mcs/; revision=34231
2004-09-22 16:00:40 +00:00
Paolo Molaro 1cd75bf4df Wed Sep 22 19:06:02 CEST 2004 Paolo Molaro <[email protected]>
* interp.c: updates for stack walk interface.

svn path=/trunk/mono/; revision=34230
2004-09-22 15:53:43 +00:00
Paolo Molaro 70c925675d Wed Sep 22 19:03:20 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
	mini-exceptions.c: updates for changed stack walk interface.

svn path=/trunk/mono/; revision=34229
2004-09-22 15:53:29 +00:00
Paolo Molaro f8a82c8db3 Wed Sep 22 19:04:32 CEST 2004 Paolo Molaro <[email protected]>
* class-internals.h, icall.c, loader.c, loader.h: added a faster stack
	walk which doesn't supply the IL offset.

svn path=/trunk/mono/; revision=34228
2004-09-22 15:53:26 +00:00
Martin Baulig 4cde264176 Somehow this line disappeared during one of the last mergings ...
svn path=/trunk/mcs/; revision=34227
2004-09-22 15:42:33 +00:00
Martin Baulig 3e651f5b22 Updated.
svn path=/trunk/mcs/; revision=34226
2004-09-22 15:23:50 +00:00
Martin Baulig 8df7ff4e2c 2004-09-22 Martin Baulig <[email protected]>
* Makefile: Added some Makefile love :-)

svn path=/trunk/mcs/; revision=34225
2004-09-22 15:10:05 +00:00
Atsushi Eno 7866795d55 2004-09-22 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : handle xdt:* types in FromName().

svn path=/trunk/mcs/; revision=34224
2004-09-22 15:09:04 +00:00
Atsushi Eno 06bf78f60e 2004-09-22 Atsushi Enomoto <[email protected]>
* SequenceType.cs : return TypedValue instead of null in case of
	  XPathNavigator.
	* XPath2Expression.cs : now FunctionCallExpr also handles evaluation.
	* XPathSequence.cs : rewrote FLWORIterator to iterate forlet
	  expressions based on index.

svn path=/trunk/mcs/; revision=34223
2004-09-22 15:07:58 +00:00
Martin Baulig d3ca7177bf 2004-09-22 Martin Baulig <[email protected]>
Marek and me just fixed one of our oldest bugs: #28562 :-)

	* ecore.cs (EnumConstant.GetValueAsEnumType): New public method.

	* attribute.cs (Attribute.GetAttributeArgumentExpression): If
	we're an EnumConstant, just return that.
	(Attribute.Resolve): GetAttributeArgumentExpression() may give us
	an EnumConstant.  In this case, we need to use GetValueAsEnumType()
	to get the value which'll actually be written into the attribute.
	However, we have to use GetValue() to access the attribute's value
	in the compiler.

svn path=/trunk/mcs/; revision=34221
2004-09-22 13:56:41 +00:00
Zoltan Varga b59ff7ce21 2004-09-22 Zoltan Varga <[email protected]>
* ModuleTest.cs: Add tests for NET 2.0 ResolveXXX methods.

svn path=/trunk/mcs/; revision=34218
2004-09-22 13:05:24 +00:00
Marek Safar 1f6eb1792a 2004-09-22 Marek Safar <[email protected]>
* constant.cs (Constant.IsNegative): New abstract property
	IsNegative.

	* expression.cs (ArrayAccess.DoResolve): Add warning 251.
	(StackAlloc.DoResolve): Reused IsNegative.

svn path=/trunk/mcs/; revision=34217
2004-09-22 13:02:11 +00:00
Martin Baulig f9e173275c 2004-09-22 Martin Baulig <[email protected]>
* test-297.cs: New test for #28562.

svn path=/trunk/mcs/; revision=34215
2004-09-22 12:48:01 +00:00
Martin Baulig 562af229ed 2004-09-22 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): If we're
	System.ValueType, System.Object or System.Enum, set
	`klass->instance_size' and create the vtable.
	(mono_reflection_create_internal_class): If we're an enum type,
	get the base class from our current corlib.

svn path=/trunk/mono/; revision=34214
2004-09-22 12:46:03 +00:00
Zoltan Varga 76f99d3526 2004-09-22 Zoltan Varga <[email protected]>
* Module.cs: Implement net 2.0 ResolveXXX methods.

	* Module.cs (resolve_token_exception): Fix type of exception thrown.

svn path=/trunk/mcs/; revision=34213
2004-09-22 12:45:46 +00:00
Zoltan Varga fc6f9926c3 2004-09-22 Zoltan Varga <[email protected]>
* Module.cs: Implement net 2.0 ResolveXXX methods.

svn path=/trunk/mcs/; revision=34212
2004-09-22 12:36:35 +00:00
Zoltan Varga a012f05a58 2004-09-22 Zoltan Varga <[email protected]>
* ModuleHandle.cs: Updated after changes to Module class.

svn path=/trunk/mcs/; revision=34211
2004-09-22 12:36:09 +00:00
Zoltan Varga fcf5f95511 2004-09-22 Zoltan Varga <[email protected]>
* reflection.h (MonoResolveTokenError): New type.

	* icall.c (ves_icall_System_Reflection_Module_ResolveMemberToken): New
	icall.

	* icall.c: Add an 'error' argument to the ResolveToken icalls.

svn path=/trunk/mono/; revision=34210
2004-09-22 12:33:04 +00:00
Sebastien Pouliot b405ec4492 2004-09-22 Sebastien Pouliot <[email protected]>
* RandomTest.cs: Commented test CompareWithMS following constants
	changes in Mono implementation (to use Knuth's constants).

svn path=/trunk/mcs/; revision=34209
2004-09-22 12:06:46 +00:00
Sebastien Pouliot d0fde8edcd 2004-09-22 Sebastien Pouliot <[email protected]>
* SHA224Test.cs: Fix compilation error with NUnit 2.1.91 (CVS).

svn path=/trunk/mcs/; revision=34207
2004-09-22 11:05:21 +00:00
Lluis Sanchez 783c233fca * icall.c: Support ContextBoundObject proxies in ves_icall_InternalExecute.
Support also calling constructors, but only for already allocated objects

svn path=/trunk/mono/; revision=34205
2004-09-22 10:44:13 +00:00
Miguel de Icaza 31c460bc77 Flush
svn path=/trunk/mono/; revision=34192
2004-09-21 21:31:22 +00:00
Geoff Norton 9719257901 OSX doesn't have O_SYNC; check to make sure O_SYNC is defined before compiling this part. Lets mono build on OSX again.
svn path=/trunk/mono/; revision=34191
2004-09-21 21:30:12 +00:00
Miguel de Icaza b33a805f58 pain
svn path=/trunk/mcs/; revision=34186
2004-09-21 18:14:10 +00:00
Miguel de Icaza 8f9bfb613a Add -g
svn path=/trunk/mcs/; revision=34185
2004-09-21 18:01:14 +00:00
Geoff Norton 9f4822fa6c Adding test case for bug #63841
svn path=/trunk/mcs/; revision=34182
2004-09-21 17:43:05 +00:00
Neale Ferguson b0c0dddcc0 Cater for Linux on S/390 in configure. Enable build by updating rule for .mdb
objects

svn path=/trunk/mono/; revision=34178
2004-09-21 16:32:35 +00:00
Neale Ferguson 3d3b5d6cde Minor OP_ARGLIST changes
svn path=/trunk/mono/; revision=34177
2004-09-21 16:27:21 +00:00
Martin Baulig 0bbb5a8b19 2004-09-21 Martin Baulig <[email protected]>
* test-295.cs: Added Geoff Norton's patch for #62984.

svn path=/trunk/mcs/; revision=34176
2004-09-21 15:52:07 +00:00
Martin Baulig e90e84ff61 Committing Geoff Norton's patch for #62984.
2004-09-17  Geoff Norton <[email protected]>

	* reflection.c (type_get_qualified_name): If the klass is null
	return the typename to avoid a NullRefEx.
	(encode_cattr_value): Get the qualified name of the boxed type,
	not the underlying enumtype.  Fixes #62984.

svn path=/trunk/mono/; revision=34175
2004-09-21 15:47:23 +00:00
Martin Baulig ecc659a8ef Merged again.
svn path=/trunk/mcs/; revision=34174
2004-09-21 15:17:54 +00:00
Martin Baulig beb2c3252c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=34173
2004-09-21 15:17:34 +00:00
Martin Baulig 95231dcd8b 2004-09-21 Martin Baulig <[email protected]>
* codegen.cs (VariableStorage): Don't store the ILGenerator here;
	if we're used in an iterator, we may be called from different
	methods.

	* statement.cs (Foreach.EmitFinally): Only emit an `Endfinally' if
	we actually have an exception block.

svn path=/trunk/mcs/; revision=34171
2004-09-21 14:27:32 +00:00
Zoltan Varga 937b30aa46 2004-09-21 Zoltan Varga <[email protected]>
* marshal.c: Fix problems with previous checkin.

svn path=/trunk/mono/; revision=34166
2004-09-21 13:10:45 +00:00
Anirban Bhattacharjee 09bf99a95f 2004-09-21 Anirban Bhattacharjee <[email protected]>
* EventF.vb: Modified
        * EventI.vb: New test
        * Test.Sources: Modified

svn path=/trunk/mcs/; revision=34165
2004-09-21 13:02:12 +00:00
Zoltan Varga 347ab4483b 2004-09-21 <[email protected]>
* marshal.h marshal.c icall.c: Add new icalls for Alloc/FreeHGlobal. Change the
	existing mono_marshal_alloc/free functions to use CoTaskMemAlloc/Free under windows.

	* marshal.c: Allocate marshaller memory using mono_marshal_alloc/free.

svn path=/trunk/mono/; revision=34164
2004-09-21 12:58:43 +00:00
Anirban Bhattacharjee 0181cc6c73 2004-09-21 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Fixed bug #66231 -
         Now, Me.SubName, MyBase.SubName or any other qualified name
         is supported by AddressOf operator

svn path=/trunk/mcs/; revision=34162
2004-09-21 12:57:09 +00:00
Zoltan Varga ad73d2f22f 2004-09-21 <[email protected]>
* libtest.c: Free memory using CoTaskMemFree on windows.
	* libtest.c (mono_test_stdcall_name_mangling): Remove declspec(dllimport).

svn path=/trunk/mono/; revision=34161
2004-09-21 12:56:24 +00:00
Zoltan Varga ddd104de71 2004-09-21 Zoltan Varga <[email protected]>
* libtest.c (mono_test_stdcall_name_mangling): Add test for stdcall
	name mangling on windows.

svn path=/trunk/mono/; revision=34160
2004-09-21 12:44:21 +00:00
Zoltan Varga f0f8afae09 2004-09-21 <[email protected]>
* configure.in: Link with ole32 on windows.

svn path=/trunk/mono/; revision=34159
2004-09-21 11:25:18 +00:00
Sanja Gupta 52c980e8e1 ChangeLog: Updated ChangeLog.
FormViewUpdatedEventArgs.cs: Spelling mistake.

svn path=/trunk/mcs/; revision=34158
2004-09-21 11:23:09 +00:00
Lluis Sanchez 652840c106 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
when reading a primitive value in encoded format using
	  ReadReferencingElement, provide the type name and namespace
	  since the xsi type may not be present in the xml element. This
	  fixes bug #65929.

svn path=/trunk/mcs/; revision=34157
2004-09-21 09:59:17 +00:00
César Natarén fd095eab06 2004-09-21 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: check for parent being a ScriptBlock.

svn path=/trunk/mcs/; revision=34156
2004-09-21 07:54:01 +00:00
Raja R Harinath 367078baed Print 'IGNORED' when a test is ignored.
svn path=/trunk/mcs/; revision=34155
2004-09-21 04:55:50 +00:00
Raja R Harinath 7a5e0df1f9 (net20bootstrapcorlib): Rename from net20bootstraplib.
Build 'mscorlib.dll' using the 'net_2_0_bootstrap' profile.
(net20bootstrapSystem): New.  Build 'System.dll' using the
'net_2_0_bootstrap' profile.
($(gmcs)): Depend on both the above.
(CLEAN_FILES) [PROFILE=net_2_0]: Clean the 'net_2_0_bootstrap'
profile and 'gmcs' too.

svn path=/trunk/mcs/; revision=34154
2004-09-21 04:54:48 +00:00
Raja R Harinath c1375b2791 (lib_file) [PROFILE=net_2_0]: New test. Use
net_2_0_bootstrap libraries if necessary.
($(the_lib)): Don't depend on a phony target.  Move 'echo-warning' ...
(all-local): ... here.  Will now warn unnecessarily, but is better
than rebuilding the library each time.

svn path=/trunk/mcs/; revision=34153
2004-09-21 04:54:25 +00:00
Raja R Harinath 7210f8f2d6 (AssemblyVersion): Define to 2.0.x when
BOOTSTRAP_NET_2_0 is defined.

svn path=/trunk/mcs/; revision=34152
2004-09-21 04:54:03 +00:00
Raja R Harinath 4cd13e7617 New file.
svn path=/trunk/mcs/; revision=34151
2004-09-21 04:53:32 +00:00
Raja R Harinath 47d275abbb (DIST_ONLY_SUBDIRS): Add 'gmcs' since it is specially
handled by 'class/corlib/Makefile'.
(test-installed-compiler): Run compiler tests using the installed
compiler.

svn path=/trunk/mcs/; revision=34150
2004-09-21 04:53:09 +00:00
Peter Dennis Bartok fc05e321a0 - Fixed accessibility level for Idle handler
svn path=/trunk/mcs/; revision=34148
2004-09-21 04:14:29 +00:00
Geoff Norton 46c8139197 2004-09-21 Geoff Norton <[email protected]>
* icall.c (ves_icall_MonoType_GetElementType): GetElementType
        should only return a type for pointers, arrays, and passbyref types.
        Fixes bug #63841.

svn path=/trunk/mono/; revision=34147
2004-09-21 04:02:20 +00:00
Geoff Norton ce9a98b6a9 2004-09-21 Geoff Norton <[email protected]>
* Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
        this filter. Fixes bug #65778.

svn path=/trunk/mcs/; revision=34145
2004-09-21 03:56:00 +00:00
Raja R Harinath 70763cb8f8 (the_mdb): Fix.
(library_CLEAN_FILES): Add the new test results files too.

svn path=/trunk/mcs/; revision=34143
2004-09-21 03:34:51 +00:00
Martin Baulig 9c9795ef44 2004-09-21 Martin Baulig <[email protected]>
* gen-77.cs: New test for #66014.

svn path=/trunk/mcs/; revision=34139
2004-09-21 01:16:42 +00:00
Martin Baulig db796f5b7c 2004-09-21 Martin Baulig <[email protected]>
* convert.cs (Convert.ImplicitReferenceConversion): When
	converting to an interface type, first check whether we're
	converting from a reference type.

svn path=/trunk/mcs/; revision=34138
2004-09-21 01:13:50 +00:00
Jackson Harper 3b20b6c442 New message loop that uses poll so we don't get a busy loop
svn path=/trunk/mcs/; revision=34137
2004-09-21 00:54:15 +00:00
Martin Baulig aa84b79d6c Oooops.
svn path=/trunk/mono/; revision=34136
2004-09-21 00:42:47 +00:00
César Natarén a97aa3558f good bye antlr
svn path=/trunk/mcs/; revision=34135
2004-09-20 23:57:30 +00:00
César Natarén 28f9a93fd2 remove antlr stuff.
svn path=/trunk/mcs/; revision=34134
2004-09-20 23:53:09 +00:00
César Natarén 689e4c844e remove antlr stuff.
svn path=/trunk/mcs/; revision=34133
2004-09-20 23:46:13 +00:00
César Natarén 334245e874 remove antl stuff.
svn path=/trunk/mcs/; revision=34132
2004-09-20 23:44:23 +00:00
César Natarén 44c912898f remove antlr stuff
svn path=/trunk/mcs/; revision=34131
2004-09-20 23:43:32 +00:00
César Natarén 29f3db7ed5 delete files generated by antlr.
svn path=/trunk/mcs/; revision=34130
2004-09-20 23:35:09 +00:00
César Natarén 5ca89edf5e changelog entries
svn path=/trunk/mcs/; revision=34129
2004-09-20 23:18:48 +00:00
César Natarén 0d9673aa6e * CodeGenerator.cs: fixes for fall_true & fall_false for taking care of ast when is a Expre\ssion.
svn path=/trunk/mcs/; revision=34128
2004-09-20 23:17:28 +00:00
César Natarén eda00052a1 * IdentificationTable.cs: added method Remove.
svn path=/trunk/mcs/; revision=34127
2004-09-20 23:16:47 +00:00
César Natarén e08f20b1c3 * JSFunctionAttribute.cs: added fields value and built_in_function
so we can decide when a method is really a built in.

svn path=/trunk/mcs/; revision=34126
2004-09-20 23:16:27 +00:00
César Natarén 6245f90812 * MathObject.cs: added internal constructor.
svn path=/trunk/mcs/; revision=34125
2004-09-20 23:16:01 +00:00
César Natarén df60be8921 * Parser.cs:fixes to keep track of the inheritance chain.
svn path=/trunk/mcs/; revision=34124
2004-09-20 23:15:40 +00:00
César Natarén e7cb543f36 * Relational.cs: added code generation for ops instanceof and
svn path=/trunk/mcs/; revision=34123
2004-09-20 23:15:06 +00:00
César Natarén ba2df53441 * SemanticAnalizer.cs: added hash global_env and
IdentificationTable label_set for keeping track of global methods and
        label sets. Added static constructor, method BuildGlobalEnv,
        ImplementationName, ObjectSystemContains, AddLabel, ContainsLabel,
        GetLabel, RemoveLabel.

svn path=/trunk/mcs/; revision=34122
2004-09-20 23:14:45 +00:00
César Natarén aded8a0417 * Statement.cs: Added abstract class Jump of which Continue and
Break inherit, checks the label stuff. Added checks for Label
        stuff to Continue and Break classes. Added method Init for
        DoWhile. Fixes for loops statements in order to be able for have
        nested loops. Initial support for Label statements.

svn path=/trunk/mcs/; revision=34121
2004-09-20 23:14:20 +00:00
César Natarén d08f81d9e4 * SymbolTable.cs: added method Remove.
svn path=/trunk/mcs/; revision=34120
2004-09-20 23:13:51 +00:00
César Natarén a08eb0810a * ast.cs: added check for parent equal to ScriptBlock.
svn path=/trunk/mcs/; revision=34119
2004-09-20 23:13:20 +00:00
César Natarén 26eaed5e82 * expression.cs: added semantic analysis for accessing fields on
class Binary. Semantic Analysis for Calls it takes care of
        constructors and methods, added invocation code for built in
        methods. Added interface IAccesible that let us resolve the '.'
        operator. Class Args handles missing or surplus arguments. Added
        class BuiltIn which will take care of all builtins of ECMAScript.

svn path=/trunk/mcs/; revision=34118
2004-09-20 23:12:56 +00:00
Martin Baulig 6bf5207c4e 2004-09-21 Martin Baulig <[email protected]>
* main.c (main): If just a single assembly was specified, use the
	runtime version it requires.

svn path=/trunk/mono/; revision=34117
2004-09-20 23:04:50 +00:00
Martin Baulig edc329d672 2004-09-21 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoDebuggerSupport.CheckRuntimeVersion): New
	public method.

svn path=/trunk/mcs/; revision=34114
2004-09-20 23:02:44 +00:00
Martin Baulig 8e71452c84 2004-09-21 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.

svn path=/trunk/mcs/; revision=34113
2004-09-20 23:01:58 +00:00
Martin Baulig 4aae124931 2004-09-21 Martin Baulig <[email protected]>
* domain.c (mono_debugger_check_runtime_version): New public
	function.

	* icall.c (ves_icall_MonoDebugger_check_runtime_version): New icall.

svn path=/trunk/mono/; revision=34112
2004-09-20 23:01:16 +00:00
César Natarén 6b409ab63a 2004-09-20 Cesar Lopez Nataren <[email protected]>
* Microsoft.JScript.dll.sources: drop antlr dependency.

svn path=/trunk/mcs/; revision=34104
2004-09-20 21:49:53 +00:00
Sebastien Pouliot babb0660b1 2004-09-20 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: Fixed assembly-level permissions. I don't know
	why I splitted them all into individual entries when only a single set
	is accepted for each security action :(.

svn path=/trunk/mcs/; revision=34103
2004-09-20 20:56:00 +00:00
Gert Driesen 658293d599 * System.dll.sources: Moved ReadOnlyCollection.cs and Collection.cs
from corlib to System.Collections.Generic in System assembly

svn path=/trunk/mcs/; revision=34101
2004-09-20 19:19:28 +00:00
Gert Driesen 7eeddc0328 * ReadOnlyCollection.cs: Moved over from corlib
* Collection.cs: Moved over from corlib

svn path=/trunk/mcs/; revision=34100
2004-09-20 19:18:58 +00:00
Gert Driesen 6bcb854d93 * corlib.dll.sources: Removed ReadOnlyCollections.cs and Collection.cs
from corlib System.Collections.Generics to System assembly

svn path=/trunk/mcs/; revision=34099
2004-09-20 19:16:21 +00:00
Gert Driesen 6b1ee037b0 * ReadOnlyCollection.cs: Moved to System assembly
* Collection.cs: Moved to System assembly

svn path=/trunk/mcs/; revision=34098
2004-09-20 19:14:57 +00:00
Jackson Harper 42541bb988 * support/map.c/h: Add poll events map functions. Use values
instead of names for defines.

svn path=/trunk/mono/; revision=34096
2004-09-20 18:44:18 +00:00
Gert Driesen 55e02abcc4 * XmlValidatingReader.cs: Added deprecation message.
svn path=/trunk/mcs/; revision=34095
2004-09-20 18:21:55 +00:00
Martin Baulig 3eb35a4831 Updated.
svn path=/trunk/mcs/; revision=34092
2004-09-20 16:41:34 +00:00
Sebastien Pouliot 56a13be590 2004-09-20 Sebastien Pouliot <[email protected]>
* reflection.c: Added missing sort to the declarative security
	attributes table. MS implementation stops seeing the attributes if the
	token number regress in the table (as shown by ildasm and permview).

svn path=/trunk/mono/; revision=34091
2004-09-20 16:05:46 +00:00
Miguel de Icaza 3cdb97dd43 2004-09-20 John Luke <[email protected]>
* class.cs, cs-parser.jay: Improve the error report for 1520:
	report the actual line where the error happens, not where the
	class was declared.

svn path=/trunk/mcs/; revision=34088
2004-09-20 15:38:28 +00:00
Miguel de Icaza 0dface6788 2004-09-20 John Luke <[email protected]>
* assign.cs, delegate.cs, ecore.cs, expression.cs, statement.cs:
	Pass location information that was available elsewhere.

svn path=/trunk/mcs/; revision=34087
2004-09-20 15:36:26 +00:00
Raja R Harinath feabb2a771 Profile for bootstraping the GMCS compiler.
svn path=/trunk/mcs/; revision=34086
2004-09-20 12:08:40 +00:00
Zoltan Varga 7bb4bd6967 2004-09-20 Zoltan Varga <[email protected]>
* object-internals.h (MonoReflectionModule): Add 'token' field.

svn path=/trunk/mono/; revision=34085
2004-09-20 11:29:37 +00:00
Zoltan Varga 679fe90d18 2004-09-20 Zoltan Varga <[email protected]>
* AssemblyTest.cs: Add tests for MetadataToken and ManifestModule.

svn path=/trunk/mcs/; revision=34084
2004-09-20 11:23:14 +00:00
Zoltan Varga 02e4a0987b 2004-09-20 Zoltan Varga <[email protected]>
* object-internals.h (MonoReflectionModule): Add 'token' field.

	* reflection.c (mono_reflection_get_token): Add support for Module
	and Assembly.
	(mono_module_get_object): Set 'token' field.
	(mono_module_file_get_object): Set 'token' field.

	* icall.c: Add new Assembly and Module icalls.

svn path=/trunk/mono/; revision=34083
2004-09-20 11:14:13 +00:00
Zoltan Varga 8b0284d70c 2004-09-20 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=34082
2004-09-20 11:10:54 +00:00
Zoltan Varga 7aa9a55f4a 2004-09-20 Zoltan Varga <[email protected]>
* Assembly.cs: Implement 2.0 reflection properties.

	* Module.cs: Implement 2.0 reflection properties. Add 'token' field.

svn path=/trunk/mcs/; revision=34081
2004-09-20 11:10:00 +00:00
Ravindra 917ec397b8 Added a note to Guidelines.
svn path=/trunk/mcs/; revision=34080
2004-09-20 05:41:41 +00:00
Sebastien Pouliot 0a1757c683 2004-09-19 Sebastien Pouliot <[email protected]>
* codegen.cs: Fix bug #56621. It is now possible to use MCS on the MS
	runtime to delay sign assemblies.

svn path=/trunk/mcs/; revision=34076
2004-09-20 00:25:52 +00:00
Sebastien Pouliot 0e2007a6b5 2004-09-19 Alexis Christoforides <[email protected]>
* CodeGroup.cs: Changed AddChild() to add a copy of the child, like
	the MS implementation.
	* UnionCodeGroup.cs: Resolve() will now perform union on child code
	groups.
	* FileCodeGroup.cs: Resolve() will now perform union on child code
	groups.
	* NetCodeGroup.cs: Resolve() will now perform union on child code
	groups.

svn path=/trunk/mcs/; revision=34075
2004-09-20 00:00:14 +00:00
Sebastien Pouliot e2740655bb 2004-09-19 Alexis Christoforides <[email protected]>
* UnionCodeGroupTest.cs: Added ResolveWithChildren test.

svn path=/trunk/mcs/; revision=34074
2004-09-19 23:57:35 +00:00
Zoltan Varga eec373bbc2 2004-09-19 Zoltan Varga <[email protected]>
* PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
	under 1.0.

svn path=/trunk/mcs/; revision=34071
2004-09-19 14:55:06 +00:00
Zoltan Varga f58406ebc3 2004-09-19 Zoltan Varga <[email protected]>
* ModuleHandleTest.cs: New file.

svn path=/trunk/mcs/; revision=34070
2004-09-19 14:41:15 +00:00
Zoltan Varga 7802cedf5b 2004-09-19 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Added System/ModuleHandleTest.

svn path=/trunk/mcs/; revision=34069
2004-09-19 14:39:00 +00:00
Zoltan Varga f0279c8e11 2004-09-19 Zoltan Varga <[email protected]>
* MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.

	* Module.cs: Add ModuleHandle property and new icalls.

svn path=/trunk/mcs/; revision=34068
2004-09-19 14:36:11 +00:00
Zoltan Varga 59b22d42b3 2004-09-19 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System/ModuleHandle.

svn path=/trunk/mcs/; revision=34067
2004-09-19 14:34:00 +00:00
Zoltan Varga 5015881786 2004-09-19 Zoltan Varga <[email protected]>
* ModuleHandle.cs: New file.

	* RuntimeFieldHandle.cs: Add an internal ctor.

svn path=/trunk/mcs/; revision=34066
2004-09-19 14:32:22 +00:00
Zoltan Varga 5fe595b383 2004-09-19 Zoltan Varga <[email protected]>
* loader.h loader.c class.h class.c: Add helper functions for obtaining
	tokens of metadata objects.

	* reflection.h reflection.c (mono_reflection_get_token): New function
	to obtain the token of a metadata object.

	* icall.c: Add icalls for MetadataToken and ModuleHandle methods.

svn path=/trunk/mono/; revision=34065
2004-09-19 14:29:49 +00:00
Dick Porter 26151aafa2 2004-09-19 Dick Porter <[email protected]>
* Console.cs: Use the internal wrappers for StreamReader and
	StreamWriter that catch IOException.

2004-09-19  Dick Porter  <[email protected]>

	* UnexceptionalStreamWriter.cs:
	* UnexceptionalStreamReader.cs: Wrappers around StreamWriter and
	StreamReader that catch IOException.  Used by System.Console so
	that graphical applications dont get IO errors when their
	stdin/out/err vanishes (ie when they spew debug output.)

svn path=/trunk/mcs/; revision=34062
2004-09-19 12:52:12 +00:00
Sureshkumar T 61cce9e3d8 2004-09-19 Sureshkumar T <[email protected]>
* DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
		       hence, adding a row cache is necessary if the original row happens to be current.
		       fixed bug #63097

svn path=/trunk/mcs/; revision=34061
2004-09-19 08:16:16 +00:00
Sureshkumar T 3b8a683795 2004-09-19 Sureshkumar T <[email protected]>
* DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet

svn path=/trunk/mcs/; revision=34060
2004-09-19 08:13:36 +00:00
Miguel de Icaza b84390b7cf 2004-09-19 Miguel de Icaza <[email protected]>
* cs-parser.jay: Do not report the stack trace, this is barely
	used nowadays.

svn path=/trunk/mcs/; revision=34058
2004-09-19 04:01:41 +00:00
Miguel de Icaza a0eb680eed 2004-08-22 John Luke <[email protected]>
* driver.cs : check that a resource id is not already used
	before adding it, report CS1508 if it is, bug #63637

svn path=/trunk/mcs/; revision=34057
2004-09-19 03:59:03 +00:00
Miguel de Icaza 3f038423b5 Some warning removal, and dead code elimination, brought to you by -warn:4
svn path=/trunk/mcs/; revision=34056
2004-09-19 03:56:33 +00:00
Miguel de Icaza a3813e158d Back to 2 for now, temporarily
svn path=/trunk/mcs/; revision=34055
2004-09-19 03:38:02 +00:00
Jackson Harper a8c86c9457 * Syscall.cs: Add support for poll ().
svn path=/trunk/mcs/; revision=34052
2004-09-18 20:42:16 +00:00
Marek Safar 8731d4a3c2 oups, private -> protected
svn path=/trunk/mcs/; revision=34051
2004-09-18 20:29:14 +00:00
Francisco Figueiredo Jr. 7170f17b20 2004-09-18 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs:
        GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
        i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
    * NpgsqlTypes/NpgsqlTypeConverters.cs:
        BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.

svn path=/trunk/mcs/; revision=34050
2004-09-18 20:28:37 +00:00
Marek Safar 3cc212df67 2004-09-18 Marek Safar <[email protected]>
* class.cs: Do not report warning CS0067 on the interfaces.

svn path=/trunk/mcs/; revision=34049
2004-09-18 19:47:08 +00:00
Jackson Harper f6bc4c864f * make-map.cs: Use field value not name for #defines.
svn path=/trunk/mcs/; revision=34046
2004-09-18 17:46:52 +00:00
John Luke 8582cef34c 2004-09-18 John Luke <[email protected]>
* outline.cs: add const = value; for const fields (Ben's idea)
        detect ParamArrayAttribute for parameters

svn path=/trunk/mcs/; revision=34045
2004-09-18 17:44:09 +00:00
Zoltan Varga 641e1b280e 2004-09-18 Zoltan Varga <[email protected]>
* Module.cs: Add net 2.0 Mvid property.

svn path=/trunk/mcs/; revision=34042
2004-09-18 16:31:00 +00:00
Francisco Figueiredo Jr. 4da18b29e7 2004-09-18 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlCommand.cs,
        NpgsqlConnector.cs:  Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.

svn path=/trunk/mcs/; revision=34038
2004-09-18 14:34:55 +00:00
Francisco Figueiredo Jr. dd1a54933b 2004-09-18 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlCommand.cs,
        NpgsqlConnector.cs:  Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.

svn path=/trunk/mcs/; revision=34037
2004-09-18 14:27:20 +00:00
Miguel de Icaza 531b9d6b4e Up
svn path=/trunk/mcs/; revision=34035
2004-09-17 23:17:12 +00:00
Peter Dennis Bartok 7597c3550c - Updated to describe the new managed version of System.Windows.Forms
svn path=/trunk/mono/; revision=34032
2004-09-17 21:32:15 +00:00
Zoltan Varga 6e137c9b68 2004-09-17 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Try the underscore prefixed name as well.

svn path=/trunk/mono/; revision=34020
2004-09-17 18:12:57 +00:00
Zoltan Varga 93afb2362b 2004-09-17 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Add support for stdcall name mangling.

svn path=/trunk/mono/; revision=34019
2004-09-17 17:57:15 +00:00
Zoltan Varga 95828c7b36 2004-09-17 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add test for stdcall name mangling on windows.

svn path=/trunk/mono/; revision=34018
2004-09-17 17:56:09 +00:00
Peter Dennis Bartok 0e5f65c117 - Fixed behaviour of arrow buttons. Now properly behaves like Buttons (and
like Microsoft's scrollbar arrow buttons)

svn path=/trunk/mcs/; revision=34017
2004-09-17 16:43:27 +00:00
Peter Dennis Bartok 8bc46ec3d3 - Added missing release of keyboard/mouse capture
svn path=/trunk/mcs/; revision=34016
2004-09-17 16:14:36 +00:00
Martin Baulig 014e618ec3 2004-09-17 Martin Baulig <[email protected]>
* Makefile.am (mcs-do-compiler-tests): Reverted Raja's latest
	change in this target.

svn path=/trunk/mono/; revision=34015
2004-09-17 16:13:25 +00:00
Sebastien Pouliot 711ce20289 2004-09-17 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: In synch with corlib version.
	Fixed all level 4 compilation warnings.

svn path=/trunk/mcs/; revision=34013
2004-09-17 14:32:37 +00:00
Sebastien Pouliot 5c6cbf6501 2005-09-17 Sebastien Pouliot <[email protected]>
* BigInteger.cs: In sync with coirlib. This fix level 4 warnings about
	CLSCompliant.

svn path=/trunk/mcs/; revision=34012
2004-09-17 14:31:09 +00:00
Sebastien Pouliot 95acc42dcd 2004-09-17 Sebastien Pouliot <[email protected]>
* ASN1.cs: In synch with corlib version. Fixed all level 4 compilation
	warnings.
	* PKCS7.cs: In synch with corlib version. Fixed all level 4
	compilation warnings.

svn path=/trunk/mcs/; revision=34011
2004-09-17 14:16:53 +00:00
Sebastien Pouliot 9181ad5865 2004-09-17 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: In synch with corlib version. Fixed all level 4
	compilation warnings.
	* KeyPairPersistence.cs: In synch with corlib version. Fixed all level
	4 compilation warnings.
	* PKCS1.cs: In synch with corlib version. Fixed all level 4
	compilation warnings.
	* SHA224Managed.cs: Fixed all level 4 compilation warnings.

svn path=/trunk/mcs/; revision=34010
2004-09-17 14:14:26 +00:00
Sebastien Pouliot 6ba0d45cc9 2004-09-17 Sebastien Pouliot <[email protected]>
* PKCS12.cs: Fixed all level 4 compilation warnings.
	* X501Name.cs: Fixed all level 4 compilation warnings.
	* X509Certificate.cs: Fixed all level 4 compilation warnings.
	* X509CertificateBuilder.cs: Fixed all level 4 compilation warnings.
	* X509Extension.cs: In synch with corlib version. Fixed all level 4
	compilation warnings.
	* X520Attributes.cs: Updated to check upperbounds - which fixed level
	4 compilation warnings.

svn path=/trunk/mcs/; revision=34009
2004-09-17 14:11:41 +00:00
Sebastien Pouliot 6aec501360 2004-09-17 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: In synch with corlib version. Fixed all
	level 4 compilation warnings.
	* AuthenticodeFormatter.cs: Fixed all level 4 compilation warnings.
	* PrivateKey.cs: Fixed all level 4 compilation warnings.

svn path=/trunk/mcs/; revision=34008
2004-09-17 14:05:07 +00:00
Sebastien Pouliot f7bd4bf6f4 2004-09-17 Sebastien Pouliot <[email protected]>
* MiniParser.cs: In synch with corlib version. Removed all level 4
	compilation warnings.

svn path=/trunk/mcs/; revision=34007
2004-09-17 14:01:02 +00:00
Sebastien Pouliot 289828576d 2004-09-17 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added support for SHA224 hash algorithm
	in Mono.Security.Cryptography.
	* Mono.Security_test.dll.sources: Added unit tests for SHA224 hash
	algorithm.

svn path=/trunk/mcs/; revision=34006
2004-09-17 12:58:53 +00:00
Sebastien Pouliot 21819f74be 2004-09-17 Sebastien Pouliot <[email protected]>
* SHA224.cs: New. Abstract class for all SHA224 implementations.
	* SHA224Managed.cs: New. Managed implementation of SHA224 (a SHA256
	derivate) as specified in RFC3874 and FIPS 180-2 Change Notice.

svn path=/trunk/mcs/; revision=34005
2004-09-17 12:54:18 +00:00
Sebastien Pouliot 0fba45ee52 2004-09-16 Sebastien Pouliot <[email protected]>
* SHA224ManagedTest.cs: New. Unit tests for the managed implementation
	of SHA-224.
	* SHA224Test.cs: New. Unit tests for SHA-224. Use test vectors from
	RFC3874.

svn path=/trunk/mcs/; revision=34004
2004-09-17 12:45:00 +00:00
Jordi Mas i Hernandez bbde67052b Very early menu support
svn path=/trunk/mcs/; revision=34003
2004-09-17 12:19:16 +00:00
Marek Safar c2c2dd8861 2004-09-17 Marek Safar <[email protected]>
* Font.cs (FromHfont, ToHfont): Fixed windows implementation.
	ToLogFont: Implemented.

	* gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
	avoid casts.
	GdipCreateFontFromLogfontA: A new extern call.

svn path=/trunk/mcs/; revision=34002
2004-09-17 12:10:46 +00:00
Rafael Teixeira 86dc532f23 small loop condition adjustment
svn path=/trunk/mcs/; revision=34001
2004-09-17 11:32:38 +00:00
Zoltan Varga c4e43f6106 2004-09-17 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Fix LDSTR in dynamic methods.

svn path=/trunk/mono/; revision=33999
2004-09-17 11:04:27 +00:00
Zoltan Varga f0a00f5f99 2004-09-17 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Applied patch from Marcus Urban ([email protected]). Add support for defining custom marshallers by calling SetCustomAttribute.

svn path=/trunk/mcs/; revision=33997
2004-09-17 10:12:39 +00:00
Sebastien Pouliot 4e61e9daf2 2004-09-16 Sebastien Pouliot <[email protected]>
* Signature.cs: Fixed Xmldsig and broken unit tests.
	* SignedXml.cs: Fixed warning (level 4) for unused variable.
	* XmlDsigEnvelopedSignatureTransform.cs: Fixed warning (l4) for unused
	variable.

svn path=/trunk/mcs/; revision=33996
2004-09-17 01:02:27 +00:00
Peter Dennis Bartok a7802dc259 - Fixed sending a window to the front
- Added overload for SetWindowPos to avoid casting

svn path=/trunk/mcs/; revision=33995
2004-09-16 23:45:09 +00:00
Peter Dennis Bartok 918f56da8d - Added SendToBack and BringToFront methods
svn path=/trunk/mcs/; revision=33994
2004-09-16 23:44:19 +00:00
Sebastien Pouliot 30eba92a89 2004-09-16 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: Fixed warning (l4) for unused
	variables.

svn path=/trunk/mcs/; revision=33993
2004-09-16 23:32:58 +00:00
Sebastien Pouliot c66ce3ef1f 2004-09-16 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: Fixed warning (l4) for unused variables.

svn path=/trunk/mcs/; revision=33992
2004-09-16 23:29:47 +00:00
Sebastien Pouliot 85b8afd511 2004-09-16 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Fixed warning (l4) for unused variables.
	* KeyPairPersistence.cs: Fixed warning (l4) for unused variable.
	* PKCS1.cs: Added empty {} to fix warning about possible empty stmnt.

svn path=/trunk/mcs/; revision=33991
2004-09-16 23:28:43 +00:00
Sebastien Pouliot 51a31fa4f1 2004-09-16 Sebastien Pouliot <[email protected]>
* ASN1.cs: Fixed warning (l4) for unused variable.
	* PKCS7.cs: Fixed warning (l4) for unused variable.
	* Uri.cs: Fixed warning (l4) for unused variables. Remove sealed from
	class to reduce number of warnings.

svn path=/trunk/mcs/; revision=33990
2004-09-16 23:24:01 +00:00
Sebastien Pouliot 3dc3ad1ffd 2004-09-16 Sebastien Pouliot <[email protected]>
* MiniParser.cs: Fixed warning (l4) for unused variables. Removed
	duplicate (and identical) license.

svn path=/trunk/mcs/; revision=33989
2004-09-16 23:21:39 +00:00
Sebastien Pouliot c28a8a7681 2004-09-16 Sebastien Pouliot <[email protected]>
* DESCryptoServiceProvider.cs: Fixed warning (l4) by adding empty {}.
	* DSASignatureDeformatter.cs: Fixed warning (l4) for unused variable.
	* DSASignatureFormatter.cs: Fixed warning (l4) for unused variable.
	* HMACSHA1.cs: Fixed warning (l4) for unused variable.

svn path=/trunk/mcs/; revision=33988
2004-09-16 23:19:15 +00:00
Sebastien Pouliot 6c95d9bff3 2004-09-16 Sebastien Pouliot <[email protected]>
* SiteIdentityPermission.cs: Fixed warning (l4) for unused variable.
	* StrongNameIdentityPermissionAttribute.cs: Fixed warning (l4)...

svn path=/trunk/mcs/; revision=33987
2004-09-16 23:17:04 +00:00
Sebastien Pouliot ee8314380e 2004-09-16 Sebastien Pouliot <[email protected]>
* PolicyLevel.cs: Fixed warning by re-activating safeguard

svn path=/trunk/mcs/; revision=33986
2004-09-16 23:15:57 +00:00
Sebastien Pouliot 8bb2b40b3e 2004-09-16 Sebastien Pouliot <[email protected]>
* Environment.cs: Bumped mono_corlib_version to 25.

svn path=/trunk/mcs/; revision=33985
2004-09-16 19:42:26 +00:00
Sebastien Pouliot 0c68fb5bc2 2004-09-16 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: Keep a copy of the 3 permission set as an array
	of RefEmitPermissionSet. This will allow to reuse existing
	functionalities already present in the runtime.

svn path=/trunk/mcs/; revision=33984
2004-09-16 19:41:40 +00:00
Sebastien Pouliot 806ca2d530 2004-09-16 Sebastien Pouliot <[email protected]>
* appdomain.c: Bumped MONO_CORLIB_VERSION to 25.
	* object-internals.h: Added 3 MonoArray* members to MonoReflection
	AssemblyBuilder to access the permissions set in the class lib.
	* reflection.c: Added security attributes encoding step in
	mono_image_build_metadata.

svn path=/trunk/mono/; revision=33983
2004-09-16 19:41:14 +00:00
Marek Safar 85fc95c87e update
svn path=/trunk/mcs/; revision=33982
2004-09-16 19:11:10 +00:00
Marek Safar df79c136ca 2004-09-16 Marek Safar <[email protected]>
* cs-parser.jay: Add error 504 report.

svn path=/trunk/mcs/; revision=33981
2004-09-16 19:09:46 +00:00
Gonzalo Paniagua Javier 4c07adad95 2004-09-16 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: don't invoke the callback twice when the timer changes.
	Fixes bug #66116.

svn path=/trunk/mcs/; revision=33975
2004-09-16 18:33:27 +00:00
Sebastien Pouliot e312c96e86 2004-09-16 Sebastien Pouliot <[email protected]>
* dump.c: Added new security actions added in 2.0: LinkDemandChoice,
	InheritanceDemandChoice and DemandChoice.
	* main.c: Added ".permissionset" to output IL. Removed "hassecurity"
	as MS ilasm can't compile it.

svn path=/trunk/mono/; revision=33974
2004-09-16 18:27:44 +00:00
Sebastien Pouliot f310e5c293 2004-09-16 Sebastien Pouliot <[email protected]>
* tabledefs.h: Added new security actions defined in 2.0:
	LinkDemandChoice, InheritanceDemandChoice and DemandChoice.

svn path=/trunk/mono/; revision=33973
2004-09-16 18:24:09 +00:00
Zoltan Varga e71f25e912 2004-09-16 Zoltan Varga <[email protected]>
* get.c (get_token): Add support for memberrefs.

svn path=/trunk/mono/; revision=33972
2004-09-16 18:13:31 +00:00
Martin Baulig 2891b9185d Updated.
svn path=/trunk/mcs/; revision=33971
2004-09-16 17:47:19 +00:00
Lluis Sanchez c888d194da * threads.c: Fixed SET_CURRENT_OBJECT macros, they were ignoring the
macro parameter.

svn path=/trunk/mono/; revision=33970
2004-09-16 17:25:04 +00:00
Martin Baulig 8b2c8b6319 2004-09-16 Martin Baulig <[email protected]>
* Makefile: Disable test-294.cs and test-287.cs.

svn path=/trunk/mcs/; revision=33969
2004-09-16 17:05:49 +00:00
Lluis Sanchez 8439e9b0e1 * locales.c: nullify the ICU_collator member of CompareInfo when it is
finalized. There where random SIGSEVs at program termination, when
	  an object being finalized was trying to do a string comparison and
	  the current culture was already finalized.

svn path=/trunk/mono/; revision=33967
2004-09-16 15:47:16 +00:00
Marek Safar a0a5ee0d18 update
svn path=/trunk/mcs/; revision=33966
2004-09-16 15:34:16 +00:00
Marek Safar c827fb125d 2004-09-16 Marek Safar <[email protected]>
* rootcontext.cs: WarningLevel is 4 by default now.

	* statement.cs (Fixed.Resolve): Do not null
	VariableInfo.

svn path=/trunk/mcs/; revision=33965
2004-09-16 15:33:09 +00:00
Atsushi Eno fe93ee2c27 2004-09-16 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs, SchemaDataValueType.cs :
	  ParseValue() for xs:AnyURI should return System.Uri. MS.NET returns
	  XmlSchemaUri, but it is derived from System.Uri, while ours was not.

svn path=/trunk/mcs/; revision=33963
2004-09-16 14:58:07 +00:00
Gonzalo Paniagua Javier 7aec249e1e 2004-09-16 Gonzalo Paniagua Javier <[email protected]>
* threads.c: call thread_cleanup before finishing the thread if we get
	there.

svn path=/trunk/mono/; revision=33962
2004-09-16 13:51:02 +00:00
Ravindra c043828a89 Added Novell URL.
svn path=/trunk/mcs/; revision=33961
2004-09-16 13:00:44 +00:00
Ravindra 3dcb46936d Invalidate should be done before redrawing.
svn path=/trunk/mcs/; revision=33960
2004-09-16 13:00:19 +00:00
Marek Safar 6e18c53b33 update
svn path=/trunk/mcs/; revision=33957
2004-09-16 12:01:18 +00:00
Marek Safar cdfbd25fed 2004-09-16 Marek Safar <[email protected]>
Fixed bug #55780
	* ecore.cs (PropertyExpr.FindAccessors): Do not perform
	deep search when property is not virtual.
	(PropertyExpr.ResolveAccessors): Make one call for both
	accessors.

svn path=/trunk/mcs/; revision=33956
2004-09-16 11:58:06 +00:00
Joshua Tauberer dd35d560b7 2004-09-14 Loren Bandiera <[email protected]>
* Syscall.cs: Added method for getpwnam which uses Passwd
	struct.
	* macros.c: Helper function for getpwnam
	(In committing, Josh Tauberer also added getpwuid.)

svn path=/trunk/mono/; revision=33955
2004-09-16 11:09:02 +00:00
Joshua Tauberer 8bf118de82 2004-09-14 Loren Bandiera <[email protected]>
* Syscall.cs: Added method for getpwnam which uses Passwd
	struct.
	* macros.c: Helper function for getpwnam
	(In committing, Josh Tauberer also added getpwuid.)

svn path=/trunk/mcs/; revision=33955
2004-09-16 11:09:02 +00:00
Ravindra 1719c1c56e Added VS.NET project for System.Drawing.
svn path=/trunk/mcs/; revision=33954
2004-09-16 09:59:18 +00:00
Ravindra 6c62dad044 Updated project and sources list.
svn path=/trunk/mcs/; revision=33953
2004-09-16 07:19:25 +00:00
Ravindra 4cba71d31d Enum for ListView Control.
svn path=/trunk/mcs/; revision=33952
2004-09-16 03:19:35 +00:00
Ravindra a913f56384 Event for ListView Control.
svn path=/trunk/mcs/; revision=33951
2004-09-16 03:18:11 +00:00
Francisco Figueiredo Jr. 2880c6ecd7 2004-09-15 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlRowDescription.cs:
        FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)

svn path=/trunk/mcs/; revision=33950
2004-09-16 00:24:48 +00:00
Zoltan Varga 51f46c9b44 2004-09-16 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_createDomain): Load all
	assemblies from the parent. Fixes #65665.

svn path=/trunk/mono/; revision=33947
2004-09-15 21:01:56 +00:00
Marek Safar 08c0a01a63 2004-09-15 Marek Safar <[email protected]>
Fixed bug #65766
	* statement.cs: Error 152 report constains also location.

svn path=/trunk/mcs/; revision=33946
2004-09-15 20:30:13 +00:00
Zoltan Varga 2a31fbc1b5 2004-09-15 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_createDomain): Load all
	assemblies from the parent.

svn path=/trunk/mono/; revision=33945
2004-09-15 19:40:30 +00:00
John Luke cee315f3cf 2004-09-15 John Luke <[email protected]>
* AssemblyInfo.cs: add CLSCompliant(true) attribute

svn path=/trunk/mcs/; revision=33944
2004-09-15 18:31:51 +00:00
Zoltan Varga a4c77d5421 2004-09-15 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_parse_type): Fix parsing of custom
	modifiers.

svn path=/trunk/mono/; revision=33943
2004-09-15 18:04:57 +00:00
Lluis Sanchez 8faca29321 * ServiceDescriptionReflector.cs: Don't generate empty schemas.
svn path=/trunk/mcs/; revision=33942
2004-09-15 16:14:48 +00:00
Lluis Sanchez ad31e6d9f6 * Methods.cs: Use the service namespace as the base for the soap action.
This fixes bug #60379.

svn path=/trunk/mcs/; revision=33941
2004-09-15 16:14:18 +00:00
Marek Safar 5e2d2ed732 2004-09-15 Marek Safar <[email protected]>
* test-287.cs: Included test for bug #65766.

svn path=/trunk/mcs/; revision=33940
2004-09-15 15:23:49 +00:00
Marek Safar ded73f4cca 2004-09-15 Marek Safar <[email protected]>
Fixed bug #65766
	* const.cs: Explicitly set constant as static.

svn path=/trunk/mcs/; revision=33939
2004-09-15 15:21:41 +00:00
Anirban Bhattacharjee 7aa6b4d08d 2004-09-15 Anirban Bhattacharjee <[email protected]>
* enum.cs: Made Enum member lookup case insensitive

svn path=/trunk/mcs/; revision=33938
2004-09-15 14:58:01 +00:00
Marek Safar e18bb53e87 new test + update
svn path=/trunk/mcs/; revision=33937
2004-09-15 14:22:22 +00:00
Marek Safar d1c5d60011 2004-09-15 Marek Safar <[email protected]>
Fixed bug #64226
	* cs-parser.jay: Add error 1017 report.

svn path=/trunk/mcs/; revision=33936
2004-09-15 14:21:50 +00:00
Lluis Sanchez 2929822a90 * MapCodeGenerator.cs: Moved generation of XmlInclude attributes from
ExportDerivedTypes to the new ExportDerivedTypeAttributes method.
	* XmlReflectionImporter.cs: In ImportClassMapping, moved the call to
	  ImportIncludedTypes to the end, to make sure that the current map has all
	  needed data before derived maps are constructed.
	* XmlSchemaExporter.cs: Generate the base class of simple types that are
	  not primitive types. Set the correct value for IsMixed in extended types.
	* XmlSchemaImporter.cs: In ImportSimpleContent, take into account that
	  the base class of a simple type doesn't need to be a xsd type.
	  All those patches fix bug #65654

svn path=/trunk/mcs/; revision=33935
2004-09-15 14:16:41 +00:00
Anirban Bhattacharjee 0308e24065 2004-09-15 Anirban Bhattacharjee <[email protected]>
* OptionalArgu_dll.vb:
        * OptionalArgu_exe.vb:
                Tests for optional argument accross assembly
        * Test.Sources : updated
        * Makefile: Added dll name

svn path=/trunk/mcs/; revision=33934
2004-09-15 13:37:22 +00:00
Anirban Bhattacharjee aeb861dd47 2004-09-15 Anirban Bhattacharjee <[email protected]>
* support.cs: Retrieving default value from another assembly in ReflectionParameters class

svn path=/trunk/mcs/; revision=33933
2004-09-15 13:21:46 +00:00
Anirban Bhattacharjee 38764ca7d3 2004-09-14 Anirban Bhattacharjee <[email protected]>
* class.cs: Support for enum in default constant value for optional parameters

svn path=/trunk/mcs/; revision=33932
2004-09-15 13:04:54 +00:00
Sebastien Pouliot fbfeb2937d 2004-09-15 Sebastien Pouliot <[email protected]>
* System.Data_test.dll.sources: Added OdbcPermission, OleDbPermission
	and SqlClientPermission unit tests to the build.

svn path=/trunk/mcs/; revision=33931
2004-09-15 11:44:06 +00:00
Sebastien Pouliot d42d4b58ec 2004-09-15 Sebastien Pouliot <[email protected]>
* SqlClientPermissionTest.cs: New. Unit tests for SqlClientPermission.

svn path=/trunk/mcs/; revision=33930
2004-09-15 11:42:38 +00:00
Sebastien Pouliot e6f4406228 2004-09-15 Sebastien Pouliot <[email protected]>
* OleDbPermissionTest.cs: New. Unit tests for OleDbPermission.

svn path=/trunk/mcs/; revision=33929
2004-09-15 11:41:13 +00:00
Sebastien Pouliot 33952bdcf5 2004-09-15 Sebastien Pouliot <[email protected]>
* OdbcPermissionTest.cs: New. Unit tests for OdbcPermission.

svn path=/trunk/mcs/; revision=33928
2004-09-15 11:39:49 +00:00
Marek Safar db45e3b4d1 update
svn path=/trunk/mcs/; revision=33924
2004-09-15 11:13:08 +00:00
Marek Safar 67d531a16e 2004-09-15 Marek Safar <[email protected]>
Fixed bug #59980, #64224
	* expression.cs (Invocation.DoResolve): Fixed error CS0571 test.

	* typemanager.cs (IsSpecialMethod): Simplified

svn path=/trunk/mcs/; revision=33923
2004-09-15 11:11:48 +00:00
Marek Safar ef42261d7c 2004-09-15 Marek Safar <[email protected]>
* property-il.il, property-main.cs: Included test for #36804.

svn path=/trunk/mcs/; revision=33922
2004-09-15 10:15:30 +00:00
Martin Baulig 620106363a Updated again.
svn path=/trunk/mcs/; revision=33921
2004-09-15 09:47:31 +00:00
Martin Baulig 4b3facd88b 2004-09-15 Martin Baulig <[email protected]>
* test-294.cs: Is not back in gmcs.

svn path=/trunk/mcs/; revision=33920
2004-09-15 08:42:02 +00:00
Gaurav Vaish 3d46ae4356 2004-09-15 Gaurav Vaish <gaurav[dot]vaish[at]gmail[dot]com>
* Part.cs                    : Completed
* WebPart.cs                 : Initial implementation

svn path=/trunk/mcs/; revision=33919
2004-09-15 04:54:09 +00:00
Sebastien Pouliot 8b45ac3620 2004-09-14 Sebastien Pouliot <[email protected]>
* Makefile: Activate unit tests.
	* System.Data.OracleClient_test.dll.sources: New. Sources for unit
	tests.

svn path=/trunk/mcs/; revision=33914
2004-09-15 00:02:35 +00:00
Sebastien Pouliot f4d4490b65 2004-09-14 Sebastien Pouliot <[email protected]>
* ChangeLog: New.
	* OraclePermission.cs: Adapted to work for both Fx 1.1 and 2.0. Fx 1.1
	version isn't complete (as anyway it requires FullTrust on MS
	implementation) but DO NOT throw exceptions (for the security engine).
	* OraclePermissionAttribute.cs: Implemented CreatePermission. Adapted
	to work for both Fx 1.1 and 2.0.

svn path=/trunk/mcs/; revision=33913
2004-09-15 00:00:22 +00:00
Sebastien Pouliot 6a64e50f82 Fixed "make test" for 1.1
svn path=/trunk/mcs/; revision=33912
2004-09-14 23:58:30 +00:00
Sebastien Pouliot 0cf71bfc3a 2004-09-14 Sebastien Pouliot <[email protected]>
* OraclePermissionAttributeTest.cs: New. Unit tests for class
	OraclePermissionAttribute.

svn path=/trunk/mcs/; revision=33911
2004-09-14 23:49:09 +00:00
Francisco Figueiredo Jr. 43896b0dd5 2004-09-14 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlRowDescription.cs:
        FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)

svn path=/trunk/mcs/; revision=33910
2004-09-14 23:02:12 +00:00
Marek Safar 71e47760c1 2004-09-14 Marek Safar <[email protected]>
* test-294.cs: Is back.

svn path=/trunk/mcs/; revision=33909
2004-09-14 21:01:28 +00:00
Marek Safar 9b3725cf58 2004-09-14 Marek Safar <[email protected]>
* decl.cs (MemberCore.Emit): Resuscitated VerifyObsoleteAttribute
	condition with better params.

svn path=/trunk/mcs/; revision=33908
2004-09-14 21:00:33 +00:00
Bernie Solomon f320080407 2004-09-14 Bernie Solomon <[email protected]>
* reflection.h: add prototype for mono_get_dbnull_object
	* reflection.c: add prototypes for get_default_param_value_blobs
	and mono_get_object_from_blob for fussier compilers

svn path=/trunk/mono/; revision=33907
2004-09-14 20:58:02 +00:00
Sebastien Pouliot 9577f8fef6 2004-09-14 Sebastien Pouliot <[email protected]>
* System.Data_test.dll.sources: Added DBDataPermission unit tests to
	the build.

svn path=/trunk/mcs/; revision=33906
2004-09-14 20:04:22 +00:00
Sebastien Pouliot 51ffd060a9 2004-09-14 Sebastien Pouliot <[email protected]>
* SqlClientPermission.cs: Added internal constructor accepting an Sql
	ClientPermissionAttribute parameter (using base class protected ctor).
	* SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
	Permission constructor.

svn path=/trunk/mcs/; revision=33905
2004-09-14 20:02:48 +00:00
Sebastien Pouliot 7ec3b6ace7 2004-09-14 Sebastien Pouliot <[email protected]>
* OleDbPermission.cs: Added internal constructor accepting an OleDb
	PermissionAttribute parameter (using base class protected ctor).
	Re-added the Provider property (removed by error).
	* OleDbPermission.cs: Copy now use the new OleDbPermission
	constructor. Re-added the Provider property (removed by error).

svn path=/trunk/mcs/; revision=33904
2004-09-14 20:00:56 +00:00
Sebastien Pouliot aa6904913d 2004-09-14 Sebastien Pouliot <[email protected]>
* OdbcPermission.cs: Added internal constructor accepting an Odbc
	PermissionAttribute parameter (using base class protected ctor).
	* OdbcPermissionAttribute.cs: Copy now use the new OdbcPermission
	constructor.

svn path=/trunk/mcs/; revision=33903
2004-09-14 19:58:41 +00:00
Sebastien Pouliot 96fc12feeb 2004-09-14 Sebastien Pouliot <[email protected]>
* DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
	Implementation isn't complete as the restrictions seems to change the
	expected results (breaking some rules like x.IsSubsetOf (x) == false).
	Better (real-world) tests cases are required.
	* PermissionHelper.cs: Fixed small differences between System.Data.dll
	validations wrt to mscorlib.dll (XML and PermissionState).

svn path=/trunk/mcs/; revision=33902
2004-09-14 19:56:12 +00:00
Sebastien Pouliot 32639845bf 2004-09-14 Sebastien Pouliot <[email protected]>
* DBDataPermissionTest.cs: New. Unit tests for DBDataPermission.

svn path=/trunk/mcs/; revision=33901
2004-09-14 19:51:48 +00:00
Sebastien Pouliot d3ea944c56 2004-09-14 Sebastien Pouliot <[email protected]>
* OleDbPermissionAttributeTest.cs: Added unit tests for Provider
	property (unused and hidden in Fx 2.0).

svn path=/trunk/mcs/; revision=33900
2004-09-14 19:50:20 +00:00
Marek Safar c475046abf new test for bug #65238
svn path=/trunk/mcs/; revision=33899
2004-09-14 19:13:49 +00:00
Marek Safar 32ade2ce42 2004-09-14 Marek Safar <[email protected]>
Fixed bug #65238
	* attribute.cs (Resolve): Property has to have both
	accessors.

svn path=/trunk/mcs/; revision=33898
2004-09-14 19:12:41 +00:00
Martin Baulig 300374f51e 2004-09-14 Martin Baulig <[email protected]>
* gmcs-expect-no-error, gmcs-expect-wrong-error: Updated.

svn path=/trunk/mcs/; revision=33897
2004-09-14 18:52:06 +00:00
Martin Baulig fc1ccab148 2004-09-14 Martin Baulig <[email protected]>
* Makefile: Disable test-294.cs.

svn path=/trunk/mcs/; revision=33895
2004-09-14 18:00:44 +00:00
Martin Baulig 07a932aa8e **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33893
2004-09-14 17:44:01 +00:00
Martin Baulig ed4e476545 2004-09-14 Martin Baulig <[email protected]>
* decl.cs (MemberCore.Emit): Always call VerifyObsoleteAttribute().

svn path=/trunk/mcs/; revision=33892
2004-09-14 17:43:20 +00:00
Martin Baulig 9668c16854 Merged again.
svn path=/trunk/mcs/; revision=33891
2004-09-14 17:01:32 +00:00
Martin Baulig e50fcb57ba **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33890
2004-09-14 16:48:09 +00:00
Marek Safar 7964db00df Fixed test
svn path=/trunk/mcs/; revision=33889
2004-09-14 16:44:49 +00:00
Martin Baulig 6468cf0cd0 2004-09-14 Martin Baulig <[email protected]>
* Makefile: Put the old Makefile back.

svn path=/trunk/mcs/; revision=33888
2004-09-14 16:16:47 +00:00
Marek Safar 9a474e16b3 2004-09-14 Marek Safar <[email protected]>
Fixed bug #61902
	* codegen.cs (TestObsoleteMethodUsage): Trace when method is
	called and is obsolete then this member suppress message
	when call is inside next [Obsolete] method or type.

	* expression.cs: Use TestObsoleteMethodUsage member.

svn path=/trunk/mcs/; revision=33886
2004-09-14 15:55:09 +00:00
Marek Safar d1081d6261 2004-09-14 Marek Safar <[email protected]>
* test-294.cs: New test for bug #61902.

svn path=/trunk/mcs/; revision=33885
2004-09-14 15:51:34 +00:00
Martin Baulig 558bd9c7f4 Updated.
svn path=/trunk/mcs/; revision=33884
2004-09-14 15:11:17 +00:00
Martin Baulig 402df47cd0 2004-09-14 Martin Baulig <[email protected]>
* Makefile: Put the old Makefile back.  There was a reason why we
	had this setup.

svn path=/trunk/mcs/; revision=33883
2004-09-14 15:10:19 +00:00
Martin Baulig 5cc3cb1c3f Small fix.
svn path=/trunk/mcs/; revision=33882
2004-09-14 15:05:19 +00:00
Rafael Teixeira 1d8d7bbab0 2004-09-14 Rafael Teixeira <[email protected]>
* UtilsTest.cs: upgraded to use nunit Assert class, also corrected testing for null that
	  was giving an exception when run.

svn path=/trunk/mcs/; revision=33881
2004-09-14 15:01:04 +00:00
Martin Baulig 8ba16f97bb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33880
2004-09-14 14:56:05 +00:00
Martin Baulig d1fd52d869 2004-09-14 Martin Baulig <[email protected]>
* cs-parser.jay: Sync a bit with the GMCS version.

svn path=/trunk/mcs/; revision=33879
2004-09-14 14:54:37 +00:00
Rafael Teixeira 2893a066bd ChangeLog cleanup
svn path=/trunk/mcs/; revision=33876
2004-09-14 13:09:33 +00:00
Raja R Harinath b1b7e7817c (run-test-lib, run-btest-lib): Unify. Give profile-specific name
for output XML file.

svn path=/trunk/mcs/; revision=33875
2004-09-14 10:41:18 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Sanja Gupta d17cfc2768 ChangeLog: Updated ChangeLog.
ThemeableAttribute.cs: Completed Implementation.

svn path=/trunk/mcs/; revision=33873
2004-09-14 09:42:06 +00:00
Raja R Harinath dfdf4fdaf8 (EXTRA_DISTFILES): Remove Soap.cmbx.
svn path=/trunk/mcs/; revision=33872
2004-09-14 09:35:20 +00:00
Raja R Harinath 237b10dbef (EXTRA_DISTFILES): Fix spelling of ChangeLog file.
svn path=/trunk/mcs/; revision=33871
2004-09-14 09:34:04 +00:00
Raja R Harinath d4d3fb15e6 (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
svn path=/trunk/mcs/; revision=33870
2004-09-14 09:32:13 +00:00
Marek Safar e293965900 removed genericparser.cs
svn path=/trunk/mcs/; revision=33869
2004-09-14 09:31:27 +00:00
Anirban Bhattacharjee e7aeb8af86 2004-09-14 Anirban Bhattacharjee <[email protected]>
* mb-parser.jay: Fixed exception number for type confliction in method parameter

svn path=/trunk/mcs/; revision=33868
2004-09-14 09:21:07 +00:00
Sanja Gupta 47e9787c87 ChangeLog: Updated ChangeLog.
FilterableAttribute.cs: Completed implementation.

svn path=/trunk/mcs/; revision=33867
2004-09-14 09:15:27 +00:00
Anirban Bhattacharjee c1a8080429 2004-09-14 Anirban Bhattacharjee <[email protected]>
* class.cs: Set default constant value for optional parameters in ParameterBuilder
        * parameter.cs: Setting optional attribute
                These two fixes makes sure that optional parameter with default value get emitted correctly

svn path=/trunk/mcs/; revision=33866
2004-09-14 09:08:27 +00:00
Raja R Harinath 9ef81ed7ef * library.make (test_sourcefile, btest_sourcefile): Define in terms of
$(test_lib) or $(btest_lib) only if they're overriden.

svn path=/trunk/mcs/; revision=33865
2004-09-14 08:55:04 +00:00
Martin Baulig 5697a97b98 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33864
2004-09-14 08:53:52 +00:00
Martin Baulig ca9c2f476d 2004-09-14 Martin Baulig <[email protected]>
* genericparser.cs: Removed.

svn path=/trunk/mcs/; revision=33863
2004-09-14 08:45:57 +00:00
Martin Baulig 5819945fee 2004-09-14 Martin Baulig <[email protected]>
* cs-parser.jay (CSharpParser): Don't derive from GenericsParser.
	(CSharpParser.yacc_verbose_flag): New public field.

	* genericparser.cs: Removed.

svn path=/trunk/mcs/; revision=33862
2004-09-14 08:45:11 +00:00
Lluis Sanchez bf18ee73ae * object.c: Added a "done" flag to TypeInitializationLock. This avoids
false deadlock checks in class initialization.

svn path=/trunk/mono/; revision=33860
2004-09-14 08:36:17 +00:00
Raja R Harinath 73c7407fb6 * Makefile.am (mcs-do-full-build): Pass NO_SIGN_ASSEMBLIES=yes to
reduce the number of passes.  We will get the assemblies signed in
the 'populate-runtime-subdir' phase.
(mcs-do-run-test-profiles): Rename from mcs-do-run-tests.  Use
'test-profiles' to test all profiles.
(mcs-do-compiler-tests): Use 'compiler-tests' target in mcs/.
(bootstrap-check): Update.
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Simplify.

svn path=/trunk/mono/; revision=33859
2004-09-14 08:35:04 +00:00
Raja R Harinath ffac59b268 (MCS) [PROFILE=default]: Force testing of 'mcs'.
(test-everything): Remove.
(TEST_PROFILE): New.
(run-mcs-tests, run-gmcs-tests): Unify using TEST_PROFILE.
(run-test-local) [PROFILE=net_2_0]: Run generics tests.

svn path=/trunk/mcs/; revision=33858
2004-09-14 08:30:20 +00:00
Raja R Harinath 1349f1fc75 * Makefile (MCS) [PROFILE=default]: Force testing of 'mcs'.
(TEST_SOURCES): Allow a profile to eliminate some tests.
(net_2_0_KNOWN_FAILURES): Rename from GENERICS_KNOWN_FAILURES.
(TEST_SOURCES_all): Rename from TESTS_SOURCES.
Move several multi-file tests from ...
(multi-1, multi-3, multi-4, multi-5, multi-6, multi-7): ... here.
(multl-2, ilasm): Use $(CSCOMPILE), instead of $(INTERNAL_MCS).
(multi): Update.
(test-everything): Remove.
(run-test-local) [PROFILE=net_2_0]: Run additional 'generics'
tests.
(test-compiler-jit-real): Remove *.netmodule too.
(test-compiler-jit-multi): Remove.
(test-generics-1, test-generics-2): Remove.
(test-generics-3, test-generics-4): Update.
* conv-lib.cs, conv-main.cs, dll-1.cs, dll-2.cs, prog-1.cs,
  prog-2.cs, module-1.cs, module2.cs, module-3.cs, ns.cs, ns0.cs,
  gen-13-dll.cs, gen-13-exe.cs, gen-17-dll.cs, gen-17-exe.cs,
  gen-31-dll.cs, gen-31-exe.cs, gen-47-dll.cs, gen-47-exe.cs,
  vararg-exe.cs, vararg-lib.cs:
Use "Compiler options:" for multi-file testing.

svn path=/trunk/mcs/; revision=33857
2004-09-14 08:26:54 +00:00
Marek Safar 3f90af0020 2004-09-14 Marek Safar <[email protected]>
* CodeTypeReference.cs: Fix #65854

svn path=/trunk/mcs/; revision=33856
2004-09-14 08:23:08 +00:00
Marek Safar e458c705b5 2004-09-14 Marek Safar <[email protected]>
* CSharpCodeGenerator.cs: Fix #65854

svn path=/trunk/mcs/; revision=33855
2004-09-14 08:21:21 +00:00
Raja R Harinath e1943e5c6a * library.make (test_lib, btest_lib): Build separate test
assemblies for separate profiles.
(dist-local): Don't copy files beginning with '../'.
* rules.make (dist-default): Handle any of Makefile, makefile, or
GNUmakefile being present.
* profiles/net_2_0.make (TEST_RUNTIME): Don't define.

svn path=/trunk/mcs/; revision=33854
2004-09-14 08:12:09 +00:00
Raja R Harinath 72ed081a73 (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.

svn path=/trunk/mcs/; revision=33853
2004-09-14 08:11:52 +00:00
Raja R Harinath dd9c70b029 (event_declaration): Re-enable cs0071 error.
svn path=/trunk/mcs/; revision=33852
2004-09-14 08:02:32 +00:00
Atsushi Eno 85564737dc 2004-09-14 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Close() should not Flush() when the output is
	  already closed. bug #65918 is fixed.

svn path=/trunk/mcs/; revision=33851
2004-09-14 05:46:30 +00:00
Martin Baulig 220107e8da **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33850
2004-09-14 05:14:19 +00:00
Martin Baulig 5a0f1833b9 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=33849
2004-09-14 05:14:19 +00:00
Umadevi S d09e0b4eaf 2004-09-14 Umadevi S <[email protected]>
* Made SerializableAttribute !net_2_0 for all the exception classes

svn path=/trunk/mcs/; revision=33848
2004-09-14 05:06:55 +00:00
Umadevi S edb3fb7549 2004-09-14 Umadevi S <[email protected]>
* Added SqlAlreadyFilledException.cs and SqlNotFilledException.cs to System.Data.dll.sources

svn path=/trunk/mcs/; revision=33847
2004-09-14 04:23:01 +00:00
Umadevi S 31189cb9c9 2004-09-14 Umadevi S ([email protected])
* Added Files SqlAlreadyFilledException.cs, SqlNotFilledException.cs

svn path=/trunk/mcs/; revision=33846
2004-09-14 04:20:07 +00:00
Ravindra 3e47a6f6c6 Updated project.
svn path=/trunk/mcs/; revision=33845
2004-09-14 04:09:59 +00:00
Sanja Gupta 733f0f5d7a ChangeLog: Updated ChangeLog.
Literal.cs: Added new method Focus().

svn path=/trunk/mcs/; revision=33844
2004-09-14 03:58:43 +00:00
Sanja Gupta 02e9afbf1d ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new attribute classes in System.Web.UI.

svn path=/trunk/mcs/; revision=33843
2004-09-14 03:55:19 +00:00
Sanja Gupta a740af0593 ChangeLog: Updated ChangeLog.
Control.cs: Added new attributes and a method.
FilterableAttribute.cs: New attribute, initial implementation.
ThemeableAttribute.cs: New attribute, initial implemenataion.

svn path=/trunk/mcs/; revision=33842
2004-09-14 03:53:36 +00:00
Tim Coleman de13446017 2004-09-14 Tim Coleman <[email protected]>
* corlib.dll.sources: Added System.Security.Principal/TokenImpersonationLevel

svn path=/trunk/mcs/; revision=33841
2004-09-14 00:35:50 +00:00
Tim Coleman 6705996433 2004-09-12 Tim Coleman <[email protected]>
* TokenImpersonationLevel.cs: New enum for Fx 2.0

svn path=/trunk/mcs/; revision=33840
2004-09-14 00:28:33 +00:00
Jackson Harper e1c9cfa84f Remove test code so timers are updated properly
svn path=/trunk/mcs/; revision=33839
2004-09-14 00:26:34 +00:00
Jackson Harper 2bdf339b86 Timers are now handled in a second thread and post messages into the main threads message queue. This makes timing much more consistent. Both win2K and XP have a minimum timer value of 15 milliseconds, so we now do this too.
svn path=/trunk/mcs/; revision=33838
2004-09-14 00:13:29 +00:00
Sebastien Pouliot de76dcbb20 Fix NET_2_0 build.
svn path=/trunk/mcs/; revision=33837
2004-09-14 00:09:24 +00:00
Tim Coleman 270b9bffbe 2004-09-13 Tim Coleman <[email protected]>
* System.dll.sources: Add new classes in System.Net.Security and
                System.Security.Authentication for Fx 2.0

svn path=/trunk/mcs/; revision=33836
2004-09-13 23:56:59 +00:00
Tim Coleman 397b0326d8 2004-09-13 Tim Coleman <[email protected]>
* AuthenticatedStream.cs AuthenticationLevel.cs LocalCertSelectionCallback.cs
        * NegotiateStream.cs ProtectionLevel.cs RemoteCertValidationCallback.cs
        * SslStream.cs: New stubs for Fx 2.0

svn path=/trunk/mcs/; revision=33835
2004-09-13 23:55:48 +00:00
Tim Coleman e840ff010e 2004-09-13 Tim Coleman <[email protected]>
* CipherAlgorithmType.cs ExchangeAlgorithmType.cs HashAlgorithmType.cs
        * SslProtocolType.cs: New stubs for Fx 2.0

svn path=/trunk/mcs/; revision=33834
2004-09-13 23:54:43 +00:00
Sebastien Pouliot 9003dc76ec 2004-09-13 Sebastien Pouliot <[email protected]>
* Makefile: Added /nowarn:618 when compiling unit test assembly to
	remove nunit obsolete warnings.
	* System.Data.dll.sources: Added System.Data.Common.DbConnectionOptions
	(NET_2_0) and System.Data.Common/PermissionHelper to the build.
	* System.Data_test.dll.sources: Added {DBData|Odbc|OleDb|SqlClient}
	PermissionAttribute unit tests to the build.

svn path=/trunk/mcs/; revision=33833
2004-09-13 23:37:10 +00:00
Sebastien Pouliot c321305e8d 2004-09-13 Sebastien Pouliot <[email protected]>
* SqlClientPermission.cs: Mostly completed (needs tests).
	* SqlClientPermissionAttribute.cs: Completed.

svn path=/trunk/mcs/; revision=33832
2004-09-13 23:32:54 +00:00
Sebastien Pouliot 9a47ecf841 2004-09-13 Sebastien Pouliot <[email protected]>
* OleDbPermission.cs: Mostly completed (needs tests).
	* OleDbPermissionAttribute.cs: Completed.

svn path=/trunk/mcs/; revision=33831
2004-09-13 23:31:06 +00:00
Sebastien Pouliot 70d02a3c3d 2004-09-13 Sebastien Pouliot <[email protected]>
* OdbcPermission.cs: Mostly completed (needs tests).
	* OdbcPermissionAttribute.cs: Completed.

svn path=/trunk/mcs/; revision=33830
2004-09-13 23:29:25 +00:00
Sebastien Pouliot 57aab80b5b 2004-09-13 Sebastien Pouliot <[email protected]>
* DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
	to support new methods in DBDataPermission.
	* DbConnectionString.cs: Updated class to split from/inherit
	DbConnectionOptions class.
	* DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
	completed constructors.
	* DbDataPermissionAttribute.cs: Completed/fixed class.
	* PermissionHelper.cs: Helper methods to create permission classes.

svn path=/trunk/mcs/; revision=33828
2004-09-13 23:24:34 +00:00
Sebastien Pouliot b05732da97 2004-09-13 Sebastien Pouliot <[email protected]>
* SqlClientPermissionAttributeTest.cs: New. Unit tests for SqlClient
	PermissionAttribute.

svn path=/trunk/mcs/; revision=33827
2004-09-13 22:52:21 +00:00
Sebastien Pouliot b6beda9770 2004-09-13 Sebastien Pouliot <[email protected]>
* OdbcPermissionAttributeTest.cs: New. Unit tests for OdbcPermission
	Attribute.

svn path=/trunk/mcs/; revision=33826
2004-09-13 22:50:11 +00:00
Sebastien Pouliot cdeb4c4f81 2004-09-13 Sebastien Pouliot <[email protected]>
* DBDataPermissionAttributeTest.cs: New. Unit tests for DBData
	PermissionAttribute.

svn path=/trunk/mcs/; revision=33825
2004-09-13 22:46:24 +00:00
Sebastien Pouliot 4e6ed1ed89 2004-09-13 Sebastien Pouliot <[email protected]>
* ChangeLog: New.
	* OleDbPermissionAttributeTest.cs: New. Unit tests for OleDbPermission
	Attribute.

svn path=/trunk/mcs/; revision=33824
2004-09-13 22:44:16 +00:00
Peter Dennis Bartok 24a4ff084c - Added Z-Ordering methods
svn path=/trunk/mcs/; revision=33823
2004-09-13 21:18:32 +00:00
Marek Safar 24150f30a1 new test
svn path=/trunk/mcs/; revision=33822
2004-09-13 21:16:25 +00:00
Marek Safar 03d453a0c5 2004-09-13 Marek Safar <[email protected]>
* test-293.cs: New test for bug #65757.

svn path=/trunk/mcs/; revision=33821
2004-09-13 21:12:08 +00:00
Marek Safar 0812049095 2004-09-13 Marek Safar <[email protected]>
* class.cs (MethodCore.CheckBase): Fix bug #65757.

svn path=/trunk/mcs/; revision=33820
2004-09-13 20:14:57 +00:00
Chris Toshok 383e2d1e85 2004-09-13 Chris Toshok <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.Write): don't sort methods by
	token before writing out the method index, since the "index" used
	elsewhere is just added to the MethodIndexOffset.

svn path=/trunk/mcs/; revision=33819
2004-09-13 20:07:24 +00:00
Gonzalo Paniagua Javier f4c1dfb1e7 2004-09-13 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: remove unused SplitValue method.

svn path=/trunk/mcs/; revision=33817
2004-09-13 17:53:56 +00:00
Peter Dennis Bartok 34554cb8d0 - Fixed #region names
- Moved properties and methods into their proper #regions

svn path=/trunk/mcs/; revision=33816
2004-09-13 16:56:04 +00:00
Peter Dennis Bartok ce5faa8049 - Added Accept and CancelButton properties
- Added ProcessDialogKey() method

svn path=/trunk/mcs/; revision=33815
2004-09-13 16:51:29 +00:00
Zoltan Varga 85a852e5f3 2004-09-13 Zoltan Varga <[email protected]>
* image.c (mono_image_addref): Fix comment.

svn path=/trunk/mono/; revision=33814
2004-09-13 16:29:00 +00:00
Zoltan Varga 45c3ecd350 2004-09-13 Zoltan Varga <[email protected]>
* driver.c (mini_regression_list): Do not call mono_assembly_close
	since assemblies can't be unloaded.

svn path=/trunk/mono/; revision=33813
2004-09-13 16:28:12 +00:00
Lluis Sanchez f8bce03ba0 * SoapReader.cs: Handle SOAP invocation without arguments in SoapReader.
Patch by Stefan Paletta.

svn path=/trunk/mcs/; revision=33812
2004-09-13 16:04:42 +00:00
Jordi Mas i Hernandez 3bfd9dbf1e Add to the build Process
svn path=/trunk/mcs/; revision=33811
2004-09-13 15:24:56 +00:00
Martin Baulig 96d2907243 2004-09-10 Martin Baulig <[email protected]>
Backported my MemberName changes from GMCS into MCS.

	- we are now using a special `MemberName' class instead of using
	strings; in GMCS, the `MemberName' also contains the type
	arguments.

	- changed the grammar rules a bit:
	  * the old `member_name' is now a `namespace_or_type_name':
	    The rule is that we use `namespace_or_type_name' everywhere
	    where we expect either a "member name" (GetEnumerator) or a
	    "member name" with an explicit interface name
	    (IEnumerable.GetEnumerator).
	    In GMCS, the explicit interface name may include type arguments
	    (IEnumerable<T>.GetEnumerator).
	  * we use `member_name' instead of just `IDENTIFIER' for
	    "member names":
	    The rule is that we use `member_name' wherever a member may
	    have type parameters in GMCS.

	* decl.cs (MemberName): New public class.
	(MemberCore.MemberName): New public readonly field.
	(MemberCore.ctor): Take a `MemberName' argument, not a string.
	(DeclSpace): Likewise.

	* delegate.cs (Delegate.ctor): Take a MemberName, not a string.
	* enum.cs (Enum.ctor): Likewise.

	* namespace.cs (AliasEntry.Alias): Changed type from Expression to
	MemberName.
	(AliasEntry.ctor): Take a MemberName, not an Expression.
	(AliasEntry.UsingAlias): Likewise.

	* class.cs (TypeContainer.ctor): Take a MemberName, not a string.
	(IMethodData.MemberName): Changed type from string to MemberName.
	(MemberBase.ExplicitInterfaceName): Likewise.
	(AbstractPropertyEventMethod.SetupName): Make this private.
	(AbstractPropertyEventMethod.ctor): Added `string prefix'
	argument; compute the member name here.
	(AbstractPropertyEventMethod.UpdateName): Recompute the name based
	on the `member.MemberName' and the `prefix'.

	* cs-parser.jay (attribute_name): Use `namespace_or_type_name',
	not `type_name'.
	(struct_declaration): Use `member_name' instead of `IDENTIFIER';
	thus, we get a `MemberName' instead of a `string'.  These
	declarations may have type parameters in GMCS.
	(interface_method_declaration, delegate_declaration): Likewise.
	(class_declaration, interface_declaration): Likewise.
	(method_header): Use `namespace_or_type_name' instead of
	`member_name'.  We may be an explicit interface implementation.
	(property_declaration, event_declaration): Likewise.
	(member_name): This is now just an `IDENTIFIER', not a
	`namespace_or_type_name'.
	(type_name, interface_type): Removed.
	(namespace_or_type_name): Return a MemberName, not an Expression.
	(primary_expression): Use `member_name' instead of `IDENTIFIER';
	call GetTypeExpression() on the MemberName to get an expression.
	(IndexerDeclaration.interface_type): Changed type from string to
	MemberName.
	(MakeName): Operate on MemberName's instead of string's.

svn path=/trunk/mcs/; revision=33810
2004-09-13 14:38:16 +00:00
Peter Dennis Bartok 9251c57c54 - Initial check-in
svn path=/trunk/mcs/; revision=33809
2004-09-13 14:18:42 +00:00
Zoltan Varga a5e81f45b4 2004-09-13 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_parse_type): Avoid memory allocations if
	possible.

svn path=/trunk/mono/; revision=33808
2004-09-13 13:08:21 +00:00
Atsushi Eno 776425f6be 2004-09-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSetTests.cs : added.

svn path=/trunk/mcs/; revision=33807
2004-09-13 12:54:15 +00:00
Ravindra d26ef9745b * Graphics.cs: MSDN says that using image width and height gives
better performance, hence we are using image width and height to
	avoid autoscaling in DrawImageUnscaled.

svn path=/trunk/mcs/; revision=33805
2004-09-13 11:58:04 +00:00
Dick Porter d91ccf16f9 Compile fix
svn path=/trunk/mono/; revision=33804
2004-09-13 11:46:22 +00:00
Raja R Harinath ce3e1abbeb (test-compiler-jit-real): Fix logic so that logs of
testcases that fail compilation aren't deleted.  Avoid emitting
spurious PASS: messages.

svn path=/trunk/mcs/; revision=33803
2004-09-13 09:29:36 +00:00
Raja R Harinath 54e6a3cd8d Remove cs0246-6.cs.
svn path=/trunk/mcs/; revision=33802
2004-09-13 09:07:00 +00:00
Raja R Harinath 4de38c97ac Fix bug #55770.
* namespace.cs (AliasEntry.Resolve): Implement section 16.3.1.
(NamespaceEntry.Lookup): Add new argument to flag if we want the
lookup to avoid symbols introduced by 'using'.
* rootcontext.cs (NamespaceLookup): Update.

svn path=/trunk/mcs/; revision=33801
2004-09-13 09:01:57 +00:00
Marek Safar 9213b8e99a Was wrong condition
svn path=/trunk/mcs/; revision=33800
2004-09-13 09:00:45 +00:00
Jambunathan K 81f353e180 * reflection.c (mono_param_get_objects): Modified to return
ParameterInfo.DefaultValue object.

(get_default_param_value_blobs):
(mono_get_object_from_blob):
(mono_get_dbnull_object): New helper routines.

* object.c (mono_get_constant_value_from_blob): New helper routine
carved out from get_default_field_value ()

* object-internals.h (mono_get_constant_value_from_blob): Added
function declaration.

svn path=/trunk/mono/; revision=33799
2004-09-13 08:48:58 +00:00
Atsushi Eno c3ebf1694a 2004-09-13 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources : Added XPathAtomicValueTests.cs.

svn path=/trunk/mcs/; revision=33792
2004-09-13 04:06:22 +00:00
Atsushi Eno 8d7ab73dde 2004-09-13 Atsushi Enomoto <[email protected]>
* XPathAtomicValueTests.cs : added.

svn path=/trunk/mcs/; revision=33791
2004-09-13 04:05:13 +00:00
Atsushi Eno 505e8bf944 2004-09-13 Atsushi Enomoto <[email protected]>
* XPathAtomicValue.cs : All .ctor() are separeted from Init().
	  In .ctor(object, XmlSchemaType):
	  - For lists that contains just one item, Init() recursively.
	  - For XPathAtomicValue, Init() recursively for its content fields.
	  For Value and TypedValue, consider typecode from XmlSchemaType.

svn path=/trunk/mcs/; revision=33790
2004-09-13 04:03:54 +00:00
Atsushi Eno 4871cc5c58 2004-09-13 Atsushi Enomoto <[email protected]>
* SequenceType.cs, XPath2Expression.cs :
	  Added SequenceType.IsNumeric(XmlTypeCode).
	  In type comparison, untyped XPathNavigator is xdt:untypedAtomic
	  (not sure as yet if it is always correct.)
	* XQueryComparisonOperator.cs : rewrote all numeric comparison using
	  IsNumeric().

svn path=/trunk/mcs/; revision=33789
2004-09-13 03:57:40 +00:00
Gonzalo Paniagua Javier 1e049b674f 2004-09-13 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: added SetupInformationNoCopy property, since
	SetupInformation creates a copy now, all updates to it should use the
	actual data. Fixes bug #61991 take 2.

svn path=/trunk/mcs/; revision=33788
2004-09-13 03:50:23 +00:00
Gonzalo Paniagua Javier 03d06266ea 2004-09-12 Gonzalo Paniagua Javier <[email protected]>
* RadioButton.cs: fix GroupName when the control is inside a
	NamingContainer different from Page. Closes bug #65586.

svn path=/trunk/mcs/; revision=33786
2004-09-13 02:25:40 +00:00
Francisco Figueiredo Jr. 0e5e637322 2004-09-12 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper:
		VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
		for heads up.

svn path=/trunk/mcs/; revision=33785
2004-09-13 01:18:27 +00:00
Francisco Figueiredo Jr. cf6bdb5c48 2004-09-12 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper:
		ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
		Fix bug 955 in gborg.

svn path=/trunk/mcs/; revision=33784
2004-09-13 00:20:35 +00:00
Marek Safar 37de8e5a26 Improved test
svn path=/trunk/mcs/; revision=33783
2004-09-12 20:22:53 +00:00
Marek Safar b825b31174 2004-09-12 Marek Safar <[email protected]>
* class.cs (TypeContainer.DoDefineMembers): Do not call
	DefineDefaultConstructor for static classes.

svn path=/trunk/mcs/; revision=33782
2004-09-12 20:21:07 +00:00
Marek Safar 86d2c09669 2004-09-12 Marek Safar <[email protected]>
* TypeBuilder.cs: Do not create default constructor for
	static classes.

svn path=/trunk/mcs/; revision=33781
2004-09-12 20:18:23 +00:00
Ben Maurer 48959a1691 2004-09-12 Ben Maurer <[email protected]>
* HttpContext.cs: use CallContext. It is a little bit faster.

svn path=/trunk/mcs/; revision=33775
2004-09-12 16:06:53 +00:00
Ben Maurer a75ca5d34e 2004-09-12 Ben Maurer <[email protected]>
* BinaryReader.cs: Use ReadByte when possible. Gives a tad
	of perf, and fixes a bug reported on mono-patches-list

svn path=/trunk/mcs/; revision=33772
2004-09-12 15:02:23 +00:00
Marek Safar dc9947a7b7 refresh
svn path=/trunk/mcs/; revision=33771
2004-09-12 13:20:16 +00:00
Marek Safar f3343f7a0c 2004-09-12 Marek Safar <[email protected]>
* attribute.cs (Attribute.Resolve): Add error 653 report.

	* class.cs (Class.ApplyAttributeBuilder): Add error 641
	report.
	(Method.ApplyAttributeBuilder): Add error 685 report.
	(Operator.Define): Add error 564 report.

	* cs-tokenizer.cs (handle_hex): Add error 1013 report.

	* expression.cs (Invocation.DoResolve): Add error
	245 and 250 report.

	* parameter.cs (Parameter.ApplyAttributeBuilder): Add
	error 674 report.

svn path=/trunk/mcs/; revision=33770
2004-09-12 13:19:49 +00:00
Atsushi Eno dce1693db5 2004-09-12 Atsushi Enomoto <[email protected]>
* XPath2Expression.cs : ComparisonExpr.CompareAtomic() should consider
	  spec-conformant untypedAtomic handling.
	* XQueryContext.cs : Variables were incorrectly added to the older
	  context. Fixed Context and ContextManager constructors that were
	  in silly chicken-and-egg.
	* XPathSequence.cs : now Context property always returns current
	  XQuery context (will be fixed; it is workaround for variable
	  resolution). In For iteration, context sequence should vary.
	* XQueryComparisonOperator.cs : All value comparison failed to return
	  true when both operands are the same types.
	* XsltCommand.cs : use XmlWriter.Create().

svn path=/trunk/mcs/; revision=33769
2004-09-12 10:28:54 +00:00
Gert Driesen e5cffe24df * System.dll.sources: removed duplicate entry for System.Net.Configuration.
WebRequestModuleHandler

svn path=/trunk/mcs/; revision=33768
2004-09-12 07:37:22 +00:00
Ben Maurer aef960c07c oops
svn path=/trunk/mcs/; revision=33767
2004-09-12 02:01:39 +00:00
Ben Maurer e61cad2588 2004-09-11 Ben Maurer <[email protected]>
* CallContext.cs: Use [ThreadStatic], it is much faster than the
	Thread.[Get/Set]Data functions

svn path=/trunk/mcs/; revision=33766
2004-09-12 01:43:02 +00:00
Ben Maurer 658b904703 2004-09-11 Ben Maurer <[email protected]>
* CADMessages.cs: get rid of method / type name, it is not needed
	* MethodCall.cs: lazily init method / type name.
	* ReturnMessage.cs: lazily init method / type name, sig.

svn path=/trunk/mcs/; revision=33765
2004-09-12 01:24:43 +00:00
Ben Maurer 8d6c76318b 2004-09-11 Ben Maurer <[email protected]>
* RemotingServices.cs: use MethodBase rather than looking
	for the method ourselves. It has higher perf in x-ad calls.

svn path=/trunk/mcs/; revision=33764
2004-09-12 01:20:28 +00:00
Sebastien Pouliot 240954cfb4 2004-09-11 Sebastien Pouliot <[email protected]>
* System_test.dll.sources: Added unit tests for System.Diagnostics.
	EventLogPermission and PerformanceCounterPermission.

svn path=/trunk/mcs/; revision=33763
2004-09-11 22:55:05 +00:00
Sebastien Pouliot 48f0d411c5 2004-09-11 Sebastien Pouliot <[email protected]>
* EventLogPermission.cs: Completed implementation.
	* EventLogPermissionAccess.cs: Fixed enum values.
	* EventLogPermissionEntry.cs: Added validation for machine names.
	* EventLogPermissionEntryCollection.cs: Added synchronization
	of entries with the base permission class.
	* PerformanceCounterPermission.cs: Completed implementation.
	* PerformanceCounterPermissionAccess.cs: Fixed enum values.
	* PerformanceCounterPermissionEntry.cs: Added validations for machine
	and category names.
	* PerformanceCounterPermissionEntryCollection.cs: Added synchronization
	of entries with the base permission class.

svn path=/trunk/mcs/; revision=33762
2004-09-11 22:53:31 +00:00
Sebastien Pouliot 5377c62903 2004-09-11 Sebastien Pouliot <[email protected]>
* EventLogPermissionTest.cs: New. Unit tests for EventLogPermission.
	* PerformanceCounterPermissionTest.cs: New. Unit tests for
	PerformanceCounterPermission.

svn path=/trunk/mcs/; revision=33761
2004-09-11 22:48:00 +00:00
Atsushi Eno fc652475c1 2004-09-12 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : CloseOutput must be true by default.

svn path=/trunk/mcs/; revision=33760
2004-09-11 22:28:58 +00:00
Marek Safar 828399fbef refresh
svn path=/trunk/mcs/; revision=33759
2004-09-11 20:57:23 +00:00
Marek Safar 5e36272d2c 2004-09-11 Marek Safar <[email protected]>
* class.cs (ConstructorInitializer.Resolve):
	Wrong error number (515->516).

svn path=/trunk/mcs/; revision=33758
2004-09-11 20:56:55 +00:00
Francisco Figueiredo Jr. 6a6029bbfe 2004-09-11 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs:
		Dispose: Improved implementation. Also added warning logging for
		NpgsqlConnection leakings.
		Close: Fixed code to allow calling many times even when being disposed.
	* Npgsql/NpgsqlConnection.resx:
		Added new warning logging message for NpgsqlConnection leakings.
	* Npgsql/NpgsqlConnector.cs:
		IsValid: new method to check if Connector is still valid.
	* Npgsql/NpgsqlConnectorPool.cs:
		GetPooledConnector: Improved to check validity of Connector.
		FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
		because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.

svn path=/trunk/mcs/; revision=33757
2004-09-11 20:17:12 +00:00
Marek Safar 468badd403 2004-09-11 Marek Safar <[email protected]>
* class.cs (Indexer.Define): Add error 631 report.

svn path=/trunk/mcs/; revision=33756
2004-09-11 20:12:27 +00:00
Ben Maurer 01c3c9e673 2004-09-11 Ben Maurer <[email protected]>
* CADMessages.cs, MethodCall.cs: When doing an x-appdomain
	call, store the method in a RuntimeMethodHandle. This allows
	us to avoid the expensive lookup operations that must be done
	to resolve the method. This makes xsp go from 250 r/s to 450 r/s
	for me.

svn path=/trunk/mcs/; revision=33755
2004-09-11 20:10:46 +00:00
Zoltan Varga e85b77c03f 2004-09-11 Zoltan Varga <[email protected]>
* cpu-amd64.md: Fix more instruction lengths.

svn path=/trunk/mono/; revision=33754
2004-09-11 19:05:53 +00:00
Zoltan Varga 518cbf98c3 2004-09-11 Zoltan Varga <[email protected]>
* assembly.c assembly.h icall.c class.c appdomain.c: Lazily load
	referenced assemblies. Fixes #62135.

	* exception.h exception.c (mono_get_exception_file_not_found2): New
	helper function.

svn path=/trunk/mono/; revision=33753
2004-09-11 18:51:19 +00:00
Zoltan Varga 5a64e9d5e3 2004-09-11 Zoltan Varga <[email protected]>
* cpu-amd64.md: Fix lengths of some instructions.

svn path=/trunk/mono/; revision=33752
2004-09-11 18:45:08 +00:00
Marek Safar d01f0f7212 2004-09-11 Marek Safar <[email protected]>
* ecore.cs (Error_NegativeArrayIndex): Fix 248 error.

svn path=/trunk/mcs/; revision=33751
2004-09-11 18:34:03 +00:00
Marek Safar d4e377f894 2004-09-11 Marek Safar <[email protected]>
* expression.cs (Probe.DoResolve): Add error CS0241 report.

svn path=/trunk/mcs/; revision=33750
2004-09-11 17:14:08 +00:00
Sebastien Pouliot 0e83560f7f 2004-09-11 Sebastien Pouliot <[email protected]>
* Makefile: Updated to include unit tests.
	* System.ServiceProcess.dll.sources: Added ServiceControllerPermission
	class to the build.
	* System.ServiceProcess_test.dll.sources: New. Added sources file for
	unit tests.

svn path=/trunk/mcs/; revision=33749
2004-09-11 15:07:55 +00:00
Sebastien Pouliot 7fe06dd9d1 2004-09-11 Sebastien Pouliot <[email protected]>
* ChangeLog: New.
	* ServiceControllerPermission.cs: New. Added permission class.
	* ServiceControllerPermissionAttribute.cs: Completed TODO, added
	missing validations (machine and service names). Fixed AttributeUsage.
	* ServiceControllerPermissionEntry.cs: Added internal GetBaseEntry for
	synchronization. Converted spaces to tabs.
	* ServiceControllerPermissionEntryCollection.cs: Added synchronization
	with entries in the base class. Converted spaces to tabs.

svn path=/trunk/mcs/; revision=33748
2004-09-11 15:06:39 +00:00
Sebastien Pouliot fb44a8523a 2004-09-11 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: New. Unit tests for
	ServiceControllerPermissionAttribute class.
	* ServiceControllerPermissionTest.cs: New. Unit tests for Service
	ControllerPermission class.

svn path=/trunk/mcs/; revision=33747
2004-09-11 15:01:48 +00:00
Ben Maurer 40ba891835 2004-09-11 Ben Maurer <[email protected]>
* inssel.brg: Make the array ldelema check aot friendly.

svn path=/trunk/mono/; revision=33745
2004-09-11 13:57:16 +00:00
Rafael Teixeira b859e23742 2004-09-11 Rafael Teixeira <[email protected]>
* Utils.cs: Wrong return type in CopyArray Signature. Bug #65651

svn path=/trunk/mcs/; revision=33744
2004-09-11 13:04:49 +00:00
Rafael Teixeira 0e01936f55 2004-09-11 Rafael Teixeira <[email protected]>
* ObjectType.cs: Corrected some test ordering in ObjTst and using new getObjTstString to test two candidate strings. Bug #65653

svn path=/trunk/mcs/; revision=33743
2004-09-11 12:30:09 +00:00
Zoltan Varga 3cf5cdc3df 2004-09-11 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_get_argument_info): Fix stack_unwind test.

	* cpu-amd64.md inssel-long.brg inssel-amd64.brg: Small optimizations.

svn path=/trunk/mono/; revision=33742
2004-09-11 09:46:20 +00:00
Peter Dennis Bartok c67bc62953 - Added DoDragDrop() [incomplete]
- Properly implemented 'Visible' handling
- Added SetVisibleCore()
- Implemented FindChildAtPoint()
- Implemented GetContainerControl()
- Implemented Hide()

svn path=/trunk/mcs/; revision=33741
2004-09-11 03:50:00 +00:00
Peter Dennis Bartok 4dab3ebed2 - Moved methods into their appropriate #regions
- Reordered methods within regions alphabetically

svn path=/trunk/mcs/; revision=33740
2004-09-11 01:28:11 +00:00
Peter Dennis Bartok a7e8c57fd4 - Added method to retrieve text from window
svn path=/trunk/mcs/; revision=33739
2004-09-11 00:57:35 +00:00
Peter Dennis Bartok 592e2a8ecc - Moved some internal functions into the internal region
- Implemented FontHeight
- Implemented RenderRightToLeft
- Implemented ResizeRedraw
- Implemented ShowFocusCues
- Implemented ShowKeyboardCues
- Implemented FromChildHandle
- Implemented FromHandle
- Implemented IsMnemonic
- Implemented ReflectMessage
- All public and protected Static Methods are now complete

svn path=/trunk/mcs/; revision=33738
2004-09-11 00:56:33 +00:00
Peter Dennis Bartok f987a058db - Implemented remaining missing public instance properties
- Alphabetized some out of order properties

svn path=/trunk/mcs/; revision=33735
2004-09-10 22:54:52 +00:00
Tim Coleman cb5bef2327 2004-10-10 Tim Coleman <[email protected]>
* ConfigurationElementCollection.cs:
		Add XML_DEP

svn path=/trunk/mcs/; revision=33734
2004-09-10 22:09:05 +00:00
Tim Coleman f71a1bd1cf 2004-09-10 Tim Coleman <[email protected]>
* Add XML_DEP to all sources.

svn path=/trunk/mcs/; revision=33733
2004-09-10 22:08:21 +00:00
Marek Safar 92362b4896 2004-09-10 Marek Safar <[email protected]>
* do-test.pl: Make report readable (I was really confuse).
	Fixed bug on my machine CR+LF in *-expect-* files.

svn path=/trunk/mcs/; revision=33731
2004-09-10 21:12:40 +00:00
Sebastien Pouliot 0e5a303ba3 2004-09-10 Sebastien Pouliot <[email protected]>
* System_test.dll.sources: Added PermissionHelper to the build.
	* System_test.dll.sources: Added unit tests for System.Security.
	Permissions.ResourcePermissionBase and ResourcePermissionBaseEntry,
	System.Web.AspNetHostingPermission and AspNetHostingPermissionAttribute.

svn path=/trunk/mcs/; revision=33730
2004-09-10 19:58:21 +00:00
Sebastien Pouliot f752fbe02c 2004-09-10 Sebastien Pouliot <[email protected]>
* EventLogPermission.cs: Fixed initialization (TagNames and
	PermissionAccessType).
	* EventLogPermissionAccess.cs: Added new enums for NET_2_0 and added
	[Obsolete] to some existing elements.
	* EventLogPermissionAttribute.cs: Added missing validation to property
	MachineName. Fixed changes for NET_2_0.
	* PerformanceCounterPermission.cs: Fixed initialization (TagNames and
	PermissionAccessType).
	* PerformanceCounterPermissionAccess.cs: Added new enums for NET_2_0
	and added [Obsolete] to some existing elements.
	* PerformanceCounterPermissionAttribute.cs: Added missing validations
	to properties (Path, MachineName). Fixed changes for NET_2_0.

svn path=/trunk/mcs/; revision=33729
2004-09-10 19:54:12 +00:00
Tim Coleman d4388ed7a1 2004-09-10 Tim Coleman <[email protected]>
* System.dll.sources: Add System.Net.Cache, System.Net.Configuration,
                System.Net.Mail, System.Configuration classes

svn path=/trunk/mcs/; revision=33728
2004-09-10 19:53:11 +00:00
Tim Coleman 32fb1735a7 2004-09-10 Tim Coleman <[email protected]>
* SmtpClient.cs SmtpFailedRecipientsException.cs:
                Add failed recipient exception handling.

svn path=/trunk/mcs/; revision=33727
2004-09-10 19:51:36 +00:00
Tim Coleman 5ca6f326d0 2004-09-10 Tim Coleman <[email protected]>
* ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
                New Fx 2.0 stubs
        * ConfigurationElement.cs:
                Fix function declaration

svn path=/trunk/mcs/; revision=33726
2004-09-10 19:50:10 +00:00
Tim Coleman 38d8ff2fd7 2004-09-10 Tim Coleman <[email protected]>
* AuthenticationModuleElement.cs AuthenticationModuleElementCollection.cs
        * AuthenticationModulesSection.cs BypassElement.cs BypassElementCollection.cs
        * ConnectionManagementElement.cs ConnectionManagementElementCollection.cs
        * ConnectionManagementSection.cs DefaultProxySection.cs
        * HttpCachePolicyElement.cs HttpWebRequestElement.cs
        * Ipv6Element.cs MailSettingsSection.cs ModuleElement.cs
        * NetSectionGroup.cs ProxyElement.cs RequestCachingSection.cs
        * ServicePointManagerElement.cs SettingsSection.cs SmtpElement.cs
        * SocketElement.cs UriParserElement.cs UriParserElementCollection.cs
        * UriParserSection.cs WebRequestModuleElement.cs
        * WebRequestModuleElementCollection.cs WebRequestModulesSection.cs:
                New classes for Fx 2.0

svn path=/trunk/mcs/; revision=33725
2004-09-10 19:47:45 +00:00
Sebastien Pouliot d0cb58bb73 2004-09-10 Sebastien Pouliot <[email protected]>
* DnsPermission.cs: Updated to pass new unit tests.
	* DnsPermissionAttribute.cs: Cleanup.
	* SocketPermission.cs: Updated to pass new unit tests.
	* SocketPermissionAttribute.cs: Updated to pass new unit tests.
	* WebPermission.cs: Implemented some TODO - not complete yet.
	* WebPermissionAttribute.cs: Updated to pass new unit tests.

svn path=/trunk/mcs/; revision=33724
2004-09-10 19:47:03 +00:00
Tim Coleman 69c422ca86 2004-09-10 Tim Coleman <[email protected]>
* HttpCacheAgeControl.cs HttpRequestCacheLevel.cs HttpRequestCachePolicy.cs
        * RequestCacheLevel.cs RequestCachePolicy.cs:
                New classes for Fx 2.0

svn path=/trunk/mcs/; revision=33723
2004-09-10 19:44:30 +00:00
Sebastien Pouliot ed2d3bacae 2004-09-10 Sebastien Pouliot <[email protected]>
* AspNetHostingPermission.cs: Completed TODO.
	* AspNetHostingPermissionAttribute.cs: Completed TODO and added enum
	validation.

svn path=/trunk/mcs/; revision=33722
2004-09-10 19:40:45 +00:00
Sebastien Pouliot b780843db1 2004-09-10 Sebastien Pouliot <[email protected]>
* PermissionHelper.cs: New. Static methods to help implementation of
	permission classes.
	* ResourcePermissionBase.cs: Implemented all TODO (except FromXml
	which isn't complete).
	* ResourcePermissionBaseEntry.cs: Minor cleanup (namespaces, style).

svn path=/trunk/mcs/; revision=33721
2004-09-10 19:32:23 +00:00
Sebastien Pouliot 6533620733 2004-09-10 Sebastien Pouliot <[email protected]>
* DnsPermissionAttributeTest.cs: New. Unit tests for DnsPermissionAttr.
	* DnsPermissionTest.cs: New. Unit tests for DnsPermission.
	* SocketPermissionAttributeTest.cs: New. Unit tests for
	SocketPermissionAttribute.
	* WebPermissionAttributeTest.cs: New. Unit tests for WebPermission
	Attribute.

svn path=/trunk/mcs/; revision=33720
2004-09-10 19:25:58 +00:00
Sebastien Pouliot 2f5a2314bb 2004-09-10 Sebastien Pouliot <[email protected]>
* AspNetHostingPermissionAttributeTest.cs: New. Unit tests for AspNet
	HostingPermissionAttribute.
	* AspNetHostingPermissionTest.cs: New. Unit tests for AspNetHosting
	Permission.

svn path=/trunk/mcs/; revision=33719
2004-09-10 19:22:04 +00:00
Sebastien Pouliot fd63bebf56 2004-09-10 Sebastien Pouliot <[email protected]>
* EventLogPermissionAttributeTest.cs: New. Unit tests for
	EventLogPermissionAttribute.
	* PerformanceCounterPermissionAttributeTest.cs: New. Unit tests for
	PerformanceCounterPermissionAttribute.

svn path=/trunk/mcs/; revision=33718
2004-09-10 19:20:53 +00:00
Sebastien Pouliot c42457ab82 2004-09-10 Sebastien Pouliot <[email protected]>
* ResourcePermissionBaseEntryTest.cs: New. Unit tests for
	ResourcePermissionBaseEntry.
	* ResourcePermissionBaseTest.cs: New. Unit tests for
	ResourcePermissionBase.

svn path=/trunk/mcs/; revision=33717
2004-09-10 19:17:50 +00:00
Zoltan Varga 4b3965e183 2004-09-10 Zoltan Varga <[email protected]>
* mini-x86.c: Fix build.

svn path=/trunk/mono/; revision=33716
2004-09-10 18:52:36 +00:00
Zoltan Varga d95f786582 2004-09-10 Zoltan Varga <[email protected]>
* mini-sparc.c mini-x86.c mini-amd64.c: Use the new
	mono_type_get_underlying_type () helper function to simplify code.

svn path=/trunk/mono/; revision=33715
2004-09-10 18:11:44 +00:00
Zoltan Varga 981b1e63b3 2004-09-10 Zoltan Varga <[email protected]>
* class.h class.c: Add mono_type_get_underlying_type ().

svn path=/trunk/mono/; revision=33713
2004-09-10 18:00:39 +00:00
Zoltan Varga df3a9912e9 2004-09-10 Zoltan Varga <[email protected]>
* Makefile.am (populate-runtime-subdir): Avoid -path argument to find
	since it is not supported on solaris.

svn path=/trunk/mono/; revision=33712
2004-09-10 17:29:35 +00:00
Marek Safar 496359b561 2004-09-10 Marek Safar <[email protected]>
* cs-parser.jay: Added error CS0241 report.

svn path=/trunk/mcs/; revision=33711
2004-09-10 14:30:05 +00:00
Sebastien Pouliot 9b4ee8d132 2004-09-10 Sebastien Pouliot <[email protected]>
* DirectoryServicesPermission.cs: Completed TODO.
	* DirectoryServicesPermissionAttribute.cs: Added path validation and
	enable the creation of unrestricted permissions.
	* DirectoryServicesPermissionEntry.cs: Add internal method to return
	an ResourcePermissionBaseEntry instance.
	* DirectoryServicesPermissionEntryCollection.cs: Allow synchronization
	of elements with the base permission class (required to enable Copy).

svn path=/trunk/mcs/; revision=33710
2004-09-10 14:24:36 +00:00
Sebastien Pouliot ab514df016 2004-09-10 Sebastien Pouliot <[email protected]>
* Makefile: Activate unit tests.
	* System.DirectoryServices_test.dll.sources: New. Source list for unit
	tests.

svn path=/trunk/mcs/; revision=33709
2004-09-10 14:17:48 +00:00
Sebastien Pouliot c7203e757c 2004-09-10 Sebastien Pouliot <[email protected]>
* ChangeLog: New.
	* DirectoryServicesPermissionAttributeTest.cs: New. Unit tests for
	DirectoryServicesPermissionAttribute.
	* DirectoryServicesPermissionTest.cs: New. Unit tests for Directory
	ServicesPermission.

svn path=/trunk/mcs/; revision=33708
2004-09-10 14:13:46 +00:00
Sebastien Pouliot c81f8c0e6d 2004-09-10 Sebastien Pouliot <[email protected]>
* MessageQueuePermission.cs: Implemented enough TODO so compilers can
	call ToXml (and the runtime can call FromXml) without exceptions.
	* MessageQueuePermissionAttribute.cs: Implemented all TODO.
	* MessageQueuePermissionEntry.cs: Implemented all TODO.
	* MessageQueuePermissionEntryCollection.cs: Removed Clear on On*
	methods and added TODO.

svn path=/trunk/mcs/; revision=33707
2004-09-10 14:10:35 +00:00
Sebastien Pouliot c0a27200d8 2004-09-10 Sebastien Pouliot <[email protected]>
* Makefile: Activate unit tests.
	* System.Messaging_test.dll.sources: New. Source list for unit tests.

svn path=/trunk/mcs/; revision=33706
2004-09-10 14:06:10 +00:00
Sebastien Pouliot 4bd7fe8242 2004-09-10 Sebastien Pouliot <[email protected]>
* MessageQueuePermissionAttributeTest.cs: New. Unit tests for Message
	QueuePermissionAttribute.

svn path=/trunk/mcs/; revision=33705
2004-09-10 14:03:12 +00:00
Ravindra 6c7b8e85a0 Added a check for null image.
svn path=/trunk/mcs/; revision=33704
2004-09-10 11:51:29 +00:00
Raja R Harinath 315f85b281 New test for #64330.
svn path=/trunk/mcs/; revision=33700
2004-09-10 09:38:12 +00:00
Raja R Harinath 73b58680d3 (fixed_statement): Introduce a scope for the
declaration in the 'fixed' statement.

svn path=/trunk/mcs/; revision=33699
2004-09-10 09:37:34 +00:00
Paolo Molaro 7904733e7b Some docs.
svn path=/trunk/mono/; revision=33696
2004-09-10 08:08:14 +00:00
Ravindra 3cb3105f0a * Graphics.cs: Implemented DrawIcon methods and fixed
DrawImageUnscaled method implementation.

svn path=/trunk/mcs/; revision=33694
2004-09-10 07:36:54 +00:00
Jordi Mas i Hernandez 68365538c6 remove cvs tag
svn path=/trunk/mcs/; revision=33693
2004-09-10 06:59:09 +00:00
Tim Coleman c1ca66f2a8 2004-09-09 Tim Coleman <[email protected]>
* System.dll.sources: Add new System.Net.Mail classes

svn path=/trunk/mcs/; revision=33692
2004-09-10 04:31:02 +00:00
Tim Coleman e440dc3bc6 2004-09-09 Tim Coleman <[email protected]>
* ContentType.cs: Changes to MIME headers

svn path=/trunk/mcs/; revision=33691
2004-09-10 04:28:51 +00:00
Tim Coleman 1dd5edf8db 2004-09-09 Tim Coleman <[email protected]>
* AttachmentCollection.cs MailAddressCollection.cs:
                New classes
        * Attachment.cs: Set content string
        * MailMessage.cs: Use new collection classes
        * SmtpClient.cs: Lots of MIME cleanup

svn path=/trunk/mcs/; revision=33690
2004-09-10 04:27:21 +00:00
Bernie Solomon 7e9ce72b44 2004-09-09 Bernie Solomon <[email protected]>
* Test.Sources: fix case of a couple of filenames

svn path=/trunk/mcs/; revision=33689
2004-09-10 03:16:25 +00:00
Gonzalo Paniagua Javier 849f727611 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: ensure bin directory exists before trying to access
	it. Fixes bug #65446 (not closed yet due to dependencies).

svn path=/trunk/mcs/; revision=33688
2004-09-10 02:46:22 +00:00
Gonzalo Paniagua Javier b53f5e5bb9 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpStaticObjectsCollection.cs:
	* System.Web.SessionState/HttpSessionState.cs: don't share static
	session objects declared in the application file across the application,
	but on a per-session basis. Fixes bug #65446.

svn path=/trunk/mcs/; revision=33685
2004-09-10 02:17:15 +00:00
Fawad Halim a3d03c3904 Added test cases for bug# 64995.
svn path=/trunk/mcs/; revision=33684
2004-09-10 02:01:47 +00:00
Gonzalo Paniagua Javier c1e92b2f25 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: in Transfer(path), don't keep form data if
	the transfer is done from inside a page that received a postback.
	Fixes bug #65613.

svn path=/trunk/mcs/; revision=33681
2004-09-10 01:34:47 +00:00
Marek Safar 65c6c2ff60 Please, do not commit generated file
svn path=/trunk/mcs/; revision=33680
2004-09-09 21:36:21 +00:00
Marek Safar e1353500a3 2004-09-09 Marek Safar <[email protected]>
* cs-parser.jay: Added CS0230 error report.

svn path=/trunk/mcs/; revision=33678
2004-09-09 21:13:13 +00:00
Martin Baulig 5ee922139a 2004-09-10 Martin Baulig <[email protected]>
* gen-76.cs: New test.

svn path=/trunk/mcs/; revision=33677
2004-09-09 20:54:42 +00:00
Marek Safar b63051d517 2004-09-09 Marek Safar <[email protected]>
* cs-parser.jay: Added errors CS0231 and CS0257 report.

svn path=/trunk/mcs/; revision=33676
2004-09-09 20:50:04 +00:00
Marek Safar 967e5d058e code formating
svn path=/trunk/mcs/; revision=33675
2004-09-09 20:47:58 +00:00
Martin Baulig d2fd7066c1 2004-09-09 Martin Baulig <[email protected]>
* mini-amd64.c: Don't access `type->data.klass' directly, call
	mono_class_from_mono_type() instead since the type may be a
	generic instance.

svn path=/trunk/mono/; revision=33674
2004-09-09 20:33:52 +00:00
Miguel de Icaza 8811e6dd79 Add new script
svn path=/trunk/mono/; revision=33673
2004-09-09 20:32:07 +00:00
Miguel de Icaza 69cb1d5c98 Add wsdl2 page, update wsdl man page
svn path=/trunk/mono/; revision=33672
2004-09-09 20:31:40 +00:00
Miguel de Icaza b02285ad73 Add wsdl2.exe to the dist
svn path=/trunk/mono/; revision=33671
2004-09-09 20:29:55 +00:00
Marek Safar 9e6367d7c8 2004-09-09 Marek Safar <[email protected]>
* expression.cs (Argument.Resolve): Added error CS0192 and
	CS0199 report.

svn path=/trunk/mcs/; revision=33670
2004-09-09 20:22:47 +00:00
Marek Safar 29ede20a97 2004-09-09 Marek Safar <[email protected]>
* test-291.cs: New test for #pragma warning.

svn path=/trunk/mcs/; revision=33667
2004-09-09 18:56:20 +00:00
Marek Safar e7397842a1 2004-09-09 Marek Safar <[email protected]>
C# 2.0 #pragma warning feature

	* cs-tokenizer.cs (PreProcessPragma): New method;
	Handles #pragma directive.

	* report.cs (WarningRegions): New class; Support
	class for #pragma warning directive. It tests whether
	warning is enabled for a given line.

svn path=/trunk/mcs/; revision=33666
2004-09-09 18:54:39 +00:00
Martin Baulig 2263985ade 2004-09-09 Martin Baulig <[email protected]>
* mini-amd64.c (get_call_info): Fix support for generic instances.
	(add_valuetype): Use mono_class_from_mono_type() to get the class
	since we can be a generic instance.

svn path=/trunk/mono/; revision=33661
2004-09-09 16:25:51 +00:00
Martin Baulig e2bb200ab1 Really fix generic instances.
svn path=/trunk/mono/; revision=33660
2004-09-09 15:57:59 +00:00
Tim Coleman e1aa081c6c 2004-09-09 Tim Coleman <[email protected]>
* corlib.dll.sources: Added System/Base64FormattingOptions.cs to the
	build

svn path=/trunk/mcs/; revision=33659
2004-09-09 14:43:25 +00:00
Tim Coleman 0d9aaa71bf 2004-09-09 Tim Coleman <[email protected]>
* Base64FormattingOptions.cs: New enum
        * Convert.cs: Add new ToBase64String methods for Fx 2.0

svn path=/trunk/mcs/; revision=33658
2004-09-09 14:40:50 +00:00
Tim Coleman 319122710c 2004-09-09 Tim Coleman <[email protected]>
* StringBuilder.cs: Added AppendLine methods for Fx 2.0

svn path=/trunk/mcs/; revision=33657
2004-09-09 14:37:31 +00:00
Dick Porter d7318c2a86 2004-09-09 Dick Porter <[email protected]>
* error.c:
	* io.c: Set error codes everywhere.

svn path=/trunk/mono/; revision=33656
2004-09-09 14:28:17 +00:00
Geoff Norton 7c3bdef800 2004-09-09 Geoff Norton <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes):
	Fix GetTypes() to support dynamically created assemblies.
	Patch for #65576 approved by Zoltan.

svn path=/trunk/mono/; revision=33654
2004-09-09 14:21:57 +00:00
Paolo Molaro 04d775954a Thu Sep 9 07:09:11 PDT 2004 Paolo Molaro <[email protected]>
* ScriptCompilerInfo.cs: avoid using a .cctor and fix precomp.

svn path=/trunk/mcs/; revision=33652
2004-09-09 12:59:46 +00:00
Martin Baulig 45a5ca71b9 Oops.
svn path=/trunk/mono/; revision=33651
2004-09-09 12:27:28 +00:00
Martin Baulig b4d6a3fb5b 2004-09-09 Martin Baulig <[email protected]>
* mini-amd64.c (get_call_info): Fix support for generic instances.

svn path=/trunk/mono/; revision=33650
2004-09-09 12:18:43 +00:00
Martin Baulig f4a3f28591 2004-09-09 Martin Baulig <[email protected]>
* cs-parser.jay (namespace_declaration): Fixed CS0134 reporting.

svn path=/trunk/mcs/; revision=33649
2004-09-09 11:26:24 +00:00
Ravindra 0610903042 Make redraw accessible from ToolBarButton.
svn path=/trunk/mcs/; revision=33648
2004-09-09 11:25:03 +00:00
Zoltan Varga 6c4af1cb64 2004-09-09 Zoltan Varga <[email protected]>
* reflection.c (reflection_methodbuilder_to_mono_method): Remove TODO.

svn path=/trunk/mono/; revision=33647
2004-09-09 11:23:35 +00:00
Ravindra 3e3201185b Changes in ToolBarButton need to make it's parent redraw.
svn path=/trunk/mcs/; revision=33646
2004-09-09 11:23:05 +00:00
Zoltan Varga 6ee8253260 2004-09-09 Zoltan Varga <[email protected]>
* reflection.c (reflection_methodbuilder_to_mono_method): Fix bug in
	previous patch.

svn path=/trunk/mono/; revision=33644
2004-09-09 11:19:06 +00:00
Sanja Gupta bfafef1092 ChangeLog: Updated ChangeLog.
Control.cs: Implemented methods of interface IExpressionAccessor.

svn path=/trunk/mcs/; revision=33643
2004-09-09 11:19:05 +00:00
Martin Baulig fc7e44649b New test.
svn path=/trunk/mcs/; revision=33642
2004-09-09 11:11:32 +00:00
Zoltan Varga 254ab0e12f 2004-09-09 Zoltan Varga <[email protected]>
* reflection.h reflection.c loader.c: Allow dynamic construction of
	pinvoke methods. Fixes #65571.

svn path=/trunk/mono/; revision=33641
2004-09-09 11:11:11 +00:00
Sebastien Pouliot c767473f38 2004-09-09 Sebastien Pouliot <[email protected]>
* PrintingPermission.cs: Applied the new permission template.
	Implemented missing To|FromXml. Fixed set operations, ...
	* PrintingPermissionAttribute.cs: Added enum validation for Level and
	creation of unrestricted permissions.
	* PrintingPermissionLevel.cs: Added [Serializable] for NET_2_0.

svn path=/trunk/mcs/; revision=33640
2004-09-09 11:09:41 +00:00
Martin Baulig 8ecd0a0d44 Updated.
svn path=/trunk/mcs/; revision=33639
2004-09-09 11:09:33 +00:00
Sebastien Pouliot e7ba4b602c 2004-09-09 Sebastien Pouliot <[email protected]>
* System.Drawing_test.dll.sources: Added unit tests for
	PrintingPermission and it's attribute class.

svn path=/trunk/mcs/; revision=33638
2004-09-09 10:53:40 +00:00
Sebastien Pouliot f8d9c75336 2004-09-09 Sebastien Pouliot <[email protected]>
* PrintingPermissionAttributeTest.cs: New. Unit tests for Printing
	PermissionAttribute.
	* PrintingPermissionTest.cs: New. Unit tests for PrintingPermission.

svn path=/trunk/mcs/; revision=33637
2004-09-09 10:52:40 +00:00
Dick Porter 3166ac6ea0 Compile fixes
svn path=/trunk/mono/; revision=33636
2004-09-09 10:44:30 +00:00
Zoltan Varga 150819ceea 2004-09-09 Zoltan Varga <[email protected]>
* ModuleBuilderTest.cs: Add test for lookup of global methods.

svn path=/trunk/mcs/; revision=33635
2004-09-09 10:20:31 +00:00
Zoltan Varga 2a35efb091 2004-09-09 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Set the table_idx of the global type to 1.

svn path=/trunk/mcs/; revision=33633
2004-09-09 10:15:31 +00:00
Lluis Sanchez 87f6305819 * interp.c: In interp_walk_stack, don't crash if the context is not set
(this may happen if the method is called by unmanaged code).

svn path=/trunk/mono/; revision=33632
2004-09-09 09:53:39 +00:00
Marek Safar 9c68256e6a Added langversion
svn path=/trunk/mono/; revision=33631
2004-09-09 08:55:20 +00:00
Zoltan Varga 6cf9db9602 2004-09-09 Zoltan Varga <[email protected]>
* ModuleBuilder.cs: Save the main module of the assembly even if it is
	transient.

svn path=/trunk/mcs/; revision=33629
2004-09-09 08:34:51 +00:00
Martin Baulig 53fb13028b 2004-09-09 Martin Baulig <[email protected]>
* generic.cs (TypeParameter.DefineType): Added support for
	explicit interface methods.

svn path=/trunk/mcs/; revision=33628
2004-09-09 08:28:51 +00:00
Peter Dennis Bartok 57691e7ea0 - Improve disabled string look
svn path=/trunk/mcs/; revision=33627
2004-09-09 08:28:11 +00:00
Martin Baulig d50775aa54 2004-09-09 Martin Baulig <[email protected]>
* gen-75.cs: New test.

svn path=/trunk/mcs/; revision=33626
2004-09-09 08:22:53 +00:00
Zoltan Varga 412797a268 2004-09-09 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Revert previous change since
	it causes regressions.

svn path=/trunk/mono/; revision=33625
2004-09-09 08:22:28 +00:00
Martin Baulig b2d3766e5a 2004-09-09 Martin Baulig <[email protected]>
* README.Changes: New document.  Started to list important changes
	between MCS and GMCS here.

svn path=/trunk/mcs/; revision=33624
2004-09-09 07:58:45 +00:00
Paolo Molaro 9c7c4804d7 Thu Sep 9 01:43:53 PDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, mini.h, regalloc.c, regalloc.h: powerpc speedups.

svn path=/trunk/mono/; revision=33622
2004-09-09 07:35:12 +00:00
Jordi Mas i Hernandez 6db01fd2fe measureitem args and handler
svn path=/trunk/mcs/; revision=33621
2004-09-09 07:15:19 +00:00
Ravindra caa4c8c71a Updated project.
svn path=/trunk/mcs/; revision=33620
2004-09-09 06:03:40 +00:00
Ravindra b177147269 Added some new enums to the list.
svn path=/trunk/mcs/; revision=33619
2004-09-09 05:57:39 +00:00
Ravindra bb9b26546b It's enum, not a class!
svn path=/trunk/mcs/; revision=33618
2004-09-09 05:56:20 +00:00
Ravindra 8a010bc3d3 Enums for Form.
svn path=/trunk/mcs/; revision=33617
2004-09-09 05:47:47 +00:00
Anirban Bhattacharjee ab02486724 missed out Test.Sources file in last commit
svn path=/trunk/mcs/; revision=33613
2004-09-09 04:05:08 +00:00
Ravindra 8e701cb9f9 Enums for ListView control.
svn path=/trunk/mcs/; revision=33611
2004-09-09 03:13:39 +00:00
Ravindra 2ff8c742ab PictureBox would not draw a null image to avoid crash.
svn path=/trunk/mcs/; revision=33610
2004-09-09 03:03:49 +00:00
Ravindra 6814d3da57 Removed unreachable code.
svn path=/trunk/mcs/; revision=33609
2004-09-09 03:01:35 +00:00
Miguel de Icaza c9e719c5c5 2004-09-08 Miguel de Icaza <[email protected]>
* const.cs: Add more descriptive error report, tahnks to
	Sebastien.

svn path=/trunk/mcs/; revision=33604
2004-09-08 23:36:00 +00:00
Tim Coleman fa3d3892ea 2004-09-08 Tim Coleman <[email protected]>
* Attachment.cs: Add SetContentFromFile methods
        * MailMessage.cs: Add MIME-Version header
        * SmtpClient.cs: Add some attachment handling.

svn path=/trunk/mcs/; revision=33603
2004-09-08 23:26:44 +00:00
Gonzalo Paniagua Javier 6c437856da 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
* WebServiceCompiler.cs: fix buglet in my last commit.

svn path=/trunk/mcs/; revision=33601
2004-09-08 23:25:04 +00:00
Miguel de Icaza d83f3856a1 Fix ArgumentNullException arguments, thanks Sebastien
svn path=/trunk/mcs/; revision=33600
2004-09-08 23:11:56 +00:00
Miguel de Icaza 046cc83ddc 2004-09-08 Miguel de Icaza <[email protected]>
* File.cs: Added Gettextification, provide a better error message
	for #62112
2004-09-08  Miguel de Icaza  <[email protected]>

	* Locale.cs: Added overload that calls String.Format.

svn path=/trunk/mcs/; revision=33597
2004-09-08 22:12:40 +00:00
Bernie Solomon 74e373d7f3 2004-09-08 Bernie Solomon <[email protected]>
* mb-parser.jay: fix CopyTo args when parsing parameters

svn path=/trunk/mcs/; revision=33596
2004-09-08 21:19:27 +00:00
Bernie Solomon b22296b803 2004-09-08 Bernie Solomon <[email protected]>
* expression.cs: cope with ParamArray for no args
	* mb-parser.jay: dump parsing exception with --stacktrace

svn path=/trunk/mcs/; revision=33595
2004-09-08 21:13:22 +00:00
Martin Baulig 8ef1604850 2004-09-08 Martin Baulig <[email protected]>
* class.c (class_compute_field_layout): Don't call
	mono_class_layout_fields() for open generic instances.

svn path=/trunk/mono/; revision=33594
2004-09-08 19:19:40 +00:00
Martin Baulig 0ecc982c00 2004-09-08 Martin Baulig <[email protected]>
* class.cs
	(TypeContainer.CheckRecursiveDefinition): New protected method.
	(TypeContainer.DefineType): Move the CS0146 check into
	CheckRecursiveDefinition().

svn path=/trunk/mcs/; revision=33593
2004-09-08 17:46:56 +00:00
Martin Baulig b603f756f1 Updated again.
svn path=/trunk/mcs/; revision=33592
2004-09-08 17:43:09 +00:00
Marek Safar e4a42850f1 2004-09-08 Marek Safar <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): Fixed CS0198 report.

svn path=/trunk/mcs/; revision=33584
2004-09-08 15:55:32 +00:00
Bernie Solomon 93b7753e3b 2004-09-08 Bernie Solomon <[email protected]>
* threads.c appdomain.c: fix typo in GC macro

svn path=/trunk/mono/; revision=33583
2004-09-08 15:07:13 +00:00
Marek Safar 73fe387760 2004-09-08 Marek Safar <[email protected]>
* Marshal.cs: Class is static in NET_2_0.

svn path=/trunk/mcs/; revision=33580
2004-09-08 14:40:59 +00:00
Lluis Sanchez 131cf2c0dd * CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression.
It was causing regressions.

svn path=/trunk/mcs/; revision=33578
2004-09-08 14:16:04 +00:00
Marek Safar 715d1cfc6b 2004-09-08 Marek Safar <[email protected]>
* Interlocked.cs: Class is static in NET_2_0.

svn path=/trunk/mcs/; revision=33577
2004-09-08 14:07:05 +00:00
Lluis Sanchez 88ad9ccdd4 * delegate8.cs: New regression test for bug #59299.
* Makefile.am: Added delegate8.cs.

svn path=/trunk/mono/; revision=33576
2004-09-08 14:01:54 +00:00
Marek Safar 92587190c7 2004-09-08 Marek Safar <[email protected]>
* Directory.cs,
	* File.cs: Class is static for NET_2_0.

svn path=/trunk/mcs/; revision=33575
2004-09-08 13:56:24 +00:00
Marek Safar b3d3c6e409 2004-09-08 Marek Safar <[email protected]>
* Console.cs,
	* GC.cs: Class is static for NET_2_0.

svn path=/trunk/mcs/; revision=33574
2004-09-08 13:30:17 +00:00
Rafael Teixeira cd462b4b4a 2004/08/19 Rafael Teixeira <[email protected]>
* mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
		like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does

svn path=/trunk/mcs/; revision=33573
2004-09-08 13:10:16 +00:00
Jordi Mas i Hernandez c6bf9396ed enumerations need it by menus
svn path=/trunk/mcs/; revision=33571
2004-09-08 12:45:12 +00:00
Atsushi Eno 95b83be635 2004-09-08 Atsushi Enomoto <[email protected]>
* XPathSequence.cs : workarounded bug #65521. Erased foreach inside
	  iterators.

svn path=/trunk/mcs/; revision=33570
2004-09-08 12:26:07 +00:00
Anirban Bhattacharjee 90849a413f 2004-09-08 Anirban Bhattacharjee <[email protected]>
* OptionalArgu_ByRefFuncA.vb:
        * OptionalArgu_ByValFuncD.vb:
        * OptionalArgu_ByValueD.vb:
        * OptionalArgu_ByRefFuncB.vb:
        * OptionalArgu_ByValFuncE.vb:
        * OptionalArgu_ByValueE.vb:
        * OptionalArgu_ByFunctionC1.vb:
        * OptionalArgu_ByRefFuncC.vb:
        * OptionalArgu_ByReferenceA.vb:
        * OptionalArgu_ByRefFuncD.vb:
        * OptionalArgu_ByValueA.vb:
        * OptionalArgu_ByReferenceB.vb:
        * OptionalArgu_ByValFuncA.vb:
        * OptionalArgu_ByValueB.vb:
        * Optional_ParamArrayC1.vb:
        * OptionalArgu_ByReferenceC.vb:
        * OptionalArgu_ByValFuncB.vb:
        * OptionalArgu_ByValueC1.vb:
        * Optional_ParamArrayC2.vb:
        * OptionalArgu_ByReferenceD.vb:
        * OptionalArgu_ByValFuncC.vb:
        * OptionalArgu_ByValueC.vb:
        * Test.Sources: Updated with new test names
                This set of tests are developed by Manish Sinha <[email protected]> which nicely compliment Bernie Sonomon's nice & long work.

svn path=/trunk/mcs/; revision=33568
2004-09-08 10:37:51 +00:00
Atsushi Eno 0eb8a86796 2004-09-08 Atsushi Enomoto <[email protected]>
* XQueryCommand.cs : Use XmlWriter.Create() instead of XmlTextWriter.
	  It affects on XML declaration output.

svn path=/trunk/mcs/; revision=33567
2004-09-08 09:27:58 +00:00
Atsushi Eno d950483a84 2004-09-08 Atsushi Enomoto <[email protected]>
* XPath2Expression.cs : fixed EnclosedExpr.Compile() that resulted
	  in index out of range.
	* XPathSequence.cs : FLWORIterator got working, but only when compiled
	  with .NET 2.0 csc (still weird Invalid IL error happens).

svn path=/trunk/mcs/; revision=33566
2004-09-08 09:17:51 +00:00
Atsushi Eno 15d11151e9 2004-09-08 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources : Added XmlWriterSettingsTests.cs.

svn path=/trunk/mcs/; revision=33565
2004-09-08 08:42:38 +00:00
Atsushi Eno b2b88e20ff 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlWriterSettingsTests.cs : added.

svn path=/trunk/mcs/; revision=33564
2004-09-08 08:42:12 +00:00
Atsushi Eno 616dba98f5 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs :
	  Implemented CheckCharacters and CloseOutput support.

svn path=/trunk/mcs/; revision=33563
2004-09-08 08:41:30 +00:00
Gonzalo Paniagua Javier 5f1cf31a64 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
* threads.c: don't call mono_thread_detach() in start_wrapper(),
	avoiding a possible hang in GetCurrentThreadId(0). Fixes bug #65379.

svn path=/trunk/mono/; revision=33562
2004-09-08 08:26:56 +00:00
Carlos Alberto Cortez 764fe9b46d ReadOnlyCollection added to corlib.dll.sources.
svn path=/trunk/mcs/; revision=33561
2004-09-08 08:06:50 +00:00
Carlos Alberto Cortez 4a58119989 System.Collections.Generic.ReadOnlyCollection.cs file added.
svn path=/trunk/mcs/; revision=33560
2004-09-08 08:02:44 +00:00
Jackson Harper 896bbf704c Only run the timers when updating the message queue. This effectively gives X messages a higher priority then timer messages. Timers still need love though
svn path=/trunk/mcs/; revision=33559
2004-09-08 07:00:28 +00:00
Atsushi Eno e95a1ed5dd 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlReader.cs : evidence is always provided.
	* XmlWriter.cs, XmlTextWriter.cs :
	  added support for ConformanceLevel and OmitXmlDeclaration.

svn path=/trunk/mcs/; revision=33558
2004-09-08 05:49:24 +00:00
Gonzalo Paniagua Javier ce26bf6f68 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
* HttpValueCollection.cs: fixed signature of ToString (). Closes bug
	#65392.

svn path=/trunk/mcs/; revision=33555
2004-09-08 05:15:58 +00:00
Atsushi Eno cd663617ec 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Console.WriteLine() injected :(
	* XmlTextWriter.cs : It it partly supports XmlWriterSettings.
	* XmlWriter.cs : implemented Create().
	* XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated).

svn path=/trunk/mcs/; revision=33554
2004-09-08 05:11:19 +00:00
Bernie Solomon 69784abfe0 2004-07-07 Bernie Solomon <[email protected]>
* Test.Sources: make file names match actual files

svn path=/trunk/mcs/; revision=33553
2004-09-08 03:37:29 +00:00
Duncan Mak 3114b5f1ac * runtime/Makefile.am (monobins_DATA): Add the various mdb files
for each of the executables we ship.

* runtime/net_1_1/Makefile.am
* runtime/net_2_0/Makefile.am
(mdb_files, EXTRA_DIST): Add $(mdb_files).

svn path=/trunk/mono/; revision=33551
2004-09-07 22:08:33 +00:00
Ben Maurer c80a2bf4fd 2004-09-07 Ben Maurer <[email protected]>
* Activator.cs: Make sure not to call .GetType on a
	null argument. fixes 63852

svn path=/trunk/mcs/; revision=33549
2004-09-07 21:49:14 +00:00
Ben Maurer 5227528d51 2004-09-07 Ben Maurer <[email protected]>
* liveness.c: reset spill costs on each scan: bug 62107

svn path=/trunk/mono/; revision=33548
2004-09-07 21:41:13 +00:00
Ben Maurer 47293a3ccc 2004-09-07 Ben Maurer <[email protected]>
* liveness.c: reset spill costs on each scan

svn path=/trunk/mono/; revision=33547
2004-09-07 21:32:26 +00:00
Bernie Solomon eb636855e6 2004-09-07 Bernie Solomon <[email protected]>
* mono-sha1.c: Remove uint32 and int32 types completely

svn path=/trunk/mono/; revision=33546
2004-09-07 21:28:20 +00:00
Zoltan Varga 648613df6f 2004-09-08 Zoltan Varga <[email protected]>
* image.c (mono_image_close): Applied patch from
	[email protected] (Vasantha selvi). Fix crash when an
	assembly is loaded multiple times from data.

	* image.c (mono_image_open): Fix warning.

svn path=/trunk/mono/; revision=33541
2004-09-07 21:01:29 +00:00
Francisco Figueiredo Jr. aee05c4afb 2004-09-07 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlException.cs:  Added support for deserialization of NpgsqlException.

	* NpgsqlState.cs: Added missing handling of NoData message.

svn path=/trunk/mcs/; revision=33539
2004-09-07 20:45:04 +00:00
Francisco Figueiredo Jr. ee12cadf33 2004-09-07 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlState.cs: Added missing handling of NoData message.

svn path=/trunk/mcs/; revision=33538
2004-09-07 20:43:02 +00:00
Francisco Figueiredo Jr. 7302dde121 2004-09-07 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlException.cs:  Added support for deserialization of NpgsqlException.

svn path=/trunk/mcs/; revision=33537
2004-09-07 20:41:23 +00:00
Bernie Solomon 7115b59594 2004-09-07 Bernie Solomon <[email protected]>
* mb-parser.jay:
	* mb-tokenizer.cs: first cut at implementing
	op assign

svn path=/trunk/mcs/; revision=33536
2004-09-07 20:29:44 +00:00
Bernie Solomon ae2afba12c 2004-07-07 Bernie Solomon <[email protected]>
* OptionalA.vb: new test for optional args + overloads

svn path=/trunk/mcs/; revision=33534
2004-09-07 20:06:52 +00:00
Jackson Harper 28670202ba Do not call XDestroyWindow, X has already done this for us and the handle is no longer valid.
svn path=/trunk/mcs/; revision=33533
2004-09-07 20:01:53 +00:00
Jackson Harper 490ffc887f First steps towards a new X event loop that manages to not crash. TODO: Add poll and cleanup timers
svn path=/trunk/mcs/; revision=33532
2004-09-07 19:59:41 +00:00
Miguel de Icaza 1d7e47748c 2004-09-07 Miguel de Icaza <[email protected]>
* expression.cs: Apply patch from Ben: Remove dead code from
	ArrayCreation, and remove the TurnintoConstant call in const.cs,
	as that code just threw an exception anwyays.

	* const.cs: Remove the call to the turnintoconstant, for details
	see bug: #63144

svn path=/trunk/mcs/; revision=33531
2004-09-07 18:33:17 +00:00
Bernie Solomon ddd00cdb95 2004-09-07 Bernie Solomon <[email protected]>
* ecore.cs:
	* enum.cs:
	* expression.cs:
	* mb-parser.jay:
	* support.cs: work on improving overload resolution

svn path=/trunk/mcs/; revision=33530
2004-09-07 18:04:33 +00:00
Miguel de Icaza aa338753db 2004-09-07 Miguel de Icaza <[email protected]>
* literal.cs: The type of the null-literal is the null type;  So
	we use a placeholder type (literal.cs:System.Null, defined here)
	for it.

	* expression.cs (Conditional.DoResolve): Remove some old code that
	is no longer needed, conversions have been fixed.

svn path=/trunk/mcs/; revision=33529
2004-09-07 17:23:56 +00:00
Jordi Mas i Hernandez 8006bc98d2 GroupBox control
svn path=/trunk/mcs/; revision=33528
2004-09-07 17:12:26 +00:00
Bernie Solomon 704ad2cf91 2004-09-07 Bernie Solomon <[email protected]>
* exceptions-sparc.c (mono_arch_find_jit_info): remove
	unnecessary line that doesn't compile

svn path=/trunk/mono/; revision=33526
2004-09-07 16:29:48 +00:00
Miguel de Icaza 01e7842e35 2004-09-07 Miguel de Icaza <[email protected]>
* expression.cs: Return false if we fail to resolve the inner

svn path=/trunk/mcs/; revision=33524
2004-09-07 15:28:45 +00:00
Miguel de Icaza 7251810eee Add new test
svn path=/trunk/mcs/; revision=33523
2004-09-07 15:27:41 +00:00
Atsushi Eno 5b2db7e8c4 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlFactory.cs : removed (obsolete).

svn path=/trunk/mcs/; revision=33522
2004-09-07 14:56:46 +00:00
Martin Baulig 88e710013c 2004-09-07 Martin Baulig <[email protected]>
* mcs-expect-no-error: I'm slowly getting annoyed.  Is it really
	so hard to add new tests here ?

svn path=/trunk/mcs/; revision=33521
2004-09-07 14:49:22 +00:00
Atsushi Eno 1b13b41dee 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : GetNamespacesInScope() ignored default
	  namespace when scope is .ExcludeXml or .All.
	* XmlReader.cs : Implemented ValueType, SchemaInfo, ReadAsObject().
	  Fixed ReadTypedValue() to call ReadValueAs().

svn path=/trunk/mcs/; revision=33520
2004-09-07 14:03:53 +00:00
Atsushi Eno 1fc0d15f0a 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added tests for ReadAsObject().

svn path=/trunk/mcs/; revision=33519
2004-09-07 14:03:17 +00:00
Duncan Mak 9a401f3c3f Forgot about this bit too
svn path=/trunk/mono/; revision=33517
2004-09-07 13:39:23 +00:00
Duncan Mak d94ae47aa0 Add an unsafe section to the code that's using direct pointers. This
was breaking the test stage on the build boxes.

svn path=/trunk/mono/; revision=33516
2004-09-07 13:09:55 +00:00
Atsushi Eno b7b3f27e64 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : Fixed GetNamespacesInScope() that returned
	  inconsistent namespace pairs.

svn path=/trunk/mcs/; revision=33515
2004-09-07 12:46:34 +00:00
Atsushi Eno c24f05e78a 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlNamespaceManagerTests.cs : Added test for duplicate addition,
	  atomization, complex RemoveNamespace() and GetNamespacesInScope().

svn path=/trunk/mcs/; revision=33514
2004-09-07 12:45:56 +00:00
Zoltan Varga ee4831b594 2004-09-07 Zoltan Varga <[email protected]>
* reflection.h reflection.c icall.c: Only call TypeResolve handlers
	once. Fixes #58334.

svn path=/trunk/mono/; revision=33511
2004-09-07 12:27:17 +00:00
Dick Porter 0cae210e57 2004-09-07 Dick Porter <[email protected]>
* Process.cs: Throw documented exceptions when getting stdin,
	stdout or stderr and they haven't been redirected.  Check that
	CreatePipe didn't fail, throw exceptions if it did.  Close
	redirected streams when the process is disposed, rather than rely
	on the GC disposing them later.  Makes timeline much happier,
	because it could run out of file descriptors between GC
	collections.

svn path=/trunk/mcs/; revision=33501
2004-09-07 12:06:43 +00:00
Sebastien Pouliot ec42f2d2ec 2004-09-07 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: CreateFromSignedFile now throw the COMException
	if the specified file isn't signed (before this was done by
	AuthenticodeDeformatter). More details are available on failure.

svn path=/trunk/mcs/; revision=33500
2004-09-07 12:02:01 +00:00
Sebastien Pouliot cbce7eda78 2004-09-07 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: Merge from Mono.Security.dll. This version is
	less memory consuming (it works by 4kb blocks instead of loading the
	entire assembly).
	* AuthenticodeDeformatter.cs: Merge from Mono.Security.dll. Hash will
	only be created if the assembly is signed. Benefits from Authenticode
	Base changes.

svn path=/trunk/mcs/; revision=33498
2004-09-07 11:59:36 +00:00
Zoltan Varga de67f8ea08 2004-09-07 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_create_runtime_class): Initialize
	klass->nested_classes. Fixes #61224.

svn path=/trunk/mono/; revision=33497
2004-09-07 11:57:27 +00:00
Sebastien Pouliot cb848c9beb 2004-09-07 Sebastien Pouliot <[email protected]>
* X509Chain.cs: Merge from Mono.Security. Fix two bugs (chain
	construction from collection) and Reset-ing empty chain.

svn path=/trunk/mcs/; revision=33496
2004-09-07 11:51:00 +00:00
Sebastien Pouliot e376051abe 2004-09-07 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added unit tests for Authenticode
	Deformatter.

svn path=/trunk/mcs/; revision=33495
2004-09-07 11:46:38 +00:00
12698 changed files with 26816 additions and 1878977 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
+160
View File
@@ -1,3 +1,163 @@
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.
2004-10-14 Joe Shaw <[email protected]>
* man/mono.1: Fix the syntax of the M: trace syntax
2004-10-10 Zoltan Varga <[email protected]>
* configure.in: Add some checks for cygwin weirdness.
2004-10-08 Zoltan Varga <[email protected]>
* support/Makefile.am (libMonoPosixHelper_la_SOURCES): Do not build
zlib_macros if zlib.h is not found.
* configure.in: Add check for zlib.h.
2004-09-28 Neale Ferguson <[email protected]>
* mini-s390.c: Fix AND_IMM/OR_IMM/DIV_IMM/REM_IMM
2004-09-28 Raja R Harinath <[email protected]>
* Makefile.am ($(tmpinst)/bin/pedump): New.
(mcs-do-run-test-profiles): Depend on it.
2004-09-27 Raja R Harinath <[email protected]>
* Makefile.am (mono-do-testjit): New target, unused for now. Runs
the mono testsuite in tests/.
(tmpinst-dir): Create etc/mono/2.0.
($(tmpinst)/bin/ilasm, $(tmpinst)/etc/mono/2.0/machine.config): New.
2004-09-21 Neale Ferguson <[email protected]>
* configure.in: Cater for S/390 on Linux
2004-09-21 <[email protected]>
* configure.in: Link with ole32 on windows.
2004-09-20 Jackson Harper <[email protected]>
* support/map.c/h: Add poll events map functions. Use values
instead of names for defines.
2004-09-17 Martin Baulig <[email protected]>
* Makefile.am (mcs-do-compiler-tests): Reverted Raja's latest
change in this target.
2004-09-14 Raja R Harinath <[email protected]>
* Makefile.am (mcs-do-full-build): Pass NO_SIGN_ASSEMBLIES=yes to
reduce the number of passes. We will get the assemblies signed in
the 'populate-runtime-subdir' phase.
(mcs-do-run-test-profiles): Rename from mcs-do-run-tests. Use
'test-profiles' to test all profiles.
(mcs-do-compiler-tests): Use 'compiler-tests' target in mcs/.
(bootstrap-check): Update.
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Simplify.
2004-09-10 Zoltan Varga <[email protected]>
* Makefile.am (populate-runtime-subdir): Avoid -path argument to find
since it is not supported on solaris.
2004-09-03 Martin Baulig <[email protected]>
* Makefile.am (bootstrap-world): New target.
+38 -16
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
@@ -79,7 +82,13 @@ fasterstrap: tmpinst-mcs-full-build
$(MAKE)
bootstrap-clean: clean mcs-do-clean-profiles
bootstrap-check: check mcs-do-run-test
bootstrap-check: check mcs-do-run-test-profiles #mono-do-testjit
mono-do-testjit: $(tmpinst)/bin/ilasm
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd mono/tests && $(MAKE) test
# building with monolite
@@ -91,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
@@ -137,18 +148,20 @@ mcs-do-short-build:
mcs-do-full-build:
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) all-profiles
cd $(mcs_topdir) && $(MAKE) NO_SIGN_ASSEMBLY=yes all-profiles
mcs-do-clean-profiles:
cd $(mcs_topdir) && $(MAKE) clean-profiles
mcs-do-run-test: tmpinst-dir $(tmpinst)/bin/mbas
mcs-do-run-test-profiles: tmpinst-dir $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm $(tmpinst)/bin/pedump
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) PROFILE=default run-test
cd $(mcs_topdir) && $(MAKE) run-test-profiles
mcs-do-compiler-tests:
cd $(mcs_topdir) && $(MAKE) test-compiler
tmpinst=`cd $(tmpinst) && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) compiler-tests
populate-runtime-subdir:
test -n '$(populate_profiles)'
@@ -160,15 +173,16 @@ populate-runtime-subdir:
cd $(mcs_topdir) && \
$(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime PROFILE=$$2 LIBRARY_INSTALL_DIR=$$srcdir/runtime/$$3 prefix=$$tmpinst/prefix install ) || exit 1 ; \
done
find $(tmpinst)/prefix -type f -path '*/jay*' -exec rm -f '{}' ';'
find $(tmpinst)/prefix -type f -name '*jay*' -exec rm -f '{}' ';'
for i in `find $(tmpinst)/prefix -type d -name '*jay*' -print`; do rm -f $$i/*; done
test -z "`find $(tmpinst)/prefix -type f -print`"
rm -rf $(tmpinst)/prefix
tmpinst-dir:
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono/1.0
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono/1.0 $(tmpinst)/etc/mono/2.0
$(MAKE) tmpinst-dir-contents
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/1.0/machine.config
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/1.0/machine.config $(tmpinst)/etc/mono/2.0/machine.config
if PLATFORM_WIN32
@@ -195,20 +209,28 @@ $(tmpinst)/bin/mono: $(srcdir)/Makefile.am
endif
$(tmpinst)/bin/pedump: $(srcdir)/Makefile.am
(b=`pwd`; echo '#! /bin/sh'; echo 'exec "'"$$b/libtool"'" --mode=execute "'"$$b/mono/metadata/pedump"'" "$$@"') > $@
chmod +x $@
$(tmpinst)/bin/mcs: $(srcdir)/Makefile.am
(t=`cd $(tmpinst) && pwd`; echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$t/lib/mcs.exe"'" "$$@"') > $@
chmod +x $@
# Used only by 'bootstrap-check' -- so, can safely use runtime/mbas.exe.
$(tmpinst)/bin/mbas: $(srcdir)/Makefile.am
# Used only by 'bootstrap-check' -- so, can safely use runtime/.
$(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm: $(srcdir)/Makefile.am
t=`cd $(tmpinst) && pwd`; r=`cd $(srcdir)/runtime && pwd`; \
( echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$r/mbas.exe"'" "$$@"' ) > $@
( echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$r/$(@F).exe"'" "$$@"' ) > $@
chmod +x $@
$(tmpinst)/etc/mono/1.0/machine.config: $(srcdir)/data/net_1_1/machine.config
rm -f $@
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono/1.0 && $(LN_S) $$srcdir/data/net_1_1/machine.config machine.config
$(tmpinst)/etc/mono/2.0/machine.config: $(srcdir)/data/net_2_0/machine.config
rm -f $@
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono/2.0 && $(LN_S) $$srcdir/data/net_2_0/machine.config machine.config
# Obsolete target -- don't use.
.PHONY: fullbuild
fullbuild: bootstrap
+61 -4
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,1.1.1)
AM_INIT_AUTOMAKE(mono,1.1.2.99)
AM_MAINTAINER_MODE
AC_PROG_LN_S
@@ -55,7 +55,6 @@ case "$host" in
with_nptl=default
with_sigaltstack=no
LN_S=cp
;;
*-*-*netbsd*)
platform_win32=no
@@ -231,6 +230,10 @@ AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
AC_CHECK_HEADER(zlib.h, [have_zlib=yes], [have_zlib=no])
AM_CONDITIONAL(HAVE_ZLIB, test x$have_zlib = xyes)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
@@ -256,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])
@@ -296,6 +312,27 @@ AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
if test x$platform_win32 = xyes; then
AC_MSG_CHECKING(for cygwin glib2-dev package)
if [ cygcheck --f /usr/lib/libglib-2.0.dll.a | grep -q glib2-devel ]; then
AC_MSG_RESULT(found)
AC_MSG_ERROR([Mono cannot be built with the cygwin glib2-devel package installed, because that package doesn't work with -mno-cygwin. Please uninstall it then re-run configure.])
else
AC_MSG_RESULT(not found, ok)
fi
AC_MSG_CHECKING(for broken gwin32.h)
glib_include=`$PKG_CONFIG --cflags-only-I glib-2.0 | sed -e 's/ -I.*//g' | sed -e 's/-I//g'`
if test -f $glib_include/glib/gwin32.h; then
if [ grep ftruncate $glib_include/glib/gwin32.h | grep -q define ]; then
AC_MSG_RESULT(failed)
hashmark='#'
AC_MSG_ERROR([Your version of gwin32.h is broken and will cause compilation errors when building mono. Please fix it by deleting the line: '$hashmark define ftruncate...' from '$glib_include/glib/gwin32.h' then re-run configure.])
fi
fi
AC_MSG_RESULT(ok)
fi
AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
# Enable support for fast thread-local storage
@@ -983,10 +1020,25 @@ 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?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(ole32, main, LIBS="$LIBS -lole32", AC_ERROR(bad mingw install?))
dnl *********************************
dnl *** Check for struct ip_mreqn ***
@@ -1258,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
@@ -1382,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)
@@ -1443,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)
+14
View File
@@ -108,6 +108,20 @@ key containers. The option is equivalent to including [assembly:
AssemblyKeyName ("CONTAINER")] in your source code. Compiler option
takes precedence over the attributes.
.TP
.I \-langversion:TEXT
The option specifies the version of the language to use. The feature
set is different in each C# version. This switch can be used to force
the compiler to allow only a subset of the features.
The possible values are:
.nf
Default - Instruct compiler to use the latest version. Equivalent
is to omit the switch.
ISO-1 - Restrict compiler to use only ISO standardized features.
The usage of features such as generics, static classes, anonymous
methods will lead to error.
.TP
.I -lib:PATHLIST
Each path specified in the comma-separated list will direct the
compiler to look for libraries in that specified path.
+73 -27
View File
@@ -210,7 +210,7 @@ And individual methods are referenced with the M: prefix, and the
standar method notation:
.nf
mono --trace=M:System.Console.WriteLine app.exe
mono --trace=M:System.Console:WriteLine app.exe
.fi
As previously noted, various rules can be specified at once:
@@ -232,6 +232,30 @@ Finally, namespaces can be specified using the N: prefix:
mono --trace=N:System.Xml
.fi
.SH DEBUGGING
.PP
If you are interested in debugging P/Invoke problems with your
application, you might want to use:
.nf
$ MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono glue.exe
.fi
.SH SERIALIZATION
Mono's XML serialization engine by default will use a reflection-based
approach to serialize which might be slow for continous processing
(web service applications). The serialization engine will determine
when a class must use a hand-tuned serializer based on a few
parameters and if needed it will produce a customized C# serializer
for your types at runtime. This customized serializer then gets
dynamically loaded into your application.
.PP
You can control this with the MONO_XMLSERIALIZER_THS environment
variable.
.PP
The possible values are `no' to disable the use of a C# customized
serializer, or an integer that is the minimum number of uses before
the runtime will produce a custom serializer (0 will produce a
custom serializer on the first access, 50 will produce a serializer on
the 50th use).
.SH ENVIRONMENT VARIABLES
.TP
.I "GC_DONT_GC"
@@ -252,21 +276,6 @@ If set, this variable overrides the default runtime configuration file
($PREFIX/etc/mono/config). The --config command line options overrides the
environment variable.
.TP
.I "MONO_LOG_LEVEL"
If set, the logging level is changed to the set value. Possible values
are "error", "critical", "warning", "message", "info", "debug". The
default value is "error". Messages with a logging level greater then
or equal to the log level will be printed to stdout/stderr.
.TP
.I "MONO_LOG_MASK"
If set, the log mask is changed to the set value. Possible values are
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
(garbage collector), "cfg" (config file loader), "aot" (precompiler), "all".
The default value is "all". Changing the mask value allows you to display only
messages for a certain component. You can use multiple masks by comma
separating them. For example to see config file messages and assembly loader
messages set you mask to "asm,cfg".
.TP
.I "MONO_DEBUG"
If set, enables some features of the runtime useful for debugging.
It makes the runtime display the stack traces for all the threads
@@ -302,29 +311,66 @@ conversion ending the search. When writing external text (e.g. new
filenames or arguments to new processes) the first item in this list
is used, or UTF-8 if the environment variable is not set.
.TP
.I "MONO_MANAGED_WATCHER"
If set to any value, System.IO.FileSystemWatcher will use the default
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_PATH"
Provides a search path to the runtime where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.TP
.I "MONO_GAC_PREFIX"
Provides a prefix the runtime uses to look for Global Assembly Caches.
Directories are separated by the platform path separator (colons on
unix). MONO_GAC_PREFIX should point to the top directory of a prefixed
install. Or to the directory provided in the gacutil /gacdir command. Example:
.B /home/username/.mono:/usr/local/mono/
.TP
.I "MONO_LOG_LEVEL"
If set, the logging level is changed to the set value. Possible values
are "error", "critical", "warning", "message", "info", "debug". The
default value is "error". Messages with a logging level greater then
or equal to the log level will be printed to stdout/stderr.
.PP
Use info to track the dynamic loading of assemblies.
.TP
.I "MONO_LOG_MASK"
If set, the log mask is changed to the set value. Possible values are
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
(garbage collector), "cfg" (config file loader), "aot" (precompiler), "all".
The default value is "all". Changing the mask value allows you to display only
messages for a certain component. You can use multiple masks by comma
separating them. For example to see config file messages and assembly loader
messages set you mask to "asm,cfg".
.TP
.I "MONO_MANAGED_WATCHER"
If set to any value, System.IO.FileSystemWatcher will use the default
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.
It can be set to a filename, and to Console.Out or Console.Error to display
output to standard output or standard error, respectively.
See the System.Diagnostics.DefaultTraceListener documentation for more
information.
.TP
.I "MONO_SHARED_DIR"
If set its the directory where the ".wapi" handle state is stored.
This is the directory where the Windows I/O Emulation layer stores its
shared state data (files, events, mutexes, pipes). By default Mono
will store the ".wapi" directory in the users's home directory.
.TP
.I "MONO_PATH"
Provides a search path to the runtime where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.TP
.I "MONO_XMLSERIALIZER_THS"
Controls the threshold for the XmlSerializer to produce a custom
serializer for a given class instead of using the Reflection-based
interpreter. The possible values are `no' to disable the use of a
custom serializer or a number to indicate when the XmlSerializer
should start serializing. The default value is 50, which means that
the a custom serializer will be produced on the 50th use.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
+27 -45
View File
@@ -1,18 +1,18 @@
.TH sqlsharp 1 "10 December 2002"
.TH sqlsharp 1 "21 October 2004"
.SH NAME
sqlsharp \- Mono SQL# command-line SQL Query tool
sqlsharp \- Mono SQL Query command-line tool
.SH SYNOPSIS
.B sqlsharp
[\-f filename] [\-o filename] [\-s]
.SH DESCRIPTION
sqlsharp is the Mono SQL# tool used for entering SQL queries
to a database using Mono ADO.NET providers.
sqlsharp is a Mono SQL tool used for entering SQL queries
to a database using Mono data providers.
.PP
.SH OPTIONS
The following options are supported:
.TP
.I "-f filename"
Output file to load SQL# commands from.
Output file to load SQL commands from.
.TP
.I "-o filename"
Output file to send results.
@@ -21,7 +21,7 @@ Output file to send results.
Silent mode.
.PP
.SH HOW TO USE
The SQL# tool accepts commands via its command line interface. Commands
The SQL tool accepts commands via its command line interface. Commands
begin with a backslash followed by the command name.
.PP
Example:
@@ -344,28 +344,25 @@ ption defaulting to true.
PROVIDER NAME NAMESPACE ASSEMBLY
Internal
--------
OleDb OLE DB System.Data.OleDb System.Data
Oracle Oracle 8i System.Data.OracleClient System.Data.OracleClient
PostgreSql NetPostgreSQL Npgsql Npgsql
MySQL ByteFX MySQL ByteFX.Data.MySqlClient ByteFX.Data
SqlClient MS SQL 7/2000 System.Data.SqlClient System.Data
Odbc ODBC System.Data.Odbc System.Data
External to System.Data
-----------------------
MySql MySQL Mono.Data.MySql Mono.Data.MySql
Sqlite SQL Lite Mono.Data.SqliteClient Mono.Data.SqliteClient
Sybase Sybase Mono.Data.SybaseClient Mono.Data.SybaseClient
OleDb OLE DB System.Data.OleDb System.Data
Tds TDS Generic Mono.Data.TdsClient Mono.Data.TdsClient
PostgreSql M PostgreSQL Mono.Data.PostgreSqlClient Mono.Data.PostgreSqlClient
DB2 IBM DB2 Mono.Data.DB2Client Mono.Data.DB2Client
Oracle Oracle 8i System.Data.OracleClient System.Data.OracleClient
MSOdbc MS ODBC Microsoft.Data.Odbc Microsoft.Data.Odbc
Firebird Firebird SQL FirebirdSql.Data.FirebirdSql FirebirdSql.Data.Firebird
External to Mono
----------------
NOTES
Npgsql NetPostgreSQL Npgsql Npgsql
MySQLNet ByteFX MySQL ByteFX.Data.MySQL ByteFX.Data
Npgsql maps to PostgreSql above.
MySqlNet maps to MySql above.
Odbc is treated as an external provider for .NET 1.1 and above.
MSODBC is an external provider for compatibility with .NET 1.0
Firebird is not included with Mono.
.fi
.SH CONNECTION STRING SAMPLES
@@ -385,20 +382,6 @@ or Mono.Data.TdsClient provider:
Server=DANPC;Database=pubs;User ID=saPassword=
PostgreSQL via Mono.Data.PostgreSqlClient provider:
host=localhost;dbname=test;user=postgres;password=fun2db
or
Server=localhost;Database=test;User ID=postgres;Password=fun2db
MySQL via Mono.Data.MySql provider:
Server=localhost;Database=test;User ID=mysql;Password=
ODBC via System.Data.Odbc provider using
a DSN named "MSSQLDSN" I set up
@@ -427,11 +410,6 @@ Oracle via System.Data.OracleClient
Data Source=testdb;User ID=scott;Password=tiger
IBM DB2 Universal Database via Mono.Data.DB2Client
DSN=sample;User ID=db2admin;Password=mysecret
Npgsql (.NET PostgreSQL) from
http://gborg.postgresql.org/project/npgsql/projdisplay.php
@@ -443,20 +421,24 @@ http://sourceforge.net/projects/mysqlnet/
Server=localhost;Database=test;User ID=mysql;Password=
FirebirdSql via FirebirdSql.Data.Firebird (not included with Mono)
Database=C:\\FIREBIRD\\EXAMPLES\\EMPLOYEE.FDB;User=SYSDBA;Password=masterkey;Dialect=3;Server=localhost
.fi
.SH TRACING SUPPORT
No support for tracing right now.
.SH AUTHORS
The Mono SQL# Tool was written
The Mono SQL Query Tool was written
.nf
by Daniel Morgan <danmorg@sc.rr.com>
by Daniel Morgan <danielmorg[email protected]>
.fi
.PP
.SH LICENSE
The Mono SQL# Tool is released under the terms of the GNU GPL.
The Mono SQL Query Tool is released under the terms of the GNU GPL.
Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian or Daniel Morgan.
licenses are available from Novell or Daniel Morgan.
.SH BUGS
To report bugs in the compiler, you can use `bug-buddy', or you can
file bug reports in our bug tracking system:
@@ -472,7 +454,7 @@ http://mail.ximian.com/mailman/mono-list
.SH WEB SITE
For details, visit:
.nf
http://www.go-mono.com
http://www.mono-project.com
.fi
.PP
.SH SEE ALSO
+12 -5
View File
@@ -1,4 +1,4 @@
.\"
\"
.\" wsdl manual page.
.\" (C) 2003 Novell, Inc.
.\" Author:
@@ -13,9 +13,13 @@ wsdl \- Mono's Web Service Proxy Generator
[options] [path | url]
.SH DESCRIPTION
.I wsdl
is a tool for generating proxy classes that can be used to access to web services.
The tool reads a WSDL document from the provided path or url, and downloads
referenced schemas or other WSDL documents if needed.
is a tool for generating proxy classes that can be used to access to
web services. The tool reads a WSDL document from the provided path
or url, and downloads referenced schemas or other WSDL documents if
needed.
.PP
This tool is used to target the 1.x API, for targetting the 2.x API,
please use the wsdl2 tool.
.PP
.SH OPTIONS
The following options are available:
@@ -29,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
@@ -73,4 +80,4 @@ Lluis Sanchez Gual ([email protected])
wsdl is released under the terms of the GNU GPL.
.PP
.SH SEE ALSO
disco(1), soapsuds(1), mono(1), mcs(1)
disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)
+79
View File
@@ -0,0 +1,79 @@
.\"
.\" wsdl manual page.
.\" (C) 2003 Novell, Inc.
.\" Author:
.\" Lluis Sanchez Gual ([email protected])
.\"
.TH wsdl 1
.SH NAME
wsdl \- Mono's Web Service Proxy Generator
.SH SYNOPSIS
.PP
.B wsdl
[options] [path | url]
.SH DESCRIPTION
.I wsdl
is a tool for generating proxy classes that can be used to access to web services.
The tool reads a WSDL document from the provided path or url, and downloads
referenced schemas or other WSDL documents if needed.
.PP
This tool is used to target the 2.x API, for targetting the 1.x API,
please use the wsdl tool.
.PP
.SH OPTIONS
The following options are available:
.TP
.I "-appsettingurlkey:key" "-urlkey:key"
Specifies that the url for the services should be read from the <appsettings> section
of the configuration file, using the provided key.
.TP
.I "-appsettingbaseurl:url", "-baseurl:url"
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 location
attribute specified in the WSDL document.
.TP
.I "-language:language", "-l"
Language of the code to generate. It can be CS (default) or VB.
.TP
.I "-namespace:name", "-n:name"
The namespace of the generated classes. If none is specified, the default
namespace is used.
.TP
.I "-out:filename", "-o:filename"
The target file for generated code.
.TP
.I "-protocol:protocol", "-p:protocol"
The protocol for which to generate code. It can be Soap (default), HttpGet or
HttpPost.
.TP
.I "-sample:METHOD"
This will display XML request and reply of the sample invocations to
that SOAP message. You can use the -protocol: option to render the
message in different forms.
.TP
.I "-server"
Generate a server skeleton instead of a client proxy.
.TP
.I "-nologo"
Supress the startup logo.
.TP
.I "-u:username", "-user:username"
The user name to use when connecting to the server.
.TP
.I "-p:password", "-password:password"
The password to use when connecting to the server.
.TP
.I "-d:domain", "-domain:domain"
The domain to use when connecting to the server.
.PP
.SH AUTHORS
Lluis Sanchez Gual ([email protected])
.PP
.SH LICENSE
wsdl is released under the terms of the GNU GPL.
.PP
.SH SEE ALSO
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)
-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!
-511
View File
@@ -1,511 +0,0 @@
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
-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.
-115
View File
@@ -1,115 +0,0 @@
thisdir := .
SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
OVERRIDE_TARGET_ALL = yes
include build/rules.make
all-recursive $(STD_TARGETS:=-recursive): platform-check profile-check
all.override:
$(MAKE) NO_SIGN_ASSEMBLY=yes all.real
$(MAKE) all.real
all-local $(STD_TARGETS:=-local):
@:
# fun specialty targets
all-profiles:
$(MAKE) PROFILE=default all
$(MAKE) PROFILE=net_2_0 all
clean-profiles:
$(MAKE) PROFILE=default clean
$(MAKE) PROFILE=net_2_0 clean
testcorlib:
@cd class/corlib && $(MAKE) test run-test
test-compiler:
$(MAKE) -C tests test-everything
$(MAKE) -C errors test-everything
# Disting. We need to override $(distdir) here.
package := mcs-$(VERSION)
top_distdir = $(dots)/$(package)
distdir = $(top_distdir)
export package
DISTFILES = \
AUTHORS \
ChangeLog \
COPYING \
COPYING.LIB \
INSTALL.txt \
LICENSE \
LICENSE.GPL \
LICENSE.LGPL \
Makefile \
mkinstalldirs \
MIT.X11 \
MonoIcon.png \
README \
ScalableMonoIcon.svg \
winexe.in
dist-pre:
rm -rf $(package)
dist-post:
tar cvzf $(package).tar.gz $(package)
dist-local: dist-default
dist-tarball: dist-pre dist-recursive dist-post
dist: dist-tarball
rm -rf $(package)
# the egrep -v is kind of a hack (to get rid of the makefrags)
# but otherwise we have to make dist then make clean which
# is sort of not kosher. And it breaks with DIST_ONLY_SUBDIRS.
#
# We need to set prefix on make so class/System/Makefile can find
# the installed System.Xml to build properly
distcheck:
rm -rf InstallTest Distcheck-MCS ; \
mkdir InstallTest ; \
destdir=`cd InstallTest && pwd` ; \
$(MAKE) dist-tarball || exit 1 ; \
mv $(package) Distcheck-MCS ; \
(cd Distcheck-MCS && \
$(MAKE) prefix=$(prefix) && $(MAKE) test && $(MAKE) install DESTDIR="$$destdir" && \
$(MAKE) clean && $(MAKE) dist || exit 1) || exit 1 ; \
mv Distcheck-MCS $(package) ; \
tar tzf $(package)/$(package).tar.gz |sed -e 's,/$$,,' |sort >distdist.list ; \
rm $(package)/$(package).tar.gz ; \
tar tzf $(package).tar.gz |sed -e 's,/$$,,' |sort >before.list ; \
find $(package) |egrep -v '(makefrag|response)' |sed -e 's,/$$,,' |sort >after.list ; \
cmp before.list after.list || exit 1 ; \
cmp before.list distdist.list || exit 1 ; \
rm -f before.list after.list distdist.list ; \
rm -rf $(package) InstallTest
monocharge:
chargedir=monocharge-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
# A bare-bones monocharge.
monocharge-lite:
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
mkdir "$$chargedir" ; \
DESTDIR=`cd "$$chargedir" && pwd` ; \
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
tar cvzf "$$chargedir".tgz "$$chargedir" ; \
rm -rf "$$chargedir"
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

-82
View File
@@ -1,82 +0,0 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL.txt for a guide to building and installing mcs.
Layout:
class/
Class libraries
errors/
Sample programs that should generate errors by the compiler.
jay/
Yacc-based parser generator.
mcs/
The Mono C# compiler
tests/
Sample tests
docs/
Some notes on the compiler and the class libraries.
nant/
A copy of nant source code, used during the build process
on Windows.
tools/
Various small development tools: CorCompare used to compare
two assemblies for differences in the API; TypeReflector is
a tool used to introspect types from assemblies from the
command line; MonoStyle helps you keep your code indendented
with the Mono programming style.
Thanks a lot to Sergey Chaban for his help during the development of
the C# compiler.
LICENSE
The mcs C# compiler and monoresgen are licensed to you under the GPL, version 2.
The complete text of the GPL is in the 'COPYING' file.
Copyright (C) 2001-2002 Ximian, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
The class libraries are licensed according to the following license:
Copyright (C) 2001-2002 Ximian, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
-566
View File
@@ -1,566 +0,0 @@
<?xml version="1.0" standalone="yes"?>
<svg width="600" height="523">
<path style="fill:#feffff" d="M600 0 L600 523 L0 523 L0 0 L600 0 z"/>
<path style="fill:#606060" d="M142 40 C142.2 41.18 140.7 41.02 140 41 C139.8 39.82 141.3 39.98 142 40 z"/>
<path style="fill:#0" d="M442 40 C441.8 41.18 443.3 41.02 444 41 L446 41 L447 42 L450 43 L451 44 L456 49 L457 50 L457 51 L458 52 L458 53 L459 54 L459 56 L459 58 L459 358 L459 360 L459 361 L458 362 L455 368 L454 369 L453 370 L452 371 L450 372 L449 373 L448 373 L447 374 L446 374 C445.3 374 443.8 373.8 444 375 L441 375 L153 374 L154 373 L157 369 L158 368 L159 367 L161 364 L162 363 L163 362 L165 359 L166 358 L167 357 L170 353 L171 352 L172 351 L174 348 L175 347 L176 346 L179 342 L180 341 L181 340 L183 337 L184 336 L185 335 L188 331 L189 330 L190 329 L192 326 L193 325 L194 324 L197 320 L198 319 L199 318 L201 315 L202 314 L203 313 L206 309 L207 308 L208 307 L210 304 L211 303 L212 302 L215 298 L216 297 L217 296 L219 293 L220 292 L221 291 C221.3 289.7 222.7 288.7 224 289 L225 290 L227 290 L228 291 L229 291 L230 292 L231 292 L232 293 L234 293 L235 294 L236 294 L237 295 L238 295 L239 296 L241 296 L242 297 L243 297 L244 298 L245 298 L246 299 L248 299 L249 300 L250 300 L251 301 L252 301 L253 302 L255 302 L256 303 L257 303 L258 304 L259 304 L260 305 L264 306 L265 307 L266 307 L267 308 L271 309 L272 310 L273 310 L274 311 L278 312 L279 313 L280 313 L281 314 L285 315 L286 316 L287 316 L288 317 L292 318 L293 319 L294 319 L295 320 L299 321 L300 322 L301 322 L302 323 L306 324 L307 325 L308 325 L309 326 L313 327 L314 328 L315 328 L316 329 L317 329 L318 330 L320 330 L321 331 L322 331 L323 332 L324 332 L325 333 L327 333 L328 334 L329 334 L330 335 L331 335 L332 336 L334 336 L335 337 L336 337 L337 338 L338 338 L339 339 L341 339 L342 340 L343 340 L344 341 L345 341 L346 342 L348 342 L349 343 L350 343 L351 344 L352 344 L353 345 L355 345 L356 346 L357 346 L358 347 L359 347 L360 348 C361.6 348.3 363.7 347.9 364 346 L365 345 L366 343 L367 342 L367 341 L368 340 L373 329 L374 328 L374 327 L375 326 L375 325 L376 324 L376 323 L377 322 L377 320 L378 319 L378 318 L379 317 L380 313 L381 312 L381 311 L382 310 L382 308 L383 307 L384 303 L385 302 L380 298 L379 297 L378 297 L377 296 L373 294 L372 293 L369 291 L368 290 L366 289 L365 288 L364 287 L361 285 L360 284 L359 283 L345 269 L344 268 L343 267 L342 266 L340 263 L339 262 L337 259 L336 258 L331 250 L330 249 L329 247 L328 246 L328 245 L327 244 L324 238 L324 237 L327 240 L328 241 L330 244 L331 245 L332 246 L333 247 L337 252 L338 253 L339 254 L340 255 L341 256 L342 257 L343 258 L344 259 L345 260 L346 261 L347 262 L348 263 L349 264 L355 269 L356 270 L357 271 L358 272 L362 275 L363 276 L366 278 L367 279 L368 280 L370 281 L371 282 L372 283 L374 284 L375 285 L377 286 L378 287 L380 288 L381 289 L383 290 L384 291 L386 292 C385.8 293.3 388.2 293.3 388 292 L388 291 C389.2 291.2 389 289.7 389 289 L389 287 C390.2 287.2 390 285.7 390 285 L390 282 C391.2 282.2 391 280.7 391 280 L391 277 C392.6 276.9 391.8 274.9 392 274 L392 272 L393 267 L393 242 L392 237 L392 233 L391 229 L391 227 L391 225 C391 224.3 391.2 222.8 390 223 L390 220 C390 219.3 390.2 217.8 389 218 L389 215 C389 214.3 389.2 212.8 388 213 L388 211 C388 210.3 388.2 208.8 387 209 L387 207 C387 206.3 387.2 204.8 386 205 L386 204 C386 203.3 386.2 201.8 385 202 L385 200 C385 199.3 385.2 197.8 384 198 L384 197 C384 196.3 384.2 194.8 383 195 L383 193 L382 192 L382 190 L381 189 L381 187 L380 186 L380 185 L379 184 L379 182 L378 181 L377 180 L376 179 L368 177 L367 176 L365 176 C365.2 174.8 363.7 175 363 175 L362 175 C362.2 173.8 360.7 174 360 174 L358 174 L357 173 L356 173 C356.2 171.8 354.7 172 354 172 L349 171 L348 170 L346 170 C346.2 168.8 344.7 169 344 169 L343 169 L344 168 L347 168 C346.8 169.2 348.3 169 349 169 L351 169 C350.8 170.2 352.3 170 353 170 L357 170 C356.8 171.2 358.3 171 359 171 L360 171 C360.1 172.6 362.1 171.8 363 172 L367 172 C366.8 173.2 368.3 173 369 173 L373 173 C373.1 174.6 375.1 173.8 376 174 L378 174 L382 175 C385.8 174.6 391.3 176.6 393 172 L394 171 L394 169 L395 165 L395 159 L394 154 L394 151 C393.8 150.1 394.6 148.1 393 148 L393 145 L393 143 C393 142.3 393.2 140.8 392 141 L391 134 C391 133.3 391.2 131.8 390 132 L390 131 C390 130.3 390.2 128.8 389 129 L389 127 C389 126.3 389.2 124.8 388 125 L388 124 C388 123.3 388.2 121.8 387 122 L387 120 C387 119.3 387.2 117.8 386 118 L386 117 C386 116.3 386.2 114.8 385 115 L385 114 C385 113.3 385.2 111.8 384 112 L383 108 L382 107 L382 106 L381 105 L381 104 L380 103 L379 100 L378 99 L378 98 L377 97 L375 95 L374 94 L372 93 L371 92 L367 91 L366 90 L364 90 L363 89 L361 89 L360 88 L358 88 C358.2 86.82 356.7 86.98 356 87 L355 87 C355.2 85.82 353.7 85.98 353 86 L351 86 C351.2 84.82 349.7 84.98 349 85 L346 85 C346.2 83.82 344.7 83.98 344 84 L341 84 C341.2 82.82 339.7 82.98 339 83 L336 83 C336.2 81.82 334.7 81.98 334 82 L331 82 C331.2 80.82 329.7 80.98 329 81 L326 81 C325.9 79.41 323.9 80.19 323 80 L319 80 C318.9 78.41 316.9 79.19 316 79 L312 79 C311.9 77.41 309.9 78.19 309 78 L302 78 L297 77 L294 77 C293.9 75.41 291.9 76.19 291 76 L285 76 L281 76 L275 75 L264 76 L254 76 L250 77 L248 77 L246 77 C245.3 76.98 243.8 76.82 244 78 L242 78 C241.3 77.98 239.8 77.82 240 79 L238 79 C237.3 78.98 235.8 78.82 236 80 Line truncated
<path style="fill:#585858" d="M444 41 C443.3 41.02 441.8 41.18 442 40 C442.7 39.98 444.2 39.82 444 41 z"/>
<path style="fill:#606060" d="M138 41 L137 42 L138 41 z"/>
<path style="fill:#606060" d="M447 42 L446 41 L447 42 z"/>
<path style="fill:#606060" d="M136 42 L135 43 L136 42 z"/>
<path style="fill:#909090" d="M134 43 L133 44 L134 43 z"/>
<path style="fill:#808080" d="M451 44 L450 43 L451 44 z"/>
<path style="fill:#606060" d="M129 48 L128 49 L129 48 z"/>
<path style="fill:#909090" d="M457 50 L456 49 L457 50 z"/>
<path style="fill:#808080" d="M127 51 L126 52 L127 51 z"/>
<path style="fill:#606060" d="M458 52 L457 51 L458 52 z"/>
<path style="fill:#787878" d="M126 53 C126 53.66 126.2 55.15 125 55 C125 54.34 124.8 52.85 126 53 z"/>
<path style="fill:#909090" d="M459 54 L458 53 L459 54 z"/>
<path style="fill:#9a9b9b" d="M125 56 L125 59 L124 59 C124.2 58.05 123.4 56.06 125 56 z"/>
<path style="fill:#909090" d="M460 58 L459 58 L459 56 C460.2 55.85 460 57.34 460 58 z"/>
<path style="fill:#404040" d="M460 58 L460 358 L459 358 L459 58 L460 58 z"/>
<path style="fill:#404040" d="M125 59 L126 171 L124 59 L125 59 z"/>
<path style="fill:#7d7d7d" d="M275 75 L275 76 L264 76 L275 75 z"/>
<path style="fill:#3a3b3b" d="M281 76 L275 76 L275 75 L281 76 z"/>
<path style="fill:#686868" d="M254 76 L250 77 L254 76 z"/>
<path style="fill:#a2a3a3" d="M291 76 L291 77 L285 76 L291 76 z"/>
<path style="fill:#4a4b4b" d="M294 77 L291 77 L291 76 C291.9 76.19 293.9 75.41 294 77 z"/>
<path style="fill:#585858" d="M246 77 L246 78 L244 78 C243.8 76.82 245.3 76.98 246 77 z"/>
<path style="fill:#a8a8a8" d="M248 77 C248.2 78.18 246.7 78.02 246 78 L246 77 L248 77 z"/>
<path style="fill:#a0a0a0" d="M302 78 L297 77 L302 78 z"/>
<path style="fill:#707070" d="M242 78 C242.2 79.18 240.7 79.02 240 79 C239.8 77.82 241.3 77.98 242 78 z"/>
<path style="fill:#606060" d="M312 79 C311.1 78.81 309.1 79.59 309 78 C309.9 78.19 311.9 77.41 312 79 z"/>
<path style="fill:#707070" d="M238 79 C238.2 80.18 236.7 80.02 236 80 C235.8 78.82 237.3 78.98 238 79 z"/>
<path style="fill:#656565" d="M319 80 C318.1 79.81 316.1 80.59 316 79 C316.9 79.19 318.9 78.41 319 80 z"/>
<path style="fill:#787878" d="M235 80 C235.2 81.18 233.7 81.02 233 81 C232.8 79.82 234.3 79.98 235 80 z"/>
<path style="fill:#606060" d="M326 81 C325.1 80.81 323.1 81.59 323 80 C323.9 80.19 325.9 79.41 326 81 z"/>
<path style="fill:#a0a0a0" d="M232 81 L231 82 L232 81 z"/>
<path style="fill:#707070" d="M331 82 C330.3 82.02 328.8 82.18 329 81 C329.7 80.98 331.2 80.82 331 82 z"/>
<path style="fill:#606060" d="M229 82 L228 83 L229 82 z"/>
<path style="fill:#909090" d="M336 83 C335.3 83.02 333.8 83.18 334 82 C334.7 81.98 336.2 81.82 336 83 z"/>
<path style="fill:#686868" d="M195 84 L191 83 L195 84 z"/>
<path style="fill:#808080" d="M227 83 L226 84 L227 83 z"/>
<path style="fill:#989898" d="M341 84 C340.3 84.02 338.8 84.18 339 83 C339.7 82.98 341.2 82.82 341 84 z"/>
<path style="fill:#606060" d="M203 85 L199 84 L203 85 z"/>
<path style="fill:#888888" d="M346 85 C345.3 85.02 343.8 85.18 344 84 C344.7 83.98 346.2 83.82 346 85 z"/>
<path style="fill:#5c5c5c" d="M211 86 L207 85 L211 86 z"/>
<path style="fill:#585858" d="M229 86 C228.3 86.02 226.8 86.18 227 85 C227.7 84.98 229.2 84.82 229 86 z"/>
<path style="fill:#606060" d="M351 86 C350.3 86.02 348.8 86.18 349 85 C349.7 84.98 351.2 84.82 351 86 z"/>
<path style="fill:#989898" d="M217 87 L213 86 L217 87 z"/>
<path style="fill:#a8a8a8" d="M236 87 C235.3 87.02 233.8 87.18 234 86 C234.7 85.98 236.2 85.82 236 87 z"/>
<path style="fill:#606060" d="M355 87 C354.3 87.02 352.8 87.18 353 86 C353.7 85.98 355.2 85.82 355 87 z"/>
<path style="fill:#a0a0a0" d="M183 87 L182 88 L183 87 z"/>
<path style="fill:#909090" d="M225 88 L221 87 L225 88 z"/>
<path style="fill:#686868" d="M240 88 C239.3 88.02 237.8 88.18 238 87 C238.7 86.98 240.2 86.82 240 88 z"/>
<path style="fill:#909090" d="M358 88 C357.3 88.02 355.8 88.18 356 87 C356.7 86.98 358.2 86.82 358 88 z"/>
<path style="fill:#909090" d="M182 88 L181 89 L182 88 z"/>
<path style="fill:#a0a0a0" d="M232 89 C231.1 88.81 229.1 89.59 229 88 C229.9 88.19 231.9 87.41 232 89 z"/>
<path style="fill:#606060" d="M245 89 C244.3 89.02 242.8 89.18 243 88 C243.7 87.98 245.2 87.82 245 89 z"/>
<path style="fill:#909090" d="M361 89 L360 88 L361 89 z"/>
<path style="fill:#606060" d="M181 89 L180 90 L181 89 z"/>
<path style="fill:#686868" d="M242 90 L238 89 L242 90 z"/>
<path style="fill:#6e6e6e" d="M252 90 C251.3 89.98 249.8 89.82 250 91 L246 90 C246.7 90.02 248.2 90.18 248 89 L252 90 z"/>
<path style="fill:#a0a0a0" d="M364 90 L363 89 L364 90 z"/>
<path style="fill:#0c0c0c" d="M252 90 L254 90 L254 91 L250 91 C249.8 89.82 251.3 89.98 252 90 z"/>
<path style="fill:#505050" d="M260 91 L260 92 L254 91 L254 90 L260 91 z"/>
<path style="fill:#909090" d="M367 91 L366 90 L367 91 z"/>
<path style="fill:#989898" d="M260 92 L260 91 L266.8 92.25 C265.8 93.41 260.9 93.72 260 92 z"/>
<path style="fill:#606060" d="M372 93 L371 92 L372 93 z"/>
<path style="fill:#808080" d="M178 93 L177 94 L178 93 z"/>
<path style="fill:#909090" d="M375 95 L374 94 L375 95 z"/>
<path style="fill:#909090" d="M176 96 L175 97 L176 96 z"/>
<path style="fill:#707070" d="M378 98 L377 97 L378 98 z"/>
<path style="fill:#707070" d="M174 99 L173 100 L174 99 z"/>
<path style="fill:#a0a0a0" d="M379 100 L378 99 L379 100 z"/>
<path style="fill:#808080" d="M173 101 L172 102 L173 101 z"/>
<path style="fill:#808080" d="M172 103 L171 104 L172 103 z"/>
<path style="fill:#a0a0a0" d="M381 104 L380 103 L381 104 z"/>
<path style="fill:#606060" d="M171 105 L170 106 L171 105 z"/>
<path style="fill:#808080" d="M382 106 L381 105 L382 106 z"/>
<path style="fill:#606060" d="M383 108 L382 107 L383 108 z"/>
<path style="fill:#989898" d="M170 108 C170 108.7 170.2 110.2 169 110 C169 109.3 168.8 107.8 170 108 z"/>
<path style="fill:#a5a5a5" d="M169 112 L169 121 C167.3 119.3 167.3 113.7 169 112 z"/>
<path style="fill:#787878" d="M385 114 C383.8 114.2 384 112.7 384 112 C385.2 111.8 385 113.3 385 114 z"/>
<path style="fill:#787878" d="M386 117 C384.8 117.2 385 115.7 385 115 C386.2 114.8 386 116.3 386 117 z"/>
<path style="fill:#787878" d="M387 120 C385.8 120.2 386 118.7 386 118 C387.2 117.8 387 119.3 387 120 z"/>
<path style="fill:#b0b0b0" d="M388 124 C386.8 124.2 387 122.7 387 122 C388.2 121.8 388 123.3 388 124 z"/>
<path style="fill:#a0a0a0" d="M170 124 L169 123 L170 124 z"/>
<path style="fill:#888888" d="M389 127 C387.8 127.2 388 125.7 388 125 C389.2 124.8 389 126.3 389 127 z"/>
<path style="fill:#606060" d="M171 127 L170 126 L171 127 z"/>
<path style="fill:#606060" d="M172 129 L171 128 L172 129 z"/>
<path style="fill:#a0a0a0" d="M390 131 C388.8 131.2 389 129.7 389 129 C390.2 128.8 390 130.3 390 131 z"/>
<path style="fill:#808080" d="M174 132 L173 131 L174 132 z"/>
<path style="fill:#606060" d="M391 134 C389.8 134.2 390 132.7 390 132 C391.2 131.8 391 133.3 391 134 z"/>
<path style="fill:#707070" d="M177 136 L176 135 L177 136 z"/>
<path style="fill:#a0a0a0" d="M178 137 L177 136 L178 137 z"/>
<path style="fill:#a0a0a0" d="M179 138 L178 137 L179 138 z"/>
<path style="fill:#a0a0a0" d="M180 139 L179 138 L180 139 z"/>
<path style="fill:#a0a0a0" d="M181 140 L180 139 L181 140 z"/>
<path style="fill:#a0a0a0" d="M182 141 L181 140 L182 141 z"/>
<path style="fill:#a0a0a0" d="M183 142 L182 141 L183 142 z"/>
<path style="fill:#585858" d="M393 143 L392 143 L392 141 C393.2 140.8 393 142.3 393 143 z"/>
<path style="fill:#909090" d="M184 143 L183 142 L184 143 z"/>
<path style="fill:#606060" d="M185 144 L184 143 L185 144 z"/>
<path style="fill:#b0b0b0" d="M393 143 L393 145 C391.8 145.2 392 143.7 392 143 L393 143 z"/>
<path style="fill:#a0a0a0" d="M189 147 L188 146 L189 147 z"/>
<path style="fill:#606060" d="M190 148 L189 147 L190 148 z"/>
<path style="fill:#a0a0a0" d="M394 151 C392.4 150.9 393.2 148.9 393 148 C394.6 148.1 393.8 150.1 394 151 z"/>
<path style="fill:#808080" d="M193 150 L192 149 L193 150 z"/>
<path style="fill:#808080" d="M196 152 L195 151 L196 152 z"/>
<path style="fill:#808080" d="M188 154 C188.2 155.2 186.7 155 186 155 C185.8 153.8 187.3 154 188 154 z"/>
<path style="fill:#909090" d="M193 155 L192 154 L193 155 z"/>
<path style="fill:#696a6a" d="M395 159 L394 159 L394 154 L395 159 z"/>
<path style="fill:#b0b0b0" d="M185 155 C185.2 156.2 183.7 156 183 156 C182.8 154.8 184.3 155 185 155 z"/>
<path style="fill:#606060" d="M196 156 L195 155 L196 156 z"/>
<path style="fill:#888888" d="M181 156 C181.2 157.2 179.7 157 179 157 C178.8 155.8 180.3 156 181 156 z"/>
<path style="fill:#808080" d="M198 157 L197 156 L198 157 z"/>
<path style="fill:#707070" d="M177 157 C177.2 158.2 175.7 158 175 158 C174.8 156.8 176.3 157 177 157 z"/>
<path style="fill:#a0a0a0" d="M200 158 L199 157 L200 158 z"/>
<path style="fill:#909090" d="M174 158 C174.2 159.2 172.7 159 172 159 C171.8 157.8 173.3 158 174 158 z"/>
<path style="fill:#606060" d="M203 159 L202 158 L203 159 z"/>
<path style="fill:#606060" d="M209 159 L208 158 L209 159 z"/>
<path style="fill:#787878" d="M170 159 C170.2 160.2 168.7 160 168 160 C167.8 158.8 169.3 159 170 159 z"/>
<path style="fill:#a0a0a0" d="M205 160 L204 159 L205 160 z"/>
<path style="fill:#606060" d="M211 160 L210 159 L211 160 z"/>
<path style="fill:#b8b8b8" d="M395 159 L395 165 L394 165 L394 159 L395 159 z"/>
<path style="fill:#a8a8a8" d="M167 160 C167.2 161.2 165.7 161 165 161 C164.8 159.8 166.3 160 167 160 z"/>
<path style="fill:#606060" d="M208 161 L207 160 L208 161 z"/>
<path style="fill:#606060" d="M213 161 L212 160 L213 161 z"/>
<path style="fill:#808080" d="M163 161 C163.2 162.2 161.7 162 161 162 C160.8 160.8 162.3 161 163 161 z"/>
<path style="fill:#808080" d="M210 162 L209 161 L210 162 z"/>
<path style="fill:#606060" d="M215 162 L214 161 L215 162 z"/>
<path style="fill:#b0b0b0" d="M160 162 C160.2 163.2 158.7 163 158 163 C157.8 161.8 159.3 162 160 162 z"/>
<path style="fill:#606060" d="M217 163 L216 162 L217 163 z"/>
<path style="fill:#909090" d="M156 163 C156.2 164.2 154.7 164 154 164 C153.8 162.8 155.3 163 156 163 z"/>
<path style="fill:#707070" d="M215 164 L214 163 L215 164 z"/>
<path style="fill:#2e2f2f" d="M226 167 L226 168 L222 167 L221 166 L217 165 L217 164 L218 163 L226 167 z"/>
<path style="fill:#707070" d="M152 164 C152.2 165.2 150.7 165 150 165 C149.8 163.8 151.3 164 152 164 z"/>
<path style="fill:#a0a0a0" d="M217 164 L217 165 L216 164 L217 164 z"/>
<path style="fill:#989898" d="M149 165 C149.2 166.2 147.7 166 147 166 C146.8 164.8 148.3 165 149 165 z"/>
<path style="fill:#929393" d="M336 166 L336 167 C331.1 167.2 332.8 162.9 336 166 z"/>
<path style="fill:#686868" d="M395 165 L394 169 L394 165 L395 165 z"/>
<path style="fill:#808080" d="M145 166 C145.2 167.2 143.7 167 143 167 C142.8 165.8 144.3 166 145 166 z"/>
<path style="fill:#909090" d="M222 167 L221 166 L222 167 z"/>
<path style="fill:#525353" d="M344 168 L343 169 L336 167 L336 166 L344 168 z"/>
<path style="fill:#606060" d="M141 167 C141.2 168.2 139.7 168 139 168 C138.8 166.8 140.3 167 141 167 z"/>
<path style="fill:#808080" d="M227 168 L227 169 L226 168 L226 167 L227 168 z"/>
<path style="fill:#888888" d="M138 168 C138.2 169.2 136.7 169 136 169 C135.8 167.8 137.3 168 138 168 z"/>
<path style="fill:#202020" d="M228 168 L228 169 L227 169 L227 168 L228 168 z"/>
<path style="fill:#7c7c7c" d="M231 170 C230.1 169.8 228.1 170.6 228 169 L228 168 L231 170 z"/>
<path style="fill:#989898" d="M349 169 C348.3 169 346.8 169.2 347 168 C347.7 168 349.2 167.8 349 169 z"/>
<path style="fill:#707070" d="M134 169 C134.2 170.2 132.7 170 132 170 C131.8 168.8 133.3 169 134 169 z"/>
<path style="fill:#808080" d="M346 170 C345.3 170 343.8 170.2 344 169 C344.7 169 346.2 168.8 346 170 z"/>
<path style="fill:#686868" d="M353 170 C352.3 170 350.8 170.2 351 169 C351.7 169 353.2 168.8 353 170 z"/>
<path style="fill:#909090" d="M131 170 C131.2 171.2 129.7 171 129 171 C128.8 169.8 130.3 170 131 170 z"/>
<path style="fill:#808080" d="M231 170 C234.2 169.3 231.7 172.5 231 170 z"/>
<path style="fill:#606060" d="M349 171 L348 170 L349 171 z"/>
<path style="fill:#a8a8a8" d="M359 171 C358.3 171 356.8 171.2 357 170 C357.7 170 359.2 169.8 359 171 z"/>
<path style="fill:#5a5b5b" d="M363 172 C362.1 171.8 360.1 172.6 360 171 C360.9 171.2 362.9 170.4 363 172 z"/>
<path style="fill:#606060" d="M394 171 L393 172 L394 171 z"/>
<path style="fill:#505050" d="M356 173 C355.3 173 353.8 173.2 354 172 C354.7 172 356.2 171.8 356 173 z"/>
<path style="fill:#989898" d="M369 173 C368.3 173 366.8 173.2 367 172 C367.7 172 369.2 171.8 369 173 z"/>
<path style="fill:#909090" d="M358 174 L357 173 L358 174 z"/>
<path style="fill:#a5a5a5" d="M376 174 C375.1 173.8 373.1 174.6 373 173 C373.9 173.2 375.9 172.4 376 174 z"/>
<path style="fill:#707070" d="M362 175 C361.3 175 359.8 175.2 360 174 C360.7 174 362.2 173.8 362 175 z"/>
<path style="fill:#646464" d="M382 175 L378 174 L382 175 z"/>
<path style="fill:#787878" d="M365 176 C364.3 176 362.8 176.2 363 175 C363.7 175 365.2 174.8 365 176 z"/>
<path style="fill:#606060" d="M368 177 L367 176 L368 177 z"/>
<path style="fill:#909090" d="M377 180 L376 179 L377 180 z"/>
<path style="fill:#707070" d="M379 182 L378 181 L379 182 z"/>
<path style="fill:#a0a0a0" d="M380 185 L379 184 L380 185 z"/>
<path style="fill:#606060" d="M381 187 L380 186 L381 187 z"/>
<path style="fill:#707070" d="M382 190 L381 189 L382 190 z"/>
<path style="fill:#707070" d="M383 193 L382 192 L383 193 z"/>
<path style="fill:#909090" d="M384 197 C382.8 197.2 383 195.7 383 195 C384.2 194.8 384 196.3 384 197 z"/>
<path style="fill:#787878" d="M385 200 C383.8 200.2 384 198.7 384 198 C385.2 197.8 385 199.3 385 200 z"/>
<path style="fill:#a0a0a0" d="M386 204 C384.8 204.2 385 202.7 385 202 C386.2 201.8 386 203.3 386 204 z"/>
<path style="fill:#707070" d="M387 207 C385.8 207.2 386 205.7 386 205 C387.2 204.8 387 206.3 387 207 z"/>
<path style="fill:#707070" d="M388 211 C386.8 211.2 387 209.7 387 209 C388.2 208.8 388 210.3 388 211 z"/>
<path style="fill:#606060" d="M389 215 C387.8 215.2 388 213.7 388 213 C389.2 212.8 389 214.3 389 215 z"/>
<path style="fill:#686868" d="M390 220 C388.8 220.2 389 218.7 389 218 C390.2 217.8 390 219.3 390 220 z"/>
<path style="fill:#585858" d="M391 225 L390 225 L390 223 C391.2 222.8 391 224.3 391 225 z"/>
<path style="fill:#a8a8a8" d="M391 225 L391 227 C389.8 227.2 390 225.7 390 225 L391 225 z"/>
<path style="fill:#707070" d="M392 233 L391 229 L392 233 z"/>
<path style="fill:#909090" d="M324 236 L323 236 C320.3 234.8 323.9 233.2 324 236 z"/>
<path style="fill:#202020" d="M324 236 L324 237 L323 237 L323 236 L324 236 z"/>
<path style="fill:#a0a0a0" d="M324 237 L324 238 L323 237 L324 237 z"/>
<path style="fill:#666666" d="M393 242 L392 237 L393 242 z"/>
<path style="fill:#a0a0a0" d="M328 241 L327 240 L328 241 z"/>
<path style="fill:#707070" d="M328 245 L327 244 L328 245 z"/>
<path style="fill:#606060" d="M331 245 L330 244 L331 245 z"/>
<path style="fill:#909090" d="M332 246 L331 245 L332 246 z"/>
<path style="fill:#909090" d="M329 247 L328 246 L329 247 z"/>
<path style="fill:#a0a0a0" d="M333 247 L332 246 L333 247 z"/>
<path style="fill:#707070" d="M331 250 L330 249 L331 250 z"/>
<path style="fill:#606060" d="M338 253 L337 252 L338 253 z"/>
<path style="fill:#606060" d="M339 254 L338 253 L339 254 z"/>
<path style="fill:#606060" d="M340 255 L339 254 L340 255 z"/>
<path style="fill:#606060" d="M341 256 L340 255 L341 256 z"/>
<path style="fill:#606060" d="M342 257 L341 256 L342 257 z"/>
<path style="fill:#606060" d="M343 258 L342 257 L343 258 z"/>
<path style="fill:#707070" d="M337 259 L336 258 L337 259 z"/>
<path style="fill:#606060" d="M344 259 L343 258 L344 259 z"/>
<path style="fill:#606060" d="M345 260 L344 259 L345 260 z"/>
<path style="fill:#606060" d="M346 261 L345 260 L346 261 z"/>
<path style="fill:#606060" d="M347 262 L346 261 L347 262 z"/>
<path style="fill:#707070" d="M340 263 L339 262 L340 263 z"/>
<path style="fill:#606060" d="M348 263 L347 262 L348 263 z"/>
<path style="fill:#606060" d="M349 264 L348 263 L349 264 z"/>
<path style="fill:#a0a0a0" d="M343 267 L342 266 L343 267 z"/>
<path style="fill:#808080" d="M344 268 L343 267 L344 268 z"/>
<path style="fill:#636363" d="M393 267 L392 272 L393 267 z"/>
<path style="fill:#606060" d="M345 269 L344 268 L345 269 z"/>
<path style="fill:#a0a0a0" d="M356 270 L355 269 L356 270 z"/>
<path style="fill:#909090" d="M357 271 L356 270 L357 271 z"/>
<path style="fill:#606060" d="M358 272 L357 271 L358 272 z"/>
<path style="fill:#a0a0a0" d="M392 274 C391.8 274.9 392.6 276.9 391 277 C391.2 276.1 390.4 274.1 392 274 z"/>
<path style="fill:#808080" d="M363 276 L362 275 L363 276 z"/>
<path style="fill:#a0a0a0" d="M367 279 L366 278 L367 279 z"/>
<path style="fill:#606060" d="M368 280 L367 279 L368 280 z"/>
<path style="fill:#a8a8a8" d="M391 280 C391 280.7 391.2 282.2 390 282 C390 281.3 389.8 279.8 391 280 z"/>
<path style="fill:#a0a0a0" d="M371 282 L370 281 L371 282 z"/>
<path style="fill:#606060" d="M372 283 L371 282 L372 283 z"/>
<path style="fill:#606060" d="M360 284 L359 283 L360 284 z"/>
<path style="fill:#a0a0a0" d="M361 285 L360 284 L361 285 z"/>
<path style="fill:#808080" d="M375 285 L374 284 L375 285 z"/>
<path style="fill:#909090" d="M390 285 C390 285.7 390.2 287.2 389 287 C389 286.3 388.8 284.8 390 285 z"/>
<path style="fill:#909090" d="M378 287 L377 286 L378 287 z"/>
<path style="fill:#606060" d="M365 288 L364 287 L365 288 z"/>
<path style="fill:#909090" d="M366 289 L365 288 L366 289 z"/>
<path style="fill:#909090" d="M381 289 L380 288 L381 289 z"/>
<path style="fill:#606060" d="M225 290 L224 289 L225 290 z"/>
<path style="fill:#808080" d="M389 289 C389 289.7 389.2 291.2 388 291 C388 290.3 387.8 288.8 389 289 z"/>
<path style="fill:#a0a0a0" d="M228 291 L227 290 L228 291 z"/>
<path style="fill:#606060" d="M369 291 L368 290 L369 291 z"/>
<path style="fill:#808080" d="M384 291 L383 290 L384 291 z"/>
<path style="fill:#606060" d="M221 291 L220 292 L221 291 z"/>
<path style="fill:#808080" d="M230 292 L229 291 L230 292 z"/>
<path style="fill:#a0a0a0" d="M220 292 L219 293 L220 292 z"/>
<path style="fill:#606060" d="M232 293 L231 292 L232 293 z"/>
<path style="fill:#606060" d="M388 292 C388.2 293.3 385.8 293.3 386 292 L388 292 z"/>
<path style="fill:#a0a0a0" d="M235 294 L234 293 L235 294 z"/>
<path style="fill:#a0a0a0" d="M373 294 L372 293 L373 294 z"/>
<path style="fill:#808080" d="M237 295 L236 294 L237 295 z"/>
<path style="fill:#606060" d="M239 296 L238 295 L239 296 z"/>
<path style="fill:#606060" d="M217 296 L216 297 L217 296 z"/>
<path style="fill:#a0a0a0" d="M242 297 L241 296 L242 297 z"/>
<path style="fill:#808080" d="M378 297 L377 296 L378 297 z"/>
<path style="fill:#909090" d="M216 297 L215 298 L216 297 z"/>
<path style="fill:#808080" d="M244 298 L243 297 L244 298 z"/>
<path style="fill:#606060" d="M380 298 L379 297 L380 298 z"/>
<path style="fill:#606060" d="M246 299 L245 298 L246 299 z"/>
<path style="fill:#a0a0a0" d="M249 300 L248 299 L249 300 z"/>
<path style="fill:#808080" d="M251 301 L250 300 L251 301 z"/>
<path style="fill:#606060" d="M253 302 L252 301 L253 302 z"/>
<path style="fill:#707070" d="M212 302 L211 303 L212 302 z"/>
<path style="fill:#a0a0a0" d="M256 303 L255 302 L256 303 z"/>
<path style="fill:#808080" d="M385 302 L384 303 L385 302 z"/>
<path style="fill:#a0a0a0" d="M211 303 L210 304 L211 303 z"/>
<path style="fill:#808080" d="M258 304 L257 303 L258 304 z"/>
<path style="fill:#606060" d="M260 305 L259 304 L260 305 z"/>
<path style="fill:#909090" d="M265 307 L264 306 L265 307 z"/>
<path style="fill:#606060" d="M208 307 L207 308 L208 307 z"/>
<path style="fill:#606060" d="M267 308 L266 307 L267 308 z"/>
<path style="fill:#909090" d="M383 307 L382 308 L383 307 z"/>
<path style="fill:#909090" d="M207 308 L206 309 L207 308 z"/>
<path style="fill:#909090" d="M272 310 L271 309 L272 310 z"/>
<path style="fill:#606060" d="M274 311 L273 310 L274 311 z"/>
<path style="fill:#606060" d="M382 310 L381 311 L382 310 z"/>
<path style="fill:#909090" d="M279 313 L278 312 L279 313 z"/>
<path style="fill:#909090" d="M381 312 L380 313 L381 312 z"/>
<path style="fill:#707070" d="M203 313 L202 314 L203 313 z"/>
<path style="fill:#606060" d="M281 314 L280 313 L281 314 z"/>
<path style="fill:#a0a0a0" d="M202 314 L201 315 L202 314 z"/>
<path style="fill:#a0a0a0" d="M286 316 L285 315 L286 316 z"/>
<path style="fill:#707070" d="M288 317 L287 316 L288 317 z"/>
<path style="fill:#707070" d="M379 317 L378 318 L379 317 z"/>
<path style="fill:#606060" d="M199 318 L198 319 L199 318 z"/>
<path style="fill:#a0a0a0" d="M293 319 L292 318 L293 319 z"/>
<path style="fill:#909090" d="M198 319 L197 320 L198 319 z"/>
<path style="fill:#707070" d="M295 320 L294 319 L295 320 z"/>
<path style="fill:#a0a0a0" d="M378 319 L377 320 L378 319 z"/>
<path style="fill:#a0a0a0" d="M300 322 L299 321 L300 322 z"/>
<path style="fill:#707070" d="M302 323 L301 322 L302 323 z"/>
<path style="fill:#606060" d="M377 322 L376 323 L377 322 z"/>
<path style="fill:#707070" d="M194 324 L193 325 L194 324 z"/>
<path style="fill:#a0a0a0" d="M307 325 L306 324 L307 325 z"/>
<path style="fill:#707070" d="M376 324 L375 325 L376 324 z"/>
<path style="fill:#a0a0a0" d="M193 325 L192 326 L193 325 z"/>
<path style="fill:#707070" d="M309 326 L308 325 L309 326 z"/>
<path style="fill:#808080" d="M375 326 L374 327 L375 326 z"/>
<path style="fill:#a0a0a0" d="M314 328 L313 327 L314 328 z"/>
<path style="fill:#808080" d="M316 329 L315 328 L316 329 z"/>
<path style="fill:#a0a0a0" d="M374 328 L373 329 L374 328 z"/>
<path style="fill:#606060" d="M190 329 L189 330 L190 329 z"/>
<path style="fill:#606060" d="M318 330 L317 329 L318 330 z"/>
<path style="fill:#909090" d="M189 330 L188 331 L189 330 z"/>
<path style="fill:#a0a0a0" d="M321 331 L320 330 L321 331 z"/>
<path style="fill:#808080" d="M323 332 L322 331 L323 332 z"/>
<path style="fill:#606060" d="M325 333 L324 332 L325 333 z"/>
<path style="fill:#a0a0a0" d="M328 334 L327 333 L328 334 z"/>
<path style="fill:#808080" d="M330 335 L329 334 L330 335 z"/>
<path style="fill:#707070" d="M185 335 L184 336 L185 335 z"/>
<path style="fill:#606060" d="M332 336 L331 335 L332 336 z"/>
<path style="fill:#a0a0a0" d="M184 336 L183 337 L184 336 z"/>
<path style="fill:#a0a0a0" d="M335 337 L334 336 L335 337 z"/>
<path style="fill:#808080" d="M337 338 L336 337 L337 338 z"/>
<path style="fill:#606060" d="M339 339 L338 338 L339 339 z"/>
<path style="fill:#a0a0a0" d="M342 340 L341 339 L342 340 z"/>
<path style="fill:#606060" d="M181 340 L180 341 L181 340 z"/>
<path style="fill:#808080" d="M344 341 L343 340 L344 341 z"/>
<path style="fill:#a0a0a0" d="M368 340 L367 341 L368 340 z"/>
<path style="fill:#a0a0a0" d="M180 341 L179 342 L180 341 z"/>
<path style="fill:#606060" d="M346 342 L345 341 L346 342 z"/>
<path style="fill:#a0a0a0" d="M349 343 L348 342 L349 343 z"/>
<path style="fill:#707070" d="M367 342 L366 343 L367 342 z"/>
<path style="fill:#808080" d="M351 344 L350 343 L351 344 z"/>
<path style="fill:#606060" d="M353 345 L352 344 L353 345 z"/>
<path style="fill:#a0a0a0" d="M356 346 L355 345 L356 346 z"/>
<path style="fill:#808080" d="M365 345 L364 346 L365 345 z"/>
<path style="fill:#808080" d="M176 346 L175 347 L176 346 z"/>
<path style="fill:#808080" d="M358 347 L357 346 L358 347 z"/>
<path style="fill:#a0a0a0" d="M175 347 L174 348 L175 347 z"/>
<path style="fill:#606060" d="M360 348 L359 347 L360 348 z"/>
<path style="fill:#606060" d="M172 351 L171 352 L172 351 z"/>
<path style="fill:#a0a0a0" d="M171 352 L170 353 L171 352 z"/>
<path style="fill:#808080" d="M167 357 L166 358 L167 357 z"/>
<path style="fill:#a0a0a0" d="M166 358 L165 359 L166 358 z"/>
<path style="fill:#a8a8a8" d="M460 358 C460 358.7 460.2 360.2 459 360 L459 358 L460 358 z"/>
<path style="fill:#606060" d="M459 361 L458 362 L459 361 z"/>
<path style="fill:#606060" d="M163 362 L162 363 L163 362 z"/>
<path style="fill:#a0a0a0" d="M162 363 L161 364 L162 363 z"/>
<path style="fill:#606060" d="M159 367 L158 368 L159 367 z"/>
<path style="fill:#808080" d="M158 368 L157 369 L158 368 z"/>
<path style="fill:#a0a0a0" d="M455 368 L454 369 L455 368 z"/>
<path style="fill:#808080" d="M454 369 L453 370 L454 369 z"/>
<path style="fill:#a0a0a0" d="M453 370 L452 371 L453 370 z"/>
<path style="fill:#707070" d="M450 372 L449 373 L450 372 z"/>
<path style="fill:#606060" d="M154 373 L153 374 L154 373 z"/>
<path style="fill:#606060" d="M448 373 L447 374 L448 373 z"/>
<path style="fill:#808080" d="M153 374 L441 375 C347.2 376 242.5 378 153 374 z"/>
<path style="fill:#787878" d="M446 374 C446.2 375.2 444.7 375 444 375 C443.8 373.8 445.3 374 446 374 z"/>
<path style="fill:#404040" d="M462 387 L462 388 L452 388 L462 387 z"/>
<path style="fill:#909090" d="M462 389 L462 388 L462 387 C463.3 386.8 463.3 389.2 462 389 z"/>
<path style="fill:#0d0e0e" d="M467 389 L468 390 L468 392 L469 393 L469 395 L470 396 L470 397 L471 399 L471 400 L469 400 L469 399 L468 398 L468 396 L467 395 L467 392 C463.7 387.1 465.4 397.8 465 400 L464 400 C464.1 396.7 462.8 382.8 467 389 z"/>
<path style="fill:#080808" d="M476 387 L475 400 L474 392 L473 391 L473 389 L474 388 C473.8 386.8 475.3 387 476 387 z"/>
<path style="fill:#868686" d="M475 400 L476 387 C477.4 389.3 478.4 401.9 475 400 z"/>
<path style="fill:#0" d="M462 388 L462 389 L459 389 L458 400 L457 400 L456 389 L452 388 L462 388 z"/>
<path style="fill:#909090" d="M474 388 L473 389 L474 388 z"/>
<path style="fill:#404040" d="M457 400 L456 400 L456 389 L457 400 z"/>
<path style="fill:#c0c0c0" d="M459 389 L458 400 L459 389 z"/>
<path style="fill:#909090" d="M468 390 L467 389 L468 390 z"/>
<path style="fill:#3b3c3c" d="M467 392 L466 400 L465 400 C465.4 397.8 463.7 387.1 467 392 z"/>
<path style="fill:#2c2c2c" d="M473 391 L474 392 L473 394 L473 396 L472 397 L472 399 L471 399 L470 397 L473 391 z"/>
<path style="fill:#7e7e7e" d="M475 400 L473 394 L474 392 L475 400 z"/>
<path style="fill:#909090" d="M469 393 L468 392 L469 393 z"/>
<path style="fill:#909090" d="M468 396 L467 395 L468 396 z"/>
<path style="fill:#909090" d="M470 396 L469 395 L470 396 z"/>
<path style="fill:#909090" d="M473 396 L472 397 L473 396 z"/>
<path style="fill:#888888" d="M166 397 C166.2 398.2 164.7 398 164 398 C163.8 396.8 165.3 397 166 397 z"/>
<path style="fill:#0" d="M175 397 C174.8 398.2 176.3 398 177 398 L179 398 L180 399 L183 400 L184 401 L185 402 L186 403 L187 404 L188 406 C187.6 407.1 189.4 407.1 189 406 L190 405 L191 404 L192 403 L195 401 L196 400 L202 398 C202.7 398 204.2 398.2 204 397 L211 397 C211.1 398.6 213.1 397.8 214 398 L217 398 L218 399 L219 399 L220 400 L222 401 L223 402 L224 403 L225 405 L226 406 L226 407 L227 408 L227 409 C227 409.7 226.8 411.2 228 411 L228 414 L228 457 L206.3 456.8 L206 421 C206 420.3 206.2 418.8 205 419 L204 417 L203 416 L202 416 L201 415 L196 415 L195 416 C193.5 416.7 191.7 418.1 192 420 L191 421 L191 422 L190 457 L168 457 L168 421 C168 420.3 168.2 418.8 167 419 L166 417 L165 416 C163 414.4 160.4 415.1 158 415 L157 416 L154 419 L153 420 L153 421 C151.8 420.8 152 422.3 152 423 L152 457 L130 457 L130 399 L150 399 C150.1 400.8 149.1 408.1 152 405 L153 404 L154 403 L155 402 L157 401 L158 400 L164 398 C164.7 398 166.2 398.2 166 397 L175 397 z"/>
<path style="fill:#707070" d="M177 398 C176.3 398 174.8 398.2 175 397 C175.7 397 177.2 396.8 177 398 z"/>
<path style="fill:#808080" d="M204 397 C204.2 398.2 202.7 398 202 398 C201.8 396.8 203.3 397 204 397 z"/>
<path style="fill:#4a4b4b" d="M214 398 C213.1 397.8 211.1 398.6 211 397 C211.9 397.2 213.9 396.4 214 398 z"/>
<path style="fill:#696a6a" d="M269 397 L264 398 L269 397 z"/>
<path style="fill:#010101" d="M276 397 L280 398 L282 398 L284 398 C283.8 399.2 285.3 399 286 399 L287 399 L288 400 L290 400 L291 401 L296 404 L297 405 L298 406 L299 407 L300 408 L303 413 L304 414 L304 416 L305 417 L305 419 C305 419.7 304.8 421.2 306 421 L306 424 L306 432 L306 434 C304.8 433.8 305 435.3 305 436 L305 438 L304 439 L304 441 L303 442 L300 447 L299 448 L298 449 L297 450 L296 451 L293 453 L292 454 L291 454 L290 455 L289 455 L288 456 L282 457 C281.1 457.2 279.1 456.4 279 458 L276 458 L269 458 L265 458 C265.2 456.8 263.7 457 263 457 L261 457 C261.2 455.8 259.7 456 259 456 L258 456 L257 455 L252 453 L251 452 L245 446 L244 445 L243 443 L242 442 L242 441 L241 440 L241 439 C241 438.3 241.2 436.8 240 437 L240 435 C240 434.3 240.2 432.8 239 433 L239 423 C240.2 423.2 240 421.7 240 421 L240 419 C241.2 419.2 241 417.7 241 417 C241.3 414 243.4 411.5 245 409 L246 408 L249 405 L250 404 L251 403 L253 402 L254 401 L255 401 L256 400 L257 400 L258 399 L260 399 C260.7 399 262.2 399.2 262 398 L264 398 L269 397 L276 397 z"/>
<path style="fill:#545454" d="M280 397 L280 398 L276 397 L280 397 z"/>
<path style="fill:#b0b0b0" d="M282 398 L280 398 L280 397 C280.7 397 282.2 396.8 282 398 z"/>
<path style="fill:#909090" d="M354 397 C354.2 398.2 352.7 398 352 398 C351.8 396.8 353.3 397 354 397 z"/>
<path style="fill:#0" d="M364 397 C363.8 398.2 365.3 398 366 398 L367 398 L368 399 L369 399 L370 400 L372 401 L373 402 L374 403 L375 404 L377 409 C377 409.7 376.8 411.2 378 411 L378 412 L378 416 L378 457 L356.3 456.8 L356 421 C356 420.3 356.2 418.8 355 419 L355 418 L354 417 L353 416 C350.4 414.5 346.6 414.5 344 416 L343 417 L342 418 L341 419 L341 420 C339.8 419.8 340 421.3 340 422 L340 423 L339 457 L317 457 L317 399 L338 399 L339 406 L340 405 L341 404 L342 403 L345 401 L346 400 L347 400 L348 399 L349 399 L350 398 L352 398 C352.7 398 354.2 398.2 354 397 L364 397 z"/>
<path style="fill:#b0b0b0" d="M366 398 C365.3 398 363.8 398.2 364 397 C364.7 397 366.2 396.8 366 398 z"/>
<path style="fill:#696a6a" d="M419 397 L414 398 L419 397 z"/>
<path style="fill:#010101" d="M426 397 L431 398 L434 398 C433.8 399.2 435.3 399 436 399 L437 399 L438 400 L440 400 L441 401 L446 404 L447 405 L448 406 L449 407 L450 408 L453 413 L454 414 L454 416 L455 417 L455 418 C455 418.7 454.8 420.2 456 420 L456 426 L456 432 L456 435 C454.8 434.8 455 436.3 455 437 L455 438 C453.8 437.8 454 439.3 454 440 L454 441 L453 442 L450 447 L449 448 L448 449 L447 450 L446 451 L445 452 L443 453 L442 454 L441 454 L440 455 L439 455 L438 456 L437 456 C436.3 456 434.8 455.8 435 457 L432 457 C431.1 457.2 429.1 456.4 429 458 L426 458 L419 458 L415 458 C415.2 456.8 413.7 457 413 457 L411 457 C411.2 455.8 409.7 456 409 456 L408 456 L407 455 L402 453 L401 452 L395 446 L394 445 L393 443 L392 442 L392 441 L391 440 L391 438 L390 437 L390 434 L389 430 L389 423 C390.2 423.2 390 421.7 390 421 L390 419 C391.2 419.2 391 417.7 391 417 L391 416 L392 415 L393 412 L394 411 L395 409 L396 408 L397 407 L398 406 L399 405 L400 404 L401 403 L403 402 L404 401 L405 401 L406 400 L407 400 C407.7 400 409.2 400.2 409 399 L410 399 C410.7 399 412.2 399.2 412 398 L414 398 L419 397 L426 397 z"/>
<path style="fill:#606060" d="M431 398 L426 397 L431 398 z"/>
<path style="fill:#808181" d="M130 398 L130 399 L130 457 C128.3 438.7 128.3 416.3 130 398 z"/>
<path style="fill:#404040" d="M150 398 L150 399 L130 399 L130 398 L150 398 z"/>
<path style="fill:#878787" d="M152 405 C149.1 408.1 150.1 400.8 150 399 L150 398 L152 405 z"/>
<path style="fill:#606060" d="M180 399 L179 398 L180 399 z"/>
<path style="fill:#909090" d="M218 399 L217 398 L218 399 z"/>
<path style="fill:#787878" d="M262 398 C262.2 399.2 260.7 399 260 399 C259.8 397.8 261.3 398 262 398 z"/>
<path style="fill:#909090" d="M286 399 C285.3 399 283.8 399.2 284 398 C284.7 398 286.2 397.8 286 399 z"/>
<path style="fill:#c0c0c0" d="M317 398 L317 399 L317 457 C315.3 438.7 315.3 416.3 317 398 z"/>
<path style="fill:#404040" d="M338 399 L317 399 L317 398 L338 399 z"/>
<path style="fill:#707070" d="M350 398 L349 399 L350 398 z"/>
<path style="fill:#808080" d="M368 399 L367 398 L368 399 z"/>
<path style="fill:#787878" d="M412 398 C412.2 399.2 410.7 399 410 399 C409.8 397.8 411.3 398 412 398 z"/>
<path style="fill:#909090" d="M436 399 C435.3 399 433.8 399.2 434 398 C434.7 398 436.2 397.8 436 399 z"/>
<path style="fill:#a0a0a0" d="M469 399 L468 398 L469 399 z"/>
<path style="fill:#808080" d="M220 400 L219 399 L220 400 z"/>
<path style="fill:#a0a0a0" d="M258 399 L257 400 L258 399 z"/>
<path style="fill:#606060" d="M288 400 L287 399 L288 400 z"/>
<path style="fill:#606060" d="M348 399 L347 400 L348 399 z"/>
<path style="fill:#707070" d="M370 400 L369 399 L370 400 z"/>
<path style="fill:#787878" d="M409 399 C409.2 400.2 407.7 400 407 400 C406.8 398.8 408.3 399 409 399 z"/>
<path style="fill:#606060" d="M438 400 L437 399 L438 400 z"/>
<path style="fill:#a0a0a0" d="M472 399 L471 400 L471 399 L472 399 z"/>
<path style="fill:#707070" d="M158 400 L157 401 L158 400 z"/>
<path style="fill:#a0a0a0" d="M184 401 L183 400 L184 401 z"/>
<path style="fill:#808080" d="M196 400 L195 401 L196 400 z"/>
<path style="fill:#808080" d="M256 400 L255 401 L256 400 z"/>
<path style="fill:#a0a0a0" d="M291 401 L290 400 L291 401 z"/>
<path style="fill:#808080" d="M346 400 L345 401 L346 400 z"/>
<path style="fill:#808080" d="M406 400 L405 401 L406 400 z"/>
<path style="fill:#a0a0a0" d="M441 401 L440 400 L441 401 z"/>
<path style="fill:#909090" d="M457 400 L458 400 C458.2 401.3 455.8 401.3 456 400 L457 400 z"/>
<path style="fill:#909090" d="M465 400 L466 400 C466.2 401.3 463.8 401.3 464 400 L465 400 z"/>
<path style="fill:#909090" d="M471 400 C471.2 401.3 468.8 401.3 469 400 L471 400 z"/>
<path style="fill:#808080" d="M185 402 L184 401 L185 402 z"/>
<path style="fill:#a0a0a0" d="M223 402 L222 401 L223 402 z"/>
<path style="fill:#909090" d="M254 401 L253 402 L254 401 z"/>
<path style="fill:#a0a0a0" d="M373 402 L372 401 L373 402 z"/>
<path style="fill:#a0a0a0" d="M404 401 L403 402 L404 401 z"/>
<path style="fill:#a0a0a0" d="M155 402 L154 403 L155 402 z"/>
<path style="fill:#808080" d="M186 403 L185 402 L186 403 z"/>
<path style="fill:#a0a0a0" d="M224 403 L223 402 L224 403 z"/>
<path style="fill:#808080" d="M374 403 L373 402 L374 403 z"/>
<path style="fill:#a0a0a0" d="M154 403 L153 404 L154 403 z"/>
<path style="fill:#a0a0a0" d="M187 404 L186 403 L187 404 z"/>
<path style="fill:#a0a0a0" d="M192 403 L191 404 L192 403 z"/>
<path style="fill:#909090" d="M251 403 L250 404 L251 403 z"/>
<path style="fill:#a0a0a0" d="M342 403 L341 404 L342 403 z"/>
<path style="fill:#a0a0a0" d="M375 404 L374 403 L375 404 z"/>
<path style="fill:#a0a0a0" d="M401 403 L400 404 L401 403 z"/>
<path style="fill:#a0a0a0" d="M153 404 L152 405 L153 404 z"/>
<path style="fill:#a0a0a0" d="M191 404 L190 405 L191 404 z"/>
<path style="fill:#606060" d="M250 404 L249 405 L250 404 z"/>
<path style="fill:#a0a0a0" d="M297 405 L296 404 L297 405 z"/>
<path style="fill:#a0a0a0" d="M341 404 L340 405 L341 404 z"/>
<path style="fill:#606060" d="M400 404 L399 405 L400 404 z"/>
<path style="fill:#909090" d="M447 405 L446 404 L447 405 z"/>
<path style="fill:#a0a0a0" d="M190 405 L189 406 L190 405 z"/>
<path style="fill:#606060" d="M226 406 L225 405 L226 406 z"/>
<path style="fill:#808080" d="M298 406 L297 405 L298 406 z"/>
<path style="fill:#a0a0a0" d="M340 405 L339 406 L340 405 z"/>
<path style="fill:#606060" d="M399 405 L398 406 L399 405 z"/>
<path style="fill:#606060" d="M448 406 L447 405 L448 406 z"/>
<path style="fill:#606060" d="M189 406 C189.4 407.1 187.6 407.1 188 406 L189 406 z"/>
<path style="fill:#808080" d="M299 407 L298 406 L299 407 z"/>
<path style="fill:#606060" d="M398 406 L397 407 L398 406 z"/>
<path style="fill:#606060" d="M449 407 L448 406 L449 407 z"/>
<path style="fill:#606060" d="M227 408 L226 407 L227 408 z"/>
<path style="fill:#a0a0a0" d="M300 408 L299 407 L300 408 z"/>
<path style="fill:#606060" d="M397 407 L396 408 L397 407 z"/>
<path style="fill:#909090" d="M450 408 L449 407 L450 408 z"/>
<path style="fill:#707070" d="M246 408 L245 409 L246 408 z"/>
<path style="fill:#808080" d="M396 408 L395 409 L396 408 z"/>
<path style="fill:#787878" d="M228 411 C226.8 411.2 227 409.7 227 409 C228.2 408.8 228 410.3 228 411 z"/>
<path style="fill:#686868" d="M378 411 C376.8 411.2 377 409.7 377 409 C378.2 408.8 378 410.3 378 411 z"/>
<path style="fill:#606060" d="M394 411 L393 412 L394 411 z"/>
<path style="fill:#909090" d="M379 416 L378 416 L378 412 L379 416 z"/>
<path style="fill:#606060" d="M269 413 L268 414 L269 413 z"/>
<path style="fill:#fdfefe" d="M276 413 L277 414 L278 414 L279 415 L280 416 L281 417 L282 419 C282 419.7 281.8 421.2 283 421 L283 423 L283 432 L283 435 L282 436 L282 437 L281 438 L278 441 L277 442 L276 442 L270 442 L268 442 L267 441 L265 439 L264 438 L263 435 L262 434 L262 431 L262 425 L262 422 C263.2 422.2 263 420.7 263 420 L263 419 L264 418 L268 414 L269 413 L276 413 z"/>
<path style="fill:#a0a0a0" d="M277 414 L276 413 L277 414 z"/>
<path style="fill:#a0a0a0" d="M304 414 L303 413 L304 414 z"/>
<path style="fill:#606060" d="M419 413 L418 414 L419 413 z"/>
<path style="fill:#fdfdfd" d="M426 413 L427 414 L428 414 L429 415 L430 416 L431 417 L432 418 L432 419 L433 420 L433 423 L433 432 L433 435 L432 436 L431 439 L430 440 L429 441 L426 442 L425 443 L421 443 C421.2 441.8 419.7 442 419 442 L417 441 L416 440 L415 439 L414 438 L413 435 C413 434.3 413.2 432.8 412 433 L412 423 C413.2 423.2 413 421.7 413 421 L413 419 L414 418 L418 414 L419 413 L426 413 z"/>
<path style="fill:#a0a0a0" d="M427 414 L426 413 L427 414 z"/>
<path style="fill:#a0a0a0" d="M454 414 L453 413 L454 414 z"/>
<path style="fill:#434343" d="M228 457 L228 414 C229.7 427 229.7 444 228 457 z"/>
<path style="fill:#808080" d="M279 415 L278 414 L279 415 z"/>
<path style="fill:#909090" d="M429 415 L428 414 L429 415 z"/>
<path style="fill:#a0a0a0" d="M158 415 L157 416 L158 415 z"/>
<path style="fill:#606060" d="M196 415 L195 416 L196 415 z"/>
<path style="fill:#a0a0a0" d="M202 416 L201 415 L202 416 z"/>
<path style="fill:#a0a0a0" d="M280 416 L279 415 L280 416 z"/>
<path style="fill:#606060" d="M392 415 L391 416 L392 415 z"/>
<path style="fill:#606060" d="M166 417 L165 416 L166 417 z"/>
<path style="fill:#606060" d="M204 417 L203 416 L204 417 z"/>
<path style="fill:#a0a0a0" d="M281 417 L280 416 L281 417 z"/>
<path style="fill:#606060" d="M305 417 L304 416 L305 417 z"/>
<path style="fill:#a0a0a0" d="M344 416 L343 417 L344 416 z"/>
<path style="fill:#808080" d="M354 417 L353 416 L354 417 z"/>
<path style="fill:#404040" d="M379 416 L378 457 L378 416 L379 416 z"/>
<path style="fill:#a0a0a0" d="M431 417 L430 416 L431 417 z"/>
<path style="fill:#606060" d="M455 417 L454 416 L455 417 z"/>
<path style="fill:#686868" d="M241 417 C241 417.7 241.2 419.2 240 419 C240 418.3 239.8 416.8 241 417 z"/>
<path style="fill:#a0a0a0" d="M343 417 L342 418 L343 417 z"/>
<path style="fill:#707070" d="M355 418 L354 417 L355 418 z"/>
<path style="fill:#787878" d="M391 417 C391 417.7 391.2 419.2 390 419 C390 418.3 389.8 416.8 391 417 z"/>
<path style="fill:#707070" d="M432 418 L431 417 L432 418 z"/>
<path style="fill:#808080" d="M264 418 L263 419 L264 418 z"/>
<path style="fill:#808080" d="M342 418 L341 419 L342 418 z"/>
<path style="fill:#606060" d="M414 418 L413 419 L414 418 z"/>
<path style="fill:#989898" d="M456 420 C454.8 420.2 455 418.7 455 418 C456.2 417.8 456 419.3 456 420 z"/>
<path style="fill:#808080" d="M154 419 L153 420 L154 419 z"/>
<path style="fill:#686868" d="M168 421 L167 421 L167 419 C168.2 418.8 168 420.3 168 421 z"/>
<path style="fill:#989898" d="M206 421 C204.8 421.2 205 419.7 205 419 C206.2 418.8 206 420.3 206 421 z"/>
<path style="fill:#888888" d="M283 421 C281.8 421.2 282 419.7 282 419 C283.2 418.8 283 420.3 283 421 z"/>
<path style="fill:#686868" d="M306 421 C304.8 421.2 305 419.7 305 419 C306.2 418.8 306 420.3 306 421 z"/>
<path style="fill:#888888" d="M356 421 C354.8 421.2 355 419.7 355 419 C356.2 418.8 356 420.3 356 421 z"/>
<path style="fill:#606060" d="M433 420 L432 419 L433 420 z"/>
<path style="fill:#a0a0a0" d="M192 420 L191 421 L192 420 z"/>
<path style="fill:#707070" d="M263 420 C263 420.7 263.2 422.2 262 422 C262 421.3 261.8 419.8 263 420 z"/>
<path style="fill:#989898" d="M341 420 C341 420.7 341.2 422.2 340 422 C340 421.3 339.8 419.8 341 420 z"/>
<path style="fill:#606060" d="M153 421 L153 423 L152 423 C152 422.3 151.8 420.8 153 421 z"/>
<path style="fill:#bfc0c0" d="M168 421 L168 457 L167 421 L168 421 z"/>
<path style="fill:#707070" d="M240 421 C240 421.7 240.2 423.2 239 423 C239 422.3 238.8 420.8 240 421 z"/>
<path style="fill:#909090" d="M390 421 C390 421.7 390.2 423.2 389 423 C389 422.3 388.8 420.8 390 421 z"/>
<path style="fill:#a0a0a0" d="M413 421 C413 421.7 413.2 423.2 412 423 C412 422.3 411.8 420.8 413 421 z"/>
<path style="fill:#7c7c7c" d="M191 422 L190 457 L191 422 z"/>
<path style="fill:#bfbfbf" d="M153 423 L152 457 L152 423 L153 423 z"/>
<path style="fill:#888989" d="M283 432 L283 423 C284.7 424.7 284.7 430.3 283 432 z"/>
<path style="fill:#7c7d7d" d="M340 423 L339 457 L340 423 z"/>
<path style="fill:#a1a2a2" d="M433 432 L433 423 C434.7 424.7 434.7 430.3 433 432 z"/>
<path style="fill:#c4c4c4" d="M306 432 L306 424 C307.6 425.3 307.6 430.7 306 432 z"/>
<path style="fill:#404040" d="M262 425 L262 431 C260.4 430.3 260.4 425.7 262 425 z"/>
<path style="fill:#a0a0a0" d="M456 432 L456 426 C457.6 426.7 457.6 431.3 456 432 z"/>
<path style="fill:#585858" d="M390 434 L389 430 L390 434 z"/>
<path style="fill:#909090" d="M240 435 C238.8 435.2 239 433.7 239 433 C240.2 432.8 240 434.3 240 435 z"/>
<path style="fill:#808080" d="M413 435 C411.8 435.2 412 433.7 412 433 C413.2 432.8 413 434.3 413 435 z"/>
<path style="fill:#707070" d="M263 435 L262 434 L263 435 z"/>
<path style="fill:#707070" d="M306 434 C306 434.7 306.2 436.2 305 436 C305 435.3 304.8 433.8 306 434 z"/>
<path style="fill:#909090" d="M283 435 L282 436 L283 435 z"/>
<path style="fill:#a0a0a0" d="M433 435 L432 436 L433 435 z"/>
<path style="fill:#989898" d="M456 435 C456 435.7 456.2 437.2 455 437 C455 436.3 454.8 434.8 456 435 z"/>
<path style="fill:#888888" d="M241 439 C239.8 439.2 240 437.7 240 437 C241.2 436.8 241 438.3 241 439 z"/>
<path style="fill:#a0a0a0" d="M282 437 L281 438 L282 437 z"/>
<path style="fill:#707070" d="M391 438 L390 437 L391 438 z"/>
<path style="fill:#909090" d="M265 439 L264 438 L265 439 z"/>
<path style="fill:#606060" d="M305 438 L304 439 L305 438 z"/>
<path style="fill:#909090" d="M415 439 L414 438 L415 439 z"/>
<path style="fill:#888888" d="M455 438 C455 438.7 455.2 440.2 454 440 C454 439.3 453.8 437.8 455 438 z"/>
<path style="fill:#a0a0a0" d="M416 440 L415 439 L416 440 z"/>
<path style="fill:#606060" d="M431 439 L430 440 L431 439 z"/>
<path style="fill:#808080" d="M242 441 L241 440 L242 441 z"/>
<path style="fill:#a0a0a0" d="M392 441 L391 440 L392 441 z"/>
<path style="fill:#a0a0a0" d="M417 441 L416 440 L417 441 z"/>
<path style="fill:#606060" d="M430 440 L429 441 L430 440 z"/>
<path style="fill:#606060" d="M268 442 L267 441 L268 442 z"/>
<path style="fill:#a0a0a0" d="M278 441 L277 442 L278 441 z"/>
<path style="fill:#a0a0a0" d="M304 441 L303 442 L304 441 z"/>
<path style="fill:#a0a0a0" d="M454 441 L453 442 L454 441 z"/>
<path style="fill:#808080" d="M243 443 L242 442 L243 443 z"/>
<path style="fill:#aaabab" d="M276 442 C275.3 443.6 270.7 443.6 270 442 L276 442 z"/>
<path style="fill:#909090" d="M393 443 L392 442 L393 443 z"/>
<path style="fill:#707070" d="M421 443 C420.3 443 418.8 443.2 419 442 C419.7 442 421.2 441.8 421 443 z"/>
<path style="fill:#808080" d="M426 442 L425 443 L426 442 z"/>
<path style="fill:#707070" d="M245 446 L244 445 L245 446 z"/>
<path style="fill:#707070" d="M395 446 L394 445 L395 446 z"/>
<path style="fill:#a0a0a0" d="M300 447 L299 448 L300 447 z"/>
<path style="fill:#909090" d="M450 447 L449 448 L450 447 z"/>
<path style="fill:#707070" d="M299 448 L298 449 L299 448 z"/>
<path style="fill:#606060" d="M449 448 L448 449 L449 448 z"/>
<path style="fill:#606060" d="M298 449 L297 450 L298 449 z"/>
<path style="fill:#606060" d="M448 449 L447 450 L448 449 z"/>
<path style="fill:#a0a0a0" d="M297 450 L296 451 L297 450 z"/>
<path style="fill:#808080" d="M447 450 L446 451 L447 450 z"/>
<path style="fill:#a0a0a0" d="M446 451 L445 452 L446 451 z"/>
<path style="fill:#909090" d="M252 453 L251 452 L252 453 z"/>
<path style="fill:#909090" d="M402 453 L401 452 L402 453 z"/>
<path style="fill:#a0a0a0" d="M293 453 L292 454 L293 453 z"/>
<path style="fill:#909090" d="M443 453 L442 454 L443 453 z"/>
<path style="fill:#808080" d="M291 454 L290 455 L291 454 z"/>
<path style="fill:#808080" d="M441 454 L440 455 L441 454 z"/>
<path style="fill:#606060" d="M258 456 L257 455 L258 456 z"/>
<path style="fill:#a0a0a0" d="M289 455 L288 456 L289 455 z"/>
<path style="fill:#606060" d="M408 456 L407 455 L408 456 z"/>
<path style="fill:#909090" d="M439 455 L438 456 L439 455 z"/>
<path style="fill:#787878" d="M261 457 C260.3 457 258.8 457.2 259 456 C259.7 456 261.2 455.8 261 457 z"/>
<path style="fill:#808080" d="M411 457 C410.3 457 408.8 457.2 409 456 C409.7 456 411.2 455.8 411 457 z"/>
<path style="fill:#a8a8a8" d="M437 456 C437.2 457.2 435.7 457 435 457 C434.8 455.8 436.3 456 437 456 z"/>
<path style="fill:#888888" d="M265 458 C264.3 458 262.8 458.2 263 457 C263.7 457 265.2 456.8 265 458 z"/>
<path style="fill:#606060" d="M282 457 C281.9 458.6 279.9 457.8 279 458 C279.1 456.4 281.1 457.2 282 457 z"/>
<path style="fill:#888888" d="M415 458 C414.3 458 412.8 458.2 413 457 C413.7 457 415.2 456.8 415 458 z"/>
<path style="fill:#606060" d="M432 457 C431.9 458.6 429.9 457.8 429 458 C429.1 456.4 431.1 457.2 432 457 z"/>
<path style="fill:#c2c2c2" d="M276 458 C275 459.6 270 459.6 269 458 L276 458 z"/>
<path style="fill:#c2c2c2" d="M426 458 C425 459.6 420 459.6 419 458 L426 458 z"/>
</svg>

Before

Width:  |  Height:  |  Size: 52 KiB

-4
View File
@@ -1,4 +0,0 @@
*~
.*
*.out
output
-42
View File
@@ -1,42 +0,0 @@
Imports System
Class C1
Public a As Integer
Private b As Integer
Friend c As Integer
Protected d As Integer
Public Sub S1() ' All data members of the class should be accessible
a=10
b=20
c=30
d=40
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
a=100
c=300
d=400
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
myC.a=1000
myC.c=3000
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
Imports System
Class C1
Protected Friend a As Integer
End Class
Class C2
Inherits C1
Public Sub S()
a=100
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.a=1000
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
-114
View File
@@ -1,114 +0,0 @@
Imports System
Class C1
Public a As Integer=20
Private b As Integer=30
Friend c As Integer=40
Protected d As Integer=50
Public Sub S1() ' All data members of the class should be accessible
Try
If a<>20 Then
Throw New Exception("#A1-Accessibility:Failed-error accessing value of public data member frm same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If b<>30 Then
Throw New Exception("#A2-Accessibility:Failed-error accessing value of private data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A3-Accessibility:Failed-error accessing value of friend data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A4-Accessibility:Failed-error accessing value of protected data member from same class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
S2()
End Sub
Private Sub S2()
End Sub
End Class
Class C2
Inherits C1
Public Sub DS1() 'All data members except private members should be accessible
Try
If a<>20 Then
Throw New Exception("#A5-Accessibility:Failed-error accessing value of public data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If c<>40 Then
Throw New Exception("#A6-Accessibility:Failed-error accessing value of friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If d<>50 Then
Throw New Exception("#A7-Accessibility:Failed-error accessing value of protected data member from derived")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Class C3
Public Sub S1() 'All public and friend members should be accessible
Dim myC As New C1()
Try
If myC.a<>20 Then
Throw New Exception("#A8-Accessibility:Failed-error accessing value of public data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Try
If myC.c<>40 Then
Throw New Exception("#A9-Accessibility:Failed-error accessing value of friend data member from another class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S1()
Try
If myC1.a<>20 Then
Throw New Exception("#A10-Accessibility:Failed-error accessing value of public data member form another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.DS1()
Dim myC3 As New C3()
myC3.S1()
End Sub
End Module
-34
View File
@@ -1,34 +0,0 @@
Imports System
Class C1
Protected Friend a As Integer=20
End Class
Class C2
Inherits C1
Public Sub S()
Try
If a<>20 Then
Throw New Exception("#A1-AccessibilityA:Failed-error accessing value of protected friend data member from derived class")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
Try
If myC1.a<>20 Then
Throw New Exception("#A2-AccessibilityA:Failed-error accessing value of protected friend data member from another module")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
Dim myC2 As New C2()
myC2.S()
End Sub
End Module
-38
View File
@@ -1,38 +0,0 @@
Imports System 'Should generate five compilation errors
Class C1
Private a As Integer=10
Protected b As Integer=30
Private Sub S()
End Sub
End Class
Class C2
Inherits C1
Public Sub S1()
S()
Console.WriteLine(a)
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S()
Console.WriteLine(myC.a)
Console.WriteLine(myC.b)
End Sub
End Class
Module Accessibility
Sub Main()
Dim myC1 As New C1()
myC1.S()
Console.WriteLine(myC1.a)
Console.WriteLine(myC1.b)
Dim myC2 As New C2()
myC2.S1()
Dim myC3 As New C3()
myC3.S()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Class C1
Public Private a As Integer
Public Protected b As Integer
Public Friend c As Integer
Private Protected d As Integer
Private Friend e As Integer
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-23
View File
@@ -1,23 +0,0 @@
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
C = 10
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S2()
myC.C = 20
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Protected Class C1
End Class
Private Class C2
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Public Class C1
Protected Class InnerC
End Class
End Class
Public Class C2
inherits C1.InnerC
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
-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
-22
View File
@@ -1,22 +0,0 @@
' BC30542: 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)
a1 = 10 Mod 0
End Sub
End Module
-19
View File
@@ -1,19 +0,0 @@
' BC30512: Option strict On disallows implicit conversions
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
a1 = b1 / 0
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
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer ' = {1, 2, 3, 4, 5}
Sub Main()
dim arry as boolean
arry = IsArray(a)
If arry <> true then
Throw New Exception ("#A1, Not an Array")
End If
ReDim Preserve a(10)
Console.WriteLine(a(7))
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
ReDim Preserve a(10)
a(7) = 8
If a(7) <> 8 then
Throw New Exception ("#A1, Unexpected result")
End If
If a(2) <> 3 then
Throw New Exception ("#A2, Unexpected result - Preserve keyword not working")
End If
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a as Long(5)
Sub Main ()
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a() as Long()
Sub Main ()
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
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
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
dim c as Integer
c = UBound(a, 1)
c = LBound(a, 1)
'c = UBound(a)
'c = LBound(a)
End Sub
End Module
-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
-35
View File
@@ -1,35 +0,0 @@
Imports System
'Testing 'Inherited' in attributes
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Public Class C2
Inherits C1
End Class
Module Test
Sub Main()
End Sub
End Module
-28
View File
@@ -1,28 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Interface C1
End Interface
Public Interface C2
Inherits C1
End Interface
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
'Using private constructor in attributes
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Private Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-31
View File
@@ -1,31 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C1)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Class has no attributes")
Else
Dim aa As AuthorAttribute=CType(arr(0),AuthorAttribute)
Console.WriteLine("Name:" & aa.Name)
End If
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
'Using MustInherit on a attribute class
Imports System
<AttributeUsage(AttributeTargets.All)> _
Public MustInherit Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-27
View File
@@ -1,27 +0,0 @@
Imports System
'Declaring atrribute target to be class and using attribute on methods
<AttributeUsage(AttributeTargets.Class)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
<Author("John")> _
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
Imports System
'Using a single-use attribute multiple times
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
Public ReadOnly Property NameP() As String
Get
Return Name
End Get
End Property
End Class
<Author("Robin Cook"),Author("John Gresham")> _
Public Class C1
Public Sub S1()
End Sub
End Class
Module Test
Sub Main()
End Sub
End Module
-24
View File
@@ -1,24 +0,0 @@
Imports System
'Using byref positional parameters
<AttributeUsage(AttributeTargets.All)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByRef Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook")> _
Public Class C1
End Class
Module Test
Sub Main()
End Sub
End Module
-30
View File
@@ -1,30 +0,0 @@
Imports System
<AttributeUsage(AttributeTargets.All, AllowMultiple:=True, Inherited:=True)> _
Public Class AuthorAttribute
Inherits Attribute
Public Name
Public Sub New(ByVal Name As String)
Me.Name=Name
End Sub
End Class
<Author("Robin Cook"),Author("Authur Haily")> _
Public Class C1
End Class
Module Test
Sub Main()
Dim type As Type=GetType(C2)
Dim arr As Object()=type.GetCustomAttributes(GetType(AuthorAttribute),True)
If arr.Length=0 Then
Console.WriteLine("Interface has no attributes")
Else
Throw New Exception("AttributesC:Failed-Interfaces should not inherit attributes")
End If
End Sub
End Module
-42
View File
@@ -1,42 +0,0 @@
Imports System
Module BlockStatementsA
Sub Main()
Dim a As Integer = 10
If a = 10 Then
GoTo a
End If
label: a = 11
a: a = 5
If a = 5 Then
GoTo 123
End If
123: a = 7
If a = 7 Then
GoTo _12ab
End If
_12ab: a = 8
If a = 8 Then
GoTo [class]
End If
[class]: a = 0
Console.WriteLine(a)
' label declaration always takes precedence in any ambiguous situation
f1: Console.WriteLine("Heh") : a = 1 : f1:
End Sub
Function f1() As Boolean
Console.WriteLine("Inside function f1()")
Return True
End Function
End Module
-12
View File
@@ -1,12 +0,0 @@
' BC30451: Name 'b' is not declared
Imports System
Module BlockStatementsC1
sub main
Dim a As Integer = 10
a: b:
Console.WriteLine(a)
end sub
End Module
-20
View File
@@ -1,20 +0,0 @@
' BC30094: Label 'a' is already defined in the current method.
Imports System
Module BlockStatementsC2
Sub Main()
Dim a As Integer = 10
If a = 10 Then
GoTo b
a: a = 11
b: a = 12
Else
GoTo a
End If
a:
Console.WriteLine("Outside label")
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
'BC30132: Label 'c' is not defined
Imports System
Module BlockStatementsC3
Sub Main()
Dim a As Integer = 10
If a = 10 Then
GoTo b
a: a = 11
b: a = 12
Else
GoTo c
End If
End Sub
Sub f()
Console.WriteLine("Inside sub f()")
a:
Console.WriteLine("label a")
c:
Console.WriteLine("label c")
End Sub
End Module
-14
View File
@@ -1,14 +0,0 @@
' BC30801: Labels that are numbers must be followed by colons
' BC30451: Name 'a' is not declared
' BC30203: Identifier expected
Imports System
Module BlockStatementsC4
sub main
1a:
_#$%dd:
Console.WriteLine("Invalid labels")
end sub
End Module
-17
View File
@@ -1,17 +0,0 @@
Option Strict Off
Imports System
Module M
Sub Main()
Try
Dim a As Boolean=True
Dim b As Boolean=False
Dim c As Boolean
c=a+b
If a<>True
Throw New Exception("BoolLiteralB:Failed")
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Module BoolLiteralTest
Sub main()
Try
Dim b As Boolean
b = True
b = False
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
-10
View File
@@ -1,10 +0,0 @@
Module BoolLiteralTest1
Sub Main()
Try
Dim b As Boolean
b = Not True
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
End Module
Loaded 100 of 12698 files, more files were not shown because too many files have changed in this diff. Show more