mono.git
21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:41:33 +0000 (18:41 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* AdjustableArrowCap.cs
* Blend.cs
* ColorBlend.cs
* CombineMode.cs
* CompostingMode.cs
* CompostingQuality.cs
* CoordinateSpace.cs
* CustomLineCap.cs
* DashCap.cs
* DashStyle.cs
* FillMode.cs
* FlushIntention.cs
* GraphicsContainer.cs
* GraphicsPathIterator.cs
* GraphicsState.cs
* HatchBrush.cs
* HatchStyle.cs
* InterpolationMode.cs
* LinearGradientBrush.cs
* LinearGradientMode.cs
* LineCap.cs
* LineJoin.cs
* MatrixOrder.cs
* PathData.cs
* PathGradientBrush.cs
* PathPointType.cs
* PenAligment.cs
* PenType.cs
* PixelOffsetMode.cs
* QualityMode.cs
* RegionData.cs
* SmoothingMode.cs
* WarpMode.cs
* WrapMode.cs
* Added null classes for most/all classes, Many stubs, and some implmentation

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:35:49 +0000 (18:35 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* FontConverter.cs
* FontFamily.cs
* Icon.cs
* IconConverter.cs
* ImageAnimator.cs
* ImageConverter.cs
* ImageFormatConverter.cs
* PointConverter.cs
* RectangleConverter.cs
* Sample.cs
* SizeConverter.cs
* SolidBrush.cs
* StringFormat.cs
* SystemBrushes.cs
* SystemIcons.cs
* SystemPens.cs
* TextureBrush.cs
* ToolboxBitmapAttribute.cs
* Added null classes for most/all classes, Many stubs, and some implmentation

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

21 years ago2002-09-12 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 12 Sep 2002 18:34:38 +0000 (18:34 -0000)]
2002-09-12  Dick Porter  <dick@ximian.com>

* unix.args: Add System.Globalization.SortKey,
System.Globalization.StringInfo and
System.Globalizaton.TextElementEnumerator

2002-09-12  Dick Porter  <dick@ximian.com>

* ThaiBuddhistCalendar.cs:
* TextInfo.cs:
* TaiwanCalendar.cs:
* RegionInfo.cs:
* KoreanCalendar.cs:
* JulianCalendar.cs:
* JapaneseCalendar.cs:
* HijriCalendar.cs:
* HebrewCalendar.cs:
* GregorianCalendar.cs:
* CultureInfo.cs:
* CompareInfo.cs: Stub out missing methods

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:30:13 +0000 (18:30 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>
* checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
* BitmapData.cs
* ColorAdjustType.cs
* ColorChannelFlag.cs
* ColorMap.cs
* ColorMapType.cs
* ColorMatrix.cs
* ColorMatrixFlag.cs
* ColorMode.cs
* EmfPlusRecordType.cs
* EmfType.cs
* EncoderParameterValueType.cs
* EncoderValue.cs
* ImageCodecFlags.cs
* ImageCodecInfo.cs
* ImageFlags.cs
* ImageFormat.cs
* ImageLockMode.cs
* MetafileFrameUnit.cs
* MetafileHeader.cs
* MetaHeader.cs
* PaletteFlags.cs
* PixelFormat.cs
* PlayRecordCallback.cs
* PropertyItem.cs
* WmfPlaceableFileHeader.cs
* Added null classes for most/all classes, Many stubs, and some implmentation

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:24:39 +0000 (18:24 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:20:57 +0000 (18:20 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* Matrix.cs
* Added stubs, implmentation

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 12 Sep 2002 18:17:15 +0000 (18:17 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* Bitmap.cs
* Color.cs
* ColorConverter.cs
* Image.cs
* Pen.cs
* Added stubs, implmentation

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

21 years agoadd mono setup
Johannes Roith [Thu, 12 Sep 2002 17:01:44 +0000 (17:01 -0000)]
add mono setup

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

21 years ago2002-09-13 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 12 Sep 2002 16:20:08 +0000 (16:20 -0000)]
2002-09-13  Nick Drochak  <ndrochak@gol.com>

* EnumTest.cs: Add an extreme value test for format.

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

21 years ago2002-09-13 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 12 Sep 2002 16:19:11 +0000 (16:19 -0000)]
2002-09-13  Nick Drochak  <ndrochak@gol.com>

* Enum.cs (Format): handle the "d" format for both signed and unsigned
underlying types.

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

21 years ago2002-09-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 12 Sep 2002 16:13:21 +0000 (16:13 -0000)]
2002-09-12  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.IsNestedChildOf): New method.

* ecore.cs (IMemberExpr.DeclaringType): New property.
(SimpleName.SimpleNameResolve): Check whether we're accessing a
nonstatic member of an outer type (CS0038).

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

21 years ago2002-09-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 12 Sep 2002 15:45:40 +0000 (15:45 -0000)]
2002-09-12  Martin Baulig  <martin@gnome.org>

