mono.git
20 years ago * AppDomain.cs: Added some null checks in Load methods. This fixes bug
Lluis Sanchez [Tue, 4 Nov 2003 00:25:33 +0000 (00:25 -0000)]
* AppDomain.cs: Added some null checks in Load methods. This fixes bug
  #50356.

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

20 years ago * PagedDataSource.cs (PageCount): Return page count of 1 if there
Jackson Harper [Mon, 3 Nov 2003 23:34:55 +0000 (23:34 -0000)]
    * PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.

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

20 years agoExecutive summary:
Duncan Mak [Mon, 3 Nov 2003 23:14:20 +0000 (23:14 -0000)]
Executive summary:

Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.

2003-11-01  Duncan Mak  <duncan@ximian.com>

* matrix.c
(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
functions are stubbed out.

* gdip_defs.h (GpMatrixOrder): Added.

* gdip_main.h
(GpRect, GpRectF): Synonyms for Rect and RectF.
(GpMatrix): An alias of cairo_matrix_t.

* Makefile: Added matrix.c.

2003-10-28  Duncan Mak  <duncan@ximian.com>

* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.

* gdipFunctions.cs: Added new GDI+ equivalents.

2003-10-28  Duncan Mak  <duncan@ximian.com>

* gdip_main.h, gdip_def.h:
Renamed all gdip_foo_ptr types are now GpFoo *.
Renamed Status to GpStatus.
Reformatted all C++ style comments to C style comments.
Reformatted all C function prototypes to the style used by GTK+.

* gdip_main.h (GpPoint, GpPointF): Added.

* gdip_defs.h (GpFillMode): Added.

* graphics.c (make_ellipse):
(make_polygon, make_polygon_from_integers):
(make_pie): private functions (make_foo) to be reused by DrawFoo
and FillFoo.

(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.

(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.

2003-10-26  Duncan Mak  <duncan@ximian.com>

* graphics.c
(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.

2003-10-25  Duncan Mak  <duncan@ximian.com>

* graphics.c
(GdipDrawBezier, GdipDrawBezierI):
(GdipDrawBeziers, GdipDrawBeziersI):
(GdipDrawLine, GdipDrawLineI):
(GdipDrawLines, GdipDrawLinesI): implemented.

(GdipFillRectangle):
(GdipDrawString): Make use of gdip_get_status.

* general.c
(gdip_get_status): A new function for retrieving a Status from a
cairo_t.

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

20 years ago2003-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Nov 2003 23:04:04 +0000 (23:04 -0000)]
2003-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: notify listener on async processing handles after
invoking the async callback. Thanks to Zoltan.

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

20 years ago * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
Jackson Harper [Mon, 3 Nov 2003 22:47:31 +0000 (22:47 -0000)]
    * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
          Yaron Shkop.

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

20 years ago * HttpResponse.cs (ContentEncoding): Throw
Jackson Harper [Mon, 3 Nov 2003 22:45:20 +0000 (22:45 -0000)]
    * HttpResponse.cs (ContentEncoding): Throw
ArgumentNullException. Patch by Yaron Shkop.

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

20 years ago * SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
Lluis Sanchez [Mon, 3 Nov 2003 21:36:23 +0000 (21:36 -0000)]
* SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.

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

20 years ago * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
Lluis Sanchez [Mon, 3 Nov 2003 21:23:48 +0000 (21:23 -0000)]
* XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  bug #50041.

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

20 years ago * System.Web.dll.sources: Add SessionSQLServerHandler.cs
Jackson Harper [Mon, 3 Nov 2003 21:11:40 +0000 (21:11 -0000)]
    * System.Web.dll.sources: Add SessionSQLServerHandler.cs
* makefile: Reference System.Data.dll

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

20 years ago * HttpSessionState.cs: Make the SessionDictionary accessable
Jackson Harper [Mon, 3 Nov 2003 21:08:59 +0000 (21:08 -0000)]
    * HttpSessionState.cs: Make the SessionDictionary accessable
* ISessionHandler.cs: Add method to update the session state
data in the handler. Pass the session config to handlers when
initializing.
* SessionConfig.cs: Add StateNetworkTimeout
* SessionInProcHandler.cs: Updates because interface has
changed, all functionality is the same.
* SessionStateModule.cs: Get new config items, allow SQLServer
session manager type. Update session handlers when the session
state has been released.
* SessionStateSectionHandler.cs: Add StateNetworkTimeout
* SessionSQLServerHandler.cs: New class allows sessions to be
stored in a database.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 21:07:31 +0000 (21:07 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (create_dynamic_mono_image): Call mono_image_init to
avoid code duplication.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 21:03:15 +0000 (21:03 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
null to DefineConstructor, to avoid NullReferenceExceptions in the
binder code.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 20:55:02 +0000 (20:55 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h (MonoDynamicImage): New type which is currently unused,
but will be used through the ref.emit code in place of
MonoDynamicAssembly.

* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.

* reflection.c (create_dynamic_mono_image): Rewrote so it now creates
a MonoDynamicImage instead of just a MonoImage.

* reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
icalls to ModuleBuilder but keep their semantics, so they will work
with moduleb->assemblyb. This will change later.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 20:47:00 +0000 (20:47 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
and getToken methods, and the associated icalls to ModuleBuilder,
since tokens are per-module.

* AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
patch, since having the 'is_main' field is useful in the unmanaged
code.

* AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
file creation logic to ModuleBuilder:Save (), since this needs to be
done for every module. Also move the corresponding icalls to
ModuleBuilder.

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

20 years ago * BoundColumn.cs: Render readonly columns. Patch by Mohammad
Jackson Harper [Mon, 3 Nov 2003 20:44:36 +0000 (20:44 -0000)]
    * BoundColumn.cs: Render readonly columns. Patch by Mohammad
          DAMT.

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

20 years agoupdates from grammar changes
César Natarén [Mon, 3 Nov 2003 17:10:46 +0000 (17:10 -0000)]
updates from grammar changes

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

20 years ago2003-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Nov 2003 17:08:54 +0000 (17:08 -0000)]
2003-11-03  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_inflate_method_or_ctor): Set
`ginst->klass' here.
(method_encode_methodspec): Don't use the `ginst->generic_method's
klass if it's a generic instance, use `ginst->klass' in this case.

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

20 years agoChangeLog entries.
César Natarén [Mon, 3 Nov 2003 17:08:38 +0000 (17:08 -0000)]
ChangeLog entries.

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

20 years ago* jscript-lexer-parser.g: Added parsing support for formal
César Natarén [Mon, 3 Nov 2003 17:05:02 +0000 (17:05 -0000)]
* jscript-lexer-parser.g: Added parsing support for formal
parameters type annotations. Build FormalParameterList accordingly.

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

20 years ago* SymbolTable.cs: Added Add method that receives the id and the
César Natarén [Mon, 3 Nov 2003 17:03:27 +0000 (17:03 -0000)]
* SymbolTable.cs: Added Add method that receives the id and the
function declaration class. Retrieve changed to return an AST. Added
ToString method.

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

20 years ago* Statement.cs: Deleted Statement class (it was being used for
César Natarén [Mon, 3 Nov 2003 17:01:58 +0000 (17:01 -0000)]
* Statement.cs: Deleted Statement class (it was being used for
nothing). All classes that were having Statement as parent,
changed their parent to be AST.

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

20 years ago* SemanticAnalizer.cs: Fixed the file name (maybe I should erase it
César Natarén [Mon, 3 Nov 2003 17:01:06 +0000 (17:01 -0000)]
* SemanticAnalizer.cs: Fixed the file name (maybe I should erase it
and add it again with the correct name). Not based on the Visitor
pattern anymore. Deleted all the VisitFOO methods. Added a
IdentificationTable field. Added Run, Dump methods.

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

20 years ago* IdentificationTable.cs: Added ToString method. Retrieve now returns an AST not...
César Natarén [Mon, 3 Nov 2003 16:58:12 +0000 (16:58 -0000)]
* IdentificationTable.cs: Added ToString method. Retrieve now returns an AST not a VariableDeclaration.

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

20 years ago* FunctionObject.cs: Added MethodAttributes and type_annot
César Natarén [Mon, 3 Nov 2003 16:56:18 +0000 (16:56 -0000)]
* FunctionObject.cs: Added MethodAttributes and type_annot
fields. Added params_types function, which returns an array of
types from each of the function's parameters.

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

20 years ago* FormalParameterList.cs: Added FormalParam class. Change Add method to receive the...
César Natarén [Mon, 3 Nov 2003 16:54:59 +0000 (16:54 -0000)]
* FormalParameterList.cs: Added FormalParam class. Change Add method to receive the id and the type annotation from function's parameters.

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

20 years ago*** empty log message ***
César Natarén [Mon, 3 Nov 2003 16:52:32 +0000 (16:52 -0000)]
*** empty log message ***

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

20 years ago2003-11-03 <cesar@ciencias.unam.mx>
César Natarén [Mon, 3 Nov 2003 16:49:17 +0000 (16:49 -0000)]
2003-11-03    <cesar@ciencias.unam.mx>

*  Microsoft.JScript.dll.sources: Added IdentificationTable.cs,
SemanticAnalizer.cs and SymbolTable.cs to the build.

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

20 years ago2003-11-03 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 3 Nov 2003 16:43:13 +0000 (16:43 -0000)]
2003-11-03 cesar lopez nataren <cesar@ciencias.unam.mx>

* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Blocks.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionDeclaration.cs, FunctionExpression.cs, Import.cs,
InstanceOf.cs, Literal.cs, NumericBinary.cs, NumericUnary.cs,
Package.cs, Plus.cs, PostOrPrefixOperator.cs, Print.cs,
Relational.cs, ScriptBlock.cs, StrictEquality.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, VariableStatement.cs,
With.cs, expression.cs : Added
'Resolve' method stub.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 15:15:12 +0000 (15:15 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.

* reflection.c (mono_image_build_metadata): Avoid creation of a default
main module, since it is now done by the managed code.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 15:11:25 +0000 (15:11 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
#48700 (proper module support in Ref.Emit). Remove is_main field from
ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
This is neccesary, since the main module is determined during the
Save () call: the module with the same file name as the assembly is
the main module. Also create a default main module, if one is not
existing.

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

20 years ago2003-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Nov 2003 14:08:34 +0000 (14:08 -0000)]
2003-11-03  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_get_generic_method_param_info):
Removed, use mono_image_get_generic_param_info() instead.
(mono_image_get_type_info): Write the GenericParam table before
the Method table.  This is neccessary because in the GenericParam
table, type parameters of the class (ie. '!0' etc.) must come
before the ones from its generic methods (ie. '!!0' etc).

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

20 years ago * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking...
Eran Domb [Mon, 3 Nov 2003 12:35:50 +0000 (12:35 -0000)]
    * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
can be converted to the column type.

* DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.

* DataRow.cs (EndEdit) : Check if we need to validate the constraints.
(GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.

* DataRowCollection.cs (Add) : Fixing a bug.
(Clear) : Before clearing the array check that there is no violation of FK constraint.

* DataSet.cs (Prefix) : If value is null chage it to empty string.
(GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.

* ExpressionElement : Adding support for IN expresion.

* DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
(Select) : Adding support for DataViewwRowState.

* ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.

* MergeManager.cs (MergeRow) : Fix bugs.

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

20 years ago2003-11-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Nov 2003 12:24:32 +0000 (12:24 -0000)]
2003-11-03  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill out AssemblyName->codebase. Fixes #50469.

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

20 years ago2003-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Nov 2003 09:09:16 +0000 (09:09 -0000)]
2003-11-03  Martin Baulig  <martin@ximian.com>

* expression.cs (ArrayAccess.GetStoreOpcode): Added
`out bool has_type_arg'; if set, we need to pass the type to
ig.Emit().
(ArrayAccess.GetStoreOpcode, ArrayAccess.EmitLoadOpcode): Use
Stelem_Any/Ldelem_Any for generic parameters.

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

20 years ago2003-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Nov 2003 09:06:30 +0000 (09:06 -0000)]
2003-11-03  Martin Baulig  <martin@ximian.com>

* OpCodes.cs: Added Ldelem_Any, Stelem_Any and Unbox_Any from .NET 1.2.

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

20 years agoupdate ADO.NET and provider web pages
Daniel Morgan [Mon, 3 Nov 2003 06:27:02 +0000 (06:27 -0000)]
update ADO.NET and provider web pages

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

20 years ago2003-11-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 3 Nov 2003 03:32:08 +0000 (03:32 -0000)]
2003-11-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslCompiledElement.cs, XslAttribute.cs, XslElement.cs :
  Removed Clone() everywhere. Limited only to required places.

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

20 years agoSmall updates
Miguel de Icaza [Mon, 3 Nov 2003 03:22:59 +0000 (03:22 -0000)]
Small updates

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

20 years agoupdate mono index web page about gtk# 0.12 release
Daniel Morgan [Mon, 3 Nov 2003 02:22:14 +0000 (02:22 -0000)]
update mono index web page about gtk# 0.12 release

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

20 years agoupdate postgresql web page
Daniel Morgan [Mon, 3 Nov 2003 01:53:38 +0000 (01:53 -0000)]
update postgresql web page

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

20 years agoAdd Mono 1.0 list of assemblies
Miguel de Icaza [Mon, 3 Nov 2003 01:47:04 +0000 (01:47 -0000)]
Add Mono 1.0 list of assemblies

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

20 years ago2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 3 Nov 2003 00:16:59 +0000 (00:16 -0000)]
2003-11-02 Ben Maurer  <bmaurer@users.sourceforge.net>

* BulletStyle.cs:
* BulletedListDisplayMode.cs:
* BulletedListEventHandler.cs:
* BulletedList.cs:
* BulletedListEventArgs.cs: V2 controls (yay!)

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

20 years agoconvert 24/32 bpp in LockBits
Alexandre Pigolkine [Sun, 2 Nov 2003 20:49:37 +0000 (20:49 -0000)]
convert 24/32 bpp in LockBits

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

20 years agocodec can select pixel format of bitmap
Alexandre Pigolkine [Sun, 2 Nov 2003 20:41:19 +0000 (20:41 -0000)]
codec can select pixel format of bitmap

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

20 years agouse 32bpp bitmaps internally
Alexandre Pigolkine [Sun, 2 Nov 2003 20:33:32 +0000 (20:33 -0000)]
use 32bpp bitmaps internally

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

20 years ago2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 2 Nov 2003 14:26:48 +0000 (14:26 -0000)]
2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslCompiledElement.cs : Added InputNode for namespace-prefix support.
* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
  Correct Prefix support.
* XslLiteralElement.cs : Moved xmlns output after attribute sets.
* XslCopy.cs : Added use-attribute-sets support for Root XPath type.
* XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs : Support for
  IsEmptyElement (XslElement not yet. confirm what OASIS tests expect).
* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
  Support for stylesheet xmlns decls emission.

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

20 years ago2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 2 Nov 2003 14:25:15 +0000 (14:25 -0000)]
2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Compiler.cs : More complete attribute set gathering.
  GetNamespacesToCopy() should only return Local namespaces.
* GenericOutputter.cs : Added support for indentation.
  Added easy hack for html output.
  More correct Prefix handling (considers already defined ones).
  Namespace emmission is moved to CheckState().
* Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
  Added WriteFullEndElement(). (i.e. IsEmptyElement support)
* GenericOutputter.cs, Outputter.cs :
  Added CanProcessAttributes property for
  use-attribute-sets of xsl:copy.
* XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
  Added support for exclude-result-prefixes.
* XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.

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

20 years ago2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 2 Nov 2003 14:15:04 +0000 (14:15 -0000)]
2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
  to skip XmlEntityReference.
* XmlTextWriter.cs : Fixed AddMissingElements() and
  WriteStartAttribute() not to emit extraneous xmlns.

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

20 years agoNew test.
Martin Baulig [Sun, 2 Nov 2003 13:16:47 +0000 (13:16 -0000)]
New test.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 13:16:24 +0000 (13:16 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* reflection.c (create_generic_typespec): Take a
`MonoReflectionTypeBuilder *' instead of a `MonoType *' and get
the generic parameters from it.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 12:38:22 +0000 (12:38 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* mini.c (inflate_generic_field): New static method.
(mono_method_to_ir): In CEE_LDFLD and CEE_LDSFLD: if we're a
generic instance and the field is declared in a generic type, call
inflate_generic_field() to inflate it.  Fixes gen-28.cs.

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

20 years agoNew test.
Martin Baulig [Sun, 2 Nov 2003 10:52:38 +0000 (10:52 -0000)]
New test.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 10:51:47 +0000 (10:51 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* reflection.c (fieldref_encode_signature): Take a `MonoType *'
instead of a `MonoClassField *' since we just need the type.
(create_generic_typespec): New static function.  Creates a
TypeSpec token for a generic type declaration.
(mono_image_get_generic_field_token): New static function.
(mono_image_create_token): If we're a FieldBuilder in a generic
type declaration, call mono_image_get_generic_field_token() to get
the token.

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

20 years ago2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 2 Nov 2003 08:03:08 +0000 (08:03 -0000)]
2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextWriter.cs : Skip multiple xmlns when element and any of
  attributes have the same xmlns values.
  WriteEndElement() allows open attribute (calles WriteEndAttribute()).
  Indentation should be inserted between ">" and "</xxx>" .

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

20 years agoNew test.
Martin Baulig [Sun, 2 Nov 2003 06:26:04 +0000 (06:26 -0000)]
New test.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 06:25:24 +0000 (06:25 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericInst.initialize): Include members
from our parent classes in the `methods', `ctors' and `fields'
arrays.  When inflating them, reflection now sets their
`declaring_type' and `reflected_type' fields.
(MonoInflatedMethod, MonoInflatedCtor): Added
`MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
fields and override the `DeclaringType' and `ReflectedType' properties.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 06:18:16 +0000 (06:18 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* reflection.h
(MonoReflectionInflatedMethod, MonoReflectionInflatedField): Added
`MonoReflectionGenericInst *declaring_type' and
`MonoReflectionGenericInst *reflected_type' fields.

* reflection.c (mono_reflection_inflate_method_or_ctor): Take a
`MonoReflectionGenericInst *declaring_type' and a
`MonoReflectionGenericInst *reflected_type' argument instead of a
single `MonoReflectionGenericInst *type' one.  Set
`res->declaring_type' and `res->reflected_type' from them.
(mono_reflection_inflate_field): Likewise.

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

20 years agoSupport for fields is currently broken; so don't use fields where we're testing somet...
Martin Baulig [Sun, 2 Nov 2003 05:47:20 +0000 (05:47 -0000)]
Support for fields is currently broken; so don't use fields where we're testing something which is not related to fields.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 05:45:00 +0000 (05:45 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.EmitCall): Use
`TypeManager.IsValueType()' to check whether it's a value type.
Don't set `struct_call' when calling a method on a type parameter.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 05:30:31 +0000 (05:30 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_setup_vtable): Don't store generic methods
in the vtable.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 05:05:28 +0000 (05:05 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* generics.cs (ConstructedType.Resolve): Renamed to ResolveType()
and removed the TypeBuilder argument.

* typemanager.cs (TypeManager.IsValueType): Return
`t.IsGenericParameter || t.IsValueType'.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 05:00:22 +0000 (05:00 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
`Type declaring_type' field and override the `DeclaringType' and
`ReflectedType' properties.
(MonoGenericInst.IsValueTypeImpl): Override this.

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

20 years ago2003-11-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 2 Nov 2003 04:58:14 +0000 (04:58 -0000)]
2003-11-02  Martin Baulig  <martin@ximian.com>

* reflection.h (MonoReflectionGenericInst): Added
`MonoReflectionType *declaring_type'.

* reflection.c (inflated_method_get_object): Added
`MonoReflectionType *decl_type' argument; set
`res->declaring_type' from it.
(mono_reflection_bind_generic_parameters): Use `if (tb->parent)'
instead of `klass->parent'.

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

20 years agoAdd graphics
Miguel de Icaza [Sun, 2 Nov 2003 04:45:38 +0000 (04:45 -0000)]
Add graphics

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

20 years ago2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 2 Nov 2003 02:21:14 +0000 (02:21 -0000)]
2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* DTMXPathNavigator.cs : Fixed MoveToNamespace() that might result in
  infinite loop.

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

20 years ago2003-11-02 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 1 Nov 2003 23:47:00 +0000 (23:47 -0000)]
2003-11-02  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
    numbers are parsed with the respective ::Parse method.

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

20 years ago2003-11-01 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 1 Nov 2003 23:42:02 +0000 (23:42 -0000)]
2003-11-01  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * XmlConvert.cs: Revert my last change. INF and -INF must be
    processed here because Double::Parse and Single::Parse doesn't
    understand anything of parsing [-]INF.

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

20 years agoBe crystal clear
Miguel de Icaza [Sat, 1 Nov 2003 21:53:20 +0000 (21:53 -0000)]
Be crystal clear

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

20 years agoBe crystal clear
Miguel de Icaza [Sat, 1 Nov 2003 21:49:40 +0000 (21:49 -0000)]
Be crystal clear

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

20 years ago2003-11-01 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 1 Nov 2003 21:05:24 +0000 (21:05 -0000)]
2003-11-01  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DateTimeTest.cs: Changed the Asserts to fix some things related to
    universal time, we can't test the equality if one DateTime is into
    the code and the other comes from the TimeZone. Different TimeZones,
    different errors in the test.

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

20 years agoFlush
Miguel de Icaza [Sat, 1 Nov 2003 20:08:55 +0000 (20:08 -0000)]
Flush

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

20 years agoAdd new roadmap files.
Miguel de Icaza [Sat, 1 Nov 2003 19:39:10 +0000 (19:39 -0000)]
Add new roadmap files.

Various updates: FAQ, layout, template updates

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

20 years ago2003-11-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 1 Nov 2003 19:35:50 +0000 (19:35 -0000)]
2003-11-01  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
on MonoMethod instead of Invoke.

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

20 years ago2003-11-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 1 Nov 2003 18:15:49 +0000 (18:15 -0000)]
2003-11-01  Zoltan Varga  <vargaz@freemail.hu>

* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
InvokeInDomain function instead of calling SetDomain.

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

20 years ago2003-11-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 1 Nov 2003 18:15:18 +0000 (18:15 -0000)]
2003-11-01  Zoltan Varga  <vargaz@freemail.hu>

* RemotingServices.cs (GetDomainProxy): Use the new InvokeInDomain
function instead of calling SetDomain.

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

20 years ago2003-11-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 1 Nov 2003 18:10:07 +0000 (18:10 -0000)]
2003-11-01  Zoltan Varga  <vargaz@freemail.hu>

* main.c: Add disassembly of module, moduleref and file tables.

* get.h get.c: Add support for modulerefs.

* dump.c: Avoid crash on empty assembly table.

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

20 years ago2003-11-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 1 Nov 2003 18:04:17 +0000 (18:04 -0000)]
2003-11-01  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_open): Avoid crash if a module is loaded
with an empty ASSEMBLY table.

