mono.git
19 years ago* CrossAppDomainChannel.cs: Added getter for the target domain Id.
Lluis Sanchez [Wed, 10 Nov 2004 11:50:45 +0000 (11:50 -0000)]
* CrossAppDomainChannel.cs: Added getter for the target domain Id.

svn path=/trunk/mcs/; revision=35961

19 years ago * RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
Lluis Sanchez [Wed, 10 Nov 2004 11:49:50 +0000 (11:49 -0000)]
* RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
used by the new xdomain wrappers. Added GetAppDomainTarget() method,
which returns the remote object referenced by the proxy.
* RemotingProxy.cs: Moved _targetUri to RealProxy.

svn path=/trunk/mcs/; revision=35960

19 years ago* Exception.cs: Added setter for StackTrace.
Lluis Sanchez [Wed, 10 Nov 2004 11:48:34 +0000 (11:48 -0000)]
* Exception.cs: Added setter for StackTrace.

svn path=/trunk/mcs/; revision=35959

19 years ago2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Nov 2004 09:11:37 +0000 (09:11 -0000)]
2004-11-10  Atsushi Enomoto  <atsushi@ximian.com>

* CustomDataClassGenerator.cs : generated foreign key constraint
  construction code was creating empty child columns and thus it
  was invalid. This fixes bug #69276 (patch by Martin Voelkle).

svn path=/trunk/mcs/; revision=35957

19 years ago2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Nov 2004 08:21:50 +0000 (08:21 -0000)]
2004-11-10  Atsushi Enomoto <atsushi@ximian.com>

* XmlParserContext.cs : PushScope() was accessing list out of range.

svn path=/trunk/mcs/; revision=35956

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 10 Nov 2004 07:10:00 +0000 (07:10 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

 * System.Data.Sql/ISqlCommand.cs,
 System.Data.Sql/ISqlConnection.cs,
 System.Data.Sql/ISqlExecutionContext.cs,
 System.Data.Sql/ISqlParameterCollection.cs,
 System.Data.Sql/ISqlTransaction.cs: Added `new' modifiers where needed.

svn path=/trunk/mcs/; revision=35955

19 years ago(Select): Add 'override' to make it compile.
Raja R Harinath [Wed, 10 Nov 2004 07:03:08 +0000 (07:03 -0000)]
(Select): Add 'override' to make it compile.

svn path=/trunk/mcs/; revision=35954

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 10 Nov 2004 06:50:33 +0000 (06:50 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* IDictionary.cs (IDictionary): `IsReadOnly' and `Clear' are
inherited from ICollection.

svn path=/trunk/mcs/; revision=35953

19 years agoOoops.
Martin Baulig [Wed, 10 Nov 2004 06:49:43 +0000 (06:49 -0000)]
Ooops.

svn path=/trunk/mcs/; revision=35952

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Wed, 10 Nov 2004 06:48:55 +0000 (06:48 -0000)]
2004-11-10  Martin Baulig  <martin@localhost>

* DeflateStream.cs, GzipStream.cs: `System.IO.Stream.Length' doesn't
have any setter.

svn path=/trunk/mcs/; revision=35951

19 years agoMerged everything into GMCS.
Martin Baulig [Wed, 10 Nov 2004 06:19:57 +0000 (06:19 -0000)]
Merged everything into GMCS.

svn path=/trunk/mcs/; revision=35949

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 06:18:26 +0000 (06:18 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=35947

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 05:43:58 +0000 (05:43 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=35946

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 04:49:53 +0000 (04:49 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=35943

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 02:49:10 +0000 (02:49 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: use memmove in BlockCopyInternal when the source and
destination arrays are the same.

svn path=/trunk/mono/; revision=35939

19 years ago * TabControl.cs (CalcXPos): New helper method so we can determine
Jackson Harper [Wed, 10 Nov 2004 01:04:28 +0000 (01:04 -0000)]
* 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

19 years agoEnable the new generic tests.
Martin Baulig [Wed, 10 Nov 2004 00:43:24 +0000 (00:43 -0000)]
Enable the new generic tests.

svn path=/trunk/mcs/; revision=35936

19 years agoForgot this
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:33:06 +0000 (00:33 -0000)]
Forgot this

svn path=/trunk/mcs/; revision=35935

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:26:30 +0000 (00:26 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:56:53 +0000 (23:56 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:35:27 +0000 (23:35 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:27:28 +0000 (23:27 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* rootcontext.cs (RootContext.LookupType): If we're a nested type,
call DeclSpace.ResolveNestedType() on it.

svn path=/trunk/mcs/; revision=35931

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:24:20 +0000 (23:24 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): If `gpd' is
non-null, call ParameterModifier() on it.

