mono.git
20 years ago2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Sep 2003 00:40:11 +0000 (00:40 -0000)]
2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: don't process code render tags inside scripts. Check
the language of the script and treat javascript as verbatim input.
Fixes bug #48592.

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

20 years ago2003-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Sep 2003 00:10:14 +0000 (00:10 -0000)]
2003-09-22  Martin Baulig  <martin@ximian.com>

* errors.txt: Added -219.

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

20 years ago2003-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Sep 2003 00:07:07 +0000 (00:07 -0000)]
2003-09-22  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.ResolveAsTypeCheck): Check whether
all type arguments meet their constraints.

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

20 years ago2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 23:53:29 +0000 (23:53 -0000)]
2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: store unique IDs for controls requiring postback. Fixes bug
#47985.

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

20 years ago * PEAPI.cs: sigh, sometimes it is best to calculate variables
Jackson Harper [Sun, 21 Sep 2003 22:28:32 +0000 (22:28 -0000)]
    * PEAPI.cs: sigh, sometimes it is best to calculate variables
before using them. This fixes PEAPI creating broken images when
the sdata section is used.

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

20 years agoso *this* is why c# has definate assignment@
Ben Maurer [Sun, 21 Sep 2003 20:02:17 +0000 (20:02 -0000)]
so *this* is why c# has definate assignment@

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

20 years agomaking optimizatons in preperation for Jackson's jay patch
Ben Maurer [Sun, 21 Sep 2003 19:22:37 +0000 (19:22 -0000)]
making optimizatons in preperation for Jackson's jay patch

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

20 years agoFontDialog sample added
Alexandre Pigolkine [Sun, 21 Sep 2003 17:13:05 +0000 (17:13 -0000)]
FontDialog sample added

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