* cs0038.cs: New test.

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

21 years ago2002-09-12 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 12 Sep 2002 15:38:21 +0000 (15:38 -0000)]
2002-09-12  Dick Porter  <dick@ximian.com>

* unix.args: Add System.ArgIterator and System.TypedReference

* corlib.build: Adding DecimalConstantAttribute to Decimal (which
corcompare showed as missing) causes a SecurityException in
corcompare, so exclude Decimal from the corlib_cmp build.

2002-09-12  Dick Porter  <dick@ximian.com>

* UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
attribute, as there doesn't appear to be any struct
layout-depending code here (and corcompare says it should be
LayoutKind.Sequential)

* Decimal.cs: Stub out missing methods, add
[DecimalConstantAttribute] to the constant fields (as shown by
corcompare).

* LocalDataStoreSlot.cs:
* Environment.cs:
* Char.cs:
* Array.cs: Stub out missing methods.

* TypedReference.cs:
* ArgIterator.cs: Stub out

* AppDomainSetup.cs:
* AppDomain.cs: Stub out missing methods, add missing
ClassInterface(ClassInterfaceType.None) attribute.

2002-09-12  Dick Porter  <dick@ximian.com>

* TypeBuilder.cs: Say _which_ Type has already been created

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

21 years ago2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Sep 2002 13:07:39 +0000 (13:07 -0000)]
2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added 2 new files.
* System.Web.UI.WebControls/DataGrid.cs: fixed compilation

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

21 years ago2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Thu, 12 Sep 2002 12:38:36 +0000 (12:38 -0000)]
2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>

* PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
* DataGrid.cs          - CreateControlHierarchy(bool)
                            : working towards completion.
                            - ResolveDataSource(object, string)
                                    : stubbed new method
                            - CreateItem(....)
                                    : stubbed new method
                     Well. It's almost done.
* DataGridTableInternal.cs
                       - Added new internal class.

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

21 years agoarray code cleanup
Dietmar Maurer [Thu, 12 Sep 2002 12:27:46 +0000 (12:27 -0000)]
array code cleanup

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

21 years ago2002-09-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 12 Sep 2002 10:58:56 +0000 (10:58 -0000)]
2002-09-12  Dietmar Maurer  <dietmar@ximian.com>

* exception.c: added patch from Julio Merno to fix bug #30048

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

21 years ago2002-09-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 12 Sep 2002 10:50:09 +0000 (10:50 -0000)]
2002-09-12  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (emit_str_to_ptr_conv): support marshalling of delegates.

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

21 years agofix for bug 29365
Dietmar Maurer [Thu, 12 Sep 2002 08:48:57 +0000 (08:48 -0000)]
fix for bug 29365

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

21 years ago2002-09-11 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Thu, 12 Sep 2002 08:15:30 +0000 (08:15 -0000)]
2002-09-11  Andrew Birkett  <andy@nobugs.org>

* RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
* Rijndael.cs: Set valid key/block sizes.
* SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
  derived classes.  Fixes to key sizes so they are measured in bits.
* KeySizes.cs: Updated comments to emphasize that sizes are in bits.

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

21 years agomore xpath core function tests.
Kral Ferch [Thu, 12 Sep 2002 05:16:17 +0000 (05:16 -0000)]
more xpath core function tests.

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

21 years ago2002-09-12 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 12 Sep 2002 04:39:32 +0000 (04:39 -0000)]
2002-09-12  Miguel de Icaza  <miguel@ximian.com>

* marshal.c (mono_marshal_get_managed_wrapper): Added
MONO_TYPE_BOOLEAN

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

21 years ago2002-09-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 12 Sep 2002 03:10:18 +0000 (03:10 -0000)]
2002-09-11  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Activate the using-error detector at warning level
4 (at least for MS-compatible APIs).

* namespace.cs (VerifyUsing): Small buglett fix.

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

21 years ago2002-09-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 12 Sep 2002 02:53:48 +0000 (02:53 -0000)]
2002-09-11  Miguel de Icaza  <miguel@ximian.com>

* ModuleBuilder.cs (GetTypes): Implement.

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

21 years ago2002-09-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 12 Sep 2002 02:11:42 +0000 (02:11 -0000)]
2002-09-11  Miguel de Icaza  <miguel@ximian.com>

* pending.cs (PendingImplementation): pass the container pointer.

* interface.cs (GetMethods): Allow for recursive definition.  Long
term, I would like to move every type to support recursive
definitions, not the current ordering mechanism that we have right
now.

The situation is this: Attributes are handled before interfaces,
so we can apply attributes to interfaces.  But some attributes
implement interfaces, we will now handle the simple cases
(recursive definitions will just get an error).

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

21 years agoSome tests for XPathNavigator.Evaluate()
Kral Ferch [Thu, 12 Sep 2002 01:12:50 +0000 (01:12 -0000)]
Some tests for XPathNavigator.Evaluate()

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

21 years ago2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Sep 2002 23:40:37 +0000 (23:40 -0000)]
2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CodeDomProvider.cs:
* IndentedTextWriter.cs: misc. fixes.

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

21 years ago2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Sep 2002 23:40:11 +0000 (23:40 -0000)]
2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CodeBinaryOperatorType.cs:
* CodeMemberEvent.cs:
* CodeParameterDeclarationExpression.cs:
* CodeTypeMember.cs:
* CodeTypeReference.cs:
* CodeTypeReferenceCollection.cs: misc. fixes

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

21 years ago2002-09-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 11 Sep 2002 19:14:00 +0000 (19:14 -0000)]
2002-09-11  Miguel de Icaza  <miguel@ximian.com>

* parameter.cs: Only invalidate types at the end if we fail to
lookup all types.

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

21 years ago2002-09-11 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 11 Sep 2002 18:43:56 +0000 (18:43 -0000)]
2002-09-11  Martin Baulig  <martin@gnome.org>

* gc.c: Call GC_unregister_disappearing_link() on all links when
finalizing them, this is necessary to aviod a crash in boehm's
finalize handler.

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

21 years agooops
Gonzalo Paniagua Javier [Wed, 11 Sep 2002 15:54:56 +0000 (15:54 -0000)]
oops

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

21 years ago2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Sep 2002 15:53:53 +0000 (15:53 -0000)]
2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added new files.
* System.Web.Compilation/AspElements.cs: added WebService directive.
* System.Web.Compilation/WebServiceCompiler.cs: New file.
* System.Web.UI/SimpleWebHandlerParser.cs: New file.
* System.Web.UI/WebServiceParser.cs: New file.

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

21 years agoWed Sep 11 17:06:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 15:11:24 +0000 (15:11 -0000)]
Wed Sep 11 17:06:49 CEST 2002 Paolo Molaro <lupus@ximian.com>