svn path=/trunk/mcs/; revision=35930

19 years agoAdded a null check and removed a debugging statement.
Martin Baulig [Tue, 9 Nov 2004 23:24:05 +0000 (23:24 -0000)]
Added a null check and removed a debugging statement.

svn path=/trunk/mcs/; revision=35929

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:20:22 +0000 (23:20 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* 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

19 years agoOoops.
Martin Baulig [Tue, 9 Nov 2004 23:15:10 +0000 (23:15 -0000)]
Ooops.

svn path=/trunk/mcs/; revision=35927

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Tue, 9 Nov 2004 23:13:17 +0000 (23:13 -0000)]
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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:08:35 +0000 (23:08 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* 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

19 years agoOP_RETHROW support; Fix global register allocations
Neale Ferguson [Tue, 9 Nov 2004 23:02:35 +0000 (23:02 -0000)]
OP_RETHROW support; Fix global register allocations

svn path=/trunk/mono/; revision=35924

19 years agoPut the merging back.
Martin Baulig [Tue, 9 Nov 2004 22:32:25 +0000 (22:32 -0000)]
Put the merging back.

svn path=/trunk/mcs/; revision=35921

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Tue, 9 Nov 2004 22:03:51 +0000 (22:03 -0000)]
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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 21:47:58 +0000 (21:47 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* 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

19 years ago * TabControl.cs: Calculate sizing and rects for left aligned tabs.
Jackson Harper [Tue, 9 Nov 2004 21:44:54 +0000 (21:44 -0000)]
* 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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 21:31:28 +0000 (21:31 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* 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

19 years agogrrrrr
Duncan Mak [Tue, 9 Nov 2004 20:23:50 +0000 (20:23 -0000)]
grrrrr

svn path=/trunk/mcs/; revision=35911

19 years agoAdd XML_DEP, this should fix the build.
Duncan Mak [Tue, 9 Nov 2004 20:18:06 +0000 (20:18 -0000)]
Add XML_DEP, this should fix the build.

svn path=/trunk/mcs/; revision=35910

19 years agoOoops, gen-65 is broken, not test-65.
Martin Baulig [Tue, 9 Nov 2004 20:05:50 +0000 (20:05 -0000)]
Ooops, gen-65 is broken, not test-65.

svn path=/trunk/mcs/; revision=35909

19 years ago * System.dll.sources: Added new files:
Lluis Sanchez [Tue, 9 Nov 2004 17:43:20 +0000 (17:43 -0000)]
* System.dll.sources: Added new files:
System.Configuration/NonEmptyStringConfigurationProperty.cs
System.Configuration/NonEmptyStringFlags.cs

svn path=/trunk/mcs/; revision=35904

19 years ago * ConfigurationElement.cs: Implemented Equals and GetHashCode.
Lluis Sanchez [Tue, 9 Nov 2004 17:42:55 +0000 (17:42 -0000)]
* 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

19 years ago2004-11-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 9 Nov 2004 17:19:29 +0000 (17:19 -0000)]
2004-11-09  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_names_equal): Reenable the comparison of
assembly versions and public key tokens. Fixes #69113.

svn path=/trunk/mono/; revision=35902

