mono.git
19 years ago2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Oct 2004 21:16:47 +0000 (21:16 -0000)]
2004-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : clear UnhandledAttributes ArrayList before generating
  next element column schema. This fixes bug #68256.

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

19 years ago- Added code to destroy the X window
Peter Dennis Bartok [Wed, 13 Oct 2004 20:18:41 +0000 (20:18 -0000)]
- Added code to destroy the X window

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

19 years ago- Added code to destroy a window
Peter Dennis Bartok [Wed, 13 Oct 2004 20:18:21 +0000 (20:18 -0000)]
- Added code to destroy a window

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

19 years ago- Added the Redraw on Resize that got dropped in the last rev
Peter Dennis Bartok [Wed, 13 Oct 2004 20:12:47 +0000 (20:12 -0000)]
- Added the Redraw on Resize that got dropped in the last rev

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

19 years ago- Path from John BouAntoun:
Peter Dennis Bartok [Wed, 13 Oct 2004 15:06:37 +0000 (15:06 -0000)]
- 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

19 years ago- Patch by joel.reed@ddiworld.com (joel) to handle CDATA sections.
Peter Dennis Bartok [Wed, 13 Oct 2004 14:14:43 +0000 (14:14 -0000)]
- Patch by joel.reed@ddiworld.com (joel) to handle CDATA sections.

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

19 years agoWed Oct 13 15:12:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Oct 2004 11:55:40 +0000 (11:55 -0000)]
Wed Oct 13 15:12:17 CEST 2004 Paolo Molaro <lupus@ximian.com>

* System.Resources/ResXResourceReader.cs: patch by
 joel.reed@ddiworld.com (joel) to handle CDATA sections.

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

19 years agoOops !
Jambunathan K [Wed, 13 Oct 2004 10:26:18 +0000 (10:26 -0000)]
Oops !

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

19 years agoAdded LineNo, ExpectedError and ErrorMessage to all negative test case
Jambunathan K [Wed, 13 Oct 2004 10:24:39 +0000 (10:24 -0000)]
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

19 years ago* test-309.cs: Testcase from #65816.
Raja R Harinath [Wed, 13 Oct 2004 09:08:39 +0000 (09:08 -0000)]
* 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

19 years agoFix #65816.
Raja R Harinath [Wed, 13 Oct 2004 09:06:16 +0000 (09:06 -0000)]
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

19 years agoCosmetic changes.
Ravindra [Wed, 13 Oct 2004 07:30:06 +0000 (07:30 -0000)]
Cosmetic changes.

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

19 years ago * Graphics.cs: Moved the initialization of 'use_x_drawable'
Ravindra [Wed, 13 Oct 2004 07:27:42 +0000 (07:27 -0000)]
* 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

19 years ago- Removed all occurences of SystemColors and replaced them with the
Peter Dennis Bartok [Wed, 13 Oct 2004 03:48:15 +0000 (03:48 -0000)]
- Removed all occurences of SystemColors and replaced them with the
  matching theme color

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

19 years ago- From John BouAntoun: Added an overload to CPDrawBorder3D to allow him
Peter Dennis Bartok [Wed, 13 Oct 2004 03:41:45 +0000 (03:41 -0000)]
- 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

19 years ago- Fixed Dark(), DarkDark(), Light() and LightLight() methods to match MS
Peter Dennis Bartok [Wed, 13 Oct 2004 03:15:16 +0000 (03:15 -0000)]
- 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

19 years ago- Fix from John BouAntoun: Raise ForeColorChanged event when text color is
Peter Dennis Bartok [Wed, 13 Oct 2004 02:57:36 +0000 (02:57 -0000)]
- Fix from John BouAntoun: Raise ForeColorChanged event when text color is
  changed

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

19 years ago- Fix from John BouAntoun: Now properly sets the Appearance property
Peter Dennis Bartok [Wed, 13 Oct 2004 02:46:22 +0000 (02:46 -0000)]
- Fix from John BouAntoun: Now properly sets the Appearance property

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

19 years ago- Fixes from John BouAntoun: now handles forecolors and backcolors for
Peter Dennis Bartok [Wed, 13 Oct 2004 02:45:21 +0000 (02:45 -0000)]
- 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

19 years agoNew test.
Martin Baulig [Wed, 13 Oct 2004 01:19:54 +0000 (01:19 -0000)]
New test.

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