* gc.c: handle GetTarget for finalized objects spotted and fixed by
nick@chemlab.org.

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

21 years ago2002-09-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 11 Sep 2002 15:10:32 +0000 (15:10 -0000)]
2002-09-12  Nick Drochak  <ndrochak@gol.com>

* Double.cs (ToString): Throw exception when "X" format is passed in.

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

21 years ago2002-09-11 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 11 Sep 2002 15:01:31 +0000 (15:01 -0000)]
2002-09-11  Dick Porter  <dick@ximian.com>

* Mutex.cs:
* ManualResetEvent.cs:
* AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
the private field

* WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
method

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

21 years ago2002-09-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 11 Sep 2002 14:49:30 +0000 (14:49 -0000)]
2002-09-11  Nick Drochak  <ndrochak@gol.com>

* DoubleTest.cs: Add test for bad format string passed to ToString().
* Int64Test.cs: Re-enable broad range of test values.
* MulticastDeletegateTest.cs: Re-enable test for correct order of
delegate firing.

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

21 years agoWed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 13:30:46 +0000 (13:30 -0000)]
Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: implemented Module property.

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

21 years agoWed Sep 11 15:27:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 13:30:05 +0000 (13:30 -0000)]
Wed Sep 11 15:27:20 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: implemented MonoType::Module.
* reflection.c, reflection.h: mono_module_get_object () from
Tomi Pakarinen <tomi.pakarinen@welho.com>.

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

21 years agoCompilation fix.
Paolo Molaro [Wed, 11 Sep 2002 11:11:27 +0000 (11:11 -0000)]
Compilation fix.

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

21 years agoWed Sep 11 12:53:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 10:57:39 +0000 (10:57 -0000)]
Wed Sep 11 12:53:28 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: ignore overridden methods in GetMethods ().
Fix for FieldInfo::SetValue().
* object.c: handle float/double in runtime invoke.

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

21 years agoWed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 10:57:34 +0000 (10:57 -0000)]
Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs, Type.cs: implemented InvokeMember.

Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Binder.cs: more default binder implementation.
* FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
* MonoMethod.cs: use the binder in the Invoke () implementation.
Implemented custom attributes methods and ToString for constructors.

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

21 years agoWed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 09:08:58 +0000 (09:08 -0000)]
Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Delegate.cs: check the type passed to CreateDelegate is a Delegate
type. Check the method signature matches.

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

21 years ago2002-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Sep 2002 14:00:43 +0000 (14:00 -0000)]
2002-09-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileTest.cs: don't leave AFile.txt open.

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

21 years agoRuntime invoke tests.
Paolo Molaro [Tue, 10 Sep 2002 13:57:49 +0000 (13:57 -0000)]
Runtime invoke tests.

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

21 years agoTue Sep 10 15:51:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 13:53:48 +0000 (13:53 -0000)]
Tue Sep 10 15:51:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.c: allow a constructor to be called again on an object.

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

21 years agoTue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 10:18:18 +0000 (10:18 -0000)]
Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ConstructorBuilder.cs: added a field to hold the handle.

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

21 years agoTue Sep 10 11:58:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 10:18:18 +0000 (10:18 -0000)]
Tue Sep 10 11:58:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: move field layout code to it's own function and
export it. Get an interface id earlier. Move fields in MonoClass
so they are more cache friendly and align the bitfields.
* loader.c: temporary handle get_param_names() for a runtime method.
* reflection.c, reflection.h: more code to handle runtime creation of
types.

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

21 years ago2002-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 Sep 2002 23:15:01 +0000 (23:15 -0000)]
2002-09-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs:
* HttpWebResponse.cs: applied another patch from Shahms E. King
(shahms@shahms.com).

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

21 years ago2002-09-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 9 Sep 2002 21:50:52 +0000 (21:50 -0000)]
2002-09-09  Miguel de Icaza  <miguel@ximian.com>