20 years agosmall fix to FontDialog.cs
Alexandre Pigolkine [Sun, 21 Sep 2003 17:09:27 +0000 (17:09 -0000)]
small fix to FontDialog.cs

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 15:49:51 +0000 (15:49 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 15:39:01 +0000 (15:39 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
bug #48671.

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

20 years agoFlush
Miguel de Icaza [Sun, 21 Sep 2003 15:31:36 +0000 (15:31 -0000)]
Flush

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:13:02 +0000 (08:13 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReaderTests.cs : Oops, it was CRLF injected ;-)

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:11:05 +0000 (08:11 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlReaderCommonTests.cs : Added ProhibitedMultipleAttributes().
  Fixed ReadAttributeValue(). Now I think it is MS.NET XmlTextReader
  which is rather buggy than their XmlNodeReader.
* XmlTextReaderTests.cs : Added IfNamespacesThenProhibitedAttributes()
  and trivial messagefix.

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:05:31 +0000 (08:05 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs :
  - Fix for bugzilla #48337 (containing Ben's advice on that).
  - Added internal XmlTokenInfo classes. Nodes are now handled as token
    objects (linked node, attributes and attribute values). Most of the
    node state properties and iterating methods are changed to refer to
    the token classes (except for value builder availability). Removed
    fields which are never used. CompileDTDSubset() is changed in
    reflection to nodeType field removal.
  - Fixed Depth that should vary in moving between attributes and/or
    reading attribute values.
  - LineNumber and LinePosition now returns more correct location.
  - Fixed Value that should still return true if its value is an empty
    attribute value string.
  - EntityValue is checked WFC constraints even thoug it is not used.
  - All .ctor() now initializes ReadState as Initial.
  - Read() should be available for attribute value constructor.
* XmlAttribute.cs : set_InnerXml() now calls reader's Read().

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 07:17:05 +0000 (07:17 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNamespaceManager.cs: PopScope() must retain those namespaces which
  are added in the scope before PushScope() was called.

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

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

* XmlNamespaceManagerTests.cs : Added PopScopeMustKeepAddedInScope().

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 03:37:27 +0000 (03:37 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs: small fix needed when reading big POST
data.
* System.Web.Compilation/CachingCompiler.cs: nothing interesting.
* System.Web.UI/SimpleWebHandlerParser.cs: add the ashx/asmx file
itself to the dependencies so that it's recompiled when changed.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 03:31:56 +0000 (03:31 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: We are little bit closer to the spec on
StringLiteral definition.

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

20 years agocheckin for Herv Poussineau <poussine@freesurf.fr>.
Alexandre Pigolkine [Sun, 21 Sep 2003 02:13:45 +0000 (02:13 -0000)]
checkin for Herv Poussineau <poussine@freesurf.fr>.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 02:06:27 +0000 (02:06 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: One line patch, the beauty of tests :-)

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

20 years agoswitch to Unix line terminators
Alexandre Pigolkine [Sun, 21 Sep 2003 01:55:41 +0000 (01:55 -0000)]
switch to Unix line terminators

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

20 years ago2 files removed
Alexandre Pigolkine [Sun, 21 Sep 2003 01:45:49 +0000 (01:45 -0000)]
2 files removed

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

20 years ago2 files removed from Printing namespace
Alexandre Pigolkine [Sun, 21 Sep 2003 01:45:20 +0000 (01:45 -0000)]
2 files removed from Printing namespace

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

20 years agocheckin for Jordi Mas i Hernndez <jmas@softcatala.org> : Initial FileDialog Box imple...
Alexandre Pigolkine [Sun, 21 Sep 2003 01:32:14 +0000 (01:32 -0000)]
checkin for Jordi Mas i Hernndez <jmas@softcatala.org> : Initial FileDialog Box implementation

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 00:44:08 +0000 (00:44 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: Build ast for FunctionExpression.

* JSObject.cs: we don't throw NotImplementedException anymore,
this let us use FunctionExpression to build the ast.

* FunctionExpression.cs: Added a FunctionObject as field, a
default constructor.

* FunctionObject.cs: Added default constructor.

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

20 years ago * TypeDef.cs: Rework so multiple constraints can be added to a
Jackson Harper [Sun, 21 Sep 2003 00:17:16 +0000 (00:17 -0000)]
    * TypeDef.cs: Rework so multiple constraints can be added to a
generic parameter.

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

20 years ago * PEAPI.cs: Rework to allow multiple constraints to be added to a
Jackson Harper [Sun, 21 Sep 2003 00:15:15 +0000 (00:15 -0000)]
    * PEAPI.cs: Rework to allow multiple constraints to be added to a
single generic parameter.

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

20 years agodl to diacanvas should be else where
Martin Willemoes Hansen [Sat, 20 Sep 2003 23:28:54 +0000 (23:28 -0000)]
dl to diacanvas should be else where

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 23:23:50 +0000 (23:23 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
lists and removes uses of Hashtable. Results in huge speed gains.

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

20 years ago2003-04-26 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 20 Sep 2003 23:21:54 +0000 (23:21 -0000)]
2003-04-26  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
    they works as direct casting from GetValue.

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

20 years agoAdded diacanvas
Martin Willemoes Hansen [Sat, 20 Sep 2003 23:21:40 +0000 (23:21 -0000)]
Added diacanvas

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

20 years agoNew test multiple catch blocks
Jackson Harper [Sat, 20 Sep 2003 22:44:13 +0000 (22:44 -0000)]
New test multiple catch blocks

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

20 years agoNew test uses two seh filters
Jackson Harper [Sat, 20 Sep 2003 22:31:02 +0000 (22:31 -0000)]
New test uses two seh filters

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 20:30:16 +0000 (20:30 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Attribute.cs: Change to struct. Remove QName class.
* GenericOutputter.cs: use an Attribute [] rather than an
ArrayList. Allows us not to allocate Attributes, which is great
for speed. Roll our own allocation.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 17:34:44 +0000 (17:34 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* driver.cs: Deleted the Jsc class. We are not generating code
now. I'm moving to provide something like mcs's EmitContext
instead of the CodeGenerator class having the Reflection.Emit
builders and ILGenerator. This driver is just for Lexical and
Parsing phases testing.

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

20 years agoSwitch to divide by zero exception, make sure exception is thrown
Jackson Harper [Sat, 20 Sep 2003 17:21:03 +0000 (17:21 -0000)]
Switch to divide by zero exception, make sure exception is thrown

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 17:00:30 +0000 (17:00 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs: add GetNsm to main class as well.
* XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:36:42 +0000 (16:36 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Pattern.cs: Typo, when i got //a i was giving off /
* LocationPathPattern.cs: Append to the tail, not head.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:34:55 +0000 (16:34 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs (ParseAvtAttribute): Get the attribue using our
internal version so we get null if the attr doesnt exist.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:29:40 +0000 (16:29 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Expression.cs: num != double.NaN does not work.

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

20 years agopop exception object off stack
Jackson Harper [Sat, 20 Sep 2003 08:05:16 +0000 (08:05 -0000)]
pop exception object off stack

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 07:54:29 +0000 (07:54 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* driver.cs: Now we are using the Microsoft.JScript public API
functions to load the lexer and parser.

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

20 years agochangelog entry
César Natarén [Sat, 20 Sep 2003 07:44:11 +0000 (07:44 -0000)]
changelog entry

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 07:42:37 +0000 (07:42 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* ScriptBlock.cs,Block.cs: Added ToString function.

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

20 years agoupdates from the grammar
César Natarén [Sat, 20 Sep 2003 07:03:16 +0000 (07:03 -0000)]
updates from the grammar

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

20 years agojaja, forgot to commit this
César Natarén [Sat, 20 Sep 2003 06:56:31 +0000 (06:56 -0000)]
jaja, forgot to commit this

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

20 years agoleave try block
Jackson Harper [Sat, 20 Sep 2003 06:55:41 +0000 (06:55 -0000)]
leave try block

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 06:33:41 +0000 (06:33 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Block.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionExpression.cs, Import.cs, In.cs, InstanceOf.cs,
Literal.cs, NumericBinary.cs, NumericUnary.cs, Package.cs,
Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
Statement.cs, StrictEquality.cs, StringLiteral.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs, ast.cs,
: erased Visit method and made some mono indentation style changes.

* CodeGenerator.cs: commented some function calls.
* FunctionDeclaration.cs: moved function attributes to
FunctionObject class, erased Visit method.
* FunctionObject.cs: Here is where we store a function
expression/declaration info, erased Visit method.
* ScriptBlock.cs: Added a Block field, Block will contain the
source elements.
* jscript-lexer-parser.g: updated the grammar to build the program
representation based on ScriptBlock.

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

20 years ago * dis-cil.c: Output fault blocks, and filter blocks. If in a
Jackson Harper [Sat, 20 Sep 2003 05:06:58 +0000 (05:06 -0000)]
    * dis-cil.c: Output fault blocks, and filter blocks. If in a
filter block outptut 0xDC as endfilter if in a fault output as
endfault.

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

20 years ago * icall.c: Timezone patch from Zoltan Varga
Jackson Harper [Sat, 20 Sep 2003 04:50:17 +0000 (04:50 -0000)]
    * icall.c: Timezone patch from Zoltan Varga
          (vargaz@freemail.hu)

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

20 years ago2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 03:19:51 +0000 (03:19 -0000)]
2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslCopyOf.cs: handle attributes.

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

20 years ago NaN.ToString () != INF.
Ben Maurer [Sat, 20 Sep 2003 03:18:21 +0000 (03:18 -0000)]
 NaN.ToString () != INF.

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

20 years ago2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 03:11:42 +0000 (03:11 -0000)]
2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>

* Expression.cs: in NodeTypeTest dont throw an exception if it is
an unknown node type (allows for better Pattern debugging)

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

20 years ago2003-09-19 <cesar@ciencias.unam.mx>
César Natarén [Fri, 19 Sep 2003 18:43:08 +0000 (18:43 -0000)]
2003-09-19    <cesar@ciencias.unam.mx>

* JSToken.cs: public API compliance.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 18:27:54 +0000 (18:27 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

        * FontInfo.cs: fixed Name property as suggested by Rich Alimi
<rich@velvetsea.net>.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 07:05:11 +0000 (07:05 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: fixed bug #48212.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 06:14:35 +0000 (06:14 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BinaryReader.cs: return the correct number of bytes read when there
are some bytes from peeking.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 02:24:01 +0000 (02:24 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: don't call check_env from mono_assembly_load. It's
already done once in mono_assemblies_init and may cause headaches when
multiple threads are loading assemblies.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 23:16:09 +0000 (23:16 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* gen-10.cs: New generics test.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 23:09:16 +0000 (23:09 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_define_generic_parameter): Don't
allocate `klass->methods', set `klass->flags' to
TYPE_ATTRIBUTE_INTERFACE, not TYPE_ATTRIBUTE_ABSTRACT.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 22:49:42 +0000 (22:49 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument.  Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 22:43:53 +0000 (22:43 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument.  Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 21:42:51 +0000 (21:42 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 21:32:12 +0000 (21:32 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 18:12:18 +0000 (18:12 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebServiceCompiler.cs: remove the temporary files here too.

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

20 years agoAdded new genxs tool in monobins_DATA
Lluis Sanchez [Thu, 18 Sep 2003 16:27:54 +0000 (16:27 -0000)]
Added new genxs tool in monobins_DATA

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 15:49:34 +0000 (15:49 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* gen-9.cs: New generics test.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 15:40:40 +0000 (15:40 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): Don't create `class->methods' if it's
already initialized.

* metadata.c (mono_metadata_load_generic_params): Make this
actually work.

* reflection.c (mono_reflection_define_generic_parameter): Set
parent class and interfaces from the constraints.

* reflection.h (MonoReflectionGenericParam): Added `guint32 flags'
to keep this struct in sync with the declaration in TypeBuilder.cs.

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

20 years ago2003-09-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 18 Sep 2003 15:32:59 +0000 (15:32 -0000)]
2003-09-18  Ravi Pratap  <ravi@ximian.com>

        * ConditionalAttribute.cs: AllowMultiple should be true according
        to bug #48598.

----------------------------------------------------------------------

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

20 years agoAdded new genxs tool in monobins_DATA
Lluis Sanchez [Thu, 18 Sep 2003 15:22:20 +0000 (15:22 -0000)]
Added new genxs tool in monobins_DATA

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

20 years agoNew seh test that uses a filter
Jackson Harper [Thu, 18 Sep 2003 05:18:13 +0000 (05:18 -0000)]
New seh test that uses a filter

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

20 years agoAnother SEH test this one has a fault block
Jackson Harper [Thu, 18 Sep 2003 04:19:54 +0000 (04:19 -0000)]
Another SEH test this one has a fault block

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

20 years agoimpl sum & translate
Ben Maurer [Thu, 18 Sep 2003 02:58:28 +0000 (02:58 -0000)]
impl sum & translate

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 02:12:53 +0000 (02:12 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: don't leave temporary files around.

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 01:32:09 +0000 (01:32 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LosFormatter.cs: fixed Deserialize for empty viewstate.

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

20 years agomore organizational docs
César Natarén [Thu, 18 Sep 2003 00:10:27 +0000 (00:10 -0000)]
more organizational docs

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

20 years agofix nullref when using in global context
Ben Maurer [Wed, 17 Sep 2003 23:27:53 +0000 (23:27 -0000)]
fix nullref when using  in global context

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

20 years ago2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 17 Sep 2003 17:26:28 +0000 (17:26 -0000)]
2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* .cvsignore: WHOOPS

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

20 years agobits
Rafael Teixeira [Wed, 17 Sep 2003 17:06:41 +0000 (17:06 -0000)]
bits

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

20 years agoAdded new genxs tool source code
Lluis Sanchez [Wed, 17 Sep 2003 17:02:52 +0000 (17:02 -0000)]
Added new genxs tool source code

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

20 years ago2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 17 Sep 2003 16:57:33 +0000 (16:57 -0000)]
2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* .cvsignore: some more files to ignore

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

20 years ago2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 17 Sep 2003 16:50:20 +0000 (16:50 -0000)]
2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY

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

20 years ago2003-09-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Sep 2003 14:21:42 +0000 (14:21 -0000)]
2003-09-17  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.ToString): Always use `name' as the
type name.

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

20 years ago2003-09-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Sep 2003 14:12:01 +0000 (14:12 -0000)]
2003-09-17  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
parameters to the type name; ie. use `Stack' instead of `Stack<T>'.

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

20 years ago * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
Lluis Sanchez [Wed, 17 Sep 2003 11:37:26 +0000 (11:37 -0000)]
* HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
* HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.

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

20 years ago2003-09-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Sep 2003 04:34:01 +0000 (04:34 -0000)]
2003-09-17  Martin Baulig  <martin@ximian.com>

* metadata.h (MonoType): Replaced the data's `int type_param'
field with `MonoGenericParam *generic_param'.
(MonoGenericParam): Added `MonoClass *klass'.

* class.c (mono_class_from_gen_param): Removed the
`MonoImage *image' and `int type_num' arguments.

* metadata.c (mono_metadata_parse_generic_param): New static
method; creates a MonoGenericParam which just contains the index.
(do_mono_metadata_parse_type): Call
mono_metadata_parse_generic_param() for MONO_TYPE_VAR and
MONO_TYPE_MVAR.

* reflection.c (mono_image_typedef_or_ref): Generic type
parameters may be in the same assembly, but never use a typedef
for them.
(mono_reflection_define_generic_parameter): We're now creating a
"real" class for the type parameter; it's now safe to call
mono_class_from_mono_type() on the class'es type, it'll do the
right thing.

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

20 years ago2003-09-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 17 Sep 2003 03:17:11 +0000 (03:17 -0000)]
2003-09-16  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests.cs: New. Common methods to get DSA/RSA keypairs.
* AsymmetricDecryptionKeyTest.cs: New. Unit tests for AsymmetricDecryptionKey.
* AsymmetricEncryptionKeyTest.cs: New. Unit tests for AsymmetricEncryptionKey.
* AuthenticationKeyTest.cs: New. Unit tests for AuthenticationKey.
* BinarySecurityTokenTest.cs: New. Unit tests for BinarySecurityToken.
* SignatureKeyTest.cs: New. Unit tests for SignatureKey.
* SymmetricDecryptionKeyTest.cs: New. Unit tests for SymmetricDecryptionKey.
* SymmetricEncryptionKeyTest.cs: New. Unit tests for SymmetricEncryptionKey.
* UsernameTokenTest.cs: New. Unit tests for UsernameToken.
* WSSecurityTest.cs: New. Unit tests for WSSecurity.
* XmlEncryptionTest.cs: New. Unit tests for XmlEncryption.
* XmlSignatureTest.cs: New. Unit tests for XmlSignat

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

20 years agoLeave finally block with the endfinally instruction, not with leave
Jackson Harper [Wed, 17 Sep 2003 02:16:02 +0000 (02:16 -0000)]
Leave finally block with the endfinally instruction, not with leave

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

20 years ago * InstrTable.cs: endfault instruction (which is just endfinally
Jackson Harper [Wed, 17 Sep 2003 02:13:35 +0000 (02:13 -0000)]
    * InstrTable.cs: endfault instruction (which is just endfinally
with a costume on).

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

20 years ago * ILTables.cs: compilercontrolled is lowercase. I am guessing this
Jackson Harper [Wed, 17 Sep 2003 02:11:19 +0000 (02:11 -0000)]
    * ILTables.cs: compilercontrolled is lowercase. I am guessing this
was an emacs introduced bug ;-).

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

20 years ago2003-09-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Sep 2003 21:52:05 +0000 (21:52 -0000)]
2003-09-16  Martin Baulig  <martin@ximian.com>

* cs8217.cs: New test.

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

20 years ago2003-09-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Sep 2003 21:49:39 +0000 (21:49 -0000)]
2003-09-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
invalid state.

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

20 years ago2003-09-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Sep 2003 21:28:06 +0000 (21:28 -0000)]
2003-09-16  Martin Baulig  <martin@ximian.com>

* gen-3.cs, gen-4.cs, gen-5.cs, gen-6.cs, gen-7.cs, gen-8.cs: New
generics tests.

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

20 years agoThis test is incorrect.
Martin Baulig [Tue, 16 Sep 2003 21:21:04 +0000 (21:21 -0000)]
This test is incorrect.

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

20 years ago2003-09-16 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 16 Sep 2003 21:09:31 +0000 (21:09 -0000)]
2003-09-16 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs:
- Better handling of empty attributes (vs not being specified)
- Bug in handling #default

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

20 years ago3/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 16 Sep 2003 20:07:55 +0000 (20:07 -0000)]
3/09/16  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
* mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
* driver.cs: No more 'linkpaths' option, use 'libpath' instead

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

20 years agoflush
Miguel de Icaza [Tue, 16 Sep 2003 18:08:51 +0000 (18:08 -0000)]
flush

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

20 years ago2003-09-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Sep 2003 17:18:08 +0000 (17:18 -0000)]
2003-09-16  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c (allocate_symbol_file_entry): Initialize
`symfile->range_entry_size' and `symfile->class_entry_size' here;
the `symfile' data structure must be fully initialized before it
gets added to the table.

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

20 years agoFlush
Miguel de Icaza [Tue, 16 Sep 2003 14:33:41 +0000 (14:33 -0000)]
Flush

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