* reflection.c (mono_image_build_metadata): Avoid using the same loop
variable in the inner and outer loops.

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

20 years ago2003-11-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 1 Nov 2003 11:52:28 +0000 (11:52 -0000)]
2003-11-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs : Save(Stream) should not close the stream.

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

20 years agoUpdate for 1.2: 'generics' is the default build name for 1.2
Miguel de Icaza [Sat, 1 Nov 2003 08:28:52 +0000 (08:28 -0000)]
Update for 1.2: 'generics' is the default build name for 1.2

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

20 years ago2003-11-01 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 1 Nov 2003 07:59:19 +0000 (07:59 -0000)]
2003-11-01  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DateTime.cs: Fixed Add* methods handling. Now it works properly
    with extreme values (there is a bug with Overflow and Underflow in
    long type).

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

20 years ago2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 1 Nov 2003 04:43:45 +0000 (04:43 -0000)]
2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* HttpMultipartContentParser.cs : Quick fix for cygwin build.
  CSC complains that constant char cannot be casted as byte.

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

20 years ago2003-10-31 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 1 Nov 2003 02:50:30 +0000 (02:50 -0000)]
2003-10-31  Sebastien Pouliot  <spouliot@videotron.ca>

* OASISTest.cs: New. Unit test for WSE2 OASIS descriptions.
* SaMLTest.cs: New. Unit test for WSE2 SaML descriptions.
* SMSecurityTest.cs: New. Unit test for WSE2 SMSecurity descriptions.
* XmltokTest.cs: New. Unit test for WSE2 Xmltok descriptions.
* XrMLTest.cs: New. Unit test for WSE2 XrML descriptions.

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