* StreamWriter.cs: When no encoding is provided, create an
encoding without markers, this is what MS does.

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

21 years agoUpdate errors
Miguel de Icaza [Mon, 9 Sep 2002 21:46:41 +0000 (21:46 -0000)]
Update errors

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

21 years agoOooops.
Martin Baulig [Mon, 9 Sep 2002 21:42:46 +0000 (21:42 -0000)]
Oooops.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 20:01:37 +0000 (20:01 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* ecore.cs (PropertyExpr.Emit): Also check for
TypeManager.system_int_array_get_length so this'll also work when
compiling corlib.  Fixes #30003.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:13:14 +0000 (19:13 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* expression.cs (ArrayCreation.MakeByteBlob): Added support for enums
and throw an exception if we can't get the type's size.  Fixed #30040,
added test-165.cs.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:11:19 +0000 (19:11 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* makefile: Reverted Ravi's `Update'.  When moving tests from
TESTS_NOPASS to TEST_SOURCES, please make sure that they actually
pass on both platforms and don't do it without a ChangeLog entry.

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

21 years agoAdded my two new tests.
Martin Baulig [Mon, 9 Sep 2002 19:09:21 +0000 (19:09 -0000)]
Added my two new tests.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:05:53 +0000 (19:05 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* test-165.cs: Added testcase for bug #30040.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 18:33:01 +0000 (18:33 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* ecore.cs (PropertyExpr.DoResolve): Added check for static properies.

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

21 years agoMon Sep 9 17:31:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Sep 2002 15:57:14 +0000 (15:57 -0000)]
Mon Sep 9 17:31:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: prepare for the real CreateType implementation.

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

21 years ago2002-09-09 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 9 Sep 2002 15:39:28 +0000 (15:39 -0000)]
2002-09-09  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Simplify thread checks, by using canned rules for
particular systems (based on the sleepycat db configure.in).
Tested on linux/x86, freebsd and w32.  Solaris also added, but I
don't have a solaris machine to try it on.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 14:45:17 +0000 (14:45 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* marshal.c (mono_marshal_get_native_wrapper): We need to use a special
signature with the pinvoke field being set for the actual call.

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

21 years agoPoint at updated gimp-for-w32 files
Dick Porter [Mon, 9 Sep 2002 12:08:58 +0000 (12:08 -0000)]
Point at updated gimp-for-w32 files

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 09:41:54 +0000 (09:41 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* expression.cs (SizeOf.DoResolve): Sizeof is only allowed in unsafe
context.  Fixes bug #30027.

* delegate.cs (NewDelegate.Emit): Use OpCodes.Ldvirtftn for
virtual functions.  Fixes bug #30043, added test-164.cs.

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

21 years ago2002-09-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 9 Sep 2002 09:26:57 +0000 (09:26 -0000)]
2002-09-09  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (LDELEMA): use x86_lea

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 09:11:46 +0000 (09:11 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* test-164.cs: Added testcase for virtual functions in delegate
creating expressions (Bug #30043).

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

21 years ago2002-09-08 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 8 Sep 2002 18:52:52 +0000 (18:52 -0000)]
2002-09-08  Ravi Pratap  <ravi@ximian.com>

* attribute.cs : Fix a small NullRef crash thanks to my stupidity.

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 14:21:55 +0000 (14:21 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* DateTimeTest.cs: Disable test bug file it in bugzilla.

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

21 years agoSo why the hell did someone commit this non-printable character ?
Martin Baulig [Sun, 8 Sep 2002 13:58:37 +0000 (13:58 -0000)]
So why the hell did someone commit this non-printable character ?

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 13:31:55 +0000 (13:31 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
WINNT.

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

21 years agoHardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
Martin Baulig [Sun, 8 Sep 2002 13:06:31 +0000 (13:06 -0000)]
Hardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
The runtime uses a guint64 type for this, so this'll always be 8 bytes.

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 12:42:23 +0000 (12:42 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* driver.cs: Use an object to get the windows codepage since it's not a
static property.

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

21 years ago2002-09-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 8 Sep 2002 05:50:52 +0000 (05:50 -0000)]
2002-09-08  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (For.Emit): for infinite loops (test == null)
return whether there is a break inside, not always "true".

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

21 years ago2002-09-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 8 Sep 2002 05:45:11 +0000 (05:45 -0000)]
2002-09-08  Miguel de Icaza  <miguel@ximian.com>

* namespace.cs (UsingEntry): New struct to hold the name of the
using definition, the location where it is defined, and whether it
has been used in a successful type lookup.

* rootcontext.cs (NamespaceLookup): Use UsingEntries instead of
strings.

* decl.cs: ditto.

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

21 years agoUpdate the cs0182 test to actually contain the error message too :-)
Ravi Pratap M [Sun, 8 Sep 2002 05:06:36 +0000 (05:06 -0000)]
Update the cs0182 test to actually contain the error message too :-)

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 8 Sep 2002 04:49:30 +0000 (04:49 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* attribute.cs : Fix incorrect code which relied on catching
a NullReferenceException to detect a null being passed in
where an object was expected.

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

21 years agoDum de dum, pass the value...
Paolo Molaro [Sat, 7 Sep 2002 09:13:42 +0000 (09:13 -0000)]
Dum de dum, pass the value...

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

21 years agoSat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 7 Sep 2002 08:18:55 +0000 (08:18 -0000)]
Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>

* RuntimeMethodHandle.cs: implemented GetFunctionPointer().

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

21 years agoSat Sep 7 10:12:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 7 Sep 2002 08:17:03 +0000 (08:17 -0000)]
Sat Sep 7 10:12:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: removed some unused icalls. Start of map of glib charsets
to corlib names. Implemented RuntimeMethod::GetFunctionPointer ().

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

