Paolo Molaro [Thu, 7 Aug 2003 14:12:28 +0000 (14:12 -0000)]
Thu Aug 7 15:59:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: fixed indexed load and unsigned compares.
svn path=/trunk/mono/; revision=17156
Miguel de Icaza [Thu, 7 Aug 2003 05:23:50 +0000 (05:23 -0000)]
2003-08-07 Miguel de Icaza <miguel@ximian.com>
* expression.cs (BinaryMethod): This kind of expression is created by the
Binary class if it determines that the operator has to be handled
by a method.
(BinaryDelegate): This kind of expression is created if we are
dealing with a + or - operator on delegates.
(Binary): remove method, argumetns, and DelegateOperator: when
dealing with methods,
* ecore.cs (EventExpr.EmitAddOrRemove): Update to new layout.
* statement.cs (Block): use bitfields for the three extra booleans
we had in use. Remove unused topblock parameter.
* codegen.cs: Remove unecessary argument to Block.EmitTopBlock
* assign.cs: Drop extra unneeded tests.
svn path=/trunk/mcs/; revision=17153
Duncan Mak [Thu, 7 Aug 2003 03:38:55 +0000 (03:38 -0000)]
* Xr/Bitmap.cs: Reformatted. All public methods turn into
corresponding explicit interface implmentations.
* wine/Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.
* wine/Bitmap.cs:
* wine/Image.cs: Reformatted.
svn path=/trunk/mcs/; revision=17152
Gaurav Vaish [Thu, 7 Aug 2003 03:36:22 +0000 (03:36 -0000)]
2003-08-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs : Mark Render(...) virtual.
* HtmlControlAdapter.cs : AddAttributes(...),
ExitSecondaryUIMode(),
LoadAdapterState(),
Render(...) - Implemented.
svn path=/trunk/mcs/; revision=17151
Miguel de Icaza [Thu, 7 Aug 2003 03:31:30 +0000 (03:31 -0000)]
update
svn path=/trunk/mono/; revision=17150
Duncan Mak [Thu, 7 Aug 2003 01:26:42 +0000 (01:26 -0000)]
* ItfImage.cs: Reformatted and removed sections that were
commented out. Added missing methods that were in
System.Drawing.Image but not the interface.
* ItfBitmap.cs: Reformatted.
* Image.cs: Reformatted. Make all methods defined in the interface
non-public, and expose them only as explicit interface implementations.
* Graphics.cs (FromImage): cast xrImage to IImage.
* Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.
* Image.cs: Reformatted.
* Graphics.cs (DrawImage): Cast wineImage to IImage before calling
interface properties.
svn path=/trunk/mcs/; revision=17148
Miguel de Icaza [Wed, 6 Aug 2003 19:14:41 +0000 (19:14 -0000)]
Fix from J�rg Rosenkranz <joergr@voelcker.com>
svn path=/trunk/mcs/; revision=17137
Andreas N [Wed, 6 Aug 2003 10:19:34 +0000 (10:19 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* TargetInvocationException.cs: Fixed signature
svn path=/trunk/mcs/; revision=17115
Andreas N [Wed, 6 Aug 2003 10:16:04 +0000 (10:16 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* corlib.dll.sources: added quite some files
svn path=/trunk/mcs/; revision=17114
Andreas N [Wed, 6 Aug 2003 10:14:25 +0000 (10:14 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UCOMIBindCtx.cs: Added and implemented
* UCOMIConnectionPoint.cs: Added and implemented
* UCOMIConnectionPointContainer.cs: Added and implemented
* UCOMIEnumConnectionPoints.cs: Added and implemented
* UCOMIEnumConnections.cs: Added and implemented
* UCOMIEnumMoniker.cs: Added and implemented
* UCOMIEnumString.cs: Added and implemented
* UCOMIEnumVARIANT.cs: Added and implemented
* UCOMIMoniker.cs: Added and implemented
* UCOMIPersistFile.cs: Added and implemented
* UCOMIRunningObjectTable.cs: Added and implemented
* UCOMIStream.cs: Added and implemented
* UCOMTypeComp.cs: renamed
* UCOMTypeInfo.cs: renamed
* UCOMTypeLib.cs: renamed
* ITypeLibConverter.cs: Fixed interface signature
* ComSourceInterfacesAttribute.cs: Added and implemented
* IDispatchImplAttribute.cs: Added and implemented
* InvalidComObjectException.cs: Added and implemented
* InvalidOleVariantTypeException.cs: Added and implemented
* MarshalDirectiveException.cs: Added and implemented
* SafeArrayRankMismatchException.cs: Added and implemented
* SafeArrayTypeMismatchException.cs: Added and implemented
* SEHException.cs: Added attribute
* UnknownWrapper.cs: Added and implemented
* BIND_OPTS.cs:
* CONNECTDATA.cs:
* ELEMDESC.cs:
* FILETIME.cs:
* FUNCDESC.cs:
* IDLDESC.cs:
* PARAMDESC.cs:
* STATSTG.cs:
* TYPEATTR.cs:
* TYPEDESC.cs:
* TYPELIBATTR.cs:
* VARDESC.cs: Added and implemented
* CALLCONV.cs:
* FUNCFLAGS.cs:
* FUNCKIND.cs:
* IDispatchImplType.cs:
* IDLFLAG.cs:
* IMPLTYPEFLAGS.cs:
* LIBFLAGS.cs:
* PARAMFLAG.cs:
* SYSKIND.cs:
* TYPEFLAGS.cs:
* TypeLibImporterFlags.cs:
* VARFLAGS.cs: Added and implemented
svn path=/trunk/mcs/; revision=17113
Andreas N [Wed, 6 Aug 2003 10:10:18 +0000 (10:10 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Locale.cs: Removed (added new version to Assembly directory)
svn path=/trunk/mcs/; revision=17112
Andreas N [Wed, 6 Aug 2003 10:09:29 +0000 (10:09 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* corlib.dll.sources: added/removed Locale.cs
svn path=/trunk/mcs/; revision=17111
Andreas N [Wed, 6 Aug 2003 10:08:38 +0000 (10:08 -0000)]
2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Locale.cs: Added
svn path=/trunk/mcs/; revision=17110
Lluis Sanchez [Wed, 6 Aug 2003 08:57:01 +0000 (08:57 -0000)]
* mini.c: reenabled installation of handler for
thread abort signal.
svn path=/trunk/mono/; revision=17109
Miguel de Icaza [Wed, 6 Aug 2003 07:08:12 +0000 (07:08 -0000)]
2003-08-06 Miguel de Icaza <miguel@ximian.com>
* iterators.cs (Mapvariable): provide a mechanism to use prefixes.
* statement.cs (Foreach): Use VariableStorage instead of
LocalBuilders.
* codegen.cs (VariableStorage): New class used by clients that
require a variable stored: locals or fields for variables that
need to live across yield.
Maybe provide a convenience api for EmitThis+EmitLoad?
svn path=/trunk/mcs/; revision=17108
Miguel de Icaza [Wed, 6 Aug 2003 07:02:54 +0000 (07:02 -0000)]
Add a multi-array test
svn path=/trunk/mcs/; revision=17107
Miguel de Icaza [Wed, 6 Aug 2003 07:00:55 +0000 (07:00 -0000)]
Add tests, update tests
svn path=/trunk/mcs/; revision=17106
John Luke [Wed, 6 Aug 2003 05:40:36 +0000 (05:40 -0000)]
update my info
svn path=/trunk/mono/; revision=17104
Miguel de Icaza [Wed, 6 Aug 2003 05:20:58 +0000 (05:20 -0000)]
2003-08-06 Miguel de Icaza <miguel@ximian.com>
* codegen.cs (GetTemporaryLocal, FreeTemporaryLocal): Recycle
these bad boys.
svn path=/trunk/mcs/; revision=17102
Juli Mallett [Wed, 6 Aug 2003 04:32:29 +0000 (04:32 -0000)]
Start settling in to Honolulu, Hawai`i.
svn path=/trunk/mono/; revision=17099
Martin Baulig [Wed, 6 Aug 2003 03:01:01 +0000 (03:01 -0000)]
Small fix for static methods.
svn path=/trunk/mono/; revision=17097
Duncan Mak [Wed, 6 Aug 2003 02:52:26 +0000 (02:52 -0000)]
What's going on with the letter c today?
svn path=/trunk/mcs/; revision=17096
Duncan Mak [Wed, 6 Aug 2003 02:49:44 +0000 (02:49 -0000)]
beh, again.
svn path=/trunk/mcs/; revision=17095
Duncan Mak [Wed, 6 Aug 2003 02:47:27 +0000 (02:47 -0000)]
beh.
svn path=/trunk/mcs/; revision=17094
Duncan Mak [Wed, 6 Aug 2003 02:46:42 +0000 (02:46 -0000)]
(GetTokenIndex): Add implementation for
IBuiltInPermission for Sebastien.
svn path=/trunk/mcs/; revision=17093
Miguel de Icaza [Wed, 6 Aug 2003 02:27:53 +0000 (02:27 -0000)]
Flush
svn path=/trunk/mcs/; revision=17092
Sebastien Pouliot [Wed, 6 Aug 2003 02:21:40 +0000 (02:21 -0000)]
2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
* CryptoStreamTest.cs: Added test case from bugzilla #40689 from
Henning Westerholt.
svn path=/trunk/mcs/; revision=17091
Sebastien Pouliot [Wed, 6 Aug 2003 02:21:05 +0000 (02:21 -0000)]
2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
* CryptoStream.cs: Closing bug #40689. The Write method was re-written.
* SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
test) and corrected a bug in FinalDecrypt.
* RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
and 1.1.
svn path=/trunk/mcs/; revision=17090
Martin Baulig [Wed, 6 Aug 2003 02:15:21 +0000 (02:15 -0000)]
2003-08-06 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c: Added support for static fields,
properties and methods.
svn path=/trunk/mono/; revision=17088
Miguel de Icaza [Wed, 6 Aug 2003 01:24:45 +0000 (01:24 -0000)]
2003-08-05 Miguel de Icaza <miguel@ximian.com>
* codegen.cs (RemapLocal, RemapLocalLValue, RemapParameter,
RemapParameterLValue): New methods that are used to turn a
precomputed FieldInfo into an expression like this:
instance.FieldInfo
The idea is to use this instead of making LocalVariableReference
have more than one meaning.
* cs-parser.jay: Add error production to BASE.
* ecore.cs: Deal with TypeManager.GetField returning null, which
is now a valid return value.
(FieldExprNoAddress): New expression for Fields whose address can
not be taken.
* expression.cs (LocalVariableReference): During the resolve
phases, create new expressions if we are in a remapping context.
Remove code that dealt with remapping here.
(ParameterReference): same.
(ProxyInstance): New expression, like the `This' expression, but
it is born fully resolved. We know what we are doing, so remove
the errors that are targeted to user-provided uses of `this'.
* statement.cs (Foreach): our variable is now stored as an
Expression; During resolution, follow the protocol, dont just
assume it will return this.
svn path=/trunk/mcs/; revision=17087
Martin Baulig [Wed, 6 Aug 2003 01:03:57 +0000 (01:03 -0000)]
2003-08-06 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c: Don't store the MonoString's vtable to
make this work for applications with multiple application domains.
svn path=/trunk/mono/; revision=17085
Duncan Mak [Wed, 6 Aug 2003 00:34:49 +0000 (00:34 -0000)]
* ZoneMembershipCondition.cs: Added.
* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
headers do not match.
svn path=/trunk/mcs/; revision=17083
Duncan Mak [Wed, 6 Aug 2003 00:03:52 +0000 (00:03 -0000)]
* IsolatedStorageFilePermission.cs:
* RegistryPermission.cs:
* SecurityPermission.cs
* SiteIdentityPermission.cs:
* UIPermission.cs:
* UrlIdentityPermission.cs: (FromXml);
(ToXml): Implemented.
* PolicyStatement.cs (FromXml):
(ToXml): Implemented.
svn path=/trunk/mcs/; revision=17082
Martin Baulig [Tue, 5 Aug 2003 23:44:24 +0000 (23:44 -0000)]
2003-08-05 Martin Baulig <martin@ximian.com>
* StreamReader.cs (DiscardBufferedData): Do the same like on the
ms runtime: just discard the buffered data, but don't modify the
BaseStream.Position.
svn path=/trunk/mcs/; revision=17081
Martin Baulig [Tue, 5 Aug 2003 23:43:05 +0000 (23:43 -0000)]
2003-08-06 Martin Baulig <martin@ximian.com>
* support.cs (SeekableStreamReader.cs): New public class.
* cs-tokenizer.cs, cs-parser.jay, driver.cs: Use the new
SeekableStreamReader instead of the normal StreamReader.
svn path=/trunk/mcs/; revision=17080
Ben Maurer [Tue, 5 Aug 2003 21:24:43 +0000 (21:24 -0000)]
2003-08-05 Ben Maurer <bmaurer@users.sourceforge.net>
* XslVariable.cs: Fix up how variables are evaluated.
svn path=/trunk/mcs/; revision=17078
Martin Baulig [Tue, 5 Aug 2003 20:21:27 +0000 (20:21 -0000)]
2003-08-05 Martin Baulig <martin@ximian.com>
* MonoSymbolTable.cs (MethodEntry.Index): New public field.
svn path=/trunk/mcs/; revision=17077
Martin Baulig [Tue, 5 Aug 2003 20:19:38 +0000 (20:19 -0000)]
2003-08-05 Martin Baulig <martin@ximian.com>
* StreamReader.cs (DiscardBufferedData): This is only allowed on
seekable streams.
svn path=/trunk/mcs/; revision=17076
Lluis Sanchez [Tue, 5 Aug 2003 17:22:50 +0000 (17:22 -0000)]
* XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
stuff.
* SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
* TypeData.cs: Added property that returns a TypeData that represents an array of
the given TypeData.
* TypeTranslator.cs: Added GetArrayName() method.
Added TypeDatas for missing primitive types.
* XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
XmlRootAttribute. Added the namespace to all attributes being generated.
Other fixes in the generation of code.
* XmlReflectionImporter: store the namespace of the type in the maps.
* XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
class can generate text. Do not export inherited attributes of a class.
Use the new root namespace stored in the map when generating the root element.
* XmlSerializationWriter: Always write a prefix when writing a qname, even if the
namespace is the default namespace.
* XmlSerializationWriterInterpreter.cs: fixed missing "else".
* XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
namespace instead of the map namespace (which can be different if the type
has a XmlRoot element).
* XmlTypeMapMember.cs: Set the default value of the DefaultValue property
to System.DBNull.Value.
* XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
the collection if it has not yet been created.
* XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
of the type. It may be different from the namespace of the map if the type
has a XmlRoot element. Also added IsSimpleType property.
In ClassMap, added AllMembers property.
svn path=/trunk/mcs/; revision=17075
Lluis Sanchez [Tue, 5 Aug 2003 17:13:49 +0000 (17:13 -0000)]
* XmlSchema.cs: Set IsCompiled to true after compiling.
In Compile(): ignore included schemas that do not have a value
in SchemaLocation. It means that FindElement can return null
if the referred schema was ignored. Added check for that case.
Compile schema after reading it.
* XmlSchemaCollection.cs: The targetNamespace of a schema may
be null. Make XmlSchemaCollection work for this case.
* BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
types: float, base64Binary, boolean.
svn path=/trunk/mcs/; revision=17074
Atsushi Eno [Tue, 5 Aug 2003 16:17:37 +0000 (16:17 -0000)]
2003-08-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlReaderCommonTests.cs : Its XmlValidatingReader.EntityHandling
should be ExpandCharEntities.
* XmlValidatingReaderTests.cs : added ResolveEntity(),
ResolveEntity2() and ResolveEntityWithoutDTD().
svn path=/trunk/mcs/; revision=17073
Atsushi Eno [Tue, 5 Aug 2003 16:09:57 +0000 (16:09 -0000)]
2003-08-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDValidatingReader.cs :
Added full ExpandEntities support for text node and entity reference
node (although require many usage tests). Almost all methods and
properties now have currentTextValue != null check, that field means
that there are cached (entity-resolved) text.
Implemented default attribute aware XmlLang and XmlSpace.
* XmlNodeReader.cs : ResolveEntity() should not require DTD.
svn path=/trunk/mcs/; revision=17072
Lluis Sanchez [Tue, 5 Aug 2003 15:49:26 +0000 (15:49 -0000)]
* CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
svn path=/trunk/mcs/; revision=17071
Lluis Sanchez [Tue, 5 Aug 2003 15:46:57 +0000 (15:46 -0000)]
* CodeGenerator.cs: Generate comments for properties and fields.
Write a line separator between type declarations.
svn path=/trunk/mcs/; revision=17070
Paolo Molaro [Tue, 5 Aug 2003 10:32:07 +0000 (10:32 -0000)]
Tue Aug 5 12:21:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
* cprop.c, mini-x86.c, cpu-pentium.md: fix buglets spotted
by Laurent Morichetti <l_m@pacbell.net>. Disabled local cprop
until it's fixed and actually useful.
svn path=/trunk/mono/; revision=17069
Nick Drochak [Tue, 5 Aug 2003 07:09:20 +0000 (07:09 -0000)]
2003-08-05 Nick Drochak <ndrochak@gol.com>
* IClassRef.cs: Fix build on .NET
svn path=/trunk/mcs/; revision=17068
Duncan Mak [Tue, 5 Aug 2003 04:27:47 +0000 (04:27 -0000)]
2003-08-04 Duncan Mak <duncan@ximian.com>
* IConstantMembershipCondition.cs: added.
svn path=/trunk/mcs/; revision=17067
Miguel de Icaza [Tue, 5 Aug 2003 03:59:28 +0000 (03:59 -0000)]
Flush
svn path=/trunk/mono/; revision=17066
Duncan Mak [Tue, 5 Aug 2003 03:08:44 +0000 (03:08 -0000)]
* AllMembershipCondition.cs:
* ApplicationDirectoryMembershipCondition.cs:
* PublisherMembershipCondition.cs: Added
IConstantMembershipCondition marker interface.
svn path=/trunk/mcs/; revision=17065
Miguel de Icaza [Tue, 5 Aug 2003 01:40:04 +0000 (01:40 -0000)]
Flush
svn path=/trunk/mono/; revision=17064
Alexandre Pigolkine [Mon, 4 Aug 2003 22:40:27 +0000 (22:40 -0000)]
keep loaded image buffer for a moment
svn path=/trunk/mcs/; revision=17063
Ben Maurer [Mon, 4 Aug 2003 22:05:24 +0000 (22:05 -0000)]
2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
* XslMessage.cs: Implement.
svn path=/trunk/mcs/; revision=17061
Ben Maurer [Mon, 4 Aug 2003 21:54:23 +0000 (21:54 -0000)]
2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
* XslText.cs: I can make that parsing simpler!
* XslText.cs, XslValueof.cs: support for disable-output-escaping.
svn path=/trunk/mcs/; revision=17060
Ben Maurer [Mon, 4 Aug 2003 21:52:48 +0000 (21:52 -0000)]
type s/null/""
svn path=/trunk/mcs/; revision=17059
Ben Maurer [Mon, 4 Aug 2003 21:33:23 +0000 (21:33 -0000)]
2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
* Compiler.cs: Add support for boolean attributes (yes/no).
svn path=/trunk/mcs/; revision=17058
Duncan Mak [Mon, 4 Aug 2003 20:48:19 +0000 (20:48 -0000)]
* FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
floating point values. This fixes bug #46175.
* FloatingPointFormatterTest.cs: New file. Added with one test by
Aleksey Demakov <avd@openlinksw.com>.
svn path=/trunk/mcs/; revision=17057
Duncan Mak [Mon, 4 Aug 2003 20:28:59 +0000 (20:28 -0000)]
* Convert.cs (ToUInt16): Throw an OverflowException correctly, as
noted by c5n4kh6u02@sneakemail.com in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.
* ConvertTest.cs (TestToUInt16): Add a new case noted by
c5n4kh6u02@sneakemail.com in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.
svn path=/trunk/mcs/; revision=17056
Duncan Mak [Mon, 4 Aug 2003 16:20:16 +0000 (16:20 -0000)]
2003-08-04 Duncan Mak <duncan@ximian.com>
* StrongNamePublicKeyBlob.cs (FromString): Added new internal
factory method to create a new blob from a string.
2003-08-03 Duncan Mak <duncan@ximian.com>
* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: Implemented.
2003-08-01 Duncan Mak <duncan@ximian.com>
* PolicyStatement.cs (Copy): Added.
* PolicyLevel.cs: Implemented missing methods.
svn path=/trunk/mcs/; revision=17055
Malte Hildingson [Mon, 4 Aug 2003 14:25:50 +0000 (14:25 -0000)]
* configure.in: updated, neater ARM FPU test.
svn path=/trunk/mono/; revision=17054
Martin Baulig [Mon, 4 Aug 2003 13:47:44 +0000 (13:47 -0000)]
2003-08-04 Martin Baulig <martin@ximian.com>
* Makefile: Put back test-211.cs.
svn path=/trunk/mcs/; revision=17053
Martin Baulig [Mon, 4 Aug 2003 13:45:52 +0000 (13:45 -0000)]
2003-08-04 Martin Baulig <martin@ximian.com>
* cs-parser.jay (CLOSE_PARENS_CAST, CLOSE_PARENS_NO_CAST,
CLOSE_PARENS_OPEN_PARENS, CLOSE_PARENS_MINUS): New tokens to
deambiguate casts and delegate invocations.
(parenthesized_expression): Use the new tokens to ensure this is
not a cast of method invocation.
* cs-tokenizer.cs (is_punct): Return one of the new special tokens
when reading a `)' and Deambiguate_CloseParens () was previously
called.
* expression.cs (ParenthesizedExpression): New class. This is
just used for the CS0075 test.
(Binary.DoResolve): Check for CS0075.
svn path=/trunk/mcs/; revision=17052
Martin Baulig [Mon, 4 Aug 2003 13:32:10 +0000 (13:32 -0000)]
2003-08-04 Martin Baulig <martin@ximian.com>
* StreamReader.cs (DiscardBufferedData): Implemented.
svn path=/trunk/mcs/; revision=17051
Martin Baulig [Mon, 4 Aug 2003 13:12:48 +0000 (13:12 -0000)]
2003-08-04 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c: Completely reworked the type support; the
most important thing is that we're now just using one single
`MonoType' instance per type.
svn path=/trunk/mono/; revision=17049
Paolo Molaro [Mon, 4 Aug 2003 10:22:15 +0000 (10:22 -0000)]
Mon Aug 4 12:12:26 CEST 2003 Paolo Molaro <lupus@ximian.com>
* inssel-long32.brg: couple more opcodes implemented.
svn path=/trunk/mono/; revision=17046
Miguel de Icaza [Mon, 4 Aug 2003 10:09:49 +0000 (10:09 -0000)]
Fix from J�rg Rosenkranz <joergr@voelcker.com>
svn path=/trunk/mcs/; revision=17045
Jackson Harper [Mon, 4 Aug 2003 06:58:50 +0000 (06:58 -0000)]
* ILParser.jay: Use new sentinel type. Create valuetypes.
svn path=/trunk/mcs/; revision=17044
Jackson Harper [Mon, 4 Aug 2003 06:58:12 +0000 (06:58 -0000)]
Add sentinel
svn path=/trunk/mcs/; revision=17043
Jackson Harper [Mon, 4 Aug 2003 06:57:47 +0000 (06:57 -0000)]
* IClassRef.cs: Add method for making types into value types
* ExternTypeRef.cs: Add functionality for valuetypes
* MethodDef.cs: Handle Vararg signatures individually. Fixes for
new Sentinel type in vararg signatures
* MethodRef.cs: Use new SentinelTypeRef instead of Sentinel type
ref constant.
* ParamDef.cs: New method to check if this parameter is the sentinel
* TypeRef.cs: Add some functionality for creating valuetypes
* Sentinel.cs: New type represents the sentinel
svn path=/trunk/mcs/; revision=17042
Jackson Harper [Mon, 4 Aug 2003 06:43:34 +0000 (06:43 -0000)]
* PEAPI.cs: New Sentinel type.
svn path=/trunk/mcs/; revision=17041
Ben Maurer [Mon, 4 Aug 2003 04:28:11 +0000 (04:28 -0000)]
2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
* Compiler.cs: Add method LocalNameOf, to get the local name of a
string.
* XslTransformProcessor.cs: Support for setting the XmlResolver.
* XslElement.cs, XslAttribute.cs: Better support for namespaces.
* XslAvt.cs: When precalculating, if the AVT is null (ie, the
attribute was not specified), just return null, that will be the
result.
* ManagedXslTransform.cs: use the resolver given.
svn path=/trunk/mcs/; revision=17040
Gonzalo Paniagua Javier [Mon, 4 Aug 2003 00:16:11 +0000 (00:16 -0000)]
forgot this one
svn path=/trunk/mcs/; revision=17038
Sebastien Pouliot [Mon, 4 Aug 2003 00:14:44 +0000 (00:14 -0000)]
2003-08-03 Sebastien Pouliot <spouliot@videotron.ca>
* EnvironmentPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 0.
* FileDialogPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 1.
* IsolatedStorageFilePermission.cs: Added IBuiltInPermission.
GetTokenIndex. Returns 3.
* PrincipalPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 8.
* PublisherIdentityPermission.cs: Added IBuiltInPermission.
GetTokenIndex. Returns 9.
* ReflectionPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 4.
* RegistryPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 5.
* SecurityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 6.
* SiteIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 10.
* StrongNameIdentityPermission.cs: Added [Serializable] and
IBuiltInPermission.GetTokenIndex. Returns 11.
* UIPermission.cs: Added IBuiltInPermission.GetTokenIndex. Returns 7.
* UrlIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 12.
* ZoneIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
Returns 13.
svn path=/trunk/mcs/; revision=17037
Gonzalo Paniagua Javier [Mon, 4 Aug 2003 00:11:17 +0000 (00:11 -0000)]
2003-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ArrayList.cs: added / so that gvim syntax highlight doesn't go crazy.
* CollectionBase.cs: fixed several bugs reported by Carlos Barcenilla
(barce@frlp.utn.edu.ar). Most of the patch is also his.
svn path=/trunk/mcs/; revision=17036
Gonzalo Paniagua Javier [Mon, 4 Aug 2003 00:05:26 +0000 (00:05 -0000)]
2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CollectionBaseTet.cs: added a few more tests. Now derives from
Assertion.
svn path=/trunk/mcs/; revision=17035
Gonzalo Paniagua Javier [Sun, 3 Aug 2003 23:55:48 +0000 (23:55 -0000)]
2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CollectionBaseTet.cs: added a few more tests. Now derives from
Assertion.
svn path=/trunk/mcs/; revision=17034
Sebastien Pouliot [Sun, 3 Aug 2003 23:04:36 +0000 (23:04 -0000)]
2003-08-03 Sebastien Pouliot <spouliot@videotron.ca>
* corlib.dll.sources: Added IBuiltInPermission.cs to System.Security.Permissions
svn path=/trunk/mcs/; revision=17033
Sebastien Pouliot [Sun, 3 Aug 2003 22:59:21 +0000 (22:59 -0000)]
2003-08-03 Sebastien Pouliot <spouliot@videotron.ca>
* IBuiltInPermission.cs: New. Undocumented interface used by most
<*>Permission classes.
svn path=/trunk/mcs/; revision=17032
Alexandre Pigolkine [Sun, 3 Aug 2003 22:17:48 +0000 (22:17 -0000)]
RadioButton painting in OnPaint
svn path=/trunk/mcs/; revision=17031
Jerome Laban [Sun, 3 Aug 2003 22:14:05 +0000 (22:14 -0000)]
2003-08-04 Jerome Laban <jlaban@wanadoo.fr>
* IPHostEntry.cs: Default contructor must not initialize members.
(Fixes bug #45575).
svn path=/trunk/mcs/; revision=17030
Alexandre Pigolkine [Sun, 3 Aug 2003 22:13:40 +0000 (22:13 -0000)]
delegate Dispose to implementation
svn path=/trunk/mcs/; revision=17029
Malte Hildingson [Sun, 3 Aug 2003 20:30:10 +0000 (20:30 -0000)]
* configure.in: added FPU test for ARM.
* mono-endian.h: changed to utilise the new ARM FPU defines.
svn path=/trunk/mono/; revision=17027
Jackson Harper [Sun, 3 Aug 2003 18:33:28 +0000 (18:33 -0000)]
* PEAPI.cs: Only give method definitions 0 RVAs if they are
marked abstract.
svn path=/trunk/mcs/; revision=17026
Jackson Harper [Sun, 3 Aug 2003 18:31:03 +0000 (18:31 -0000)]
* ILParser.jay: Make value types and enum types.
svn path=/trunk/mcs/; revision=17025
Jackson Harper [Sun, 3 Aug 2003 18:29:02 +0000 (18:29 -0000)]
* TypeDef.cs: Make types into value types if specified. Also
add the functionality to make types into Enums.
TODO: Value types of nested classes.
svn path=/trunk/mcs/; revision=17024
Gonzalo Paniagua Javier [Sun, 3 Aug 2003 17:01:27 +0000 (17:01 -0000)]
2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fixed bug #46429.
svn path=/trunk/mcs/; revision=17023
Jackson Harper [Sun, 3 Aug 2003 16:01:35 +0000 (16:01 -0000)]
* LabelInfo.cs: Move this type outside of MethodDef, because other
types use LabelInfos for label references now.
* BranchInstr.cs: Take a LabelInfo instead of information on a label.
* HandlerBlock.cs: Take a LabelInfo instead of information on a label.
* MethodDef.cs: Return LabelInfo from AddLabel methods. New method for
adding a reference to a label.
svn path=/trunk/mcs/; revision=17022
Jackson Harper [Sun, 3 Aug 2003 16:00:09 +0000 (16:00 -0000)]
Add LabelInfo to build
svn path=/trunk/mcs/; revision=17021
Jackson Harper [Sun, 3 Aug 2003 15:59:39 +0000 (15:59 -0000)]
* ILParser.jay: Create label references where appropriate instead
of adding labels.
svn path=/trunk/mcs/; revision=17020
Jackson Harper [Sun, 3 Aug 2003 15:50:37 +0000 (15:50 -0000)]
* NumberHelper.cs: All numbers should allways be Int64
svn path=/trunk/mcs/; revision=17019
Jackson Harper [Sun, 3 Aug 2003 15:43:19 +0000 (15:43 -0000)]
* PEAPI.cs: Offsets are not explicit offsets, they are just
byte offsets from the current position.
svn path=/trunk/mcs/; revision=17018
Gonzalo Paniagua Javier [Sun, 3 Aug 2003 15:27:56 +0000 (15:27 -0000)]
The set of /nowarn arguments is now set on a per library basis
svn path=/trunk/mcs/; revision=17017
Atsushi Eno [Sun, 3 Aug 2003 14:38:55 +0000 (14:38 -0000)]
2003-08-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDValidatingReader.cs,
XmlNodeReader.cs,
XmlReader.cs,
XmlTextReader.cs,
XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
svn path=/trunk/mcs/; revision=17016
Gonzalo Paniagua Javier [Sun, 3 Aug 2003 13:46:00 +0000 (13:46 -0000)]
Excluded these 2 files. Fixed compilation.
svn path=/trunk/mcs/; revision=17015
Malte Hildingson [Sun, 3 Aug 2003 10:55:41 +0000 (10:55 -0000)]
* Double.cs, ILGenerator.cs: changed unsafe reference
parameter to `out' parameter.
svn path=/trunk/mcs/; revision=17013
Atsushi Eno [Sun, 3 Aug 2003 06:30:38 +0000 (06:30 -0000)]
2003-08-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDObjectModel.cs : Added BaseURI (but not used yet).
DTDAttListDeclaration.ctro() now requires root dtd object model.
* DTDValidatingReader.cs : Read() now expands EntityReference if
entity handling of validating reader is ExpandEntities.
* XmlReader.cs,
XmlTextReader.cs,
XmlNodeReader.cs,
XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
ReadOuterXml which are modified in MS.NET 1.1.
* XmlConstructs.cs : added int version of IsValid, IsInvalid,
IsContent, IsMarkup and IsNCNameStart.
Fixed int version of IsXXX() to check array index range.
Added IsValidName (string).
* XmlTextReader.cs :
- Read() handles document with non document element as an error.
- ReadText() and ReadCharacterReference() checkes illegal characters.
- ReadEntityReference() checks name validity.
- ReadProcessingInstruction() rejects such name that starts with
"xml" ignoring case, and checks attributes more strictly.
- ReadDeclaration() rejects unrecognized kind of declaration.
- In many places, added "required whitespace" check in DTD markup.
- DTD content model now disallows mixing use of '|' and ','.
svn path=/trunk/mcs/; revision=17012
Duncan Mak [Sun, 3 Aug 2003 06:24:59 +0000 (06:24 -0000)]
* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: Implemented.
svn path=/trunk/mcs/; revision=17011
Alexandre Pigolkine [Sun, 3 Aug 2003 01:57:42 +0000 (01:57 -0000)]
small change to previous commit
svn path=/trunk/mcs/; revision=17010
Alexandre Pigolkine [Sun, 3 Aug 2003 01:35:49 +0000 (01:35 -0000)]
CheckBox painting, mask for subclassed control messages, Message properties
svn path=/trunk/mcs/; revision=17009
Jackson Harper [Sat, 2 Aug 2003 17:04:37 +0000 (17:04 -0000)]
* ExternMethodRef.cs: Remove top secret debugging code.
* MethodDef.cs: Less elegant but more bugfree method of doing explicit
offsets for labels. Just put the offset labels in another list and
define them in another loop.
svn path=/trunk/mcs/; revision=17007
Jackson Harper [Sat, 2 Aug 2003 16:17:11 +0000 (16:17 -0000)]
* IMethodRef.cs: Method refs should expose their call conv. This is
needed so the call conv can be modified for the newobj operation which
is implicitly instance.
* ExternMethodRef.cs: Expose call conv. Don't resolve vararg methods
more then once.
* GlobalMethodRef.cs: Expose call conv
* TypeSpecMethodRef.cs: Expose call conv
* MethodInstr.cs: For newobj operations set the call conv to instance
svn path=/trunk/mcs/; revision=17005