19 years ago2004-11-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 9 Nov 2004 17:09:58 +0000 (17:09 -0000)]
2004-11-09  Zoltan Varga  <vargaz@freemail.hu>

* 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

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 9 Nov 2004 17:03:26 +0000 (17:03 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

19 years agoA little bird whispered in my ear that gen-65.cs is broken ....
Martin Baulig [Tue, 9 Nov 2004 16:35:44 +0000 (16:35 -0000)]
A little bird whispered in my ear that gen-65.cs is broken ....

svn path=/trunk/mcs/; revision=35899

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 16:30:14 +0000 (16:30 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 16:27:58 +0000 (16:27 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* test-315.cs: New test.

svn path=/trunk/mcs/; revision=35897

19 years agofixes menu navigation, fixes popups, etc
Jordi Mas i Hernandez [Tue, 9 Nov 2004 15:47:20 +0000 (15:47 -0000)]
fixes menu navigation, fixes popups, etc

svn path=/trunk/mcs/; revision=35895

19 years agoTue Nov 9 17:34:05 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:12:39 +0000 (15:12 -0000)]
Tue Nov 9 17:34:05 CET 2004 Paolo Molaro <lupus@ximian.com>

* metadata.c: fix bug introduced with the type cache changes
on 2004-11-06.

svn path=/trunk/mono/; revision=35894

19 years agoTue Nov 9 17:30:20 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:48 +0000 (15:08 -0000)]
Tue Nov 9 17:30:20 CET 2004 Paolo Molaro <lupus@ximian.com>

* 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

19 years agoTue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:37 +0000 (15:08 -0000)]
Tue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com>

* interp.c: update to exception clause structure changes.

svn path=/trunk/mono/; revision=35892

19 years agoTue Nov 9 17:26:29 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:13 +0000 (15:08 -0000)]
Tue Nov 9 17:26:29 CET 2004 Paolo Molaro <lupus@ximian.com>

* 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

19 years agoTue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:11 +0000 (15:08 -0000)]
Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, get.c, get.h: update to exception clause structure changes.

svn path=/trunk/mono/; revision=35890

19 years ago2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 9 Nov 2004 14:24:34 +0000 (14:24 -0000)]
2004-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* 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

19 years ago * AppSettingsSection.cs: Mostly implemented (missing support for
Lluis Sanchez [Tue, 9 Nov 2004 12:31:33 +0000 (12:31 -0000)]
* 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

19 years ago2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Nov 2004 12:29:25 +0000 (12:29 -0000)]
2004-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* parser.cs : cast.

svn path=/trunk/mcs/; revision=35883

19 years ago- (DrawButtonBase): Fix verticle text rect clipping in windows
John BouAntoun [Tue, 9 Nov 2004 11:06:21 +0000 (11:06 -0000)]
- (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

19 years ago(basic_SUBDIRS): New.
Raja R Harinath [Tue, 9 Nov 2004 10:38:52 +0000 (10:38 -0000)]
(basic_SUBDIRS): New.

svn path=/trunk/mcs/; revision=35881

19 years ago* attribute.cs: 1) Replaced the static method
Jambunathan K [Tue, 9 Nov 2004 10:34:03 +0000 (10:34 -0000)]
* 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

19 years ago* profiles/basic.make: New.
Raja R Harinath [Tue, 9 Nov 2004 04:56:06 +0000 (04:56 -0000)]
* 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

19 years agoplaceholders for new profile directories
Raja R Harinath [Tue, 9 Nov 2004 04:42:05 +0000 (04:42 -0000)]
placeholders for new profile directories

svn path=/trunk/mcs/; revision=35877

19 years ago(DISTFILES): Comment out a few missing files.
Raja R Harinath [Tue, 9 Nov 2004 04:38:03 +0000 (04:38 -0000)]
(DISTFILES): Comment out a few missing files.