19 years agoThe more relaxed check is gone, we're now doing a real check here.
Martin Baulig [Tue, 12 Oct 2004 23:09:52 +0000 (23:09 -0000)]
The more relaxed check is gone, we're now doing a real check here.

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

19 years agoAdd more stuff to gen-79 and enable it.
Martin Baulig [Tue, 12 Oct 2004 23:07:30 +0000 (23:07 -0000)]
Add more stuff to gen-79 and enable it.

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 23:06:38 +0000 (23:06 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
and have type arguments, create and resolve a ConstructedType.

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

19 years ago2004-10-12 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 12 Oct 2004 23:00:29 +0000 (23:00 -0000)]
2004-10-12  Chris Toshok  <toshok@ximian.com>

* cs-parser.jay: fix location for try_statement and catch_clause.

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

19 years agoNew test.
Martin Baulig [Tue, 12 Oct 2004 20:08:22 +0000 (20:08 -0000)]
New test.

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 20:08:08 +0000 (20:08 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
and have type arguments, create and resolve a ConstructedType.

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

19 years ago2004-10-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 12 Oct 2004 19:14:52 +0000 (19:14 -0000)]
2004-10-12  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* 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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 19:13:06 +0000 (19:13 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.CheckInterfaceMethod): Do a more relaxed
checking for type parameter constraints.

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

19 years agoNew test.
Martin Baulig [Tue, 12 Oct 2004 19:11:18 +0000 (19:11 -0000)]
New test.

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

19 years agoDon't crash here.
Martin Baulig [Tue, 12 Oct 2004 19:02:05 +0000 (19:02 -0000)]
Don't crash here.

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 18:26:31 +0000 (18:26 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_bind_generic_parameters): Small
fix, correctly retrieve our parent from a generic instance.

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

19 years agoNew test.
Martin Baulig [Tue, 12 Oct 2004 18:25:01 +0000 (18:25 -0000)]
New test.

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

19 years agowrote incorrect filename also here :(
Atsushi Eno [Tue, 12 Oct 2004 14:56:25 +0000 (14:56 -0000)]
wrote incorrect filename also here :(

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

19 years agowrote incorrect changelog :(
Atsushi Eno [Tue, 12 Oct 2004 14:55:48 +0000 (14:55 -0000)]
wrote incorrect changelog :(

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

19 years ago2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Oct 2004 14:52:30 +0000 (14:52 -0000)]
2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : now xs:schema contains xmlns="".

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

19 years ago2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Oct 2004 14:51:26 +0000 (14:51 -0000)]
2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : now xs:schema contains xmlns="".
  This fixes bug #68008.

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

19 years agoAdd my details
Neale Ferguson [Tue, 12 Oct 2004 13:30:55 +0000 (13:30 -0000)]
Add my details

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

19 years ago2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Oct 2004 13:27:23 +0000 (13:27 -0000)]
2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : DBNull attribute column should not be written as
  empty attribute. This fixes bug #68007.

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

19 years ago2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Oct 2004 13:10:33 +0000 (13:10 -0000)]
2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>

* 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

19 years ago2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 12 Oct 2004 12:10:06 +0000 (12:10 -0000)]
2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Tue, 12 Oct 2004 12:00:55 +0000 (12:00 -0000)]
ChangeLog: Updated.
System.Web_test.dll.sources: Added new test case source file.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Tue, 12 Oct 2004 11:58:16 +0000 (11:58 -0000)]
ChangeLog: Updated.
UrlPropertyAttribute.cs: Corrected implementation of Equals () method.

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

19 years agoChangeLog: Added ChangeLog.
Sanja Gupta [Tue, 12 Oct 2004 11:55:10 +0000 (11:55 -0000)]
ChangeLog: Added ChangeLog.
TestUrlPropertyAttribute.cs: Added UrlPropertyAttribute test cases.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 12 Oct 2004 11:13:50 +0000 (11:13 -0000)]
ChangeLog: Updated ChangeLog.
UrlTypes.cs: Updated.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 12 Oct 2004 10:12:45 +0000 (10:12 -0000)]
ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Updated.

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

19 years agoInheritanceK.vb: Yet another test case
Jambunathan K [Tue, 12 Oct 2004 09:06:43 +0000 (09:06 -0000)]
InheritanceK.vb: Yet another test case

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 12 Oct 2004 08:44:26 +0000 (08:44 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new class in System.Web.UI.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 12 Oct 2004 08:41:43 +0000 (08:41 -0000)]
ChangeLog: Updated ChangeLog.
UrlPropertyAttribute.cs: Added new file.

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

