Dennis Hayes [Fri, 13 Sep 2002 17:49:09 +0000 (17:49 -0000)]
2002-9-13 Dennis Hayes (dennish@raytek.com)
* sample.cs
* removed personal template that should not have been checked in
svn path=/trunk/mcs/; revision=7437
Dennis Hayes [Fri, 13 Sep 2002 17:43:58 +0000 (17:43 -0000)]
2002-9-13 DennisHayes <dennish@raytek.com>
* PageSettings.cs
* PaperSize.cs
* PaperSource.cs
* PrintControler.cs
* PrintDocument.cs
* PrintingPermission.cs
* PrintPageEventHandler.cs
* QueryPageSettingEventArgs.cs
* QueryPageSettingsEventHandler.cs
* added todos back
* minor bug fixes
svn path=/trunk/mcs/; revision=7436
Dennis Hayes [Fri, 13 Sep 2002 17:39:47 +0000 (17:39 -0000)]
2002-9-2 DennisHayes <dennish@raytek.com>
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back
svn path=/trunk/mcs/; revision=7435
Paolo Molaro [Fri, 13 Sep 2002 14:07:05 +0000 (14:07 -0000)]
Fri Sep 13 16:04:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: record the public key token of referenced assemblies.
svn path=/trunk/mono/; revision=7434
Paolo Molaro [Fri, 13 Sep 2002 13:58:22 +0000 (13:58 -0000)]
Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
* mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
to get the public key token from a public key.
svn path=/trunk/mono/; revision=7433
Paolo Molaro [Fri, 13 Sep 2002 13:44:25 +0000 (13:44 -0000)]
Fri Sep 13 15:41:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
* image.c, image.h: added functions to get the strong name and the
public key of an assembly.
* pedump.c: use them.
svn path=/trunk/mono/; revision=7432
Paolo Molaro [Fri, 13 Sep 2002 13:42:07 +0000 (13:42 -0000)]
Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
* main.c: dump public key.
* get.c, util.h, util.c: prettyfy data dumps.
svn path=/trunk/mono/; revision=7431
Miguel de Icaza [Fri, 13 Sep 2002 03:49:36 +0000 (03:49 -0000)]
Flush
svn path=/trunk/mcs/; revision=7429
Piers Haken [Fri, 13 Sep 2002 03:32:21 +0000 (03:32 -0000)]
2002-09-12 Piers Haken <piersh@friskit.com>
* XPathNavigatorEvaluateTests.cs: enable string() tests.
svn path=/trunk/mcs/; revision=7428
Piers Haken [Fri, 13 Sep 2002 03:17:22 +0000 (03:17 -0000)]
2002-09-12 Piers Haken <piersh@friskit.com>
* Tokenizer.cs: fix parsing numbers that start with '.'
* DefaultContext.cs: use MS-compatible formatting of doubles
svn path=/trunk/mcs/; revision=7427
Piers Haken [Fri, 13 Sep 2002 02:40:26 +0000 (02:40 -0000)]
2002-09-12 Piers Haken <piersh@friskit.com>
* XPathNavigatorEvaluateTests.cs: enable last() & count() tests.
svn path=/trunk/mcs/; revision=7426
Piers Haken [Fri, 13 Sep 2002 02:35:47 +0000 (02:35 -0000)]
2002-09-12 Piers Haken <piersh@friskit.com>
* Iterator.cs: added NullIterator to handle unspecified contexts
* XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
* XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators
svn path=/trunk/mcs/; revision=7424
Piers Haken [Fri, 13 Sep 2002 02:15:40 +0000 (02:15 -0000)]
2002-09-12 Piers Haken <piersh@friksit.com>
* XmlDocumentNavigator.cs: implement MoveToId()
svn path=/trunk/mcs/; revision=7423
Piers Haken [Fri, 13 Sep 2002 02:13:11 +0000 (02:13 -0000)]
2002-09-12 Piers Haken <piersh@friskit.com>
* Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
* Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
* DefaultContext.cs: fix id() return type.
svn path=/trunk/mcs/; revision=7422
Adam Treat [Fri, 13 Sep 2002 02:04:20 +0000 (02:04 -0000)]
* The System.dll Master.xml file. For use with MonoDoc.
svn path=/trunk/mcs/; revision=7421
Adam Treat [Fri, 13 Sep 2002 02:02:11 +0000 (02:02 -0000)]
* The mscorlib Master.xml file. This will be used by the MonoDoc GUI
svn path=/trunk/mcs/; revision=7420
Gonzalo Paniagua Javier [Thu, 12 Sep 2002 23:27:52 +0000 (23:27 -0000)]
2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorConverter.cs: readded MonoTODOs and implemented a couple of
methods.
svn path=/trunk/mcs/; revision=7419
Martin Baulig [Thu, 12 Sep 2002 23:19:26 +0000 (23:19 -0000)]
2002-09-13 Martin Baulig <martin@gnome.org>
* ecore.cs (SimpleName.SimpleNameResolve): Include the member name in
the CS0038 error message.
svn path=/trunk/mcs/; revision=7418
Martin Baulig [Thu, 12 Sep 2002 22:58:01 +0000 (22:58 -0000)]
2002-09-12 Martin Baulig <martin@gnome.org>
* cfold.cs (ConstantFold.DoConstantNumericPromotions): Check whether an
implicit conversion can be done between enum types.
* enum.cs (Enum.LookupEnumValue): If the value is an EnumConstant,
check whether an implicit conversion to the current enum's UnderlyingType
exists and report an error if not.
* codegen.cs (CodeGen.Init): Delete the symbol file when compiling
without debugging support.
* delegate.cs (Delegate.CloseDelegate): Removed, use CloseType instead.
Fixes bug #30235. Thanks to Ricardo Fern�ndez Pascual.
svn path=/trunk/mcs/; revision=7417
Gonzalo Paniagua Javier [Thu, 12 Sep 2002 22:52:36 +0000 (22:52 -0000)]
2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Char.cs: implemented ToString (char)
* IntegerFormatter.cs: made it internal.
svn path=/trunk/mcs/; revision=7416
Gonzalo Paniagua Javier [Thu, 12 Sep 2002 22:47:25 +0000 (22:47 -0000)]
2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* list.unix: added new files.
* System.Drawing.Imaging/MetafileType.cs: implemented missing enum.
svn path=/trunk/mcs/; revision=7415
Miguel de Icaza [Thu, 12 Sep 2002 21:40:14 +0000 (21:40 -0000)]
Removed strange character
svn path=/trunk/mcs/; revision=7414
Miguel de Icaza [Thu, 12 Sep 2002 21:39:43 +0000 (21:39 -0000)]
2002-09-12 Miguel de Icaza <miguel@ximian.com>
* expression.cs (CheckedExpr, UnCheckedExpr): If we have a
constant inside, return it.
svn path=/trunk/mcs/; revision=7413
Dennis Hayes [Thu, 12 Sep 2002 18:47:50 +0000 (18:47 -0000)]
2002-9-2 DennisHayes <dennish@raytek.com>
* Duplex.cs
* InvalidPrinterExecption.cs
* Margins.cs
* MarginsConverter.cs
* PageSettings.cs
* PaperKind.cs
* PaperSize.cs
* PaperSource.cs
* PaperSourceCollection.cs
* PaperSourceKind.cs
* PaperUnitConvert.cs
* PreviewPageInfo.cs
* PreviewPrintControler.cs
* PrintControler.cs
* PrintDocument.cs
* PrinterResolution.cs
* PrinterResolutionKind.cs
* PrinterSettings.cs
* PrinterUnit.cs
* PrintEventArgs.cs
* PrintEventHandler.cs
* PrintingPermission.cs
* PrintingPermissionAttribute.cs
* PrintingPermissionLevel.cs
* PrintPageEventArgs.cs
* PrintPageEventHandler.cs
* PrintRange.cs
* QueryPageSettingEventArgs.cs
* QueryPageSettingsEventHandler.cs
* StandardPrintController.cs
* Added null classes for most/all classes, Many stubs, and some implmentation
svn path=/trunk/mcs/; revision=7410
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
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
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
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
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
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
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
Johannes Roith [Thu, 12 Sep 2002 17:01:44 +0000 (17:01 -0000)]
add mono setup
svn path=/trunk/mono/; revision=7402
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
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
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
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
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
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
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
Dietmar Maurer [Thu, 12 Sep 2002 12:27:46 +0000 (12:27 -0000)]
array code cleanup
svn path=/trunk/mono/; revision=7389
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
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
Dietmar Maurer [Thu, 12 Sep 2002 08:48:57 +0000 (08:48 -0000)]
fix for bug 29365
svn path=/trunk/mono/; revision=7382
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
Kral Ferch [Thu, 12 Sep 2002 05:16:17 +0000 (05:16 -0000)]
more xpath core function tests.
svn path=/trunk/mcs/; revision=7379
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
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
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
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
Kral Ferch [Thu, 12 Sep 2002 01:12:50 +0000 (01:12 -0000)]
Some tests for XPathNavigator.Evaluate()
svn path=/trunk/mcs/; revision=7372
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
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
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
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
Gonzalo Paniagua Javier [Wed, 11 Sep 2002 15:54:56 +0000 (15:54 -0000)]
oops
svn path=/trunk/mcs/; revision=7365
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
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
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
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
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
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
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
Paolo Molaro [Wed, 11 Sep 2002 11:11:27 +0000 (11:11 -0000)]
Compilation fix.
svn path=/trunk/mcs/; revision=7357
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
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
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
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
Paolo Molaro [Tue, 10 Sep 2002 13:57:49 +0000 (13:57 -0000)]
Runtime invoke tests.
svn path=/trunk/mono/; revision=7351
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
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
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
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
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
Miguel de Icaza [Mon, 9 Sep 2002 21:46:41 +0000 (21:46 -0000)]
Update errors
svn path=/trunk/mcs/; revision=7343
Martin Baulig [Mon, 9 Sep 2002 21:42:46 +0000 (21:42 -0000)]
Oooops.
svn path=/trunk/mcs/; revision=7342
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
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
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
Martin Baulig [Mon, 9 Sep 2002 19:09:21 +0000 (19:09 -0000)]
Added my two new tests.
svn path=/trunk/mcs/; revision=7336
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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