20 years ago2003-10-31 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 1 Nov 2003 02:48:14 +0000 (02:48 -0000)]
2003-10-31  Sebastien Pouliot  <spouliot@videotron.ca>

* IReplayCache.cs: New. Interface for ReplayCache.
* OASIS.cs: New. Implementation for OASIS WS-Security (prefix "wsse").
* ReplayCacheManager.cs: New. Stub, with MonoTODO, for WSE2.
* SaML.cs: New. SAML description (prefix/ns) for WS-Security.
* SecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* SecurityTokenReferenceType.cs: New. Stub, with MonoTODO, for WSE2.
* SMSecurity.cs: New. Implementation for WS-Security ("wsse" and
"http://schemas.xmlsoap.org/ws/2002/12/secext").
* SMSecurityBase.cs: New. Abstract class to retrieve Prefix and Namespace.
* SynchronizedSecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* WSEReplayCache.cs: New. Stub, with MonoTODO, for WSE2.
* Xmltok.cs: New. WS-Security Profile for XML-based Tokens (descriptions).
* XrML.cs: New. eXtensible rights Markup Language descriptions for WS-Security.

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

20 years ago2003-10-31 Pedro Martnez Juli <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 31 Oct 2003 22:04:31 +0000 (22:04 -0000)]
2003-10-31  Pedro Martnez Juli  <yoros@wanadoo.es>

    * DateTimeTest.cs: Removed Universal Time in ToString because in
    each computer that could be different. We need more control over
    that to know what the result should be.

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