19 years agoPerl driver for regressing mbas - first cut
Jambunathan K [Tue, 12 Oct 2004 08:30:52 +0000 (08:30 -0000)]
Perl driver for regressing mbas - first cut

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 03:38:35 +0000 (03:38 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.FindMemberToOverride): Use
TypeManager.IsEqual() to compare the parameters and Type.Equals()
to compare the invocationType.

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 03:36:38 +0000 (03:36 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 03:27:20 +0000 (03:27 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericInst): Call initialize() just
before calling the *_internal() methods.

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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 03:25:02 +0000 (03:25 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Oct 2004 03:11:32 +0000 (03:11 -0000)]
2004-10-12  Martin Baulig  <martin@ximian.com>

* 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

19 years agoAdded TypeManager.cs to the build
César Natarén [Mon, 11 Oct 2004 23:35:52 +0000 (23:35 -0000)]
Added TypeManager.cs to the build

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

19 years ago2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 11 Oct 2004 23:31:57 +0000 (23:31 -0000)]
2004-10-11  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Microsoft.JScript.dll.sources: add TypeMananger.cs

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

19 years ago2004-10-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Oct 2004 22:00:49 +0000 (22:00 -0000)]
2004-10-12  Zoltan Varga  <vargaz@freemail.hu>

* MethodBody.cs: Implement this.

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

19 years ago2004-10-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Oct 2004 20:32:32 +0000 (20:32 -0000)]
2004-10-11  Zoltan Varga  <vargaz@freemail.hu>

* 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

19 years agoStyle fix
Miguel de Icaza [Mon, 11 Oct 2004 20:28:02 +0000 (20:28 -0000)]
Style fix

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

19 years agoFix, fix, fix.
Martin Baulig [Mon, 11 Oct 2004 20:17:36 +0000 (20:17 -0000)]
Fix, fix, fix.

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

19 years ago2004-10-11 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 11 Oct 2004 20:05:07 +0000 (20:05 -0000)]
2004-10-11  Duncan Mak  <duncan@ximian.com>

        * 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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 19:52:26 +0000 (19:52 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* metadata.c (_mono_metadata_type_equal): Renamed to
do_mono_metadata_type_equal() and made static.

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

19 years agoReverted the _mono_metadata_type_equal() hack.
Martin Baulig [Mon, 11 Oct 2004 19:50:03 +0000 (19:50 -0000)]
Reverted the _mono_metadata_type_equal() hack.

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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 19:05:27 +0000 (19:05 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* report.cs: Don't make --fatal abort on warnings, we have
-warnaserror for that.

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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 19:02:47 +0000 (19:02 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* typemanager.cs
(TypeManager.IsEqualGenericType): Removed, use IsEqual() instead.
(TypeManager.IsEqual): Call ourself recursively instead of using
Type.IsEqual().

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

19 years agoNew testcase.
Martin Baulig [Mon, 11 Oct 2004 18:59:22 +0000 (18:59 -0000)]
New testcase.

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

19 years agoRemoved the Real_IsEqual() hack and renamed it to IsEqual().
Martin Baulig [Mon, 11 Oct 2004 17:28:19 +0000 (17:28 -0000)]
Removed the Real_IsEqual() hack and renamed it to IsEqual().

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

19 years ago2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 11 Oct 2004 16:21:48 +0000 (16:21 -0000)]
2004-10-11  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* GlobalObject.cs: ported encodeURI, encodeURIComponent,
decodeURI, decodeURIComponent from Rhino's codebase. Added methods encode and decode.

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

19 years ago2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 11 Oct 2004 16:09:33 +0000 (16:09 -0000)]
2004-10-11  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (Call.Emit): implement IsConstructorProperty.

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

19 years ago2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 11 Oct 2004 15:56:58 +0000 (15:56 -0000)]
2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Makefile: Added reference to System.Windows.Forms as interface Microsoft.VisualBasic.CompilerServices.IVbHost needs it.

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

19 years ago2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 11 Oct 2004 15:55:47 +0000 (15:55 -0000)]
2004-10-11  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* IVbHost.cs: Completed API (needed to reference SWF for that).

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

19 years ago2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 11 Oct 2004 15:39:56 +0000 (15:39 -0000)]
2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* 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

