mono.git
21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 14 Sep 2002 14:24:44 +0000 (14:24 -0000)]
2002-09-12  Piers Haken <piersh@friskit.com>

* XPathNavigatorEvaluateTests.cs: enable string() tests.

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

21 years ago2002-09-14 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 14 Sep 2002 14:14:40 +0000 (14:14 -0000)]
2002-09-14  Piers Haken <piersh@friskit.com>

* */makefile.gnu:
use $(topdir)
build nunit into $(topdir)/class/lib

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

21 years ago2003-09-14 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 14 Sep 2002 14:07:54 +0000 (14:07 -0000)]
2003-09-14 Piers Haken <piersh@friskit.com>

* PrivateFontCollection.cs: import interop for ComVisible attribute

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

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

* parameter.cs (Parameter.Attributes): Make this work if Modifier.ISBYREF
is set.

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

21 years ago2002-09-14 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 12:02:43 +0000 (12:02 -0000)]
2002-09-14  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.IsNestedChildOf): This must return false
if `type == parent' since in this case `type.IsSubclassOf (parent)' will
be false on the ms runtime.

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

21 years ago2002-09-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 11:47:43 +0000 (11:47 -0000)]
2002-09-12  Martin Baulig  <martin@gnome.org>

* test-40.cs: Removed the syntax errors from this test.

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

21 years ago2002-09-14 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 11:37:57 +0000 (11:37 -0000)]
2002-09-14  Martin Baulig  <martin@gnome.org>

* MonoSymbolWriter.cs, IMonoSymbolWriter.cs, MonoSymbolTableWriter.cs:
Make all classes and interfaces which don't need to be public internal.

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

21 years agoOoops, make this build.
Martin Baulig [Sat, 14 Sep 2002 00:27:48 +0000 (00:27 -0000)]
Ooops, make this build.

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

21 years ago2002-09-14 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 00:10:54 +0000 (00:10 -0000)]
2002-09-14  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.h (MonoSymbolFile): Added method range table for
fast method lookup.

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

21 years ago2002-09-11 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 00:06:40 +0000 (00:06 -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=7448

21 years ago2002-09-14 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 14 Sep 2002 00:05:28 +0000 (00:05 -0000)]
2002-09-14  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Use only CLS-compliant types here, bumped version
number to 19.

* MonoSymbolTableReader.cs: Removed, this is now in the debugger.

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

21 years agoArgumentProcessorAttribute added
Rafael Teixeira [Fri, 13 Sep 2002 23:08:32 +0000 (23:08 -0000)]
ArgumentProcessorAttribute added

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

21 years ago2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 13 Sep 2002 23:05:34 +0000 (23:05 -0000)]
2002-08-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged many sources from mcs/mcs, to resync

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

21 years agoAdded new stub
Gonzalo Paniagua Javier [Fri, 13 Sep 2002 21:27:51 +0000 (21:27 -0000)]
Added new stub

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

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

* CodeIdentifiers.cs:
* XmlSchemaExporter.cs:
* XmlSchemaImporter.cs:
* XmlSchemas.cs:
* XmlSerializationWriteCallback.cs:
* XmlSerializationWriter.cs:
* XmlSerializer.cs:
* XmlSerializerNamespaces.cs: some class status based fixed and
implemented a couple of methods.

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

21 years ago2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 13 Sep 2002 20:41:38 +0000 (20:41 -0000)]
2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Parser.cs: commented out non-existent namespace (it compiles fine
with mcs because of a bug that is already on bugzilla).

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

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

* XmlException.cs: added a new internal constructor for IXmlLineInfo
and output line and position info in Message.

* XmlReader.cs: implemented missing bits.

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

21 years agoremoved Sample.cs
Gonzalo Paniagua Javier [Fri, 13 Sep 2002 19:30:25 +0000 (19:30 -0000)]
removed Sample.cs

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

21 years ago2002-09-13 Dennis Hayes (dennish@raytek.com)
Dennis Hayes [Fri, 13 Sep 2002 17:56:51 +0000 (17:56 -0000)]
2002-09-13  Dennis Hayes (dennish@raytek.com)
* checked in for Everaldo Canuto everaldo.canuto@bol.com.br

* FontCollection.cs
* GenericFontFamilies.cs
* HotkeyPrefix.cs
* InstalledFontCollection.cs
* PrivateFontCollection.cs
* TextRenderingHint.cs

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

21 years ago2002-9-13 Dennis Hayes (dennish@raytek.com)
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

21 years ago2002-9-13 DennisHayes <dennish@raytek.com>
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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
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

21 years agoFri Sep 13 16:04:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
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

21 years agoFri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
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

21 years agoFri Sep 13 15:41:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
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

21 years agoFri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
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

21 years agoFlush
Miguel de Icaza [Fri, 13 Sep 2002 03:49:36 +0000 (03:49 -0000)]
Flush

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

21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
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

21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
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

21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
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

21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
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

21 years ago2002-09-12 Piers Haken <piersh@friksit.com>
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

21 years ago2002-09-12 Piers Haken <piersh@friskit.com>
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

21 years ago* The System.dll Master.xml file. For use with MonoDoc.
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

21 years ago* The mscorlib Master.xml file. This will be used by the MonoDoc GUI
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

21 years ago2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

21 years ago2002-09-13 Martin Baulig <martin@gnome.org>
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

21 years ago2002-09-12 Martin Baulig <martin@gnome.org>
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

21 years ago2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

21 years ago2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

21 years agoRemoved strange character
Miguel de Icaza [Thu, 12 Sep 2002 21:40:14 +0000 (21:40 -0000)]
Removed strange character

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

21 years ago2002-09-12 Miguel de Icaza <miguel@ximian.com>
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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
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

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