20 years ago2003-10-31 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 31 Oct 2003 22:04:10 +0000 (22:04 -0000)]
2003-10-31  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DateTime.cs: Fixed a few format bugs.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 20:34:47 +0000 (20:34 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* metadata.h (mono_metadata_make_token): Put parentheses around macro
argument.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 18:48:43 +0000 (18:48 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.h appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef): Fix signature.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 15:59:47 +0000 (15:59 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c (mono_method_same_domain): New function to return
whenever the caller and the callee are in the same domain.

* tramp-x86.c (x86_magic_trampoline): Use the new function.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 15:27:52 +0000 (15:27 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs (InternalPushDomainRef): New icalls.

* AppDomain.cs (InvokeInDomain): New method to execute code in a
different appdomain.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 14:39:17 +0000 (14:39 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c appdomain.h icall.c: Get rid of the InvokeInDomain
icalls. Instead, do everything in managed code. This is needed since
it is hard to restore the original domain etc. in unmanaged code in the
presence of undeniable exceptions.

* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef):
New icalls to push and pop appdomain refs.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:25:54 +0000 (13:25 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: Get rid of hardcoded file names.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:18:44 +0000 (13:18 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: New file. AppDomain Unloading tests.

* Makefile: Add new test + enable IL tests now that we have a working
ilasm.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:12:06 +0000 (13:12 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* delegate7.cs: Convert it to use the test driver + add regression test
for #50366.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:06:28 +0000 (13:06 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (mono_create_method_pointer): New function which contains
the arch independent part of the method wrapper creation. Add a cache
for the wrapper code, since Delegate::Equals depends on the wrapper
address being constant for a method. Fixes #50366.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:03:36 +0000 (13:03 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* */tramp.c (mono_create_method_pointer): Rename to
mono_arch_create_method_pointer, move common code to a new function in
interp.c.

* */tramp.c (mono_create_trampoline): Rename to
mono_arch_create_trampoline for consistency.

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

20 years agoFlush
Miguel de Icaza [Fri, 31 Oct 2003 06:27:57 +0000 (06:27 -0000)]
Flush

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

20 years agoMore tests ....
Martin Baulig [Fri, 31 Oct 2003 06:19:23 +0000 (06:19 -0000)]
More tests ....

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

20 years ago2003-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 31 Oct 2003 06:14:50 +0000 (06:14 -0000)]
2003-10-31  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): Renamed to
mono_class_inflate_generic_type() and made it public.

* icall.c ("System.Reflection.MonoGenericInst::inflate_field"):
New interncall.

* loader.c (mono_field_from_memberref): Also set the retklass for
typespecs.

* fielder.c (mono_image_get_inflated_field_token): New static
method; creates a metadata token for an inflated field.
(mono_image_create_token, fixup_method): Added support for
"MonoInflatedField".
(fieldbuilder_to_mono_class_field): New static function.
(mono_reflection_inflate_field): New public function.

* reflection.h
(MonoReflectionGenericInst): Added `MonoArray *fields'.
(MonoReflectionInflatedField): New typedef.

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

20 years ago2003-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 31 Oct 2003 06:02:48 +0000 (06:02 -0000)]
2003-10-31  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedField): New internal class.
(MonoGenericInst.GetFields): Override this method and inflate
the fields.

* MonoField.cs: Don't make this class sealed.

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

20 years ago2003-10-30 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 31 Oct 2003 03:56:09 +0000 (03:56 -0000)]
2003-10-30  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c: (ves_exec_method_with_context)
fix CEE_NEWOBJ inside wrapper methods

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