Alexandre Pigolkine [Sun, 21 Sep 2003 17:09:27 +0000 (17:09 -0000)]
small fix to FontDialog.cs
svn path=/trunk/mcs/; revision=18246
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
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
Miguel de Icaza [Sun, 21 Sep 2003 15:31:36 +0000 (15:31 -0000)]
Flush
svn path=/trunk/mono/; revision=18243
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
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
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
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
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
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
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
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
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
Alexandre Pigolkine [Sun, 21 Sep 2003 01:55:41 +0000 (01:55 -0000)]
switch to Unix line terminators
svn path=/trunk/mcs/; revision=18233
Alexandre Pigolkine [Sun, 21 Sep 2003 01:45:49 +0000 (01:45 -0000)]
2 files removed
svn path=/trunk/mcs/; revision=18232
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
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
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
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
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
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
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
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
Martin Willemoes Hansen [Sat, 20 Sep 2003 23:21:40 +0000 (23:21 -0000)]
Added diacanvas
svn path=/trunk/mono/; revision=18223
Jackson Harper [Sat, 20 Sep 2003 22:44:13 +0000 (22:44 -0000)]
New test multiple catch blocks
svn path=/trunk/mcs/; revision=18222
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
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
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
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
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
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
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
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
Jackson Harper [Sat, 20 Sep 2003 08:05:16 +0000 (08:05 -0000)]
pop exception object off stack
svn path=/trunk/mcs/; revision=18211
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
César Natarén [Sat, 20 Sep 2003 07:44:11 +0000 (07:44 -0000)]
changelog entry
svn path=/trunk/mcs/; revision=18208
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
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
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
Jackson Harper [Sat, 20 Sep 2003 06:55:41 +0000 (06:55 -0000)]
leave try block
svn path=/trunk/mcs/; revision=18204
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
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
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
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
Ben Maurer [Sat, 20 Sep 2003 03:18:21 +0000 (03:18 -0000)]
NaN.ToString () != INF.
svn path=/trunk/mcs/; revision=18198
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Thu, 18 Sep 2003 02:58:28 +0000 (02:58 -0000)]
impl sum & translate
svn path=/trunk/mcs/; revision=18161
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
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
César Natarén [Thu, 18 Sep 2003 00:10:27 +0000 (00:10 -0000)]
more organizational docs
svn path=/trunk/mcs/; revision=18157
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
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
Rafael Teixeira [Wed, 17 Sep 2003 17:06:41 +0000 (17:06 -0000)]
bits
svn path=/trunk/mcs/; revision=18152
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Tue, 16 Sep 2003 21:21:04 +0000 (21:21 -0000)]
This test is incorrect.
svn path=/trunk/mcs/; revision=18136
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
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
Miguel de Icaza [Tue, 16 Sep 2003 18:08:51 +0000 (18:08 -0000)]
flush
svn path=/trunk/mono/; revision=18132
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
Miguel de Icaza [Tue, 16 Sep 2003 14:33:41 +0000 (14:33 -0000)]
Flush
svn path=/trunk/mono/; revision=18129
César Natarén [Tue, 16 Sep 2003 07:12:35 +0000 (07:12 -0000)]
some notes about the structure of the classes at Microsoft.JScript.
svn path=/trunk/mcs/; revision=18128
Jackson Harper [Tue, 16 Sep 2003 07:07:07 +0000 (07:07 -0000)]
First of many exception tests
svn path=/trunk/mcs/; revision=18127
Jackson Harper [Tue, 16 Sep 2003 06:52:35 +0000 (06:52 -0000)]
* FinallyBlock.cs: The sad thing is how long it took me to realize
what was going on here...
svn path=/trunk/mcs/; revision=18126
Jackson Harper [Tue, 16 Sep 2003 05:35:45 +0000 (05:35 -0000)]
* ILParser.jay: dashed names aren't legal for file names, if the
name has a dash in it it needs to be quoted ie 'gtk-sharp'.
svn path=/trunk/mcs/; revision=18125
Duncan Mak [Tue, 16 Sep 2003 02:34:17 +0000 (02:34 -0000)]
Sigh, here too
svn path=/trunk/mono/; revision=18124
Duncan Mak [Tue, 16 Sep 2003 02:06:12 +0000 (02:06 -0000)]
Add wsdl.exe
svn path=/trunk/mono/; revision=18123
Miguel de Icaza [Tue, 16 Sep 2003 01:22:36 +0000 (01:22 -0000)]
Flush
svn path=/trunk/mono/; revision=18122
Miguel de Icaza [Tue, 16 Sep 2003 01:13:14 +0000 (01:13 -0000)]
Flush
svn path=/trunk/mono/; revision=18121