21 years agoDistinguish general from specific correctly from my previous patch
Miguel de Icaza [Sat, 7 Sep 2002 01:19:22 +0000 (01:19 -0000)]
Distinguish general from specific correctly from my previous patch

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

21 years agoImplemented GetHashCode for constraint classes. Added tests and continued
Franklin Wise [Sat, 7 Sep 2002 01:09:22 +0000 (01:09 -0000)]
Implemented GetHashCode for constraint classes.  Added tests and continued
work on DataColumn

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 7 Sep 2002 00:49:26 +0000 (00:49 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Cast): Simplified by using ResolveType instead of
manually resolving.

* statement.cs (Catch): Fix bug by using ResolveType.

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

21 years agoDocument /codepage
Miguel de Icaza [Sat, 7 Sep 2002 00:17:40 +0000 (00:17 -0000)]
Document /codepage

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 7 Sep 2002 00:17:26 +0000 (00:17 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: (CSCParseOption): Support the /codepage: option.

Make default code page Latin-1

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 6 Sep 2002 23:57:02 +0000 (23:57 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* Console.cs: Specify an encoder, otherwise we will get the UTF8
encoder that by default emits the byte markers.

2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* StreamReader.cs: Implement detection of byte marks and skipping
of byte marks at the beginning of the stream.

(ReadToEnd): Use buffered read instead of char-by-char
processing.

Correct the default arguments for creating the StreamReader.

2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* Encoding.cs (UTF8, Unicode): Create with a preamble, that is
what the Microsoft version does.

(UnixConsoleEncoding): New internal method, used to get the
encoding, in the future, this should pull the locale, map to
charset and then code page.

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

21 years agoAdded XPathNavigatorMatchesTests.cs to the MonoMicro.Test project
Kral Ferch [Fri, 6 Sep 2002 22:46:38 +0000 (22:46 -0000)]
Added XPathNavigatorMatchesTests.cs to the MonoMicro.Test project

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

21 years ago2002-09-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 6 Sep 2002 20:21:50 +0000 (20:21 -0000)]
2002-09-06  Martin Baulig  <martin@gnome.org>

* debug.c (debug_update_il_offsets): Fixed a memory corruption bug.
If you were getting random crashes when using the JIT with debugging
turned on, this fixes it.

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 6 Sep 2002 19:51:35 +0000 (19:51 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* expression.cs (BetterConversion): Special case for when we have
a NullLiteral as the argument and we have to choose between string
and object types - we choose string the way csc does.

* attribute.cs (Attribute.Resolve): Catch the
NullReferenceException and report error #182 since the Mono
runtime no more has the bug and having this exception raised means
we tried to select a constructor which takes an object and is
passed a null.

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

21 years agoMore tests pass so move them to the regular test suite
Ravi Pratap M [Fri, 6 Sep 2002 19:51:09 +0000 (19:51 -0000)]
More tests pass so move them to the regular test suite

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

21 years agoAdd new error that we catch
Ravi Pratap M [Fri, 6 Sep 2002 19:46:58 +0000 (19:46 -0000)]
Add new error that we catch

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 6 Sep 2002 19:34:24 +0000 (19:34 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* test-163.cs : Add test to check we select string
over object when we have a Null literal as the argument.

* makefile : Update.

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

21 years agoFri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 18:16:17 +0000 (18:16 -0000)]
Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Delegate.cs: look also for non-public methods until we have the
security checks in place.

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

21 years agoFri Sep 6 16:08:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 14:11:13 +0000 (14:11 -0000)]
Fri Sep 6 16:08:44 CEST 2002 Paolo Molaro <lupus@ximian.com>

* debug-helpers.c: break infinite loop (found and fixed by
Holger Arnold <harnold@gmx.de>).

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

21 years agoMore automake lines rearranging: select the "stable" version _after_ we've
Dick Porter [Fri, 6 Sep 2002 12:02:45 +0000 (12:02 -0000)]
More automake lines rearranging: select the "stable" version _after_ we've
checked the automake version.

It seems a bit daft to make sure we've got the latest "unstable" automake
and then not use it, but we have seen builds fail when a slightly older
"unstable" version is installed on the system.

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

21 years agoCan't do the automake check until the mono dir has been checked out of CVS.
Dick Porter [Fri, 6 Sep 2002 11:26:24 +0000 (11:26 -0000)]
Can't do the automake check until the mono dir has been checked out of CVS.
(Because automake-wrapper examines the dir to see which version of automake
to use.)

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

21 years agoFri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 10:21:51 +0000 (10:21 -0000)]
Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: consider also the full name in GetInterface.

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

21 years agoFri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 10:15:16 +0000 (10:15 -0000)]
Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: implemented GetMembers, GetConstructorImpl and
GetMethodImpl using the binder.
* Type.cs: GetConstructorImpl/GetConstructor fixes.

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

21 years agoonly set ESP if necessary
Dietmar Maurer [Fri, 6 Sep 2002 09:18:19 +0000 (09:18 -0000)]
only set ESP if necessary

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

21 years ago2002-09-06 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 6 Sep 2002 09:15:26 +0000 (09:15 -0000)]
2002-09-06  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_emit_epilogue): use pop instead of mov

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

21 years agoUpdate with info on MONO_PATH.
Paolo Molaro [Fri, 6 Sep 2002 08:11:56 +0000 (08:11 -0000)]
Update with info on MONO_PATH.

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

21 years agoI am the worst kind of hacker there is ....
Ravi Pratap M [Thu, 5 Sep 2002 19:16:17 +0000 (19:16 -0000)]
I am the worst kind of hacker there is ....

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

21 years agoFlush ChangeLog
Ravi Pratap M [Thu, 5 Sep 2002 19:13:59 +0000 (19:13 -0000)]
Flush ChangeLog

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