19 years agoDisable gen-79 for the moment, add gen-81.
Martin Baulig [Mon, 11 Oct 2004 15:38:57 +0000 (15:38 -0000)]
Disable gen-79 for the moment, add gen-81.

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

19 years agoSlightly modified version of gen-79.cs.
Martin Baulig [Mon, 11 Oct 2004 15:18:14 +0000 (15:18 -0000)]
Slightly modified version of gen-79.cs.

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

19 years ago2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Mon, 11 Oct 2004 13:16:40 +0000 (13:16 -0000)]
2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: More improvement in 'IF' statement

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

19 years agoAdded LineNo, ExpectedError and ErrorMessage to all negative test case
Jambunathan K [Mon, 11 Oct 2004 12:22:47 +0000 (12:22 -0000)]
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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Mon, 11 Oct 2004 11:48:56 +0000 (11:48 -0000)]
ChangeLog: Updated ChangeLog.
makefile: Added flag to build System.Web_test.dll.

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

19 years ago2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Mon, 11 Oct 2004 11:47:48 +0000 (11:47 -0000)]
2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
        * 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

19 years agoUpdated.
Martin Baulig [Mon, 11 Oct 2004 00:26:02 +0000 (00:26 -0000)]
Updated.

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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 00:24:54 +0000 (00:24 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 00:23:21 +0000 (00:23 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 00:14:50 +0000 (00:14 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* Environment.cs: Bump corlib version to 28.

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

19 years ago2004-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 00:14:03 +0000 (00:14 -0000)]
2004-10-11  Martin Baulig  <martin@ximian.com>

* 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

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

* appdomain.c: Bump corlib version number to 28.

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

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

* 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

19 years ago2004-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Oct 2004 00:06:40 +0000 (00:06 -0000)]
2004-10-10  Martin Baulig  <martin@ximian.com>

* 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

19 years ago2004-10-10 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 10 Oct 2004 21:24:04 +0000 (21:24 -0000)]
2004-10-10 David Sheldon <dave-mono@earth.li>

  * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.

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

19 years ago2004-10-10 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 10 Oct 2004 17:31:01 +0000 (17:31 -0000)]
2004-10-10 David Sheldon <dave-mono@earth.li>

  * DnsTest.cs: Updated IP for www.go-mono.com.

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

19 years ago2004-10-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 10 Oct 2004 16:00:51 +0000 (16:00 -0000)]
2004-10-10  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add some checks for cygwin weirdness.

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

19 years agoRevert my patch to constants, they broke corlib and System
Miguel de Icaza [Sun, 10 Oct 2004 15:13:48 +0000 (15:13 -0000)]
Revert my patch to constants, they broke corlib and System

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

19 years ago2004-10-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 10 Oct 2004 14:27:44 +0000 (14:27 -0000)]
2004-10-10  Miguel de Icaza  <miguel@ximian.com>

* 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

19 years ago2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Oct 2004 13:34:58 +0000 (13:34 -0000)]
2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

19 years ago2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 9 Oct 2004 19:39:29 +0000 (19:39 -0000)]
2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* XPathAtomicValue.cs : Init(string, XmlSchemaType) is private.

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

19 years ago2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 9 Oct 2004 19:27:49 +0000 (19:27 -0000)]
2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* XsltException.cs : Message is incorrectly regarded only after 2.0
  (while it *disappeared* in 2.0).

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

19 years ago2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 9 Oct 2004 19:25:11 +0000 (19:25 -0000)]
2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlNodeReader.cs : LookupPrefix() was only after 2.0.

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

19 years agoAdd new test 308
Miguel de Icaza [Sat, 9 Oct 2004 18:20:44 +0000 (18:20 -0000)]
Add new test 308

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

19 years ago2004-10-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 9 Oct 2004 18:18:50 +0000 (18:18 -0000)]
2004-10-09  Miguel de Icaza  <miguel@ximian.com>

* 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

19 years ago2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 9 Oct 2004 11:24:25 +0000 (11:24 -0000)]
2004-10-09  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : should be NET_2_0.

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Oct 2004 19:58:55 +0000 (19:58 -0000)]
2004-10-08  Atsushi Enomoto <atsushi@ximian.com>

* XQueryParser.jay : I was mixing XPath1 class and XPath2.

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Oct 2004 19:52:14 +0000 (19:52 -0000)]
2004-10-08  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : IsDefault considers IXmlSchemaInfo
  (it is anyways not implemented as yet.)

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