svn path=/trunk/mcs/; revision=35875

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 9 Nov 2004 03:37:06 +0000 (03:37 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (class New): add new operator support. Add
emit_args, implemented Emit.

svn path=/trunk/mcs/; revision=35874

19 years agoflush
Jackson Harper [Tue, 9 Nov 2004 03:12:34 +0000 (03:12 -0000)]
flush

svn path=/trunk/mcs/; revision=35873

19 years ago * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
Jackson Harper [Tue, 9 Nov 2004 03:12:00 +0000 (03:12 -0000)]
* 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

19 years ago2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Nov 2004 02:38:30 +0000 (02:38 -0000)]
2004-11-09  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs, XmlTextReader.cs :
  needed more changes wrt XmlException.

svn path=/trunk/mcs/; revision=35871

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 9 Nov 2004 01:27:09 +0000 (01:27 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* replace.cs, parser.cs: Use stringbuilder for allocation sanity.

svn path=/trunk/mcs/; revision=35869

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 8 Nov 2004 23:33:28 +0000 (23:33 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* 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

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 22:36:42 +0000 (22:36 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CacheEntry.cs: convert the external DateTime to GMT, as everything
else uses that timezone. Fixes bug #69194.

svn path=/trunk/mcs/; revision=35865

19 years ago- Updated
Peter Dennis Bartok [Mon, 8 Nov 2004 21:31:40 +0000 (21:31 -0000)]
- Updated

svn path=/trunk/mcs/; revision=35864

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:30:06 +0000 (21:30 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* 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

19 years ago- Initial Checkin
Peter Dennis Bartok [Mon, 8 Nov 2004 21:29:51 +0000 (21:29 -0000)]
- Initial Checkin

svn path=/trunk/mcs/; revision=35861

19 years ago- BenM's Fix for bug 68260
Peter Dennis Bartok [Mon, 8 Nov 2004 21:28:24 +0000 (21:28 -0000)]
- BenM's Fix for bug 68260

svn path=/trunk/mcs/; revision=35860

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:23:39 +0000 (21:23 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Cut the extra whitespace.

svn path=/trunk/mcs/; revision=35858

19 years agoadd static, thansk mig
Ben Maurer [Mon, 8 Nov 2004 21:14:21 +0000 (21:14 -0000)]
add static, thansk mig

svn path=/trunk/mcs/; revision=35856

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:04:20 +0000 (21:04 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Report sealed and abstract

svn path=/trunk/mcs/; revision=35854

19 years ago- Added handling for various window styles
Peter Dennis Bartok [Mon, 8 Nov 2004 20:59:30 +0000 (20:59 -0000)]
- Added handling for various window styles
- Added handling for popup windows
- Added SetTopmost handling

svn path=/trunk/mcs/; revision=35853

19 years ago- Added argument to SetTopmost method
Peter Dennis Bartok [Mon, 8 Nov 2004 20:55:33 +0000 (20:55 -0000)]
- Added argument to SetTopmost method
- Fixed broken ClientToScreen function

svn path=/trunk/mcs/; revision=35852

19 years ago- Added missing WS_EX styles
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:48 +0000 (20:53 -0000)]
- Added missing WS_EX styles

svn path=/trunk/mcs/; revision=35851

19 years ago- Added argument to SetTopmost
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:17 +0000 (20:53 -0000)]
- Added argument to SetTopmost

svn path=/trunk/mcs/; revision=35850

19 years ago- Added XSetWindowAttributes structure
Peter Dennis Bartok [Mon, 8 Nov 2004 20:52:15 +0000 (20:52 -0000)]
- 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

19 years ago- Fixed arguments for updated SetTopmost method
Peter Dennis Bartok [Mon, 8 Nov 2004 20:50:29 +0000 (20:50 -0000)]
- Fixed arguments for updated SetTopmost method

svn path=/trunk/mcs/; revision=35848

19 years ago- Fixed arguments for updated SetTopmost function
Peter Dennis Bartok [Mon, 8 Nov 2004 20:49:35 +0000 (20:49 -0000)]
- Fixed arguments for updated SetTopmost function
- Fixed usage of PointToClient

svn path=/trunk/mcs/; revision=35847

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:44:32 +0000 (20:44 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SiteMap.cs: don't lock on Type.
* CapabilitiesLoader.cs: avoid 2 locks when loading data.

svn path=/trunk/mcs/; revision=35846

19 years ago- Added Clipping of children and siblings
Peter Dennis Bartok [Mon, 8 Nov 2004 20:44:00 +0000 (20:44 -0000)]
- Added Clipping of children and siblings

svn path=/trunk/mcs/; revision=35845

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:42:43 +0000 (20:42 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
presence of rewriting.

svn path=/trunk/mcs/; revision=35844

19 years ago- Removed SetMenuBarWindow call. We do this in Form.cs
Peter Dennis Bartok [Mon, 8 Nov 2004 20:41:26 +0000 (20:41 -0000)]
- Removed SetMenuBarWindow call. We do this in Form.cs

svn path=/trunk/mcs/; revision=35843

19 years agoRender the little scrolling jimmi in the correct location with bottom aligned tabs
Jackson Harper [Mon, 8 Nov 2004 20:40:08 +0000 (20:40 -0000)]
Render the little scrolling jimmi in the correct location with bottom aligned tabs

svn path=/trunk/mcs/; revision=35842

19 years ago- Implemented BindingContext
Peter Dennis Bartok [Mon, 8 Nov 2004 20:36:11 +0000 (20:36 -0000)]
- Implemented BindingContext
- Implemented ParentForm

svn path=/trunk/mcs/; revision=35841

19 years agorevert the stackalloc part of the patch -- it is not in favor with the security guys ;-)
Ben Maurer [Mon, 8 Nov 2004 20:04:44 +0000 (20:04 -0000)]
revert the stackalloc part of the patch -- it is not in favor with the security guys ;-)

svn path=/trunk/mcs/; revision=35840

19 years agoPut bottom rendered tabs in the right location
Jackson Harper [Mon, 8 Nov 2004 19:46:49 +0000 (19:46 -0000)]
Put bottom rendered tabs in the right location

svn path=/trunk/mcs/; revision=35839

19 years agoUp
Miguel de Icaza [Mon, 8 Nov 2004 18:50:56 +0000 (18:50 -0000)]
Up

svn path=/trunk/mono/; revision=35837

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 8 Nov 2004 18:11:08 +0000 (18:11 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (emit_func_call): pop if function's return type is
non-void and has no effect.

svn path=/trunk/mcs/; revision=35836

19 years ago* support/map.c: Remove <poll.h> include. Building on Tigar (Mac OS X 10.4
Jonathan Pryor [Mon, 8 Nov 2004 15:29:35 +0000 (15:29 -0000)]
* 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

19 years agofixes vertical scrollbar and removes dead code
Jordi Mas i Hernandez [Mon, 8 Nov 2004 14:15:00 +0000 (14:15 -0000)]
fixes vertical scrollbar and removes dead code

svn path=/trunk/mcs/; revision=35830

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 12:22:32 +0000 (12:22 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
Add support for dynamic assemblies. Fixes #69114.

svn path=/trunk/mono/; revision=35829

19 years ago * configure.in: Add new function/header/type checks for use by
Jonathan Pryor [Mon, 8 Nov 2004 12:13:13 +0000 (12:13 -0000)]
  * 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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 11:42:25 +0000 (11:42 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_method_get_header): Handle icalls and pinvoke methods.

svn path=/trunk/mono/; revision=35826

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 11:10:30 +0000 (11:10 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* 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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 10:58:29 +0000 (10:58 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c (get_throw_exception): Really fix this.

svn path=/trunk/mono/; revision=35824

19 years ago * HttpPostProtocolReflector.cs: Avoid generating an empty part attribute.
Lluis Sanchez [Mon, 8 Nov 2004 09:43:55 +0000 (09:43 -0000)]
* 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

19 years ago* configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
Raja R Harinath [Mon, 8 Nov 2004 09:25:30 +0000 (09:25 -0000)]
* 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